serializing

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BatchForHash

func BatchForHash(batch *requestpb.Batch) [][]byte

func BytesToUint64

func BytesToUint64(data []byte) uint64

func CheckpointForSig

func CheckpointForSig(epoch t.EpochNr, seqNr t.SeqNr, snapshotHash []byte) [][]byte

func ClientProgressForHash

func ClientProgressForHash(clientProgress *commonpb.ClientProgress) [][]byte

func EpochConfigForHash

func EpochConfigForHash(epochConfig *commonpb.EpochConfig) [][]byte

func EpochDataForHash

func EpochDataForHash(epochData *commonpb.EpochData) [][]byte

func MembershipsForHash

func MembershipsForHash(memberships []*commonpb.Membership) [][]byte

func RequestForHash

func RequestForHash(req *requestpb.Request) [][]byte

func SnapshotForHash

func SnapshotForHash(snapshot *commonpb.StateSnapshot) [][]byte

func Uint64ToBytes

func Uint64ToBytes(n uint64) []byte

Uint64ToBytes returns a 8-byte slice encoding an unsigned 64-bit integer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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