MCPcopy Create free account
hub / github.com/ElementsProject/elements / write_addrman

Function write_addrman

test/functional/feature_addrman.py:46–48  ·  view source on GitHub ↗
(peers_dat, **kwargs)

Source from the content-addressed store, hash-verified

44
45
46def write_addrman(peers_dat, **kwargs):
47 with open(peers_dat, "wb") as f:
48 f.write(serialize_addrman(**kwargs))
49
50
51class AddrmanTest(BitcoinTestFramework):

Callers 1

run_testMethod · 0.85

Calls 2

serialize_addrmanFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected