aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.h
diff options
context:
space:
mode:
authorSuhas Daftuar <[email protected]>2019-08-28 17:23:45 -0400
committerSuhas Daftuar <[email protected]>2019-09-04 14:58:36 -0400
commit0ba08020c9791f7caf5986ad6490c16a2b66cd83 (patch)
treeec7abf1dd0f430fc2cfa653dd520f86b85024b58 /src/httpserver.h
parentdoc: improve comments relating to block-relay-only peers (diff)
downloaddiscoin-0ba08020c9791f7caf5986ad6490c16a2b66cd83.tar.xz
discoin-0ba08020c9791f7caf5986ad6490c16a2b66cd83.zip
Disconnect peers violating blocks-only mode
If we set fRelay=false in our VERSION message, and a peer sends an INV or TX message anyway, disconnect. Since we use fRelay=false to minimize bandwidth, we should not tolerate remaining connected to a peer violating the protocol.
Diffstat (limited to 'src/httpserver.h')
0 files changed, 0 insertions, 0 deletions