diff options
author | josibake <josibake@protonmail.com> | 2021-12-10 15:37:04 +0100 |
---|---|---|
committer | josibake <josibake@protonmail.com> | 2021-12-14 17:50:24 +0100 |
commit | 207f1c825c632c54af009516d376d392ea9106fa (patch) | |
tree | 64768e913db4051ecff273c4bd49907545cde1e0 /doc/files.md | |
parent | 5dd28e5cff8a8177b969181ecb58d045e7f80a72 (diff) | |
download | bitcoin-207f1c825c632c54af009516d376d392ea9106fa.tar.xz |
refactor: make AddrMan::Good return bool
If AddrMan::Good is unable to add an entry
to tried (for a number of reasons), return false.
This makes it much easier and cleaner to directly
test for tried collisions. It also allows anyone
calling Good() to handle the case where adding an
address to tried is unsuccessful.
Update docs to doxygen style.
Diffstat (limited to 'doc/files.md')
0 files changed, 0 insertions, 0 deletions