mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2025-04-29 21:39:28 -04:00
rpc: omit irrelevant fields for pool txes in gettransactions
This commit is contained in:
parent
565085245a
commit
8a61b33d8e
1 changed files with 10 additions and 4 deletions
|
@ -375,10 +375,16 @@ namespace cryptonote
|
||||||
KV_SERIALIZE(as_json)
|
KV_SERIALIZE(as_json)
|
||||||
KV_SERIALIZE(in_pool)
|
KV_SERIALIZE(in_pool)
|
||||||
KV_SERIALIZE(double_spend_seen)
|
KV_SERIALIZE(double_spend_seen)
|
||||||
KV_SERIALIZE(block_height)
|
if (!this_ref.in_pool)
|
||||||
KV_SERIALIZE(block_timestamp)
|
{
|
||||||
KV_SERIALIZE(output_indices)
|
KV_SERIALIZE(block_height)
|
||||||
KV_SERIALIZE(relayed)
|
KV_SERIALIZE(block_timestamp)
|
||||||
|
KV_SERIALIZE(output_indices)
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
KV_SERIALIZE(relayed)
|
||||||
|
}
|
||||||
END_KV_SERIALIZE_MAP()
|
END_KV_SERIALIZE_MAP()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue