mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 22:18:54 +01:00
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>
This commit is contained in:
@@ -20,6 +20,14 @@ class uint256;
|
||||
class UniValue;
|
||||
class CTxUndo;
|
||||
|
||||
/**
|
||||
* Verbose level for block's transaction
|
||||
*/
|
||||
enum class TxVerbosity {
|
||||
SHOW_TXID, //!< Only TXID for each block's transaction
|
||||
SHOW_DETAILS //!< Include TXID, inputs, outputs, and other common block's transaction information
|
||||
};
|
||||
|
||||
// core_read.cpp
|
||||
CScript ParseScript(const std::string& s);
|
||||
std::string ScriptToAsmStr(const CScript& script, const bool fAttemptSighashDecode = false);
|
||||
|
||||
Reference in New Issue
Block a user