diff options
| author | Pieter Wuille <[email protected]> | 2013-04-14 00:17:49 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2013-04-14 00:17:49 +0200 |
| commit | 20d0810f300fdcb6a0af6cb310c4702cdd956009 (patch) | |
| tree | 02c3603527e7f2c643b0834eb0d91be54346c340 /src/main.cpp | |
| parent | Merge pull request #2492 from Diapolo/Qt_message (diff) | |
| download | discoin-20d0810f300fdcb6a0af6cb310c4702cdd956009.tar.xz discoin-20d0810f300fdcb6a0af6cb310c4702cdd956009.zip | |
Require strictly-standard encodings in mempool
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index bf13e7915..6f3b5da96 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -768,7 +768,7 @@ bool CTxMemPool::accept(CValidationState &state, CTransaction &tx, bool fCheckIn // Check against previous transactions // This is done last to help prevent CPU exhaustion denial-of-service attacks. - if (!tx.CheckInputs(state, view, true, SCRIPT_VERIFY_P2SH)) + if (!tx.CheckInputs(state, view, true, SCRIPT_VERIFY_P2SH | SCRIPT_VERIFY_STRICTENC)) { return error("CTxMemPool::accept() : ConnectInputs failed %s", hash.ToString().c_str()); } |