Documentation ¶
Index ¶
- func BatchForHash(batch *requestpb.Batch) [][]byte
- func BytesToUint64(data []byte) uint64
- func CheckpointForSig(epoch t.EpochNr, seqNr t.SeqNr, snapshotHash []byte) [][]byte
- func ClientProgressForHash(clientProgress *commonpb.ClientProgress) [][]byte
- func EpochConfigForHash(epochConfig *commonpb.EpochConfig) [][]byte
- func EpochDataForHash(epochData *commonpb.EpochData) [][]byte
- func MembershipsForHash(memberships []*commonpb.Membership) [][]byte
- func RequestForHash(req *requestpb.Request) [][]byte
- func SnapshotForHash(snapshot *commonpb.StateSnapshot) [][]byte
- func Uint64ToBytes(n uint64) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchForHash ¶
func BytesToUint64 ¶
func CheckpointForSig ¶
func ClientProgressForHash ¶
func ClientProgressForHash(clientProgress *commonpb.ClientProgress) [][]byte
func EpochConfigForHash ¶
func EpochConfigForHash(epochConfig *commonpb.EpochConfig) [][]byte
func EpochDataForHash ¶
func MembershipsForHash ¶
func MembershipsForHash(memberships []*commonpb.Membership) [][]byte
func RequestForHash ¶
func SnapshotForHash ¶
func SnapshotForHash(snapshot *commonpb.StateSnapshot) [][]byte
func Uint64ToBytes ¶
Uint64ToBytes returns a 8-byte slice encoding an unsigned 64-bit integer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.