node::TransactionError

Result of attempting to submit or broadcast a transaction.

Synopsis

Declared in <node/types.h>

enum class TransactionError : int;

Members

NameDescription
OK No error
MISSING_INPUTS One or more of the transaction's inputs are missing or already spent.
ALREADY_IN_UTXO_SET The transaction is already confirmed in the UTXO set.
MEMPOOL_REJECTED The mempool rejected the transaction during acceptance.
MEMPOOL_ERROR An internal error occurred while adding the transaction to the mempool.
MAX_FEE_EXCEEDED The transaction's fee is higher than the configured maximum.
MAX_BURN_EXCEEDED The transaction burns more value than the configured maximum.
INVALID_PACKAGE The submitted package of transactions is invalid.
PRIVATE_BROADCAST_FULL The private broadcast queue has no free slots.

Non-Member Functions

NameDescription
BroadcastTransactionSubmit a transaction to the mempool and (optionally) relay it to all P2P peers.
::JSONRPCTransactionErrorBuild a JSON-RPC error object for a transaction error.
::RPCErrorFromTransactionErrorMap a transaction error to the matching RPC error code.
::common::TransactionErrorStringReturn a bilingual message describing a transaction error.