Versions in this module Expand all Collapse all v1 v1.10.3 Dec 16, 2024 v1.10.2 Dec 15, 2024 Changes in this version + func ConstructBlocksSyncMessage(blocks []*types.Block) []byte + func ConstructCXReceiptsProof(cxReceiptsProof *types.CXReceiptsProof) []byte + func ConstructCrossLinkHeartBeatMessage(hb types.CrosslinkHeartbeat) []byte + func ConstructCrossLinkMessage(bc engine.ChainReader, headers []*block.Header) []byte + func ConstructSlashMessage(witnesses slash.Records) []byte + func ConstructStakingTransactionListMessageAccount(transactions staking.StakingTransactions) []byte + func ConstructTransactionListMessageAccount(transactions types.Transactions) []byte + type BlockMessageType int + const CrossLink + const CrosslinkHeartbeat + const Receipt + const SlashCandidate + const Sync + type MessageType byte + const Block + const Client + const PING + const ShardState + const Staking + const Transaction + type TransactionMessageType int + const Send + const Unlock