diff options
author | Matt Corallo <git@bluematt.me> | 2018-04-16 12:52:03 -0400 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2019-05-02 11:00:19 -0400 |
commit | 8818729013e17c650a25f030b2b80e0997389155 (patch) | |
tree | d9fea6eb7676e1b669920958a8a2380830386696 /src/test | |
parent | 00e11e61c0211a62788611cd6a6714a393fdc26c (diff) |
[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 <aj@erisian.com.au>
Suhas Daftuar <sdaftuar@gmail.com>
John Newbery <john@johnnewbery.com>
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions