p2p2consensus

package
v0.15.21 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdaptBlockInfo

func AdaptBlockInfo(msg *p2pconsensus.BlockInfo) (consensus.BlockInfo, error)

func AdaptProposalFin

func AdaptProposalFin(msg *p2pconsensus.ProposalFin) (consensus.ProposalFin, error)

func AdaptProposalTransaction

func AdaptProposalTransaction(
	ctx context.Context,
	compiler compiler.Compiler,
	msg *p2pconsensus.TransactionBatch,
	network *utils.Network,
) ([]consensus.Transaction, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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