aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPeter Todd <pete@petertodd.org>2014-11-10 02:52:28 -0500
committerWladimir J. van der Laan <laanwj@gmail.com>2014-12-22 12:42:58 +0100
commit0cb8763cbbece4b25ea9e9bd756bfefd52ce23d8 (patch)
tree07d40c8d9e2a79e8933a14017ca26a3d29f8885a /src/init.cpp
parentb03632a6710e9bb1f7d73e0ccd39860c591d84e9 (diff)
downloadbitcoin-0cb8763cbbece4b25ea9e9bd756bfefd52ce23d8.tar.xz
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. Rebased-From: 7c041b3b91aa08a8f5863382b865a5174281ad03
Diffstat (limited to 'src/init.cpp')
0 files changed, 0 insertions, 0 deletions