mirror of
https://github.com/monero-project/monero.git
synced 2025-08-08 19:52:19 -04:00
wallet-cli/rpc: allow sweep_all to use outputs in all subaddresses within an account
This commit is contained in:
parent
b4e1dc83d2
commit
ae84ec90c8
3 changed files with 25 additions and 7 deletions
|
@ -47,7 +47,7 @@
|
|||
// advance which version they will stop working with
|
||||
// Don't go over 32767 for any of these
|
||||
#define WALLET_RPC_VERSION_MAJOR 1
|
||||
#define WALLET_RPC_VERSION_MINOR 16
|
||||
#define WALLET_RPC_VERSION_MINOR 17
|
||||
#define MAKE_WALLET_RPC_VERSION(major,minor) (((major)<<16)|(minor))
|
||||
#define WALLET_RPC_VERSION MAKE_WALLET_RPC_VERSION(WALLET_RPC_VERSION_MAJOR, WALLET_RPC_VERSION_MINOR)
|
||||
namespace tools
|
||||
|
@ -749,6 +749,7 @@ namespace wallet_rpc
|
|||
std::string address;
|
||||
uint32_t account_index;
|
||||
std::set<uint32_t> subaddr_indices;
|
||||
bool subaddr_indices_all;
|
||||
uint32_t priority;
|
||||
uint64_t ring_size;
|
||||
uint64_t outputs;
|
||||
|
@ -764,6 +765,7 @@ namespace wallet_rpc
|
|||
KV_SERIALIZE(address)
|
||||
KV_SERIALIZE(account_index)
|
||||
KV_SERIALIZE(subaddr_indices)
|
||||
KV_SERIALIZE_OPT(subaddr_indices_all, false)
|
||||
KV_SERIALIZE(priority)
|
||||
KV_SERIALIZE_OPT(ring_size, (uint64_t)0)
|
||||
KV_SERIALIZE_OPT(outputs, (uint64_t)1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue