Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ValidationTimeout = time.Second * 30
Functions ¶
This section is empty.
Types ¶
type Broadcaster ¶
type Broadcaster struct {
// contains filtered or unexported fields
}
func NewBroadcaster ¶
func NewBroadcaster( networkID rebro.NetworkID, singer crypto.Signer, certifier rebro.Certifier, hasher rebro.Hasher, decoder rebro.MessageIDDecoder, ps *pubsub.PubSub, ) *Broadcaster
NewBroadcaster instantiates a new gossiping Broadcaster.
func (*Broadcaster) Broadcast ¶
func (bro *Broadcaster) Broadcast(ctx context.Context, msg rebro.Message, qcomm rebro.QuorumCertificate) error
func (*Broadcaster) Start ¶
func (bro *Broadcaster) Start() (err error)
type Orchestrator ¶
type Orchestrator struct {
// contains filtered or unexported fields
}
func NewOrchestrator ¶
func NewOrchestrator(ps *pubsub.PubSub) *Orchestrator
func (*Orchestrator) NewBroadcaster ¶
func (o *Orchestrator) NewBroadcaster( nid rebro.NetworkID, signer crypto.Signer, certifier rebro.Certifier, hasher rebro.Hasher, decoder rebro.MessageIDDecoder, ) (rebro.Broadcaster, error)
Click to show internal directories.
Click to hide internal directories.