diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-05-20 14:54:33 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-05-20 15:15:45 +0200 |
commit | 3919059deb60d6ead9defc9d213a3f0c2ab72e90 (patch) | |
tree | 5493bd50b9a5c758d61400e4b06f8303873a302e /src/banman.h | |
parent | 4d0c00dffd13df9b055dbca244783c5de9ca23a5 (diff) | |
download | bitcoin-3919059deb60d6ead9defc9d213a3f0c2ab72e90.tar.xz |
refactor: Move code from ctor into private `BanMan::LoadBanlist()`
Co-authored-by: Anthony Towns <aj@erisian.com.au>
Diffstat (limited to 'src/banman.h')
-rw-r--r-- | src/banman.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/banman.h b/src/banman.h index f268fffa5a..b037b8869b 100644 --- a/src/banman.h +++ b/src/banman.h @@ -80,6 +80,7 @@ public: void DumpBanlist(); private: + void LoadBanlist() EXCLUSIVE_LOCKS_REQUIRED(!m_cs_banned); bool BannedSetIsDirty(); //!set the "dirty" flag for the banlist void SetBannedSetDirty(bool dirty = true); |