mirror of https://github.com/oxen-io/oxen-core.git
Remove ring_size parameter from API
This commit is contained in:
parent
0b0e909d8f
commit
a561eb21b8
|
@ -484,7 +484,6 @@ namespace wallet_rpc
|
|||
std::set<uint32_t> subaddr_indices; // (Optional) Transfer from this set of subaddresses. (Defaults to 0)
|
||||
uint32_t priority; // Set a priority for the transaction. Accepted values are: 1 for unimportant or 5 for blink. (0 and 2-4 are accepted for backwards compatibility and are equivalent to 5)
|
||||
bool blink; // (Deprecated) Set priority to 5 for blink, field is deprecated: specifies that the tx should be blinked (`priority` will be ignored).
|
||||
uint64_t ring_size; // (Deprecated) Ignored; Loki ring_size is statically set to 10.
|
||||
uint64_t unlock_time; // Number of blocks before the loki can be spent (0 to use the default lock time).
|
||||
std::string payment_id; // (Optional) Random 64-character hex string to identify a transaction.
|
||||
bool get_tx_key; // (Optional) Return the transaction key after sending.
|
||||
|
@ -498,7 +497,6 @@ namespace wallet_rpc
|
|||
KV_SERIALIZE(subaddr_indices)
|
||||
KV_SERIALIZE(priority)
|
||||
KV_SERIALIZE_OPT(blink, false)
|
||||
KV_SERIALIZE_OPT(ring_size, (uint64_t)0)
|
||||
KV_SERIALIZE(unlock_time)
|
||||
KV_SERIALIZE(payment_id)
|
||||
KV_SERIALIZE(get_tx_key)
|
||||
|
@ -545,7 +543,6 @@ namespace wallet_rpc
|
|||
std::set<uint32_t> subaddr_indices; // (Optional) Transfer from this set of subaddresses. (Defaults to 0)
|
||||
uint32_t priority; // Set a priority for the transaction. Accepted values are: 1 for unimportant or 5 for blink. (0 and 2-4 are accepted for backwards compatibility and are equivalent to 5)
|
||||
bool blink; // (Deprecated) Set priority to 5 for blink, field is deprecated: specifies that the tx should be blinked (`priority` will be ignored).
|
||||
uint64_t ring_size; // (Deprecated) Ignored. Loki ring_size is statically set to 10.
|
||||
uint64_t unlock_time; // Number of blocks before the loki can be spent (0 to not add a lock).
|
||||
std::string payment_id; // (Optional) Random 32-byte/64-character hex string to identify a transaction.
|
||||
bool get_tx_keys; // (Optional) Return the transaction keys after sending.
|
||||
|
@ -559,7 +556,6 @@ namespace wallet_rpc
|
|||
KV_SERIALIZE(subaddr_indices)
|
||||
KV_SERIALIZE(priority)
|
||||
KV_SERIALIZE_OPT(blink, false)
|
||||
KV_SERIALIZE_OPT(ring_size, (uint64_t)0)
|
||||
KV_SERIALIZE(unlock_time)
|
||||
KV_SERIALIZE(payment_id)
|
||||
KV_SERIALIZE(get_tx_keys)
|
||||
|
@ -795,7 +791,6 @@ namespace wallet_rpc
|
|||
std::set<uint32_t> subaddr_indices; // (Optional) Sweep from this set of subaddresses in the account.
|
||||
uint32_t priority; // Set a priority for the transaction. Accepted values are: 1 for unimportant or 5 for blink. (0 and 2-4 are accepted for backwards compatibility and are equivalent to 5)
|
||||
bool blink; // (Deprecated) Set priority to 5 for blink, field is deprecated: specifies that the tx should be blinked (`priority` will be ignored).
|
||||
uint64_t ring_size; // (Deprecated) Ignored; Loki ring_size is statically set to 10.
|
||||
uint64_t outputs; //
|
||||
uint64_t unlock_time; // Number of blocks before the loki can be spent (0 to not add a lock).
|
||||
std::string payment_id; // (Optional) 64-character hex string to identify a transaction.
|
||||
|
@ -811,7 +806,6 @@ namespace wallet_rpc
|
|||
KV_SERIALIZE(subaddr_indices)
|
||||
KV_SERIALIZE(priority)
|
||||
KV_SERIALIZE_OPT(blink, false)
|
||||
KV_SERIALIZE_OPT(ring_size, (uint64_t)0)
|
||||
KV_SERIALIZE_OPT(outputs, (uint64_t)1)
|
||||
KV_SERIALIZE(unlock_time)
|
||||
KV_SERIALIZE(payment_id)
|
||||
|
@ -867,7 +861,6 @@ namespace wallet_rpc
|
|||
std::string address; // Destination public address.
|
||||
uint32_t priority; // Set a priority for the transaction. Accepted values are: 1 for unimportant or 5 for blink. (0 and 2-4 are accepted for backwards compatibility and are equivalent to 5)
|
||||
bool blink; // (Deprecated) Set priority to 5 for blink, field is deprecated: specifies that the tx should be blinked (`priority` will be ignored).
|
||||
uint64_t ring_size; // (Deprecated) Ignored; Loki ring_size is statically set to 10.
|
||||
uint64_t outputs; //
|
||||
uint64_t unlock_time; // Number of blocks before the loki can be spent (0 to not add a lock).
|
||||
std::string payment_id; // (Optional) 64-character hex string to identify a transaction.
|
||||
|
@ -881,7 +874,6 @@ namespace wallet_rpc
|
|||
KV_SERIALIZE(address)
|
||||
KV_SERIALIZE(priority)
|
||||
KV_SERIALIZE_OPT(blink, false)
|
||||
KV_SERIALIZE_OPT(ring_size, (uint64_t)0)
|
||||
KV_SERIALIZE_OPT(outputs, (uint64_t)1)
|
||||
KV_SERIALIZE(unlock_time)
|
||||
KV_SERIALIZE(payment_id)
|
||||
|
|
Loading…
Reference in New Issue