| 226 | } |
| 227 | |
| 228 | void DumpAnchors(const fs::path& anchors_db_path, const std::vector<CAddress>& anchors) |
| 229 | { |
| 230 | LOG_TIME_SECONDS(strprintf("Flush %d outbound block-relay-only peer addresses to anchors.dat", anchors.size())); |
| 231 | SerializeFileDB("anchors", anchors_db_path, CAddress::V2_DISK(anchors)); |
| 232 | } |
| 233 | |
| 234 | std::vector<CAddress> ReadAnchors(const fs::path& anchors_db_path) |
| 235 | { |
no test coverage detected