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.
Click to show internal directories.
Click to hide internal directories.