pmsg

package
v0.8.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2025 License: Apache-2.0, MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PartialMessageManager

type PartialMessageManager struct {
	// contains filtered or unexported fields
}

func NewPartialMessageManager

func NewPartialMessageManager(progress gpbft.Progress, ps *pubsub.PubSub, m manifest.Manifest, clk clock.Clock) (*PartialMessageManager, error)

func (*PartialMessageManager) BroadcastChain

func (pmm *PartialMessageManager) BroadcastChain(ctx context.Context, instance uint64, chain *gpbft.ECChain) error

func (*PartialMessageManager) BufferPartialMessage

func (pmm *PartialMessageManager) BufferPartialMessage(ctx context.Context, msg gpbft.PartiallyValidatedMessage)

func (*PartialMessageManager) CompleteMessage

func (pmm *PartialMessageManager) CompleteMessage(ctx context.Context, pgmsg *gpbft.PartialGMessage) (*gpbft.GMessage, bool)

func (*PartialMessageManager) NotifyChainDiscovered

func (pmm *PartialMessageManager) NotifyChainDiscovered(ctx context.Context, instance uint64, chain *gpbft.ECChain)

func (*PartialMessageManager) RemoveMessagesBeforeInstance

func (pmm *PartialMessageManager) RemoveMessagesBeforeInstance(ctx context.Context, instance uint64)

func (*PartialMessageManager) Shutdown

func (pmm *PartialMessageManager) Shutdown(ctx context.Context) error

func (*PartialMessageManager) Start

func (*PartialMessageManager) ToPartialGMessage

func (pmm *PartialMessageManager) ToPartialGMessage(msg *gpbft.GMessage) (*gpbft.PartialGMessage, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL