Merge pull request #2743 from jgarzik/reject-reason
Log reason for non-standard transaction rejection
This commit is contained in:
@@ -326,7 +326,7 @@ bool CheckTransaction(const CTransaction& tx, CValidationState& state);
|
||||
/** Check for standard transaction types
|
||||
@return True if all outputs (scriptPubKeys) use only standard transaction forms
|
||||
*/
|
||||
bool IsStandardTx(const CTransaction& tx);
|
||||
bool IsStandardTx(const CTransaction& tx, std::string& reason);
|
||||
|
||||
bool IsFinalTx(const CTransaction &tx, int nBlockHeight = 0, int64 nBlockTime = 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user