network library

Classes

BlockHeaderMessage
Interface for message with BlockId and BlockHeader.
BlockMessage
Interface for message with BlockId and Block.
Peer
Interface for PeerNetwork element providing Peer API.
PeerNetwork
Interface controlling (re)connection policy for a collection of Peers. Defines a type of network via createPeerWithSpec, e.g. CruzPeerNetwork.
TransactionIterator
Interface for iterating Transaction for PublicAddress by height.
TransactionIteratorResults
Interface for TransactionIterator results.
TransactionMessage
Interface for message with TransactionId and Transaction.

Functions

findPeerNetworkForCurrency(List<PeerNetwork> networks, Currency x) PeerNetwork
Filters networks for a PeerNetwork with Currency matching x.

Enums

PeerState

Typedefs

PeerStateChangedCallback = void Function(Peer, PeerState, PeerState)