diff options
author | fyquah <fyquah@protonmail.com> | 2021-03-01 20:03:35 +0000 |
---|---|---|
committer | Kiminuo <kiminuo@protonmail.com> | 2021-10-05 10:42:10 +0200 |
commit | 3cc95345ca49b87e8caca9a0e6418c63ae1e463a (patch) | |
tree | 67c4a41f26bdcdc1560edd40c5ec3945f530ec53 /src/rpc/blockchain.h | |
parent | 816e15ee81a2029cde6b4f9fe6fb93e75478c903 (diff) | |
download | bitcoin-3cc95345ca49b87e8caca9a0e6418c63ae1e463a.tar.xz |
rpc: Replace boolean argument for tx details with enum class.
Co-authored-by: Luke Dashjr <luke_github1@dashjr.org>
Co-authored-by: 0xB10C <19157360+0xB10C@users.noreply.github.com>
Diffstat (limited to 'src/rpc/blockchain.h')
-rw-r--r-- | src/rpc/blockchain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/blockchain.h b/src/rpc/blockchain.h index 09e471afdd..5143de0196 100644 --- a/src/rpc/blockchain.h +++ b/src/rpc/blockchain.h @@ -38,7 +38,7 @@ double GetDifficulty(const CBlockIndex* blockindex); void RPCNotifyBlockChange(const CBlockIndex*); /** Block description to JSON */ -UniValue blockToJSON(const CBlock& block, const CBlockIndex* tip, const CBlockIndex* blockindex, bool txDetails = false) LOCKS_EXCLUDED(cs_main); +UniValue blockToJSON(const CBlock& block, const CBlockIndex* tip, const CBlockIndex* blockindex, TxVerbosity verbosity = TxVerbosity::SHOW_TXID) LOCKS_EXCLUDED(cs_main); /** Mempool information to JSON */ UniValue MempoolInfoToJSON(const CTxMemPool& pool); |