HomePhabricator

Add a method to make addrman deterministic

Description

Add a method to make addrman deterministic

Summary: This is actually done in tests by subclassing CAddrMan, but making it part of the main CAddrMan class makes it possible to use a deterministic address manager as a member of CConnman. There is no change in behavior.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

Subscribers: sdulfari

Differential Revision: https://reviews.bitcoinabc.org/D11827

Details

Provenance
FabienAuthored on Aug 4 2022, 12:22
FabienPushed on Aug 6 2022, 11:59
Reviewer
Restricted Project
Differential Revision
D11827: Add a method to make addrman deterministic
Parents
rABC2163ea29329d: [Cashtab] Remove classNames from Tx.js
Branches
Unknown
Tags
Unknown