Go to the source code of this file.
|
| int | CalculateMaximumSignedInputSize (const CTxOut &txout, const CWallet *wallet, bool use_max_sig) |
| |
| TxSize | CalculateMaximumSignedTxSize (const CTransaction &tx, const CWallet *wallet, const std::vector< CTxOut > &txouts, bool use_max_sig) |
| |
| TxSize | CalculateMaximumSignedTxSize (const CTransaction &tx, const CWallet *wallet, bool use_max_sig) |
| | Calculate the size of the transaction assuming all signatures are max size Use DummySignatureCreator, which inserts 71 byte signatures everywhere. More...
|
| |
| static bool | IsCurrentForAntiFeeSniping (interfaces::Chain &chain, const uint256 &block_hash) |
| |
| static uint32_t | GetLocktimeForNewTransaction (interfaces::Chain &chain, const uint256 &block_hash, int block_height) |
| | Return a height-based locktime for new transactions (uses the height of the current chain tip unless we are not synced with the current chain. More...
|
| |
◆ CalculateMaximumSignedInputSize()
| int CalculateMaximumSignedInputSize |
( |
const CTxOut & |
txout, |
|
|
const CWallet * |
wallet, |
|
|
bool |
use_max_sig |
|
) |
| |
◆ CalculateMaximumSignedTxSize() [1/2]
◆ CalculateMaximumSignedTxSize() [2/2]
| TxSize CalculateMaximumSignedTxSize |
( |
const CTransaction & |
tx, |
|
|
const CWallet * |
wallet, |
|
|
bool |
use_max_sig = false |
|
) |
| -> cs_wallet) |
Calculate the size of the transaction assuming all signatures are max size Use DummySignatureCreator, which inserts 71 byte signatures everywhere.
NOTE: this requires that all inputs must be in mapWallet (eg the tx should be IsAllFromMe).
Definition at line 52 of file spend.cpp.
◆ GetLocktimeForNewTransaction()
| static uint32_t GetLocktimeForNewTransaction |
( |
interfaces::Chain & |
chain, |
|
|
const uint256 & |
block_hash, |
|
|
int |
block_height |
|
) |
| |
|
static |
Return a height-based locktime for new transactions (uses the height of the current chain tip unless we are not synced with the current chain.
Definition at line 529 of file spend.cpp.
◆ IsCurrentForAntiFeeSniping()
◆ OUTPUT_GROUP_MAX_ENTRIES
| constexpr size_t OUTPUT_GROUP_MAX_ENTRIES {100} |
|
static |