Changeset View
Changeset View
Standalone View
Standalone View
src/node/transaction.cpp
Show All 25 Lines | switch (err) { | ||||
case TransactionError::P2P_DISABLED: | case TransactionError::P2P_DISABLED: | ||||
return "Peer-to-peer functionality missing or disabled"; | return "Peer-to-peer functionality missing or disabled"; | ||||
case TransactionError::MEMPOOL_REJECTED: | case TransactionError::MEMPOOL_REJECTED: | ||||
return "Transaction rejected by AcceptToMemoryPool"; | return "Transaction rejected by AcceptToMemoryPool"; | ||||
case TransactionError::MEMPOOL_ERROR: | case TransactionError::MEMPOOL_ERROR: | ||||
return "AcceptToMemoryPool failed"; | return "AcceptToMemoryPool failed"; | ||||
case TransactionError::INVALID_PSBT: | case TransactionError::INVALID_PSBT: | ||||
return "PSBT is not sane"; | return "PSBT is not sane"; | ||||
case TransactionError::PSBT_MISMATCH: | |||||
return "PSBTs not compatible (different transactions)"; | |||||
case TransactionError::SIGHASH_MISMATCH: | case TransactionError::SIGHASH_MISMATCH: | ||||
return "Specified sighash value does not match existing value"; | return "Specified sighash value does not match existing value"; | ||||
case TransactionError::UNKNOWN_ERROR: | case TransactionError::UNKNOWN_ERROR: | ||||
default: | default: | ||||
break; | break; | ||||
} | } | ||||
return "Unknown error"; | return "Unknown error"; | ||||
▲ Show 20 Lines • Show All 76 Lines • Show Last 20 Lines |