Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrComm = errors.New("communication issue")
)
Functions ¶
Types ¶
type DeliverStream ¶
type DeliverStream interface {
// Receive returns
// - *types.BlockHeader if IncludeTxIDs is set to false in the delivery config
// - *types.AugmentedBlockHeader if IncludeTxIDs is set to true in the delivery config
// - nil if service has been stopped either by the caller or due to an error
Receive() interface{}
// Stop stops the delivery service
Stop()
// Error returns any accumulated error
Error() error
}
type Network ¶
type Network interface {
SessionManager() driver.SessionManager
IdentityManager() driver.IdentityManager
Name() string
}
Click to show internal directories.
Click to hide internal directories.