mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
rpc: Add current version parameter for transaction
This commit is contained in:
parent
51c7b4c9e0
commit
cb15291ea2
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ std::vector<uint32_t> GetDust(const CTransaction& tx, CFeeRate dust_relay_rate);
|
||||||
// allowing the new transaction version in the wallet/RPC.
|
// allowing the new transaction version in the wallet/RPC.
|
||||||
static constexpr decltype(CTransaction::version) TX_MIN_STANDARD_VERSION{1};
|
static constexpr decltype(CTransaction::version) TX_MIN_STANDARD_VERSION{1};
|
||||||
static constexpr decltype(CTransaction::version) TX_MAX_STANDARD_VERSION{3};
|
static constexpr decltype(CTransaction::version) TX_MAX_STANDARD_VERSION{3};
|
||||||
|
static constexpr decltype(CTransaction::version) DEFAULT_RAWTX_VERSION{CTransaction::CURRENT_VERSION};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check for standard transaction types
|
* Check for standard transaction types
|
||||||
|
|
Loading…
Add table
Reference in a new issue