aboutsummaryrefslogtreecommitdiff
path: root/src/script/interpreter.cpp
diff options
context:
space:
mode:
authorPeter Todd <[email protected]>2014-11-10 02:52:28 -0500
committerPeter Todd <[email protected]>2014-11-10 02:52:28 -0500
commit7c041b3b91aa08a8f5863382b865a5174281ad03 (patch)
treea52e259e044d7c6b15c5724cc1279f27ecfcd2f2 /src/script/interpreter.cpp
parentMerge pull request #5210 (diff)
downloaddiscoin-7c041b3b91aa08a8f5863382b865a5174281ad03.tar.xz
discoin-7c041b3b91aa08a8f5863382b865a5174281ad03.zip
Check against MANDATORY flags prior to accepting to mempool
Previously transactions were only tested again the STANDARD_SCRIPT_VERIFY_FLAGS prior to mempool acceptance, so any bugs in those flags that allowed actually-invalid transactions to pass would result in allowing invalid transactions into the mempool. Fortunately there is a second check in CreateNewBlock() that would prevent those transactions from being mined, resulting in an invalid block, however this could still be exploited as a DoS attack.
Diffstat (limited to 'src/script/interpreter.cpp')
0 files changed, 0 insertions, 0 deletions