Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockVerifier ¶
type DeliverStreamer ¶
type DeliverStreamer interface {
Deliver(context.Context, *grpc.ClientConn) (orderer.AtomicBroadcast_DeliverClient, error)
}
type Deliverer ¶
type Deliverer struct {
ChannelID string
Gossip GossipServiceAdapter
Ledger LedgerInfo
BlockVerifier BlockVerifier
Dialer Dialer
Orderers OrdererConnectionSource
DoneC chan struct{}
Signer identity.SignerSerializer
DeliverStreamer DeliverStreamer
Logger *flogging.FabricLogger
YieldLeadership bool
MaxRetryDelay time.Duration
InitialRetryDelay time.Duration
MaxRetryDuration time.Duration
// TLSCertHash should be nil when TLS is not enabled
TLSCertHash []byte // util.ComputeSHA256(b.credSupport.GetClientCertificate().Certificate[0])
// contains filtered or unexported fields
}
Deliverer the actual implementation for BlocksProvider interface
type Dialer ¶
type GossipServiceAdapter ¶
type GossipServiceAdapter interface {
// AddPayload adds payload to the local state sync buffer
AddPayload(chainID string, payload *gossip.Payload) error
// Gossip the message across the peers
Gossip(msg *gossip.GossipMessage)
}
GossipServiceAdapter serves to provide basic functionality required from gossip service by delivery service
Source Files
¶
- blocksprovider.go
Click to show internal directories.
Click to hide internal directories.