mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-27 09:21:43 +02:00
Currently in tests where we are interested in contents of addrman, addresses which were added to the node's addrman in previous tests leak into the current test. example: addresses added in addpeeraddress test leak into getaddrmaninfo and getrawaddrman tests. It is cleaner to design the tests to be modular and without such leaks so that we don't need to deal with context from previous tests