Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AttesterSlashing string = "/eth2/b5303f2a/attester_slashing/ssz_snappy"
View Source
var BeaconAggregateProof string = "/eth2/b5303f2a/beacon_aggregate_and_proof/ssz_snappy"
View Source
var BeaconBlock string = "/eth2/b5303f2a/beacon_block/ssz_snappy"
View Source
var MainnetForkDigest string = "b5303f2a"
View Source
var ProposerSlashing string = "/eth2/b5303f2a/proposer_slashing/ssz_snappy"
View Source
var VoluntaryExit string = "/eth2/b5303f2a/voluntary_exit/ssz_snappy"
Functions ¶
func GenerateEth2Topics ¶
func MsgIDFunction ¶
Types ¶
type AcceptStatus ¶
type AcceptStatus int
type GossipSub ¶
type ReceivedAttestation ¶
type ReceivedAttestation struct { ReceivedTime time.Time From peer.ID BeaconAttestation beacon.Attestation }
Attestation Message Metadata Struct
type ReceivedAttesterSlashing ¶
type ReceivedAttesterSlashing struct { ReceivedTime time.Time From peer.ID AttesterSlashing beacon.AttesterSlashing }
Attester Slashing Message Metadata Struct
type ReceivedProposerSlashing ¶
type ReceivedProposerSlashing struct { ReceivedTime time.Time From peer.ID ProposerSlashing beacon.ProposerSlashing }
Proposer Slashing Message Metadata Struct
type ReceivedVoluntaryExit ¶
type ReceivedVoluntaryExit struct { ReceivedTime time.Time From peer.ID VoluntaryExit beacon.VoluntaryExit }
Voluntary Exit Message Metadata Struct
Click to show internal directories.
Click to hide internal directories.