Module client

Module client 

Source
Expand description

The Client module to connect through HORNET or Bee with API usages

Structs§

Client
An instance of the client using HORNET or Bee URI
ClientMiner
The miner used for PoW
ClientMinerBuilder
The miner builder.
MilestoneResponse
Milestone data.
NodeInfoWrapper
NodeInfo wrapper which contains the nodeinfo and the url from the node (useful when multiple nodes are used)

Enums§

Api
Each of the node APIs the client uses.

Functions§

hash_network
Hash the network id str from the nodeinfo to an u64 for the messageBuilder