Changeset View
Changeset View
Standalone View
Standalone View
src/node/transaction.h
Show All 14 Lines | enum class TransactionError { | ||||
UNKNOWN_ERROR, | UNKNOWN_ERROR, | ||||
MISSING_INPUTS, | MISSING_INPUTS, | ||||
ALREADY_IN_CHAIN, | ALREADY_IN_CHAIN, | ||||
P2P_DISABLED, | P2P_DISABLED, | ||||
MEMPOOL_REJECTED, | MEMPOOL_REJECTED, | ||||
MEMPOOL_ERROR, | MEMPOOL_ERROR, | ||||
INVALID_PSBT, | INVALID_PSBT, | ||||
PSBT_MISMATCH, | |||||
SIGHASH_MISMATCH, | SIGHASH_MISMATCH, | ||||
ERROR_COUNT | ERROR_COUNT | ||||
}; | }; | ||||
#define TRANSACTION_ERR_LAST TransactionError::ERROR_COUNT | #define TRANSACTION_ERR_LAST TransactionError::ERROR_COUNT | ||||
const char *TransactionErrorString(const TransactionError error); | const char *TransactionErrorString(const TransactionError error); | ||||
Show All 17 Lines |