diff options
| author | Matt Corallo <[email protected]> | 2018-04-16 12:52:03 -0400 |
|---|---|---|
| committer | Suhas Daftuar <[email protected]> | 2019-05-02 11:00:19 -0400 |
| commit | 8818729013e17c650a25f030b2b80e0997389155 (patch) | |
| tree | d9fea6eb7676e1b669920958a8a2380830386696 /src/httpserver.cpp | |
| parent | [refactor] rename stateDummy -> orphan_state (diff) | |
| download | discoin-8818729013e17c650a25f030b2b80e0997389155.tar.xz discoin-8818729013e17c650a25f030b2b80e0997389155.zip | |
[refactor] Refactor misbehavior ban decisions to MaybePunishNode()
Isolate the decision of whether to ban a peer to one place in the
code, rather than having it sprinkled throughout net_processing.
Co-authored-by: Anthony Towns <[email protected]>
Suhas Daftuar <[email protected]>
John Newbery <[email protected]>
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions