diff options
author | Jeff Garzik <jgarzik@bitpay.com> | 2013-07-10 08:50:49 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@bitpay.com> | 2013-07-10 08:50:49 -0700 |
commit | d598872726ce9e2cbabdf705a616495c44851c2c (patch) | |
tree | 13343dce5db62d7a633799a732849ef23d4642e7 /src/main.h | |
parent | 3b837d5679af0c54ef2cef233cf42c09cdc50926 (diff) | |
parent | 980bfe6ef8bf03633d98f4d51e925c1aa4349421 (diff) |
Merge pull request #2743 from jgarzik/reject-reason
Log reason for non-standard transaction rejection
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h index 7b77b0e3ab..8ad2437c63 100644 --- a/src/main.h +++ b/src/main.h @@ -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); |