Creates a new PeerInfo. Saves the connection info to calculate tx announcement delays later.

Synopsis

Declared in <node/txdownloadman.h>

void
ConnectedPeer(
    NodeId nodeid,
    TxDownloadConnectionInfo const& info);

Parameters

Name

Description

nodeid

The connecting peer.

info

Connection attributes affecting download scheduling.

Created with MrDocs