aboutsummaryrefslogtreecommitdiff
path: root/src/test/addrman_tests.cpp
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-01-31 18:22:15 +0100
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-01-31 18:22:19 +0100
commit1ff254e45cba1dcf182be5a87c26adb2ecd1c237 (patch)
tree3b2c1c1620d0cbf2dd11c97d92f241b6dab39034 /src/test/addrman_tests.cpp
parent2b211b41e36f914b8d0487e698b619039cc3c8e2 (diff)
parenta24e633339c45eaca28fc7af0488956332ac300c (diff)
Merge bitcoin/bitcoin#26974: refactor: rpc: set TxToJSON default verbosity to SHOW_DETAILS
a24e633339c45eaca28fc7af0488956332ac300c refactor: rpc: set TxToJSON default verbosity to SHOW_DETAILS (stickies-v) Pull request description: `TxToJSON()` and `TxToUniv()` are only to be called when we want to decode the transaction (i.e. its details) into JSON. If `TxVerbosity` is `SHOW_TXID`, the function should not have been (and currently is not) called in the first place. There is no behaviour change, current logic simply assumes anything less than `TxVerbosity::SHOW_DETAILS_AND_PREVOUT` equals `TxVerbosity::SHOW_DETAILS`. With this change, the assumptions and intent become more explicit. ACKs for top commit: w0xlt: ACK https://github.com/bitcoin/bitcoin/pull/26974/commits/a24e633339c45eaca28fc7af0488956332ac300c Tree-SHA512: b97235adae49b972bdbe10aca1438643fb35ec66a4e57166b1975b3015bc5a06a711feebe4453a8fefe71781e484b21ef80847d8e8a33694a3abcc863accd4d7
Diffstat (limited to 'src/test/addrman_tests.cpp')
0 files changed, 0 insertions, 0 deletions