Merge pull request #6190

096a9db Wallet: Distingush amounts for a single subaddress (tmoravec)
This commit is contained in:
luigi1111 2020-02-19 22:22:36 -05:00
commit 22a0367398
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
4 changed files with 38 additions and 2 deletions

View file

@ -1370,6 +1370,7 @@ namespace wallet_rpc
typedef epee::misc_utils::struct_init<response_t> response;
};
typedef std::vector<uint64_t> amounts_container;
struct transfer_entry
{
std::string txid;
@ -1377,6 +1378,7 @@ namespace wallet_rpc
uint64_t height;
uint64_t timestamp;
uint64_t amount;
amounts_container amounts;
uint64_t fee;
std::string note;
std::list<transfer_destination> destinations;
@ -1396,6 +1398,7 @@ namespace wallet_rpc
KV_SERIALIZE(height);
KV_SERIALIZE(timestamp);
KV_SERIALIZE(amount);
KV_SERIALIZE(amounts);
KV_SERIALIZE(fee);
KV_SERIALIZE(note);
KV_SERIALIZE(destinations);