Documentation
¶
Index ¶
- func GetConfigBlock(deliverer Deliverer, channel string) (*common.Block, error)
- func GetGenesisBlock(deliverer Deliverer, channel string) (*common.Block, error)
- func GetNewestBlock(deliverer Deliverer, channel string) (*common.Block, error)
- func GetSpecificBlock(deliverer Deliverer, channel string, number uint64) (*common.Block, error)
- type DeliverCallback
- type Deliverer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigBlock ¶
GetConfigBlock gets the latest config block from the specified channel.
func GetGenesisBlock ¶
GetGenesisBlock gets the genesis block from the specified channel.
func GetNewestBlock ¶
GetNewestBlock gets the newest block from the specified channel.
Types ¶
type DeliverCallback ¶
DeliverCallback is a callback function called for every block returned by Deliver.
Click to show internal directories.
Click to hide internal directories.