Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemoteBlockService ¶
type RemoteBlockService interface { GetMaxBlockID(host string) (blockID int64, err error) HostWithMaxBlock(hosts []string) (host string, maxBlockID int64, err error) GetBlocksBodies(host string, startBlock int64, blocksCount int, reverseOrder bool) (chan []byte, error) SendTransactions(host string, txes []model.Transaction) error }
RemoteBlockService allow returns max block from host and find host with maxBlockID
Click to show internal directories.
Click to hide internal directories.