diff options
author | Jeff Garzik <jgarzik@bitpay.com> | 2013-06-05 14:52:06 -0400 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-11-26 14:00:47 +0100 |
commit | c4892eb4b3fd7f263f3d8584029a24340837fa66 (patch) | |
tree | 84911c94d9d336af5eafd1a0641e66607e7a6a37 /src/main.h | |
parent | 633d95ec222db340242410a581e65805eb863af9 (diff) | |
download | bitcoin-c4892eb4b3fd7f263f3d8584029a24340837fa66.tar.xz |
Log reason for non-standard transaction rejection
Conflicts:
src/main.cpp
Rebased-from: cb3076a3daa68eebf19c681ab48a0c0d9f0ce7a5
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h index 76020420cb..94260dc2e4 100644 --- a/src/main.h +++ b/src/main.h @@ -559,7 +559,12 @@ public: /** Check for standard transaction types @return True if all outputs (scriptPubKeys) use only standard transaction forms */ - bool IsStandard() const; + bool IsStandard(std::string& strReason) const; + bool IsStandard() const + { + std::string strReason; + return IsStandard(strReason); + } /** Check for standard transaction types @param[in] mapInputs Map of previous transactions that have outputs we're spending |