diff options
| author | Cory Fields <[email protected]> | 2016-04-18 17:02:43 -0400 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2016-05-10 12:28:22 -0400 |
| commit | 8b8f87714df8c1e0868e6411c8f09c838ea736ab (patch) | |
| tree | 292bad34b25e28719d7537877243bf4c76dfc8dd /src/random.cpp | |
| parent | net: Drop CNodeRef for AttemptToEvictConnection (diff) | |
| download | discoin-8b8f87714df8c1e0868e6411c8f09c838ea736ab.tar.xz discoin-8b8f87714df8c1e0868e6411c8f09c838ea736ab.zip | |
net: make Ban/Unban/ClearBan functionality consistent
- Ban/Unban/ClearBan call uiInterface.BannedListChanged() as necessary
- Ban/Unban/ClearBan sync to disk if the operation is user-invoked
- Mark node for disconnection automatically when banning
- Lock cs_vNodes while setting disconnected
- Don't spin in a tight loop while setting disconnected
Diffstat (limited to 'src/random.cpp')
0 files changed, 0 insertions, 0 deletions