Construct a V2 transport with securely generated random keys.

Synopsis

Declared in <net.h>

V2Transport(
    NodeId nodeid,
    bool initiating) noexcept;

Parameters

Name

Description

nodeid [in]

the node's NodeId (only for debug log output).

initiating [in]

whether we are the initiator side.

Created with MrDocs