diff options
author | fanquake <fanquake@gmail.com> | 2021-08-14 14:17:35 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-08-14 14:22:52 +0800 |
commit | adf9bcfc37dbe93988588d1cfef8d9ee749be66f (patch) | |
tree | 7613dca4a29511ba275fbd7d172de6019cf1f07e /src/qt/csvmodelwriter.cpp | |
parent | 4c87665707af838e1cc6c3c2e65434cfc826dfec (diff) | |
parent | 4844b74ba73ecc6d336a52b4dc4cd144a01b0ea2 (diff) |
Merge bitcoin/bitcoin#22696: p2p: log addrman consistency checks
4844b74ba73ecc6d336a52b4dc4cd144a01b0ea2 p2p: log addrman consistency checks (Jon Atack)
Pull request description:
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.
```
$ ./src/bitcoind -signet -checkaddrman=20 -debug=addrman
...
2021-08-13T11:14:45Z Addrman checks started: new 3352, tried 89, total 3441
2021-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.
ACKs for top commit:
jnewbery:
Code review ACK 4844b74ba73ecc6d336a52b4dc4cd144a01b0ea2
Zero-1729:
tACK 4844b74ba73ecc6d336a52b4dc4cd144a01b0ea2
theStack:
Concept and code-review ACK 4844b74ba73ecc6d336a52b4dc4cd144a01b0ea2 ♟️
Tree-SHA512: 10b51c480d52a753ea8a59dbdd1e2c4f49067e7f4afe59d58426a8fb438f52447fe3a6090fa52132bc382d876927fa338b229c906d85668086f7f8f5bd8ed38a
Diffstat (limited to 'src/qt/csvmodelwriter.cpp')
0 files changed, 0 insertions, 0 deletions