package
1.3.0
Repository: https://github.com/avadesian/go-seele.git
Documentation: pkg.go.dev

# Functions

NewLightBackend creates a LightBackend.
NewLightProtocol create LightProtocol.
NewServiceClient create ServiceClient.
NewServiceServer create ServiceServer.

# Constants

DiscAnnounceErr disconnect due to failed to send announce message.
DiscHandShakeErr disconnect due to failed to shake hands in light mode.
LightProtoName protoName of Seele service.
LightSeeleVersion version number of Seele protocol.
MaxBlockHashRequest maximum hashes to request per message.
MaxBlockHeaderRequest maximum headers to request per message.
MaxGapForAnnounce sends AnnounceQuery message if gap is more than this value.
MinHashesCached minimum items cached in peer for client mode.

# Variables

ErrIsSynchronising indicates the synchronising is in processing.

# Structs

AnnounceBody body of AnnounceQuery response.
AnnounceQuery header of AnnounceQuery request.
Downloader sync block chain with remote peer.
DownloadHeader body of DownloadHeaderQuery response.
DownloadHeaderQuery header of DownloadHeaderQuery request.
HeaderHashSync body of HeaderHashSyncQuery response.
HeaderHashSyncQuery header of HeaderHashSyncQuery request.
LightBackend represents a channel (client) that communicate with backend node service.
LightChain represents a canonical chain that by default only handles block headers.
LightProtocol service implementation of seele.
OdrItem is base struct for ODR request and response.
OdrProvableResponse represents all provable ODR response.
PeerInfo represents a short summary of a connected peer.
ServiceClient implements service for light mode.
ServiceServer implements light server service.

# Interfaces

BlockChain define some interfaces related to underlying blockchain.
TransactionPool define some interfaces related to add and get txs.