aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2017-10-30 10:41:05 -0400
committerMatt Corallo <[email protected]>2017-10-30 18:59:07 -0400
commit3788a8479b4efd481f3e91419bcf347113375112 (patch)
tree954a19df5645cf2ba58950c20e46e4c16c2b0678 /src/httpserver.cpp
parentMerge #11541: Build: Fix Automake warnings when running autogen.sh (diff)
downloaddiscoin-3788a8479b4efd481f3e91419bcf347113375112.tar.xz
discoin-3788a8479b4efd481f3e91419bcf347113375112.zip
Do not send (potentially) invalid headers in response to getheaders
Nowhere else in the protocol do we send headers which are for blocks we have not fully validated except in response to getheaders messages with a null locator. On my public node I have not seen any such request (whether for an invalid block or not) in at least two years of debug.log output, indicating that this should have minimal impact.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions