HomePhabricator

banman: add thread annotations and mark members const where possible

Description

banman: add thread annotations and mark members const where possible

Summary:
Also remove misleading comment. ClearBanned is used by rpc as well.

This is a partial backport of Core PR14605 : https://github.com/bitcoin/bitcoin/pull/14605/commits/daae598feb034f2f56e0b00ecfb4854d693d3641

Depends on D4126

Test Plan: Build with clang and check no warning is thrown

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D4127

Details

Provenance
Cory Fields <cory-nospam-@coryfields.com>Authored on Oct 6 2017, 20:56
deadalnixCommitted on Sep 22 2019, 12:41
deadalnixPushed on Sep 22 2019, 12:41
Reviewer
Restricted Project
Differential Revision
D4127: banman: add thread annotations and mark members const where possible
Parents
rABC40b7384bad21: scripted-diff: batch-rename BanMan members
Branches
Unknown
Tags
Unknown