aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server_commands_defs.h
diff options
context:
space:
mode:
authorcryptochangements34 <bevanoffr@gmail.com>2018-03-05 10:10:35 -0500
committercryptochangements34 <bevanoffr@gmail.com>2018-03-05 10:10:35 -0500
commit3d452367b012d1e0f6760a557ed059e29cc1d967 (patch)
treeba4a67cd2704faf70755cd592ebcc16534deb08b /src/wallet/wallet_rpc_server_commands_defs.h
parentMerge pull request #3245 (diff)
downloadmonero-3d452367b012d1e0f6760a557ed059e29cc1d967.tar.xz
allow using ring size instead of mixin for rpc transfer
Diffstat (limited to 'src/wallet/wallet_rpc_server_commands_defs.h')
-rw-r--r--src/wallet/wallet_rpc_server_commands_defs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server_commands_defs.h b/src/wallet/wallet_rpc_server_commands_defs.h
index e38cba5a5..370fea858 100644
--- a/src/wallet/wallet_rpc_server_commands_defs.h
+++ b/src/wallet/wallet_rpc_server_commands_defs.h
@@ -385,6 +385,7 @@ namespace wallet_rpc
std::set<uint32_t> subaddr_indices;
uint32_t priority;
uint64_t mixin;
+ uint64_t ring_size;
uint64_t unlock_time;
std::string payment_id;
bool get_tx_key;
@@ -398,6 +399,7 @@ namespace wallet_rpc
KV_SERIALIZE(subaddr_indices)
KV_SERIALIZE(priority)
KV_SERIALIZE(mixin)
+ KV_SERIALIZE_OPT(ring_size, (uint64_t)0)
KV_SERIALIZE(unlock_time)
KV_SERIALIZE(payment_id)
KV_SERIALIZE(get_tx_key)
@@ -440,6 +442,7 @@ namespace wallet_rpc
std::set<uint32_t> subaddr_indices;
uint32_t priority;
uint64_t mixin;
+ uint64_t ring_size;
uint64_t unlock_time;
std::string payment_id;
bool get_tx_keys;
@@ -453,6 +456,7 @@ namespace wallet_rpc
KV_SERIALIZE(subaddr_indices)
KV_SERIALIZE(priority)
KV_SERIALIZE(mixin)
+ KV_SERIALIZE_OPT(ring_size, (uint64_t)0)
KV_SERIALIZE(unlock_time)
KV_SERIALIZE(payment_id)
KV_SERIALIZE(get_tx_keys)
@@ -550,6 +554,7 @@ namespace wallet_rpc
std::set<uint32_t> subaddr_indices;
uint32_t priority;
uint64_t mixin;
+ uint64_t ring_size;
uint64_t unlock_time;
std::string payment_id;
bool get_tx_keys;
@@ -564,6 +569,7 @@ namespace wallet_rpc
KV_SERIALIZE(subaddr_indices)
KV_SERIALIZE(priority)
KV_SERIALIZE(mixin)
+ KV_SERIALIZE_OPT(ring_size, (uint64_t)0)
KV_SERIALIZE(unlock_time)
KV_SERIALIZE(payment_id)
KV_SERIALIZE(get_tx_keys)
@@ -612,6 +618,7 @@ namespace wallet_rpc
std::string address;
uint32_t priority;
uint64_t mixin;
+ uint64_t ring_size;
uint64_t unlock_time;
std::string payment_id;
bool get_tx_key;
@@ -624,6 +631,7 @@ namespace wallet_rpc
KV_SERIALIZE(address)
KV_SERIALIZE(priority)
KV_SERIALIZE(mixin)
+ KV_SERIALIZE_OPT(ring_size, (uint64_t)0)
KV_SERIALIZE(unlock_time)
KV_SERIALIZE(payment_id)
KV_SERIALIZE(get_tx_key)