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: 5 modules, 37 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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