length

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: Apache-2.0 Imports: 0 Imported by: 36

Documentation

Index

Constants

View Source
const (
	PeerID = 64
	// Hash is the expected length of the hash (in bytes)
	Hash = 32
	// expected length of Bytes96 (signature)
	Bytes96 = 96
	// expected length of Bytes48 (bls public key and such)
	Bytes48 = 48
	// expected length of Bytes64 (sync committee bits)
	Bytes64 = 64
	// expected length of Bytes48 (beacon domain and such)
	Bytes4 = 4
	// Addr is the expected length of the address (in bytes)
	Addr = 20
	// BlockNumberLen length of uint64 big endian
	BlockNum = 8
	// Ts TimeStamp (BlockNum, TxNum or any other uint64 equivalent of Time)
	Ts = 8
	// Incarnation length of uint64 for contract incarnations
	Incarnation = 8
)

Lengths of hashes and addresses in bytes.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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