spec_types

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SpecTypes = []*SpecType{
	{"state", "BeaconState", func() interface{} { return new(BeaconState) }},
	{"block", "BeaconBlock", func() interface{} { return new(BeaconBlock) }},
	{"block_header", "BlockHeader", func() interface{} { return new(BeaconBlockHeader) }},
	{"signed_block", "SignedBeaconBlock", func() interface{} { return new(SignedBeaconBlock) }},
	{"signed_block_header", "SignedBlockHeader", func() interface{} { return new(SignedBeaconBlockHeader) }},
	{"block_body", "BeaconBlockBody", func() interface{} { return new(BeaconBlockBody) }},
	{"attestation_data", "AttestationData", func() interface{} { return new(AttestationData) }},
	{"attestation", "Attestation", func() interface{} { return new(Attestation) }},
	{"attester_slashing", "AttesterSlashing", func() interface{} { return new(AttesterSlashing) }},
	{"proposer_slashing", "ProposerSlashing", func() interface{} { return new(ProposerSlashing) }},
	{"deposit", "Deposit", func() interface{} { return new(Deposit) }},
	{"deposit_data", "DepositData", func() interface{} { return new(DepositData) }},
	{"deposit_message", "DepositMessage", func() interface{} { return new(DepositMessage) }},
	{"voluntary_exit", "VoluntaryExit", func() interface{} { return new(VoluntaryExit) }},
	{"signed_voluntary_exit", "SignedVoluntaryExit", func() interface{} { return new(SignedVoluntaryExit) }},
	{"eth1_data", "Eth1Data", func() interface{} { return new(Eth1Data) }},
	{"fork_data", "ForkData", func() interface{} { return new(ForkData) }},
}

Functions

This section is empty.

Types

type SpecType

type SpecType struct {
	Name     string
	TypeName string
	Alloc    func() interface{}
}

Jump to

Keyboard shortcuts

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