mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 19:48:52 +00:00
return output key for incoming transfers
This commit is contained in:
parent
cb70ae9450
commit
d46d90c436
@ -1888,6 +1888,7 @@ namespace tools
|
||||
rpc_transfers.tx_hash = epee::string_tools::pod_to_hex(td.m_txid);
|
||||
rpc_transfers.subaddr_index = {td.m_subaddr_index.major, td.m_subaddr_index.minor};
|
||||
rpc_transfers.key_image = td.m_key_image_known ? epee::string_tools::pod_to_hex(td.m_key_image) : "";
|
||||
rpc_transfers.pubkey = epee::string_tools::pod_to_hex(td.get_public_key());
|
||||
rpc_transfers.block_height = td.m_block_height;
|
||||
rpc_transfers.frozen = td.m_frozen;
|
||||
rpc_transfers.unlocked = m_wallet->is_transfer_unlocked(td);
|
||||
|
@ -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 20
|
||||
#define WALLET_RPC_VERSION_MINOR 21
|
||||
#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
|
||||
@ -1010,6 +1010,7 @@ namespace wallet_rpc
|
||||
std::string tx_hash;
|
||||
cryptonote::subaddress_index subaddr_index;
|
||||
std::string key_image;
|
||||
std::string pubkey; // owned output public key found
|
||||
uint64_t block_height;
|
||||
bool frozen;
|
||||
bool unlocked;
|
||||
@ -1021,6 +1022,7 @@ namespace wallet_rpc
|
||||
KV_SERIALIZE(tx_hash)
|
||||
KV_SERIALIZE(subaddr_index)
|
||||
KV_SERIALIZE(key_image)
|
||||
KV_SERIALIZE(pubkey);
|
||||
KV_SERIALIZE(block_height)
|
||||
KV_SERIALIZE(frozen)
|
||||
KV_SERIALIZE(unlocked)
|
||||
|
Loading…
Reference in New Issue
Block a user