Stage a transaction for addition to the mempool.
Declared in <txmempool.h>
TxHandle
StageAddition(
CTransactionRef const& tx,
CAmount fee,
int64_t time,
unsigned int entry_height,
uint64_t entry_sequence,
bool spends_coinbase,
int64_t sigops_cost,
LockPoints lp);
A handle to the staged transaction.
| Name | Description |
|---|---|
| tx | The transaction to add. |
| fee | The base fee of the transaction. |
| time | The time the transaction entered the mempool. |
| entry_height | The block height at entry. |
| entry_sequence | The mempool sequence number at entry. |
| spends_coinbase | Whether the transaction spends a coinbase output. |
| sigops_cost | The sigop cost of the transaction. |
| lp | The LockPoints of the transaction. |