db

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: GPL-3.0 Imports: 9 Imported by: 55

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAttestationContainer        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAttestationContainer          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAttestationContainer = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthFinalizedBlockRootContainer        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFinalizedBlockRootContainer          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupFinalizedBlockRootContainer = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPowchain        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPowchain          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPowchain = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type AttestationContainer

type AttestationContainer struct {
	Data                 *v1alpha1.AttestationData             `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	SignaturePairs       []*AttestationContainer_SignaturePair `protobuf:"bytes,2,rep,name=signature_pairs,json=signaturePairs,proto3" json:"signature_pairs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

func (*AttestationContainer) Contains

func (ac *AttestationContainer) Contains(att *ethpb.Attestation) bool

Contains returns true if the attestation bits are fully contained in some attestations.

func (*AttestationContainer) Descriptor

func (*AttestationContainer) Descriptor() ([]byte, []int)

func (*AttestationContainer) GetData

func (*AttestationContainer) GetSignaturePairs

func (m *AttestationContainer) GetSignaturePairs() []*AttestationContainer_SignaturePair

func (*AttestationContainer) InsertAttestation

func (ac *AttestationContainer) InsertAttestation(att *ethpb.Attestation)

InsertAttestation if bitfields do not exist already.

func (*AttestationContainer) Marshal

func (m *AttestationContainer) Marshal() (dAtA []byte, err error)

func (*AttestationContainer) MarshalTo

func (m *AttestationContainer) MarshalTo(dAtA []byte) (int, error)

func (*AttestationContainer) MarshalToSizedBuffer added in v0.3.2

func (m *AttestationContainer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AttestationContainer) ProtoMessage

func (*AttestationContainer) ProtoMessage()

func (*AttestationContainer) Reset

func (m *AttestationContainer) Reset()

func (*AttestationContainer) Size

func (m *AttestationContainer) Size() (n int)

func (*AttestationContainer) String

func (m *AttestationContainer) String() string

func (*AttestationContainer) ToAttestations

func (ac *AttestationContainer) ToAttestations() []*ethpb.Attestation

ToAttestations converts an attestationContainer signature pairs to full attestations.

func (*AttestationContainer) Unmarshal

func (m *AttestationContainer) Unmarshal(dAtA []byte) error

func (*AttestationContainer) XXX_DiscardUnknown

func (m *AttestationContainer) XXX_DiscardUnknown()

func (*AttestationContainer) XXX_Marshal

func (m *AttestationContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttestationContainer) XXX_Merge

func (m *AttestationContainer) XXX_Merge(src proto.Message)

func (*AttestationContainer) XXX_Size

func (m *AttestationContainer) XXX_Size() int

func (*AttestationContainer) XXX_Unmarshal

func (m *AttestationContainer) XXX_Unmarshal(b []byte) error

type AttestationContainer_SignaturePair

type AttestationContainer_SignaturePair struct {
	AggregationBits      github_com_prysmaticlabs_go_bitfield.Bitlist `` /* 160-byte string literal not displayed */
	Signature            []byte                                       `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	VoteCounted          bool                                         `protobuf:"varint,3,opt,name=vote_counted,json=voteCounted,proto3" json:"vote_counted,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                     `json:"-"`
	XXX_unrecognized     []byte                                       `json:"-"`
	XXX_sizecache        int32                                        `json:"-"`
}

func (*AttestationContainer_SignaturePair) Descriptor

func (*AttestationContainer_SignaturePair) Descriptor() ([]byte, []int)

func (*AttestationContainer_SignaturePair) GetAggregationBits

func (*AttestationContainer_SignaturePair) GetSignature

func (m *AttestationContainer_SignaturePair) GetSignature() []byte

func (*AttestationContainer_SignaturePair) GetVoteCounted added in v0.2.4

func (m *AttestationContainer_SignaturePair) GetVoteCounted() bool

func (*AttestationContainer_SignaturePair) Marshal

func (m *AttestationContainer_SignaturePair) Marshal() (dAtA []byte, err error)

func (*AttestationContainer_SignaturePair) MarshalTo

func (m *AttestationContainer_SignaturePair) MarshalTo(dAtA []byte) (int, error)

func (*AttestationContainer_SignaturePair) MarshalToSizedBuffer added in v0.3.2

func (m *AttestationContainer_SignaturePair) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AttestationContainer_SignaturePair) ProtoMessage

func (*AttestationContainer_SignaturePair) ProtoMessage()

func (*AttestationContainer_SignaturePair) Reset

func (*AttestationContainer_SignaturePair) Size

func (*AttestationContainer_SignaturePair) String

func (*AttestationContainer_SignaturePair) Unmarshal

func (m *AttestationContainer_SignaturePair) Unmarshal(dAtA []byte) error

func (*AttestationContainer_SignaturePair) XXX_DiscardUnknown

func (m *AttestationContainer_SignaturePair) XXX_DiscardUnknown()

func (*AttestationContainer_SignaturePair) XXX_Marshal

func (m *AttestationContainer_SignaturePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttestationContainer_SignaturePair) XXX_Merge

func (*AttestationContainer_SignaturePair) XXX_Size

func (*AttestationContainer_SignaturePair) XXX_Unmarshal

func (m *AttestationContainer_SignaturePair) XXX_Unmarshal(b []byte) error

type ChainStartData added in v0.3.0

type ChainStartData struct {
	Chainstarted         bool                `protobuf:"varint,1,opt,name=chainstarted,proto3" json:"chainstarted,omitempty"`
	GenesisTime          uint64              `protobuf:"varint,2,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"`
	GenesisBlock         uint64              `protobuf:"varint,3,opt,name=genesis_block,json=genesisBlock,proto3" json:"genesis_block,omitempty"`
	Eth1Data             *v1alpha1.Eth1Data  `protobuf:"bytes,4,opt,name=eth1_data,json=eth1Data,proto3" json:"eth1_data,omitempty"`
	ChainstartDeposits   []*v1alpha1.Deposit `protobuf:"bytes,5,rep,name=chainstart_deposits,json=chainstartDeposits,proto3" json:"chainstart_deposits,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*ChainStartData) Descriptor added in v0.3.0

func (*ChainStartData) Descriptor() ([]byte, []int)

func (*ChainStartData) GetChainstartDeposits added in v0.3.0

func (m *ChainStartData) GetChainstartDeposits() []*v1alpha1.Deposit

func (*ChainStartData) GetChainstarted added in v0.3.0

func (m *ChainStartData) GetChainstarted() bool

func (*ChainStartData) GetEth1Data added in v0.3.0

func (m *ChainStartData) GetEth1Data() *v1alpha1.Eth1Data

func (*ChainStartData) GetGenesisBlock added in v0.3.0

func (m *ChainStartData) GetGenesisBlock() uint64

func (*ChainStartData) GetGenesisTime added in v0.3.0

func (m *ChainStartData) GetGenesisTime() uint64

func (*ChainStartData) Marshal added in v0.3.0

func (m *ChainStartData) Marshal() (dAtA []byte, err error)

func (*ChainStartData) MarshalTo added in v0.3.0

func (m *ChainStartData) MarshalTo(dAtA []byte) (int, error)

func (*ChainStartData) MarshalToSizedBuffer added in v0.3.0

func (m *ChainStartData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChainStartData) ProtoMessage added in v0.3.0

func (*ChainStartData) ProtoMessage()

func (*ChainStartData) Reset added in v0.3.0

func (m *ChainStartData) Reset()

func (*ChainStartData) Size added in v0.3.0

func (m *ChainStartData) Size() (n int)

func (*ChainStartData) String added in v0.3.0

func (m *ChainStartData) String() string

func (*ChainStartData) Unmarshal added in v0.3.0

func (m *ChainStartData) Unmarshal(dAtA []byte) error

func (*ChainStartData) XXX_DiscardUnknown added in v0.3.0

func (m *ChainStartData) XXX_DiscardUnknown()

func (*ChainStartData) XXX_Marshal added in v0.3.0

func (m *ChainStartData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChainStartData) XXX_Merge added in v0.3.0

func (m *ChainStartData) XXX_Merge(src proto.Message)

func (*ChainStartData) XXX_Size added in v0.3.0

func (m *ChainStartData) XXX_Size() int

func (*ChainStartData) XXX_Unmarshal added in v0.3.0

func (m *ChainStartData) XXX_Unmarshal(b []byte) error

type DepositContainer added in v0.3.0

type DepositContainer struct {
	Index                int64             `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Eth1BlockHeight      uint64            `protobuf:"varint,2,opt,name=eth1_block_height,json=eth1BlockHeight,proto3" json:"eth1_block_height,omitempty"`
	Deposit              *v1alpha1.Deposit `protobuf:"bytes,3,opt,name=deposit,proto3" json:"deposit,omitempty"`
	DepositRoot          []byte            `protobuf:"bytes,4,opt,name=deposit_root,json=depositRoot,proto3" json:"deposit_root,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*DepositContainer) Descriptor added in v0.3.0

func (*DepositContainer) Descriptor() ([]byte, []int)

func (*DepositContainer) GetDeposit added in v0.3.0

func (m *DepositContainer) GetDeposit() *v1alpha1.Deposit

func (*DepositContainer) GetDepositRoot added in v0.3.0

func (m *DepositContainer) GetDepositRoot() []byte

func (*DepositContainer) GetEth1BlockHeight added in v0.3.0

func (m *DepositContainer) GetEth1BlockHeight() uint64

func (*DepositContainer) GetIndex added in v0.3.0

func (m *DepositContainer) GetIndex() int64

func (*DepositContainer) Marshal added in v0.3.0

func (m *DepositContainer) Marshal() (dAtA []byte, err error)

func (*DepositContainer) MarshalTo added in v0.3.0

func (m *DepositContainer) MarshalTo(dAtA []byte) (int, error)

func (*DepositContainer) MarshalToSizedBuffer added in v0.3.0

func (m *DepositContainer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DepositContainer) ProtoMessage added in v0.3.0

func (*DepositContainer) ProtoMessage()

func (*DepositContainer) Reset added in v0.3.0

func (m *DepositContainer) Reset()

func (*DepositContainer) Size added in v0.3.0

func (m *DepositContainer) Size() (n int)

func (*DepositContainer) String added in v0.3.0

func (m *DepositContainer) String() string

func (*DepositContainer) Unmarshal added in v0.3.0

func (m *DepositContainer) Unmarshal(dAtA []byte) error

func (*DepositContainer) XXX_DiscardUnknown added in v0.3.0

func (m *DepositContainer) XXX_DiscardUnknown()

func (*DepositContainer) XXX_Marshal added in v0.3.0

func (m *DepositContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DepositContainer) XXX_Merge added in v0.3.0

func (m *DepositContainer) XXX_Merge(src proto.Message)

func (*DepositContainer) XXX_Size added in v0.3.0

func (m *DepositContainer) XXX_Size() int

func (*DepositContainer) XXX_Unmarshal added in v0.3.0

func (m *DepositContainer) XXX_Unmarshal(b []byte) error

type ETH1ChainData added in v0.3.0

type ETH1ChainData struct {
	CurrentEth1Data      *LatestETH1Data     `protobuf:"bytes,1,opt,name=current_eth1_data,json=currentEth1Data,proto3" json:"current_eth1_data,omitempty"`
	ChainstartData       *ChainStartData     `protobuf:"bytes,2,opt,name=chainstart_data,json=chainstartData,proto3" json:"chainstart_data,omitempty"`
	BeaconState          *v1.BeaconState     `protobuf:"bytes,3,opt,name=beacon_state,json=beaconState,proto3" json:"beacon_state,omitempty"`
	Trie                 *SparseMerkleTrie   `protobuf:"bytes,4,opt,name=trie,proto3" json:"trie,omitempty"`
	DepositContainers    []*DepositContainer `protobuf:"bytes,5,rep,name=deposit_containers,json=depositContainers,proto3" json:"deposit_containers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*ETH1ChainData) Descriptor added in v0.3.0

func (*ETH1ChainData) Descriptor() ([]byte, []int)

func (*ETH1ChainData) GetBeaconState added in v0.3.0

func (m *ETH1ChainData) GetBeaconState() *v1.BeaconState

func (*ETH1ChainData) GetChainstartData added in v0.3.0

func (m *ETH1ChainData) GetChainstartData() *ChainStartData

func (*ETH1ChainData) GetCurrentEth1Data added in v0.3.0

func (m *ETH1ChainData) GetCurrentEth1Data() *LatestETH1Data

func (*ETH1ChainData) GetDepositContainers added in v0.3.0

func (m *ETH1ChainData) GetDepositContainers() []*DepositContainer

func (*ETH1ChainData) GetTrie added in v0.3.0

func (m *ETH1ChainData) GetTrie() *SparseMerkleTrie

func (*ETH1ChainData) Marshal added in v0.3.0

func (m *ETH1ChainData) Marshal() (dAtA []byte, err error)

func (*ETH1ChainData) MarshalTo added in v0.3.0

func (m *ETH1ChainData) MarshalTo(dAtA []byte) (int, error)

func (*ETH1ChainData) MarshalToSizedBuffer added in v0.3.0

func (m *ETH1ChainData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ETH1ChainData) ProtoMessage added in v0.3.0

func (*ETH1ChainData) ProtoMessage()

func (*ETH1ChainData) Reset added in v0.3.0

func (m *ETH1ChainData) Reset()

func (*ETH1ChainData) Size added in v0.3.0

func (m *ETH1ChainData) Size() (n int)

func (*ETH1ChainData) String added in v0.3.0

func (m *ETH1ChainData) String() string

func (*ETH1ChainData) Unmarshal added in v0.3.0

func (m *ETH1ChainData) Unmarshal(dAtA []byte) error

func (*ETH1ChainData) XXX_DiscardUnknown added in v0.3.0

func (m *ETH1ChainData) XXX_DiscardUnknown()

func (*ETH1ChainData) XXX_Marshal added in v0.3.0

func (m *ETH1ChainData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ETH1ChainData) XXX_Merge added in v0.3.0

func (m *ETH1ChainData) XXX_Merge(src proto.Message)

func (*ETH1ChainData) XXX_Size added in v0.3.0

func (m *ETH1ChainData) XXX_Size() int

func (*ETH1ChainData) XXX_Unmarshal added in v0.3.0

func (m *ETH1ChainData) XXX_Unmarshal(b []byte) error

type FinalizedBlockRootContainer added in v0.2.3

type FinalizedBlockRootContainer struct {
	ParentRoot           []byte   `protobuf:"bytes,1,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty"`
	ChildRoot            []byte   `protobuf:"bytes,2,opt,name=child_root,json=childRoot,proto3" json:"child_root,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FinalizedBlockRootContainer) Descriptor added in v0.2.3

func (*FinalizedBlockRootContainer) Descriptor() ([]byte, []int)

func (*FinalizedBlockRootContainer) GetChildRoot added in v0.2.3

func (m *FinalizedBlockRootContainer) GetChildRoot() []byte

func (*FinalizedBlockRootContainer) GetParentRoot added in v0.2.3

func (m *FinalizedBlockRootContainer) GetParentRoot() []byte

func (*FinalizedBlockRootContainer) Marshal added in v0.2.3

func (m *FinalizedBlockRootContainer) Marshal() (dAtA []byte, err error)

func (*FinalizedBlockRootContainer) MarshalTo added in v0.2.3

func (m *FinalizedBlockRootContainer) MarshalTo(dAtA []byte) (int, error)

func (*FinalizedBlockRootContainer) MarshalToSizedBuffer added in v0.3.2

func (m *FinalizedBlockRootContainer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FinalizedBlockRootContainer) ProtoMessage added in v0.2.3

func (*FinalizedBlockRootContainer) ProtoMessage()

func (*FinalizedBlockRootContainer) Reset added in v0.2.3

func (m *FinalizedBlockRootContainer) Reset()

func (*FinalizedBlockRootContainer) Size added in v0.2.3

func (m *FinalizedBlockRootContainer) Size() (n int)

func (*FinalizedBlockRootContainer) String added in v0.2.3

func (m *FinalizedBlockRootContainer) String() string

func (*FinalizedBlockRootContainer) Unmarshal added in v0.2.3

func (m *FinalizedBlockRootContainer) Unmarshal(dAtA []byte) error

func (*FinalizedBlockRootContainer) XXX_DiscardUnknown added in v0.2.3

func (m *FinalizedBlockRootContainer) XXX_DiscardUnknown()

func (*FinalizedBlockRootContainer) XXX_Marshal added in v0.2.3

func (m *FinalizedBlockRootContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FinalizedBlockRootContainer) XXX_Merge added in v0.2.3

func (m *FinalizedBlockRootContainer) XXX_Merge(src proto.Message)

func (*FinalizedBlockRootContainer) XXX_Size added in v0.2.3

func (m *FinalizedBlockRootContainer) XXX_Size() int

func (*FinalizedBlockRootContainer) XXX_Unmarshal added in v0.2.3

func (m *FinalizedBlockRootContainer) XXX_Unmarshal(b []byte) error

type LatestETH1Data added in v0.3.0

type LatestETH1Data struct {
	BlockHeight          uint64   `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	BlockTime            uint64   `protobuf:"varint,3,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
	BlockHash            []byte   `protobuf:"bytes,4,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	LastRequestedBlock   uint64   `protobuf:"varint,5,opt,name=last_requested_block,json=lastRequestedBlock,proto3" json:"last_requested_block,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LatestETH1Data) Descriptor added in v0.3.0

func (*LatestETH1Data) Descriptor() ([]byte, []int)

func (*LatestETH1Data) GetBlockHash added in v0.3.0

func (m *LatestETH1Data) GetBlockHash() []byte

func (*LatestETH1Data) GetBlockHeight added in v0.3.0

func (m *LatestETH1Data) GetBlockHeight() uint64

func (*LatestETH1Data) GetBlockTime added in v0.3.0

func (m *LatestETH1Data) GetBlockTime() uint64

func (*LatestETH1Data) GetLastRequestedBlock added in v0.3.0

func (m *LatestETH1Data) GetLastRequestedBlock() uint64

func (*LatestETH1Data) Marshal added in v0.3.0

func (m *LatestETH1Data) Marshal() (dAtA []byte, err error)

func (*LatestETH1Data) MarshalTo added in v0.3.0

func (m *LatestETH1Data) MarshalTo(dAtA []byte) (int, error)

func (*LatestETH1Data) MarshalToSizedBuffer added in v0.3.0

func (m *LatestETH1Data) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LatestETH1Data) ProtoMessage added in v0.3.0

func (*LatestETH1Data) ProtoMessage()

func (*LatestETH1Data) Reset added in v0.3.0

func (m *LatestETH1Data) Reset()

func (*LatestETH1Data) Size added in v0.3.0

func (m *LatestETH1Data) Size() (n int)

func (*LatestETH1Data) String added in v0.3.0

func (m *LatestETH1Data) String() string

func (*LatestETH1Data) Unmarshal added in v0.3.0

func (m *LatestETH1Data) Unmarshal(dAtA []byte) error

func (*LatestETH1Data) XXX_DiscardUnknown added in v0.3.0

func (m *LatestETH1Data) XXX_DiscardUnknown()

func (*LatestETH1Data) XXX_Marshal added in v0.3.0

func (m *LatestETH1Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LatestETH1Data) XXX_Merge added in v0.3.0

func (m *LatestETH1Data) XXX_Merge(src proto.Message)

func (*LatestETH1Data) XXX_Size added in v0.3.0

func (m *LatestETH1Data) XXX_Size() int

func (*LatestETH1Data) XXX_Unmarshal added in v0.3.0

func (m *LatestETH1Data) XXX_Unmarshal(b []byte) error

type SparseMerkleTrie added in v0.3.0

type SparseMerkleTrie struct {
	Depth                uint64       `protobuf:"varint,1,opt,name=depth,proto3" json:"depth,omitempty"`
	Layers               []*TrieLayer `protobuf:"bytes,2,rep,name=layers,proto3" json:"layers,omitempty"`
	OriginalItems        [][]byte     `protobuf:"bytes,3,rep,name=original_items,json=originalItems,proto3" json:"original_items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*SparseMerkleTrie) Descriptor added in v0.3.0

func (*SparseMerkleTrie) Descriptor() ([]byte, []int)

func (*SparseMerkleTrie) GetDepth added in v0.3.0

func (m *SparseMerkleTrie) GetDepth() uint64

func (*SparseMerkleTrie) GetLayers added in v0.3.0

func (m *SparseMerkleTrie) GetLayers() []*TrieLayer

func (*SparseMerkleTrie) GetOriginalItems added in v0.3.0

func (m *SparseMerkleTrie) GetOriginalItems() [][]byte

func (*SparseMerkleTrie) Marshal added in v0.3.0

func (m *SparseMerkleTrie) Marshal() (dAtA []byte, err error)

func (*SparseMerkleTrie) MarshalTo added in v0.3.0

func (m *SparseMerkleTrie) MarshalTo(dAtA []byte) (int, error)

func (*SparseMerkleTrie) MarshalToSizedBuffer added in v0.3.0

func (m *SparseMerkleTrie) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SparseMerkleTrie) ProtoMessage added in v0.3.0

func (*SparseMerkleTrie) ProtoMessage()

func (*SparseMerkleTrie) Reset added in v0.3.0

func (m *SparseMerkleTrie) Reset()

func (*SparseMerkleTrie) Size added in v0.3.0

func (m *SparseMerkleTrie) Size() (n int)

func (*SparseMerkleTrie) String added in v0.3.0

func (m *SparseMerkleTrie) String() string

func (*SparseMerkleTrie) Unmarshal added in v0.3.0

func (m *SparseMerkleTrie) Unmarshal(dAtA []byte) error

func (*SparseMerkleTrie) XXX_DiscardUnknown added in v0.3.0

func (m *SparseMerkleTrie) XXX_DiscardUnknown()

func (*SparseMerkleTrie) XXX_Marshal added in v0.3.0

func (m *SparseMerkleTrie) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SparseMerkleTrie) XXX_Merge added in v0.3.0

func (m *SparseMerkleTrie) XXX_Merge(src proto.Message)

func (*SparseMerkleTrie) XXX_Size added in v0.3.0

func (m *SparseMerkleTrie) XXX_Size() int

func (*SparseMerkleTrie) XXX_Unmarshal added in v0.3.0

func (m *SparseMerkleTrie) XXX_Unmarshal(b []byte) error

type TrieLayer added in v0.3.0

type TrieLayer struct {
	Layer                [][]byte `protobuf:"bytes,1,rep,name=layer,proto3" json:"layer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TrieLayer) Descriptor added in v0.3.0

func (*TrieLayer) Descriptor() ([]byte, []int)

func (*TrieLayer) GetLayer added in v0.3.0

func (m *TrieLayer) GetLayer() [][]byte

func (*TrieLayer) Marshal added in v0.3.0

func (m *TrieLayer) Marshal() (dAtA []byte, err error)

func (*TrieLayer) MarshalTo added in v0.3.0

func (m *TrieLayer) MarshalTo(dAtA []byte) (int, error)

func (*TrieLayer) MarshalToSizedBuffer added in v0.3.0

func (m *TrieLayer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TrieLayer) ProtoMessage added in v0.3.0

func (*TrieLayer) ProtoMessage()

func (*TrieLayer) Reset added in v0.3.0

func (m *TrieLayer) Reset()

func (*TrieLayer) Size added in v0.3.0

func (m *TrieLayer) Size() (n int)

func (*TrieLayer) String added in v0.3.0

func (m *TrieLayer) String() string

func (*TrieLayer) Unmarshal added in v0.3.0

func (m *TrieLayer) Unmarshal(dAtA []byte) error

func (*TrieLayer) XXX_DiscardUnknown added in v0.3.0

func (m *TrieLayer) XXX_DiscardUnknown()

func (*TrieLayer) XXX_Marshal added in v0.3.0

func (m *TrieLayer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TrieLayer) XXX_Merge added in v0.3.0

func (m *TrieLayer) XXX_Merge(src proto.Message)

func (*TrieLayer) XXX_Size added in v0.3.0

func (m *TrieLayer) XXX_Size() int

func (*TrieLayer) XXX_Unmarshal added in v0.3.0

func (m *TrieLayer) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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