Versions in this module Expand all Collapse all v1 v1.13.6 Jul 18, 2025 v1.13.5 Jul 18, 2025 Changes in this version + const CodecVersion + var Codec codec.Manager + func NewBLSAuth(config *Config) (BLSSigner, BLSVerifier) + type BLSSigner struct + func (s *BLSSigner) Sign(message []byte) ([]byte, error) + type BLSVerifier struct + func (v BLSVerifier) Verify(message []byte, signature []byte, signer simplex.NodeID) error + type Block struct + func (b *Block) BlockHeader() simplex.BlockHeader + func (b *Block) Bytes() ([]byte, error) + func (b *Block) Verify(ctx context.Context) (simplex.VerifiedBlock, error) + type Comm struct + func NewComm(config *Config) (*Comm, error) + func (c *Comm) Broadcast(msg *simplex.Message) + func (c *Comm) Nodes() []simplex.NodeID + func (c *Comm) Send(msg *simplex.Message, destination simplex.NodeID) + type Config struct + Ctx SimplexChainContext + Log logging.Logger + OutboundMsgBuilder message.OutboundMsgBuilder + Sender sender.ExternalSender + SignBLS SignFunc + Validators map[ids.NodeID]*validators.GetValidatorOutput + type SignFunc func(msg []byte) (*bls.Signature, error) + type SimplexChainContext struct + ChainID ids.ID + NetworkID uint32 + NodeID ids.NodeID + SubnetID ids.ID