diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-11-06 14:18:54 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-11-06 15:18:21 +0000 |
commit | 0de8a0d37d80295ced83a2686b046de52fcbc4e3 (patch) | |
tree | cfeb58131f474ca50b2b742410091cdf392b8708 /src/wallet/wallet2.h | |
parent | Merge pull request #6088 (diff) | |
download | monero-0de8a0d37d80295ced83a2686b046de52fcbc4e3.tar.xz |
wallet_rpc_server: new estimate_tx_size_and_weight RPC
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index c86315f7c..07fc8fa6e 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -1252,6 +1252,8 @@ private: bool is_unattended() const { return m_unattended; } + std::pair<size_t, uint64_t> estimate_tx_size_and_weight(bool use_rct, int n_inputs, int ring_size, int n_outputs, size_t extra_size); + bool get_rpc_payment_info(bool mining, bool &payment_required, uint64_t &credits, uint64_t &diff, uint64_t &credits_per_hash_found, cryptonote::blobdata &hashing_blob, uint64_t &height, uint64_t &seed_height, crypto::hash &seed_hash, crypto::hash &next_seed_hash, uint32_t &cookie); bool daemon_requires_payment(); bool make_rpc_payment(uint32_t nonce, uint32_t cookie, uint64_t &credits, uint64_t &balance); |