aboutsummaryrefslogtreecommitdiff
path: root/src/netbase.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2014-07-06 14:47:23 +0200
committerPieter Wuille <[email protected]>2014-07-06 14:47:23 +0200
commit40f5cb878edd04b4be14f0d73ab706dc2e69124c (patch)
treeaae507c6c1d36578d7a80c00df08e1780a7e5dcb /src/netbase.cpp
parentMerge pull request #4421 (diff)
downloaddiscoin-40f5cb878edd04b4be14f0d73ab706dc2e69124c.tar.xz
discoin-40f5cb878edd04b4be14f0d73ab706dc2e69124c.zip
Send rejects and apply DoS scoring for errors in direct block validation.
75f51f2a introduced asynchronous processing for blocks, where reject messages and DoS scoring could be applied outside of ProcessBlock, because block validation may happen later. However, some types of errors are still detected immediately (in particular, CheckBlock violations), which need acting after ProcessBlock returns.
Diffstat (limited to 'src/netbase.cpp')
0 files changed, 0 insertions, 0 deletions