modulepackage
0.0.0-20210712152240-10d33f6e0661
Repository: https://github.com/prysmaticlabs/eth2-types.git
Documentation: pkg.go.dev
# README
eth2-types
This repository is the place for defining the common ETH2 data types
# Functions
Add64 adds two 64-bit unsigned integers and checks if they lead to an overflow.
Div64 divides two 64-bit unsigned integers and checks for errors.
No description provided by the author
MaxEpoch returns the larger of the two epochs.
MaxSlot returns the larger of the two slots.
MinEpoch returns the smaller of the two epochs.
MinSlot returns the smaller of the two slots.
Mod64 finds remainder of division of two 64-bit unsigned integers and checks for errors.
Mul64 multiples two 64-bit unsigned integers and checks if they lead to an overflow.
Sub64 subtracts two 64-bit unsigned integers and checks for errors.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
CommitteeIndex in eth2.
Domain represents a 32 bytes domain object in Ethereum beacon chain consensus.
Epoch represents a single epoch.
Slot represents a single slot.
SSZUint64 is a bytes slice that satisfies the fast-ssz interface.
SSZUint64 is a uint64 type that satisfies the fast-ssz interface.
ValidatorIndex in eth2.