types

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ViewNr

type ViewNr uint64

ViewNr represents the view number in the PBFT protocol (used as a sub-protocol of ISS)

func (ViewNr) Bytes

func (v ViewNr) Bytes() []byte

Bytes converts a PBFTViewNr to a slice of bytes (useful for serialization).

func (ViewNr) Pb

func (v ViewNr) Pb() uint64

Pb converts a ViewNr to its underlying native type

Jump to

Keyboard shortcuts

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