Commit 4486d4e
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 disconnected1 parent a5e278d commit 4486d4e
1 file changed
Lines changed: 0 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | 465 | | |
470 | 466 | | |
471 | 467 | | |
472 | 468 | | |
473 | 469 | | |
474 | 470 | | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | 471 | | |
480 | 472 | | |
481 | 473 | | |
| |||
532 | 524 | | |
533 | 525 | | |
534 | 526 | | |
535 | | - | |
536 | | - | |
537 | 527 | | |
538 | 528 | | |
539 | 529 | | |
0 commit comments