aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@bitpay.com>2013-06-23 02:05:25 -0400
committerJeff Garzik <jgarzik@bitpay.com>2013-06-23 02:05:25 -0400
commit980bfe6ef8bf03633d98f4d51e925c1aa4349421 (patch)
tree99249d423182ee44f4a8075aec337267498855d2 /src/main.h
parentb4a8a326c067a350b5a5ff0e565555b57ffb3a2e (diff)
Log reason for non-standard transaction rejection
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index 2fbf3e8026..b9879d1097 100644
--- a/src/main.h
+++ b/src/main.h
@@ -324,7 +324,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);