Reads peer addresses from a stream into the address manager.

Synopsis

Declared in <addrdb.h>

void
ReadFromStream(
    AddrMan& addr,
    DataStream& ssPeers);

Description

Only used by tests.

Parameters

Name

Description

addr

The address manager to populate.

ssPeers

The input stream holding the serialized peer addresses.

Created with MrDocs