Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { ShardID uint32 // ShardID UpdateBlocks func([]*types.Block) // Closure function used to sync new block with the leader. Once the leader finishes the consensus on a new block, it will send it to the clients. Clients use this method to update their blockchain // contains filtered or unexported fields }
Client represents a node (e.g. a wallet) which sends transactions and receives responses from the harmony network
Click to show internal directories.
Click to hide internal directories.