diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-01-11 18:04:40 -0800 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-01-11 18:04:49 -0800 |
commit | d0246957727e576b96236d42908f663755909ad3 (patch) | |
tree | 4189cb5f57df2b423868e8e573b0e26427e39941 /src/wallet/wallet2.h | |
parent | Merge pull request #6231 (diff) | |
parent | wallet_rpc_server: new estimate_tx_size_and_weight RPC (diff) | |
download | monero-d0246957727e576b96236d42908f663755909ad3.tar.xz |
Merge pull request #6105
0de8a0d3 wallet_rpc_server: new estimate_tx_size_and_weight RPC (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet2.h')
-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 b6f72c7e1..8f840a42d 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -1254,6 +1254,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); |