Module network::testutils::test_node [−][src]
Structs
A connection handle describing the network for a node.
A unique identifier of a node across the entire network
Enums
An enum defining the type of node
Traits
A trait defining an application specific node with networking abstracted
An extension trait for an ApplicationNode to run tests on.
Functions
Creates a ConnectionMetadata.
Creates a mock connection based on the Pfn to Pfn connection
Creates a mock connection based on the Pfn to Vfn connection
Creates a mock connection based on the Validator to Validator connection
Creates a mock connection based on the Vfn to Validator connection
Creates a mock connection based on the Vfn to Vfn connection
Type Definitions
An application specific network handle
A sender to a node to mock an inbound connection from [PeerManager]
A sender to a node to mock an inbound network message from [PeerManager]
A receiver to get outbound network messages to [PeerManager]