scriptpubkey
is not a clear error message.
This PR changes it to non-standard-scriptpubkey
, indicating the reason for the error.
scriptpubkey
is not a clear error message.
This PR changes it to non-standard-scriptpubkey
, indicating the reason for the error.
MEMPOOL_REJECTED
, i.e. mempool policy error, so adding “non-standard-” to the message does not provide any additional information.
131@@ -132,7 +132,7 @@ bool IsStandardTx(const CTransaction& tx, const std::optional<unsigned>& max_dat
132 TxoutType whichType;
133 for (const CTxOut& txout : tx.vout) {
134 if (!::IsStandard(txout.scriptPubKey, max_datacarrier_bytes, whichType)) {
135- reason = "scriptpubkey";
136+ reason = "non-standard-scriptpubkey";
scriptpubkey-nonstandard
would fit the usual reject reason format better
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
No conflicts as of last run.