package
3.0.0+incompatible
Repository: https://github.com/hyperledger/fabric.git
Documentation: pkg.go.dev
# Packages
Code generated by counterfeiter.
# Functions
GlobalConfig obtains a set of configuration from viper, build and returns the config struct.
NewDeliverService construction function to create and initialize delivery service instance.
# Structs
Config dictates the DeliveryService's properties, namely how it connects to an ordering service endpoint, how it verifies messages received from it, and how it disseminates the messages to other peers.
DeliverServiceConfig is the struct that defines the deliverservice configuration.
# Interfaces
BlockDeliverer communicates with orderers to obtain new blocks and send them to the committer service, for a specific channel.
DeliverService used to communicate with orderers to obtain new blocks and send them to the committer service.
GossipServiceAdapter serves to provide basic functionality required from gossip service by delivery service
go:generate counterfeiter -o fake/gossip_service_adapter.go --fake-name GossipServiceAdapter .