This mini-patch picks up #22479 to log addrman consistency checks in the BCLOG::ADDRMAN
category when they are enabled with the -checkaddrman=<n>
configuration option for values of n greater than 0.
0$ ./src/bitcoind -signet -checkaddrman=20 -debug=addrman
1...
22021-08-13T11:14:45Z Addrman checks started: new 3352, tried 89, total 3441
32021-08-13T11:14:45Z Addrman checks completed successfully
This allows people to
- verify the checks are running
- see when and how often they are being performed
- see the number of new/tried/total addrman entries per check
- see the start/end of the checks
Thanks to John Newbery for ideas to improve this logging.