Documentation ¶
Index ¶
- Variables
- func RegisterBlockchainRPCServer(s *grpc.Server, srv BlockchainRPCServer)
- type AddrMessage
- func (*AddrMessage) Descriptor() ([]byte, []int)
- func (m *AddrMessage) GetAddrs() [][]byte
- func (*AddrMessage) ProtoMessage()
- func (m *AddrMessage) Reset()
- func (m *AddrMessage) String() string
- func (m *AddrMessage) XXX_DiscardUnknown()
- func (m *AddrMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddrMessage) XXX_Merge(src proto.Message)
- func (m *AddrMessage) XXX_Size() int
- func (m *AddrMessage) XXX_Unmarshal(b []byte) error
- type Attestation
- func (*Attestation) Descriptor() ([]byte, []int)
- func (m *Attestation) GetAggregateSig() []byte
- func (m *Attestation) GetCustodyBitfield() []byte
- func (m *Attestation) GetData() *AttestationData
- func (m *Attestation) GetParticipationBitfield() []byte
- func (*Attestation) ProtoMessage()
- func (m *Attestation) Reset()
- func (m *Attestation) String() string
- func (m *Attestation) XXX_DiscardUnknown()
- func (m *Attestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Attestation) XXX_Merge(src proto.Message)
- func (m *Attestation) XXX_Size() int
- func (m *Attestation) XXX_Unmarshal(b []byte) error
- type AttestationData
- func (*AttestationData) Descriptor() ([]byte, []int)
- func (m *AttestationData) GetBeaconBlockHash() []byte
- func (m *AttestationData) GetEpochBoundaryHash() []byte
- func (m *AttestationData) GetJustifiedBlockHash() []byte
- func (m *AttestationData) GetJustifiedSlot() uint64
- func (m *AttestationData) GetLatestCrosslinkHash() []byte
- func (m *AttestationData) GetShard() uint64
- func (m *AttestationData) GetShardBlockHash() []byte
- func (m *AttestationData) GetSlot() uint64
- func (*AttestationData) ProtoMessage()
- func (m *AttestationData) Reset()
- func (m *AttestationData) String() string
- func (m *AttestationData) XXX_DiscardUnknown()
- func (m *AttestationData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AttestationData) XXX_Merge(src proto.Message)
- func (m *AttestationData) XXX_Size() int
- func (m *AttestationData) XXX_Unmarshal(b []byte) error
- type AttestationDataAndCustodyBit
- func (*AttestationDataAndCustodyBit) Descriptor() ([]byte, []int)
- func (m *AttestationDataAndCustodyBit) GetData() *AttestationData
- func (m *AttestationDataAndCustodyBit) GetPoCBit() bool
- func (*AttestationDataAndCustodyBit) ProtoMessage()
- func (m *AttestationDataAndCustodyBit) Reset()
- func (m *AttestationDataAndCustodyBit) String() string
- func (m *AttestationDataAndCustodyBit) XXX_DiscardUnknown()
- func (m *AttestationDataAndCustodyBit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AttestationDataAndCustodyBit) XXX_Merge(src proto.Message)
- func (m *AttestationDataAndCustodyBit) XXX_Size() int
- func (m *AttestationDataAndCustodyBit) XXX_Unmarshal(b []byte) error
- type AttestationRequest
- func (*AttestationRequest) Descriptor() ([]byte, []int)
- func (m *AttestationRequest) GetParticipationBitfield() []byte
- func (*AttestationRequest) ProtoMessage()
- func (m *AttestationRequest) Reset()
- func (m *AttestationRequest) String() string
- func (m *AttestationRequest) XXX_DiscardUnknown()
- func (m *AttestationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AttestationRequest) XXX_Merge(src proto.Message)
- func (m *AttestationRequest) XXX_Size() int
- func (m *AttestationRequest) XXX_Unmarshal(b []byte) error
- type Block
- func (*Block) Descriptor() ([]byte, []int)
- func (m *Block) GetBody() *BlockBody
- func (m *Block) GetHeader() *BlockHeader
- func (*Block) ProtoMessage()
- func (m *Block) Reset()
- func (m *Block) String() string
- func (m *Block) XXX_DiscardUnknown()
- func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Block) XXX_Merge(src proto.Message)
- func (m *Block) XXX_Size() int
- func (m *Block) XXX_Unmarshal(b []byte) error
- type BlockBody
- func (*BlockBody) Descriptor() ([]byte, []int)
- func (m *BlockBody) GetAttestations() []*Attestation
- func (m *BlockBody) GetCasperSlashings() []*CasperSlashing
- func (m *BlockBody) GetDeposits() []*Deposit
- func (m *BlockBody) GetExits() []*Exit
- func (m *BlockBody) GetProposerSlashings() []*ProposerSlashing
- func (*BlockBody) ProtoMessage()
- func (m *BlockBody) Reset()
- func (m *BlockBody) String() string
- func (m *BlockBody) XXX_DiscardUnknown()
- func (m *BlockBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockBody) XXX_Merge(src proto.Message)
- func (m *BlockBody) XXX_Size() int
- func (m *BlockBody) XXX_Unmarshal(b []byte) error
- type BlockHeader
- func (*BlockHeader) Descriptor() ([]byte, []int)
- func (m *BlockHeader) GetParentRoot() []byte
- func (m *BlockHeader) GetRandaoReveal() []byte
- func (m *BlockHeader) GetSignature() []byte
- func (m *BlockHeader) GetSlotNumber() uint64
- func (m *BlockHeader) GetStateRoot() []byte
- func (*BlockHeader) ProtoMessage()
- func (m *BlockHeader) Reset()
- func (m *BlockHeader) String() string
- func (m *BlockHeader) XXX_DiscardUnknown()
- func (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockHeader) XXX_Merge(src proto.Message)
- func (m *BlockHeader) XXX_Size() int
- func (m *BlockHeader) XXX_Unmarshal(b []byte) error
- type BlockMessage
- func (*BlockMessage) Descriptor() ([]byte, []int)
- func (m *BlockMessage) GetBlocks() []*Block
- func (m *BlockMessage) GetLatestBlockHash() []byte
- func (*BlockMessage) ProtoMessage()
- func (m *BlockMessage) Reset()
- func (m *BlockMessage) String() string
- func (m *BlockMessage) XXX_DiscardUnknown()
- func (m *BlockMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockMessage) XXX_Merge(src proto.Message)
- func (m *BlockMessage) XXX_Size() int
- func (m *BlockMessage) XXX_Unmarshal(b []byte) error
- type BlockchainRPCClient
- type BlockchainRPCServer
- type CasperSlashing
- func (*CasperSlashing) Descriptor() ([]byte, []int)
- func (m *CasperSlashing) GetVote0() *SlashableVoteData
- func (m *CasperSlashing) GetVote1() *SlashableVoteData
- func (*CasperSlashing) ProtoMessage()
- func (m *CasperSlashing) Reset()
- func (m *CasperSlashing) String() string
- func (m *CasperSlashing) XXX_DiscardUnknown()
- func (m *CasperSlashing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CasperSlashing) XXX_Merge(src proto.Message)
- func (m *CasperSlashing) XXX_Size() int
- func (m *CasperSlashing) XXX_Unmarshal(b []byte) error
- type Crosslink
- func (*Crosslink) Descriptor() ([]byte, []int)
- func (m *Crosslink) GetShardBlockHash() []byte
- func (m *Crosslink) GetSlot() uint64
- func (*Crosslink) ProtoMessage()
- func (m *Crosslink) Reset()
- func (m *Crosslink) String() string
- func (m *Crosslink) XXX_DiscardUnknown()
- func (m *Crosslink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Crosslink) XXX_Merge(src proto.Message)
- func (m *Crosslink) XXX_Size() int
- func (m *Crosslink) XXX_Unmarshal(b []byte) error
- type Deposit
- func (*Deposit) Descriptor() ([]byte, []int)
- func (m *Deposit) GetParameters() *DepositParameters
- func (*Deposit) ProtoMessage()
- func (m *Deposit) Reset()
- func (m *Deposit) String() string
- func (m *Deposit) XXX_DiscardUnknown()
- func (m *Deposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Deposit) XXX_Merge(src proto.Message)
- func (m *Deposit) XXX_Size() int
- func (m *Deposit) XXX_Unmarshal(b []byte) error
- type DepositParameters
- func (*DepositParameters) Descriptor() ([]byte, []int)
- func (m *DepositParameters) GetProofOfPossession() []byte
- func (m *DepositParameters) GetPublicKey() []byte
- func (m *DepositParameters) GetWithdrawalCredentials() []byte
- func (*DepositParameters) ProtoMessage()
- func (m *DepositParameters) Reset()
- func (m *DepositParameters) String() string
- func (m *DepositParameters) XXX_DiscardUnknown()
- func (m *DepositParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DepositParameters) XXX_Merge(src proto.Message)
- func (m *DepositParameters) XXX_Size() int
- func (m *DepositParameters) XXX_Unmarshal(b []byte) error
- type DisconnectResponse
- func (*DisconnectResponse) Descriptor() ([]byte, []int)
- func (m *DisconnectResponse) GetSuccess() bool
- func (*DisconnectResponse) ProtoMessage()
- func (m *DisconnectResponse) Reset()
- func (m *DisconnectResponse) String() string
- func (m *DisconnectResponse) XXX_DiscardUnknown()
- func (m *DisconnectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DisconnectResponse) XXX_Merge(src proto.Message)
- func (m *DisconnectResponse) XXX_Size() int
- func (m *DisconnectResponse) XXX_Unmarshal(b []byte) error
- type EpochInformation
- func (*EpochInformation) Descriptor() ([]byte, []int)
- func (m *EpochInformation) GetEpochBoundaryRoot() []byte
- func (m *EpochInformation) GetJustifiedHash() []byte
- func (m *EpochInformation) GetJustifiedSlot() uint64
- func (m *EpochInformation) GetLatestCrosslinks() []*Crosslink
- func (m *EpochInformation) GetSlot() int64
- func (m *EpochInformation) GetSlots() []*SlotInformation
- func (*EpochInformation) ProtoMessage()
- func (m *EpochInformation) Reset()
- func (m *EpochInformation) String() string
- func (m *EpochInformation) XXX_DiscardUnknown()
- func (m *EpochInformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *EpochInformation) XXX_Merge(src proto.Message)
- func (m *EpochInformation) XXX_Size() int
- func (m *EpochInformation) XXX_Unmarshal(b []byte) error
- type Exit
- func (*Exit) Descriptor() ([]byte, []int)
- func (m *Exit) GetSignature() []byte
- func (m *Exit) GetSlot() uint64
- func (m *Exit) GetValidatorIndex() uint64
- func (*Exit) ProtoMessage()
- func (m *Exit) Reset()
- func (m *Exit) String() string
- func (m *Exit) XXX_DiscardUnknown()
- func (m *Exit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Exit) XXX_Merge(src proto.Message)
- func (m *Exit) XXX_Size() int
- func (m *Exit) XXX_Unmarshal(b []byte) error
- type ForkData
- func (*ForkData) Descriptor() ([]byte, []int)
- func (m *ForkData) GetForkSlot() uint64
- func (m *ForkData) GetPostForkVersion() uint64
- func (m *ForkData) GetPreForkVersion() uint64
- func (*ForkData) ProtoMessage()
- func (m *ForkData) Reset()
- func (m *ForkData) String() string
- func (m *ForkData) XXX_DiscardUnknown()
- func (m *ForkData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ForkData) XXX_Merge(src proto.Message)
- func (m *ForkData) XXX_Size() int
- func (m *ForkData) XXX_Unmarshal(b []byte) error
- type GetAddrMessage
- func (*GetAddrMessage) Descriptor() ([]byte, []int)
- func (*GetAddrMessage) ProtoMessage()
- func (m *GetAddrMessage) Reset()
- func (m *GetAddrMessage) String() string
- func (m *GetAddrMessage) XXX_DiscardUnknown()
- func (m *GetAddrMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetAddrMessage) XXX_Merge(src proto.Message)
- func (m *GetAddrMessage) XXX_Size() int
- func (m *GetAddrMessage) XXX_Unmarshal(b []byte) error
- type GetBlockHashRequest
- func (*GetBlockHashRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockHashRequest) GetSlotNumber() uint64
- func (*GetBlockHashRequest) ProtoMessage()
- func (m *GetBlockHashRequest) Reset()
- func (m *GetBlockHashRequest) String() string
- func (m *GetBlockHashRequest) XXX_DiscardUnknown()
- func (m *GetBlockHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetBlockHashRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockHashRequest) XXX_Size() int
- func (m *GetBlockHashRequest) XXX_Unmarshal(b []byte) error
- type GetBlockHashResponse
- func (*GetBlockHashResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockHashResponse) GetHash() []byte
- func (*GetBlockHashResponse) ProtoMessage()
- func (m *GetBlockHashResponse) Reset()
- func (m *GetBlockHashResponse) String() string
- func (m *GetBlockHashResponse) XXX_DiscardUnknown()
- func (m *GetBlockHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetBlockHashResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockHashResponse) XXX_Size() int
- func (m *GetBlockHashResponse) XXX_Unmarshal(b []byte) error
- type GetBlockMessage
- func (*GetBlockMessage) Descriptor() ([]byte, []int)
- func (m *GetBlockMessage) GetHashStop() []byte
- func (m *GetBlockMessage) GetLocatorHashes() [][]byte
- func (*GetBlockMessage) ProtoMessage()
- func (m *GetBlockMessage) Reset()
- func (m *GetBlockMessage) String() string
- func (m *GetBlockMessage) XXX_DiscardUnknown()
- func (m *GetBlockMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetBlockMessage) XXX_Merge(src proto.Message)
- func (m *GetBlockMessage) XXX_Size() int
- func (m *GetBlockMessage) XXX_Unmarshal(b []byte) error
- type GetBlockRequest
- func (*GetBlockRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockRequest) GetHash() []byte
- func (*GetBlockRequest) ProtoMessage()
- func (m *GetBlockRequest) Reset()
- func (m *GetBlockRequest) String() string
- func (m *GetBlockRequest) XXX_DiscardUnknown()
- func (m *GetBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetBlockRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockRequest) XXX_Size() int
- func (m *GetBlockRequest) XXX_Unmarshal(b []byte) error
- type GetBlockResponse
- func (*GetBlockResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockResponse) GetBlock() *Block
- func (*GetBlockResponse) ProtoMessage()
- func (m *GetBlockResponse) Reset()
- func (m *GetBlockResponse) String() string
- func (m *GetBlockResponse) XXX_DiscardUnknown()
- func (m *GetBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetBlockResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockResponse) XXX_Size() int
- func (m *GetBlockResponse) XXX_Unmarshal(b []byte) error
- type GetCommitteeValidatorIndicesResponse
- func (*GetCommitteeValidatorIndicesResponse) Descriptor() ([]byte, []int)
- func (m *GetCommitteeValidatorIndicesResponse) GetValidators() []uint32
- func (*GetCommitteeValidatorIndicesResponse) ProtoMessage()
- func (m *GetCommitteeValidatorIndicesResponse) Reset()
- func (m *GetCommitteeValidatorIndicesResponse) String() string
- func (m *GetCommitteeValidatorIndicesResponse) XXX_DiscardUnknown()
- func (m *GetCommitteeValidatorIndicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetCommitteeValidatorIndicesResponse) XXX_Merge(src proto.Message)
- func (m *GetCommitteeValidatorIndicesResponse) XXX_Size() int
- func (m *GetCommitteeValidatorIndicesResponse) XXX_Unmarshal(b []byte) error
- type GetCommitteeValidatorsRequest
- func (*GetCommitteeValidatorsRequest) Descriptor() ([]byte, []int)
- func (m *GetCommitteeValidatorsRequest) GetShard() uint32
- func (m *GetCommitteeValidatorsRequest) GetSlotNumber() uint64
- func (*GetCommitteeValidatorsRequest) ProtoMessage()
- func (m *GetCommitteeValidatorsRequest) Reset()
- func (m *GetCommitteeValidatorsRequest) String() string
- func (m *GetCommitteeValidatorsRequest) XXX_DiscardUnknown()
- func (m *GetCommitteeValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetCommitteeValidatorsRequest) XXX_Merge(src proto.Message)
- func (m *GetCommitteeValidatorsRequest) XXX_Size() int
- func (m *GetCommitteeValidatorsRequest) XXX_Unmarshal(b []byte) error
- type GetCommitteeValidatorsResponse
- func (*GetCommitteeValidatorsResponse) Descriptor() ([]byte, []int)
- func (m *GetCommitteeValidatorsResponse) GetValidators() []*Validator
- func (*GetCommitteeValidatorsResponse) ProtoMessage()
- func (m *GetCommitteeValidatorsResponse) Reset()
- func (m *GetCommitteeValidatorsResponse) String() string
- func (m *GetCommitteeValidatorsResponse) XXX_DiscardUnknown()
- func (m *GetCommitteeValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetCommitteeValidatorsResponse) XXX_Merge(src proto.Message)
- func (m *GetCommitteeValidatorsResponse) XXX_Size() int
- func (m *GetCommitteeValidatorsResponse) XXX_Unmarshal(b []byte) error
- type GetCommitteesForSlotRequest
- func (*GetCommitteesForSlotRequest) Descriptor() ([]byte, []int)
- func (m *GetCommitteesForSlotRequest) GetSlot() uint64
- func (*GetCommitteesForSlotRequest) ProtoMessage()
- func (m *GetCommitteesForSlotRequest) Reset()
- func (m *GetCommitteesForSlotRequest) String() string
- func (m *GetCommitteesForSlotRequest) XXX_DiscardUnknown()
- func (m *GetCommitteesForSlotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetCommitteesForSlotRequest) XXX_Merge(src proto.Message)
- func (m *GetCommitteesForSlotRequest) XXX_Size() int
- func (m *GetCommitteesForSlotRequest) XXX_Unmarshal(b []byte) error
- type GetProposerForSlotRequest
- func (*GetProposerForSlotRequest) Descriptor() ([]byte, []int)
- func (m *GetProposerForSlotRequest) GetSlot() uint64
- func (*GetProposerForSlotRequest) ProtoMessage()
- func (m *GetProposerForSlotRequest) Reset()
- func (m *GetProposerForSlotRequest) String() string
- func (m *GetProposerForSlotRequest) XXX_DiscardUnknown()
- func (m *GetProposerForSlotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetProposerForSlotRequest) XXX_Merge(src proto.Message)
- func (m *GetProposerForSlotRequest) XXX_Size() int
- func (m *GetProposerForSlotRequest) XXX_Unmarshal(b []byte) error
- type GetProposerForSlotResponse
- func (*GetProposerForSlotResponse) Descriptor() ([]byte, []int)
- func (m *GetProposerForSlotResponse) GetProposer() uint32
- func (*GetProposerForSlotResponse) ProtoMessage()
- func (m *GetProposerForSlotResponse) Reset()
- func (m *GetProposerForSlotResponse) String() string
- func (m *GetProposerForSlotResponse) XXX_DiscardUnknown()
- func (m *GetProposerForSlotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetProposerForSlotResponse) XXX_Merge(src proto.Message)
- func (m *GetProposerForSlotResponse) XXX_Size() int
- func (m *GetProposerForSlotResponse) XXX_Unmarshal(b []byte) error
- type GetSlotAndShardAssignmentRequest
- func (*GetSlotAndShardAssignmentRequest) Descriptor() ([]byte, []int)
- func (m *GetSlotAndShardAssignmentRequest) GetValidatorID() uint32
- func (*GetSlotAndShardAssignmentRequest) ProtoMessage()
- func (m *GetSlotAndShardAssignmentRequest) Reset()
- func (m *GetSlotAndShardAssignmentRequest) String() string
- func (m *GetSlotAndShardAssignmentRequest) XXX_DiscardUnknown()
- func (m *GetSlotAndShardAssignmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetSlotAndShardAssignmentRequest) XXX_Merge(src proto.Message)
- func (m *GetSlotAndShardAssignmentRequest) XXX_Size() int
- func (m *GetSlotAndShardAssignmentRequest) XXX_Unmarshal(b []byte) error
- type GetStateResponse
- func (*GetStateResponse) Descriptor() ([]byte, []int)
- func (m *GetStateResponse) GetState() *State
- func (*GetStateResponse) ProtoMessage()
- func (m *GetStateResponse) Reset()
- func (m *GetStateResponse) String() string
- func (m *GetStateResponse) XXX_DiscardUnknown()
- func (m *GetStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetStateResponse) XXX_Merge(src proto.Message)
- func (m *GetStateResponse) XXX_Size() int
- func (m *GetStateResponse) XXX_Unmarshal(b []byte) error
- type GetStateRootResponse
- func (*GetStateRootResponse) Descriptor() ([]byte, []int)
- func (m *GetStateRootResponse) GetStateRoot() []byte
- func (*GetStateRootResponse) ProtoMessage()
- func (m *GetStateRootResponse) Reset()
- func (m *GetStateRootResponse) String() string
- func (m *GetStateRootResponse) XXX_DiscardUnknown()
- func (m *GetStateRootResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetStateRootResponse) XXX_Merge(src proto.Message)
- func (m *GetStateRootResponse) XXX_Size() int
- func (m *GetStateRootResponse) XXX_Unmarshal(b []byte) error
- type GetValidatorAtIndexRequest
- func (*GetValidatorAtIndexRequest) Descriptor() ([]byte, []int)
- func (m *GetValidatorAtIndexRequest) GetIndex() uint32
- func (*GetValidatorAtIndexRequest) ProtoMessage()
- func (m *GetValidatorAtIndexRequest) Reset()
- func (m *GetValidatorAtIndexRequest) String() string
- func (m *GetValidatorAtIndexRequest) XXX_DiscardUnknown()
- func (m *GetValidatorAtIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetValidatorAtIndexRequest) XXX_Merge(src proto.Message)
- func (m *GetValidatorAtIndexRequest) XXX_Size() int
- func (m *GetValidatorAtIndexRequest) XXX_Unmarshal(b []byte) error
- type GetValidatorAtIndexResponse
- func (*GetValidatorAtIndexResponse) Descriptor() ([]byte, []int)
- func (m *GetValidatorAtIndexResponse) GetValidator() *Validator
- func (*GetValidatorAtIndexResponse) ProtoMessage()
- func (m *GetValidatorAtIndexResponse) Reset()
- func (m *GetValidatorAtIndexResponse) String() string
- func (m *GetValidatorAtIndexResponse) XXX_DiscardUnknown()
- func (m *GetValidatorAtIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetValidatorAtIndexResponse) XXX_Merge(src proto.Message)
- func (m *GetValidatorAtIndexResponse) XXX_Size() int
- func (m *GetValidatorAtIndexResponse) XXX_Unmarshal(b []byte) error
- type GetValidatorRequest
- func (*GetValidatorRequest) Descriptor() ([]byte, []int)
- func (m *GetValidatorRequest) GetID() uint32
- func (*GetValidatorRequest) ProtoMessage()
- func (m *GetValidatorRequest) Reset()
- func (m *GetValidatorRequest) String() string
- func (m *GetValidatorRequest) XXX_DiscardUnknown()
- func (m *GetValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetValidatorRequest) XXX_Merge(src proto.Message)
- func (m *GetValidatorRequest) XXX_Size() int
- func (m *GetValidatorRequest) XXX_Unmarshal(b []byte) error
- type PendingAttestation
- func (*PendingAttestation) Descriptor() ([]byte, []int)
- func (m *PendingAttestation) GetCustodyBitfield() []byte
- func (m *PendingAttestation) GetData() *AttestationData
- func (m *PendingAttestation) GetInclusionDelay() uint64
- func (m *PendingAttestation) GetParticipationBitfield() []byte
- func (m *PendingAttestation) GetProposerIndex() uint32
- func (*PendingAttestation) ProtoMessage()
- func (m *PendingAttestation) Reset()
- func (m *PendingAttestation) String() string
- func (m *PendingAttestation) XXX_DiscardUnknown()
- func (m *PendingAttestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PendingAttestation) XXX_Merge(src proto.Message)
- func (m *PendingAttestation) XXX_Size() int
- func (m *PendingAttestation) XXX_Unmarshal(b []byte) error
- type PersistentCommitteesForSlot
- func (*PersistentCommitteesForSlot) Descriptor() ([]byte, []int)
- func (m *PersistentCommitteesForSlot) GetPersistentCommittee() []uint32
- func (*PersistentCommitteesForSlot) ProtoMessage()
- func (m *PersistentCommitteesForSlot) Reset()
- func (m *PersistentCommitteesForSlot) String() string
- func (m *PersistentCommitteesForSlot) XXX_DiscardUnknown()
- func (m *PersistentCommitteesForSlot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PersistentCommitteesForSlot) XXX_Merge(src proto.Message)
- func (m *PersistentCommitteesForSlot) XXX_Size() int
- func (m *PersistentCommitteesForSlot) XXX_Unmarshal(b []byte) error
- type PingMessage
- func (*PingMessage) Descriptor() ([]byte, []int)
- func (m *PingMessage) GetNonce() uint64
- func (*PingMessage) ProtoMessage()
- func (m *PingMessage) Reset()
- func (m *PingMessage) String() string
- func (m *PingMessage) XXX_DiscardUnknown()
- func (m *PingMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PingMessage) XXX_Merge(src proto.Message)
- func (m *PingMessage) XXX_Size() int
- func (m *PingMessage) XXX_Unmarshal(b []byte) error
- type PongMessage
- func (*PongMessage) Descriptor() ([]byte, []int)
- func (m *PongMessage) GetNonce() uint64
- func (*PongMessage) ProtoMessage()
- func (m *PongMessage) Reset()
- func (m *PongMessage) String() string
- func (m *PongMessage) XXX_DiscardUnknown()
- func (m *PongMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PongMessage) XXX_Merge(src proto.Message)
- func (m *PongMessage) XXX_Size() int
- func (m *PongMessage) XXX_Unmarshal(b []byte) error
- type ProposalSignedData
- func (*ProposalSignedData) Descriptor() ([]byte, []int)
- func (m *ProposalSignedData) GetBlockHash() []byte
- func (m *ProposalSignedData) GetShard() uint64
- func (m *ProposalSignedData) GetSlot() uint64
- func (*ProposalSignedData) ProtoMessage()
- func (m *ProposalSignedData) Reset()
- func (m *ProposalSignedData) String() string
- func (m *ProposalSignedData) XXX_DiscardUnknown()
- func (m *ProposalSignedData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProposalSignedData) XXX_Merge(src proto.Message)
- func (m *ProposalSignedData) XXX_Size() int
- func (m *ProposalSignedData) XXX_Unmarshal(b []byte) error
- type ProposerSlashing
- func (*ProposerSlashing) Descriptor() ([]byte, []int)
- func (m *ProposerSlashing) GetProposalData1() *ProposalSignedData
- func (m *ProposerSlashing) GetProposalData2() *ProposalSignedData
- func (m *ProposerSlashing) GetProposalSignature1() []byte
- func (m *ProposerSlashing) GetProposalSignature2() []byte
- func (m *ProposerSlashing) GetProposerIndex() uint32
- func (*ProposerSlashing) ProtoMessage()
- func (m *ProposerSlashing) Reset()
- func (m *ProposerSlashing) String() string
- func (m *ProposerSlashing) XXX_DiscardUnknown()
- func (m *ProposerSlashing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProposerSlashing) XXX_Merge(src proto.Message)
- func (m *ProposerSlashing) XXX_Size() int
- func (m *ProposerSlashing) XXX_Unmarshal(b []byte) error
- type RejectMessage
- func (*RejectMessage) Descriptor() ([]byte, []int)
- func (m *RejectMessage) GetMessage() string
- func (*RejectMessage) ProtoMessage()
- func (m *RejectMessage) Reset()
- func (m *RejectMessage) String() string
- func (m *RejectMessage) XXX_DiscardUnknown()
- func (m *RejectMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RejectMessage) XXX_Merge(src proto.Message)
- func (m *RejectMessage) XXX_Size() int
- func (m *RejectMessage) XXX_Unmarshal(b []byte) error
- type Role
- type ShardCommittee
- func (*ShardCommittee) Descriptor() ([]byte, []int)
- func (m *ShardCommittee) GetCommittee() []uint32
- func (m *ShardCommittee) GetShard() uint64
- func (m *ShardCommittee) GetTotalValidatorCount() uint64
- func (*ShardCommittee) ProtoMessage()
- func (m *ShardCommittee) Reset()
- func (m *ShardCommittee) String() string
- func (m *ShardCommittee) XXX_DiscardUnknown()
- func (m *ShardCommittee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ShardCommittee) XXX_Merge(src proto.Message)
- func (m *ShardCommittee) XXX_Size() int
- func (m *ShardCommittee) XXX_Unmarshal(b []byte) error
- type ShardCommitteesForSlot
- func (*ShardCommitteesForSlot) Descriptor() ([]byte, []int)
- func (m *ShardCommitteesForSlot) GetCommittees() []*ShardCommittee
- func (*ShardCommitteesForSlot) ProtoMessage()
- func (m *ShardCommitteesForSlot) Reset()
- func (m *ShardCommitteesForSlot) String() string
- func (m *ShardCommitteesForSlot) XXX_DiscardUnknown()
- func (m *ShardCommitteesForSlot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ShardCommitteesForSlot) XXX_Merge(src proto.Message)
- func (m *ShardCommitteesForSlot) XXX_Size() int
- func (m *ShardCommitteesForSlot) XXX_Unmarshal(b []byte) error
- type SlashableVoteData
- func (*SlashableVoteData) Descriptor() ([]byte, []int)
- func (m *SlashableVoteData) GetAggregateSignature() []byte
- func (m *SlashableVoteData) GetAggregateSignaturePoC0Indices() []uint32
- func (m *SlashableVoteData) GetAggregateSignaturePoC1Indices() []uint32
- func (m *SlashableVoteData) GetData() *AttestationData
- func (*SlashableVoteData) ProtoMessage()
- func (m *SlashableVoteData) Reset()
- func (m *SlashableVoteData) String() string
- func (m *SlashableVoteData) XXX_DiscardUnknown()
- func (m *SlashableVoteData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SlashableVoteData) XXX_Merge(src proto.Message)
- func (m *SlashableVoteData) XXX_Size() int
- func (m *SlashableVoteData) XXX_Unmarshal(b []byte) error
- type SlotAndShardAssignment
- func (*SlotAndShardAssignment) Descriptor() ([]byte, []int)
- func (m *SlotAndShardAssignment) GetRole() Role
- func (m *SlotAndShardAssignment) GetShardID() uint32
- func (m *SlotAndShardAssignment) GetSlot() uint64
- func (*SlotAndShardAssignment) ProtoMessage()
- func (m *SlotAndShardAssignment) Reset()
- func (m *SlotAndShardAssignment) String() string
- func (m *SlotAndShardAssignment) XXX_DiscardUnknown()
- func (m *SlotAndShardAssignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SlotAndShardAssignment) XXX_Merge(src proto.Message)
- func (m *SlotAndShardAssignment) XXX_Size() int
- func (m *SlotAndShardAssignment) XXX_Unmarshal(b []byte) error
- type SlotInformation
- func (*SlotInformation) Descriptor() ([]byte, []int)
- func (m *SlotInformation) GetCommittees() []*ShardCommittee
- func (m *SlotInformation) GetProposeAt() uint64
- func (m *SlotInformation) GetSlot() int64
- func (*SlotInformation) ProtoMessage()
- func (m *SlotInformation) Reset()
- func (m *SlotInformation) String() string
- func (m *SlotInformation) XXX_DiscardUnknown()
- func (m *SlotInformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SlotInformation) XXX_Merge(src proto.Message)
- func (m *SlotInformation) XXX_Size() int
- func (m *SlotInformation) XXX_Unmarshal(b []byte) error
- type SlotNumberResponse
- func (*SlotNumberResponse) Descriptor() ([]byte, []int)
- func (m *SlotNumberResponse) GetBlockHash() []byte
- func (m *SlotNumberResponse) GetSlotNumber() uint64
- func (*SlotNumberResponse) ProtoMessage()
- func (m *SlotNumberResponse) Reset()
- func (m *SlotNumberResponse) String() string
- func (m *SlotNumberResponse) XXX_DiscardUnknown()
- func (m *SlotNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SlotNumberResponse) XXX_Merge(src proto.Message)
- func (m *SlotNumberResponse) XXX_Size() int
- func (m *SlotNumberResponse) XXX_Unmarshal(b []byte) error
- type State
- func (*State) Descriptor() ([]byte, []int)
- func (m *State) GetBatchedBlockRoots() [][]byte
- func (m *State) GetEpochIndex() uint64
- func (m *State) GetFinalizedSlot() uint64
- func (m *State) GetForkData() *ForkData
- func (m *State) GetGenesisTime() uint64
- func (m *State) GetJustificationBitField() uint64
- func (m *State) GetJustifiedSlot() uint64
- func (m *State) GetLatestAttestations() []*PendingAttestation
- func (m *State) GetLatestBlockHashes() [][]byte
- func (m *State) GetLatestCrosslinks() []*Crosslink
- func (m *State) GetLatestPenalizedExitBalances() []uint64
- func (m *State) GetNextSeed() []byte
- func (m *State) GetPreviousJustifiedSlot() uint64
- func (m *State) GetRandaoMix() []byte
- func (m *State) GetShardCommittees() []*ShardCommitteesForSlot
- func (m *State) GetSlot() uint64
- func (m *State) GetValidatorBalances() []uint64
- func (m *State) GetValidatorRegistry() []*Validator
- func (m *State) GetValidatorRegistryDeltaChainTip() []byte
- func (m *State) GetValidatorRegistryExitCount() uint64
- func (m *State) GetValidatorRegistryLatestChangeSlot() uint64
- func (*State) ProtoMessage()
- func (m *State) Reset()
- func (m *State) String() string
- func (m *State) XXX_DiscardUnknown()
- func (m *State) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *State) XXX_Merge(src proto.Message)
- func (m *State) XXX_Size() int
- func (m *State) XXX_Unmarshal(b []byte) error
- type SubmitBlockRequest
- func (*SubmitBlockRequest) Descriptor() ([]byte, []int)
- func (m *SubmitBlockRequest) GetBlock() *Block
- func (*SubmitBlockRequest) ProtoMessage()
- func (m *SubmitBlockRequest) Reset()
- func (m *SubmitBlockRequest) String() string
- func (m *SubmitBlockRequest) XXX_DiscardUnknown()
- func (m *SubmitBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SubmitBlockRequest) XXX_Merge(src proto.Message)
- func (m *SubmitBlockRequest) XXX_Size() int
- func (m *SubmitBlockRequest) XXX_Unmarshal(b []byte) error
- type SubmitBlockResponse
- func (*SubmitBlockResponse) Descriptor() ([]byte, []int)
- func (m *SubmitBlockResponse) GetBlockHash() []byte
- func (*SubmitBlockResponse) ProtoMessage()
- func (m *SubmitBlockResponse) Reset()
- func (m *SubmitBlockResponse) String() string
- func (m *SubmitBlockResponse) XXX_DiscardUnknown()
- func (m *SubmitBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SubmitBlockResponse) XXX_Merge(src proto.Message)
- func (m *SubmitBlockResponse) XXX_Size() int
- func (m *SubmitBlockResponse) XXX_Unmarshal(b []byte) error
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)
- func (m *Validator) GetExitCount() uint64
- func (m *Validator) GetLastPoCChangeSlot() uint64
- func (m *Validator) GetLatestStatusChangeSlot() uint64
- func (m *Validator) GetPubkey() []byte
- func (m *Validator) GetSecondLastPoCChangeSlot() uint64
- func (m *Validator) GetStatus() uint64
- func (m *Validator) GetWithdrawalCredentials() []byte
- func (*Validator) ProtoMessage()
- func (m *Validator) Reset()
- func (m *Validator) String() string
- func (m *Validator) XXX_DiscardUnknown()
- func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Validator) XXX_Merge(src proto.Message)
- func (m *Validator) XXX_Size() int
- func (m *Validator) XXX_Unmarshal(b []byte) error
- type ValidatorRegistryDeltaBlock
- func (*ValidatorRegistryDeltaBlock) Descriptor() ([]byte, []int)
- func (m *ValidatorRegistryDeltaBlock) GetFlag() uint64
- func (m *ValidatorRegistryDeltaBlock) GetLatestRegistryDeltaRoot() []byte
- func (m *ValidatorRegistryDeltaBlock) GetPubkey() []byte
- func (m *ValidatorRegistryDeltaBlock) GetValidatorIndex() uint32
- func (*ValidatorRegistryDeltaBlock) ProtoMessage()
- func (m *ValidatorRegistryDeltaBlock) Reset()
- func (m *ValidatorRegistryDeltaBlock) String() string
- func (m *ValidatorRegistryDeltaBlock) XXX_DiscardUnknown()
- func (m *ValidatorRegistryDeltaBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ValidatorRegistryDeltaBlock) XXX_Merge(src proto.Message)
- func (m *ValidatorRegistryDeltaBlock) XXX_Size() int
- func (m *ValidatorRegistryDeltaBlock) XXX_Unmarshal(b []byte) error
- type VersionMessage
- func (*VersionMessage) Descriptor() ([]byte, []int)
- func (m *VersionMessage) GetGenesisHash() []byte
- func (m *VersionMessage) GetHeight() uint64
- func (m *VersionMessage) GetPeerID() []byte
- func (m *VersionMessage) GetPeerInfo() []byte
- func (m *VersionMessage) GetVersion() uint64
- func (*VersionMessage) ProtoMessage()
- func (m *VersionMessage) Reset()
- func (m *VersionMessage) String() string
- func (m *VersionMessage) XXX_DiscardUnknown()
- func (m *VersionMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *VersionMessage) XXX_Merge(src proto.Message)
- func (m *VersionMessage) XXX_Size() int
- func (m *VersionMessage) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Role_name = map[int32]string{
0: "ATTESTER",
1: "PROPOSER",
}
View Source
var Role_value = map[string]int32{
"ATTESTER": 0,
"PROPOSER": 1,
}
Functions ¶
func RegisterBlockchainRPCServer ¶
func RegisterBlockchainRPCServer(s *grpc.Server, srv BlockchainRPCServer)
Types ¶
type AddrMessage ¶ added in v0.2.0
type AddrMessage struct { Addrs [][]byte `protobuf:"bytes,1,rep,name=Addrs,proto3" json:"Addrs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddrMessage) Descriptor ¶ added in v0.2.0
func (*AddrMessage) Descriptor() ([]byte, []int)
func (*AddrMessage) GetAddrs ¶ added in v0.2.0
func (m *AddrMessage) GetAddrs() [][]byte
func (*AddrMessage) ProtoMessage ¶ added in v0.2.0
func (*AddrMessage) ProtoMessage()
func (*AddrMessage) Reset ¶ added in v0.2.0
func (m *AddrMessage) Reset()
func (*AddrMessage) String ¶ added in v0.2.0
func (m *AddrMessage) String() string
func (*AddrMessage) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *AddrMessage) XXX_DiscardUnknown()
func (*AddrMessage) XXX_Marshal ¶ added in v0.2.0
func (m *AddrMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddrMessage) XXX_Merge ¶ added in v0.2.0
func (dst *AddrMessage) XXX_Merge(src proto.Message)
func (*AddrMessage) XXX_Size ¶ added in v0.2.0
func (m *AddrMessage) XXX_Size() int
func (*AddrMessage) XXX_Unmarshal ¶ added in v0.2.0
func (m *AddrMessage) XXX_Unmarshal(b []byte) error
type Attestation ¶
type Attestation struct { Data *AttestationData `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"` ParticipationBitfield []byte `protobuf:"bytes,2,opt,name=ParticipationBitfield,proto3" json:"ParticipationBitfield,omitempty"` CustodyBitfield []byte `protobuf:"bytes,3,opt,name=CustodyBitfield,proto3" json:"CustodyBitfield,omitempty"` AggregateSig []byte `protobuf:"bytes,4,opt,name=AggregateSig,proto3" json:"AggregateSig,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Attestation) Descriptor ¶
func (*Attestation) Descriptor() ([]byte, []int)
func (*Attestation) GetAggregateSig ¶
func (m *Attestation) GetAggregateSig() []byte
func (*Attestation) GetCustodyBitfield ¶
func (m *Attestation) GetCustodyBitfield() []byte
func (*Attestation) GetData ¶
func (m *Attestation) GetData() *AttestationData
func (*Attestation) GetParticipationBitfield ¶
func (m *Attestation) GetParticipationBitfield() []byte
func (*Attestation) ProtoMessage ¶
func (*Attestation) ProtoMessage()
func (*Attestation) Reset ¶
func (m *Attestation) Reset()
func (*Attestation) String ¶
func (m *Attestation) String() string
func (*Attestation) XXX_DiscardUnknown ¶
func (m *Attestation) XXX_DiscardUnknown()
func (*Attestation) XXX_Marshal ¶
func (m *Attestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Attestation) XXX_Merge ¶
func (dst *Attestation) XXX_Merge(src proto.Message)
func (*Attestation) XXX_Size ¶
func (m *Attestation) XXX_Size() int
func (*Attestation) XXX_Unmarshal ¶
func (m *Attestation) XXX_Unmarshal(b []byte) error
type AttestationData ¶
type AttestationData struct { Slot uint64 `protobuf:"varint,1,opt,name=Slot,proto3" json:"Slot,omitempty"` Shard uint64 `protobuf:"varint,2,opt,name=Shard,proto3" json:"Shard,omitempty"` BeaconBlockHash []byte `protobuf:"bytes,3,opt,name=BeaconBlockHash,proto3" json:"BeaconBlockHash,omitempty"` // This is the destination root EpochBoundaryHash []byte `protobuf:"bytes,4,opt,name=EpochBoundaryHash,proto3" json:"EpochBoundaryHash,omitempty"` ShardBlockHash []byte `protobuf:"bytes,5,opt,name=ShardBlockHash,proto3" json:"ShardBlockHash,omitempty"` LatestCrosslinkHash []byte `protobuf:"bytes,6,opt,name=LatestCrosslinkHash,proto3" json:"LatestCrosslinkHash,omitempty"` // These are the source root and slot JustifiedSlot uint64 `protobuf:"varint,7,opt,name=JustifiedSlot,proto3" json:"JustifiedSlot,omitempty"` JustifiedBlockHash []byte `protobuf:"bytes,8,opt,name=JustifiedBlockHash,proto3" json:"JustifiedBlockHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AttestationData) Descriptor ¶
func (*AttestationData) Descriptor() ([]byte, []int)
func (*AttestationData) GetBeaconBlockHash ¶
func (m *AttestationData) GetBeaconBlockHash() []byte
func (*AttestationData) GetEpochBoundaryHash ¶
func (m *AttestationData) GetEpochBoundaryHash() []byte
func (*AttestationData) GetJustifiedBlockHash ¶
func (m *AttestationData) GetJustifiedBlockHash() []byte
func (*AttestationData) GetJustifiedSlot ¶
func (m *AttestationData) GetJustifiedSlot() uint64
func (*AttestationData) GetLatestCrosslinkHash ¶
func (m *AttestationData) GetLatestCrosslinkHash() []byte
func (*AttestationData) GetShard ¶
func (m *AttestationData) GetShard() uint64
func (*AttestationData) GetShardBlockHash ¶
func (m *AttestationData) GetShardBlockHash() []byte
func (*AttestationData) GetSlot ¶
func (m *AttestationData) GetSlot() uint64
func (*AttestationData) ProtoMessage ¶
func (*AttestationData) ProtoMessage()
func (*AttestationData) Reset ¶
func (m *AttestationData) Reset()
func (*AttestationData) String ¶
func (m *AttestationData) String() string
func (*AttestationData) XXX_DiscardUnknown ¶
func (m *AttestationData) XXX_DiscardUnknown()
func (*AttestationData) XXX_Marshal ¶
func (m *AttestationData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttestationData) XXX_Merge ¶
func (dst *AttestationData) XXX_Merge(src proto.Message)
func (*AttestationData) XXX_Size ¶
func (m *AttestationData) XXX_Size() int
func (*AttestationData) XXX_Unmarshal ¶
func (m *AttestationData) XXX_Unmarshal(b []byte) error
type AttestationDataAndCustodyBit ¶
type AttestationDataAndCustodyBit struct { Data *AttestationData `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"` PoCBit bool `protobuf:"varint,2,opt,name=PoCBit,proto3" json:"PoCBit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AttestationDataAndCustodyBit) Descriptor ¶
func (*AttestationDataAndCustodyBit) Descriptor() ([]byte, []int)
func (*AttestationDataAndCustodyBit) GetData ¶
func (m *AttestationDataAndCustodyBit) GetData() *AttestationData
func (*AttestationDataAndCustodyBit) GetPoCBit ¶
func (m *AttestationDataAndCustodyBit) GetPoCBit() bool
func (*AttestationDataAndCustodyBit) ProtoMessage ¶
func (*AttestationDataAndCustodyBit) ProtoMessage()
func (*AttestationDataAndCustodyBit) Reset ¶
func (m *AttestationDataAndCustodyBit) Reset()
func (*AttestationDataAndCustodyBit) String ¶
func (m *AttestationDataAndCustodyBit) String() string
func (*AttestationDataAndCustodyBit) XXX_DiscardUnknown ¶
func (m *AttestationDataAndCustodyBit) XXX_DiscardUnknown()
func (*AttestationDataAndCustodyBit) XXX_Marshal ¶
func (m *AttestationDataAndCustodyBit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttestationDataAndCustodyBit) XXX_Merge ¶
func (dst *AttestationDataAndCustodyBit) XXX_Merge(src proto.Message)
func (*AttestationDataAndCustodyBit) XXX_Size ¶
func (m *AttestationDataAndCustodyBit) XXX_Size() int
func (*AttestationDataAndCustodyBit) XXX_Unmarshal ¶
func (m *AttestationDataAndCustodyBit) XXX_Unmarshal(b []byte) error
type AttestationRequest ¶
type AttestationRequest struct { // possibly sign this message to prevent DoS ParticipationBitfield []byte `protobuf:"bytes,1,opt,name=ParticipationBitfield,proto3" json:"ParticipationBitfield,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AttestationRequest) Descriptor ¶
func (*AttestationRequest) Descriptor() ([]byte, []int)
func (*AttestationRequest) GetParticipationBitfield ¶
func (m *AttestationRequest) GetParticipationBitfield() []byte
func (*AttestationRequest) ProtoMessage ¶
func (*AttestationRequest) ProtoMessage()
func (*AttestationRequest) Reset ¶
func (m *AttestationRequest) Reset()
func (*AttestationRequest) String ¶
func (m *AttestationRequest) String() string
func (*AttestationRequest) XXX_DiscardUnknown ¶
func (m *AttestationRequest) XXX_DiscardUnknown()
func (*AttestationRequest) XXX_Marshal ¶
func (m *AttestationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttestationRequest) XXX_Merge ¶
func (dst *AttestationRequest) XXX_Merge(src proto.Message)
func (*AttestationRequest) XXX_Size ¶
func (m *AttestationRequest) XXX_Size() int
func (*AttestationRequest) XXX_Unmarshal ¶
func (m *AttestationRequest) XXX_Unmarshal(b []byte) error
type Block ¶
type Block struct { Header *BlockHeader `protobuf:"bytes,1,opt,name=Header,proto3" json:"Header,omitempty"` Body *BlockBody `protobuf:"bytes,2,opt,name=Body,proto3" json:"Body,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Block) Descriptor ¶
func (*Block) GetHeader ¶
func (m *Block) GetHeader() *BlockHeader
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) XXX_DiscardUnknown ¶
func (m *Block) XXX_DiscardUnknown()
func (*Block) XXX_Marshal ¶
func (*Block) XXX_Unmarshal ¶
type BlockBody ¶
type BlockBody struct { Attestations []*Attestation `protobuf:"bytes,1,rep,name=Attestations,proto3" json:"Attestations,omitempty"` ProposerSlashings []*ProposerSlashing `protobuf:"bytes,2,rep,name=ProposerSlashings,proto3" json:"ProposerSlashings,omitempty"` CasperSlashings []*CasperSlashing `protobuf:"bytes,3,rep,name=CasperSlashings,proto3" json:"CasperSlashings,omitempty"` Deposits []*Deposit `protobuf:"bytes,4,rep,name=Deposits,proto3" json:"Deposits,omitempty"` Exits []*Exit `protobuf:"bytes,5,rep,name=Exits,proto3" json:"Exits,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockBody) Descriptor ¶
func (*BlockBody) GetAttestations ¶
func (m *BlockBody) GetAttestations() []*Attestation
func (*BlockBody) GetCasperSlashings ¶
func (m *BlockBody) GetCasperSlashings() []*CasperSlashing
func (*BlockBody) GetDeposits ¶
func (*BlockBody) GetProposerSlashings ¶
func (m *BlockBody) GetProposerSlashings() []*ProposerSlashing
func (*BlockBody) ProtoMessage ¶
func (*BlockBody) ProtoMessage()
func (*BlockBody) XXX_DiscardUnknown ¶
func (m *BlockBody) XXX_DiscardUnknown()
func (*BlockBody) XXX_Marshal ¶
func (*BlockBody) XXX_Unmarshal ¶
type BlockHeader ¶
type BlockHeader struct { SlotNumber uint64 `protobuf:"varint,1,opt,name=SlotNumber,proto3" json:"SlotNumber,omitempty"` ParentRoot []byte `protobuf:"bytes,2,opt,name=ParentRoot,proto3" json:"ParentRoot,omitempty"` StateRoot []byte `protobuf:"bytes,3,opt,name=StateRoot,proto3" json:"StateRoot,omitempty"` RandaoReveal []byte `protobuf:"bytes,4,opt,name=RandaoReveal,proto3" json:"RandaoReveal,omitempty"` Signature []byte `protobuf:"bytes,5,opt,name=Signature,proto3" json:"Signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockHeader) Descriptor ¶
func (*BlockHeader) Descriptor() ([]byte, []int)
func (*BlockHeader) GetParentRoot ¶
func (m *BlockHeader) GetParentRoot() []byte
func (*BlockHeader) GetRandaoReveal ¶
func (m *BlockHeader) GetRandaoReveal() []byte
func (*BlockHeader) GetSignature ¶
func (m *BlockHeader) GetSignature() []byte
func (*BlockHeader) GetSlotNumber ¶
func (m *BlockHeader) GetSlotNumber() uint64
func (*BlockHeader) GetStateRoot ¶
func (m *BlockHeader) GetStateRoot() []byte
func (*BlockHeader) ProtoMessage ¶
func (*BlockHeader) ProtoMessage()
func (*BlockHeader) Reset ¶
func (m *BlockHeader) Reset()
func (*BlockHeader) String ¶
func (m *BlockHeader) String() string
func (*BlockHeader) XXX_DiscardUnknown ¶
func (m *BlockHeader) XXX_DiscardUnknown()
func (*BlockHeader) XXX_Marshal ¶
func (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHeader) XXX_Merge ¶
func (dst *BlockHeader) XXX_Merge(src proto.Message)
func (*BlockHeader) XXX_Size ¶
func (m *BlockHeader) XXX_Size() int
func (*BlockHeader) XXX_Unmarshal ¶
func (m *BlockHeader) XXX_Unmarshal(b []byte) error
type BlockMessage ¶
type BlockMessage struct { Blocks []*Block `protobuf:"bytes,1,rep,name=Blocks,proto3" json:"Blocks,omitempty"` LatestBlockHash []byte `protobuf:"bytes,2,opt,name=LatestBlockHash,proto3" json:"LatestBlockHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response to GetBlockMessage
func (*BlockMessage) Descriptor ¶
func (*BlockMessage) Descriptor() ([]byte, []int)
func (*BlockMessage) GetBlocks ¶
func (m *BlockMessage) GetBlocks() []*Block
func (*BlockMessage) GetLatestBlockHash ¶ added in v0.2.4
func (m *BlockMessage) GetLatestBlockHash() []byte
func (*BlockMessage) ProtoMessage ¶
func (*BlockMessage) ProtoMessage()
func (*BlockMessage) Reset ¶
func (m *BlockMessage) Reset()
func (*BlockMessage) String ¶
func (m *BlockMessage) String() string
func (*BlockMessage) XXX_DiscardUnknown ¶
func (m *BlockMessage) XXX_DiscardUnknown()
func (*BlockMessage) XXX_Marshal ¶
func (m *BlockMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockMessage) XXX_Merge ¶
func (dst *BlockMessage) XXX_Merge(src proto.Message)
func (*BlockMessage) XXX_Size ¶
func (m *BlockMessage) XXX_Size() int
func (*BlockMessage) XXX_Unmarshal ¶
func (m *BlockMessage) XXX_Unmarshal(b []byte) error
type BlockchainRPCClient ¶
type BlockchainRPCClient interface { SubmitBlock(ctx context.Context, in *SubmitBlockRequest, opts ...grpc.CallOption) (*SubmitBlockResponse, error) GetSlotNumber(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*SlotNumberResponse, error) GetBlockHash(ctx context.Context, in *GetBlockHashRequest, opts ...grpc.CallOption) (*GetBlockHashResponse, error) GetLastBlockHash(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetBlockHashResponse, error) GetState(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetStateResponse, error) GetStateRoot(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetStateRootResponse, error) GetEpochInformation(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EpochInformation, error) GetForkData(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ForkData, error) GetProposerForSlot(ctx context.Context, in *GetProposerForSlotRequest, opts ...grpc.CallOption) (*GetProposerForSlotResponse, error) GetBlock(ctx context.Context, in *GetBlockRequest, opts ...grpc.CallOption) (*GetBlockResponse, error) SubmitAttestation(ctx context.Context, in *Attestation, opts ...grpc.CallOption) (*empty.Empty, error) GetMempool(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*BlockBody, error) GetValidatorInformation(ctx context.Context, in *GetValidatorRequest, opts ...grpc.CallOption) (*Validator, error) }
BlockchainRPCClient is the client API for BlockchainRPC service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBlockchainRPCClient ¶
func NewBlockchainRPCClient(cc *grpc.ClientConn) BlockchainRPCClient
type BlockchainRPCServer ¶
type BlockchainRPCServer interface { SubmitBlock(context.Context, *SubmitBlockRequest) (*SubmitBlockResponse, error) GetSlotNumber(context.Context, *empty.Empty) (*SlotNumberResponse, error) GetBlockHash(context.Context, *GetBlockHashRequest) (*GetBlockHashResponse, error) GetLastBlockHash(context.Context, *empty.Empty) (*GetBlockHashResponse, error) GetState(context.Context, *empty.Empty) (*GetStateResponse, error) GetStateRoot(context.Context, *empty.Empty) (*GetStateRootResponse, error) GetEpochInformation(context.Context, *empty.Empty) (*EpochInformation, error) GetForkData(context.Context, *empty.Empty) (*ForkData, error) GetProposerForSlot(context.Context, *GetProposerForSlotRequest) (*GetProposerForSlotResponse, error) GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error) SubmitAttestation(context.Context, *Attestation) (*empty.Empty, error) GetMempool(context.Context, *empty.Empty) (*BlockBody, error) GetValidatorInformation(context.Context, *GetValidatorRequest) (*Validator, error) }
BlockchainRPCServer is the server API for BlockchainRPC service.
type CasperSlashing ¶
type CasperSlashing struct { Vote0 *SlashableVoteData `protobuf:"bytes,1,opt,name=Vote0,proto3" json:"Vote0,omitempty"` Vote1 *SlashableVoteData `protobuf:"bytes,2,opt,name=Vote1,proto3" json:"Vote1,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CasperSlashing) Descriptor ¶
func (*CasperSlashing) Descriptor() ([]byte, []int)
func (*CasperSlashing) GetVote0 ¶
func (m *CasperSlashing) GetVote0() *SlashableVoteData
func (*CasperSlashing) GetVote1 ¶
func (m *CasperSlashing) GetVote1() *SlashableVoteData
func (*CasperSlashing) ProtoMessage ¶
func (*CasperSlashing) ProtoMessage()
func (*CasperSlashing) Reset ¶
func (m *CasperSlashing) Reset()
func (*CasperSlashing) String ¶
func (m *CasperSlashing) String() string
func (*CasperSlashing) XXX_DiscardUnknown ¶
func (m *CasperSlashing) XXX_DiscardUnknown()
func (*CasperSlashing) XXX_Marshal ¶
func (m *CasperSlashing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CasperSlashing) XXX_Merge ¶
func (dst *CasperSlashing) XXX_Merge(src proto.Message)
func (*CasperSlashing) XXX_Size ¶
func (m *CasperSlashing) XXX_Size() int
func (*CasperSlashing) XXX_Unmarshal ¶
func (m *CasperSlashing) XXX_Unmarshal(b []byte) error
type Crosslink ¶
type Crosslink struct { Slot uint64 `protobuf:"varint,1,opt,name=Slot,proto3" json:"Slot,omitempty"` ShardBlockHash []byte `protobuf:"bytes,2,opt,name=ShardBlockHash,proto3" json:"ShardBlockHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Crosslink) Descriptor ¶
func (*Crosslink) GetShardBlockHash ¶
func (*Crosslink) ProtoMessage ¶
func (*Crosslink) ProtoMessage()
func (*Crosslink) XXX_DiscardUnknown ¶
func (m *Crosslink) XXX_DiscardUnknown()
func (*Crosslink) XXX_Marshal ¶
func (*Crosslink) XXX_Unmarshal ¶
type Deposit ¶
type Deposit struct { Parameters *DepositParameters `protobuf:"bytes,1,opt,name=Parameters,proto3" json:"Parameters,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Deposit) Descriptor ¶
func (*Deposit) GetParameters ¶
func (m *Deposit) GetParameters() *DepositParameters
func (*Deposit) ProtoMessage ¶
func (*Deposit) ProtoMessage()
func (*Deposit) XXX_DiscardUnknown ¶
func (m *Deposit) XXX_DiscardUnknown()
func (*Deposit) XXX_Marshal ¶
func (*Deposit) XXX_Unmarshal ¶
type DepositParameters ¶
type DepositParameters struct { PublicKey []byte `protobuf:"bytes,1,opt,name=PublicKey,proto3" json:"PublicKey,omitempty"` ProofOfPossession []byte `protobuf:"bytes,2,opt,name=ProofOfPossession,proto3" json:"ProofOfPossession,omitempty"` WithdrawalCredentials []byte `protobuf:"bytes,3,opt,name=WithdrawalCredentials,proto3" json:"WithdrawalCredentials,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DepositParameters) Descriptor ¶
func (*DepositParameters) Descriptor() ([]byte, []int)
func (*DepositParameters) GetProofOfPossession ¶
func (m *DepositParameters) GetProofOfPossession() []byte
func (*DepositParameters) GetPublicKey ¶
func (m *DepositParameters) GetPublicKey() []byte
func (*DepositParameters) GetWithdrawalCredentials ¶
func (m *DepositParameters) GetWithdrawalCredentials() []byte
func (*DepositParameters) ProtoMessage ¶
func (*DepositParameters) ProtoMessage()
func (*DepositParameters) Reset ¶
func (m *DepositParameters) Reset()
func (*DepositParameters) String ¶
func (m *DepositParameters) String() string
func (*DepositParameters) XXX_DiscardUnknown ¶
func (m *DepositParameters) XXX_DiscardUnknown()
func (*DepositParameters) XXX_Marshal ¶
func (m *DepositParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DepositParameters) XXX_Merge ¶
func (dst *DepositParameters) XXX_Merge(src proto.Message)
func (*DepositParameters) XXX_Size ¶
func (m *DepositParameters) XXX_Size() int
func (*DepositParameters) XXX_Unmarshal ¶
func (m *DepositParameters) XXX_Unmarshal(b []byte) error
type DisconnectResponse ¶
type DisconnectResponse struct { Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DisconnectResponse) Descriptor ¶
func (*DisconnectResponse) Descriptor() ([]byte, []int)
func (*DisconnectResponse) GetSuccess ¶
func (m *DisconnectResponse) GetSuccess() bool
func (*DisconnectResponse) ProtoMessage ¶
func (*DisconnectResponse) ProtoMessage()
func (*DisconnectResponse) Reset ¶
func (m *DisconnectResponse) Reset()
func (*DisconnectResponse) String ¶
func (m *DisconnectResponse) String() string
func (*DisconnectResponse) XXX_DiscardUnknown ¶
func (m *DisconnectResponse) XXX_DiscardUnknown()
func (*DisconnectResponse) XXX_Marshal ¶
func (m *DisconnectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DisconnectResponse) XXX_Merge ¶
func (dst *DisconnectResponse) XXX_Merge(src proto.Message)
func (*DisconnectResponse) XXX_Size ¶
func (m *DisconnectResponse) XXX_Size() int
func (*DisconnectResponse) XXX_Unmarshal ¶
func (m *DisconnectResponse) XXX_Unmarshal(b []byte) error
type EpochInformation ¶
type EpochInformation struct { Slots []*SlotInformation `protobuf:"bytes,1,rep,name=Slots,proto3" json:"Slots,omitempty"` Slot int64 `protobuf:"varint,3,opt,name=Slot,proto3" json:"Slot,omitempty"` EpochBoundaryRoot []byte `protobuf:"bytes,4,opt,name=EpochBoundaryRoot,proto3" json:"EpochBoundaryRoot,omitempty"` LatestCrosslinks []*Crosslink `protobuf:"bytes,5,rep,name=LatestCrosslinks,proto3" json:"LatestCrosslinks,omitempty"` JustifiedSlot uint64 `protobuf:"varint,6,opt,name=JustifiedSlot,proto3" json:"JustifiedSlot,omitempty"` JustifiedHash []byte `protobuf:"bytes,7,opt,name=JustifiedHash,proto3" json:"JustifiedHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EpochInformation) Descriptor ¶
func (*EpochInformation) Descriptor() ([]byte, []int)
func (*EpochInformation) GetEpochBoundaryRoot ¶
func (m *EpochInformation) GetEpochBoundaryRoot() []byte
func (*EpochInformation) GetJustifiedHash ¶
func (m *EpochInformation) GetJustifiedHash() []byte
func (*EpochInformation) GetJustifiedSlot ¶
func (m *EpochInformation) GetJustifiedSlot() uint64
func (*EpochInformation) GetLatestCrosslinks ¶
func (m *EpochInformation) GetLatestCrosslinks() []*Crosslink
func (*EpochInformation) GetSlot ¶
func (m *EpochInformation) GetSlot() int64
func (*EpochInformation) GetSlots ¶
func (m *EpochInformation) GetSlots() []*SlotInformation
func (*EpochInformation) ProtoMessage ¶
func (*EpochInformation) ProtoMessage()
func (*EpochInformation) Reset ¶
func (m *EpochInformation) Reset()
func (*EpochInformation) String ¶
func (m *EpochInformation) String() string
func (*EpochInformation) XXX_DiscardUnknown ¶
func (m *EpochInformation) XXX_DiscardUnknown()
func (*EpochInformation) XXX_Marshal ¶
func (m *EpochInformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EpochInformation) XXX_Merge ¶
func (dst *EpochInformation) XXX_Merge(src proto.Message)
func (*EpochInformation) XXX_Size ¶
func (m *EpochInformation) XXX_Size() int
func (*EpochInformation) XXX_Unmarshal ¶
func (m *EpochInformation) XXX_Unmarshal(b []byte) error
type Exit ¶
type Exit struct { Slot uint64 `protobuf:"varint,1,opt,name=Slot,proto3" json:"Slot,omitempty"` ValidatorIndex uint64 `protobuf:"varint,2,opt,name=ValidatorIndex,proto3" json:"ValidatorIndex,omitempty"` Signature []byte `protobuf:"bytes,3,opt,name=Signature,proto3" json:"Signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Exit) Descriptor ¶
func (*Exit) GetSignature ¶
func (*Exit) GetValidatorIndex ¶
func (*Exit) ProtoMessage ¶
func (*Exit) ProtoMessage()
func (*Exit) XXX_DiscardUnknown ¶
func (m *Exit) XXX_DiscardUnknown()
func (*Exit) XXX_Unmarshal ¶
type ForkData ¶
type ForkData struct { PreForkVersion uint64 `protobuf:"varint,1,opt,name=PreForkVersion,proto3" json:"PreForkVersion,omitempty"` PostForkVersion uint64 `protobuf:"varint,2,opt,name=PostForkVersion,proto3" json:"PostForkVersion,omitempty"` ForkSlot uint64 `protobuf:"varint,3,opt,name=ForkSlot,proto3" json:"ForkSlot,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ForkData) Descriptor ¶
func (*ForkData) GetForkSlot ¶
func (*ForkData) GetPostForkVersion ¶
func (*ForkData) GetPreForkVersion ¶
func (*ForkData) ProtoMessage ¶
func (*ForkData) ProtoMessage()
func (*ForkData) XXX_DiscardUnknown ¶
func (m *ForkData) XXX_DiscardUnknown()
func (*ForkData) XXX_Marshal ¶
func (*ForkData) XXX_Unmarshal ¶
type GetAddrMessage ¶ added in v0.2.0
type GetAddrMessage struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAddrMessage) Descriptor ¶ added in v0.2.0
func (*GetAddrMessage) Descriptor() ([]byte, []int)
func (*GetAddrMessage) ProtoMessage ¶ added in v0.2.0
func (*GetAddrMessage) ProtoMessage()
func (*GetAddrMessage) Reset ¶ added in v0.2.0
func (m *GetAddrMessage) Reset()
func (*GetAddrMessage) String ¶ added in v0.2.0
func (m *GetAddrMessage) String() string
func (*GetAddrMessage) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *GetAddrMessage) XXX_DiscardUnknown()
func (*GetAddrMessage) XXX_Marshal ¶ added in v0.2.0
func (m *GetAddrMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAddrMessage) XXX_Merge ¶ added in v0.2.0
func (dst *GetAddrMessage) XXX_Merge(src proto.Message)
func (*GetAddrMessage) XXX_Size ¶ added in v0.2.0
func (m *GetAddrMessage) XXX_Size() int
func (*GetAddrMessage) XXX_Unmarshal ¶ added in v0.2.0
func (m *GetAddrMessage) XXX_Unmarshal(b []byte) error
type GetBlockHashRequest ¶
type GetBlockHashRequest struct { SlotNumber uint64 `protobuf:"varint,1,opt,name=SlotNumber,proto3" json:"SlotNumber,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBlockHashRequest) Descriptor ¶
func (*GetBlockHashRequest) Descriptor() ([]byte, []int)
func (*GetBlockHashRequest) GetSlotNumber ¶
func (m *GetBlockHashRequest) GetSlotNumber() uint64
func (*GetBlockHashRequest) ProtoMessage ¶
func (*GetBlockHashRequest) ProtoMessage()
func (*GetBlockHashRequest) Reset ¶
func (m *GetBlockHashRequest) Reset()
func (*GetBlockHashRequest) String ¶
func (m *GetBlockHashRequest) String() string
func (*GetBlockHashRequest) XXX_DiscardUnknown ¶
func (m *GetBlockHashRequest) XXX_DiscardUnknown()
func (*GetBlockHashRequest) XXX_Marshal ¶
func (m *GetBlockHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockHashRequest) XXX_Merge ¶
func (dst *GetBlockHashRequest) XXX_Merge(src proto.Message)
func (*GetBlockHashRequest) XXX_Size ¶
func (m *GetBlockHashRequest) XXX_Size() int
func (*GetBlockHashRequest) XXX_Unmarshal ¶
func (m *GetBlockHashRequest) XXX_Unmarshal(b []byte) error
type GetBlockHashResponse ¶
type GetBlockHashResponse struct { Hash []byte `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBlockHashResponse) Descriptor ¶
func (*GetBlockHashResponse) Descriptor() ([]byte, []int)
func (*GetBlockHashResponse) GetHash ¶
func (m *GetBlockHashResponse) GetHash() []byte
func (*GetBlockHashResponse) ProtoMessage ¶
func (*GetBlockHashResponse) ProtoMessage()
func (*GetBlockHashResponse) Reset ¶
func (m *GetBlockHashResponse) Reset()
func (*GetBlockHashResponse) String ¶
func (m *GetBlockHashResponse) String() string
func (*GetBlockHashResponse) XXX_DiscardUnknown ¶
func (m *GetBlockHashResponse) XXX_DiscardUnknown()
func (*GetBlockHashResponse) XXX_Marshal ¶
func (m *GetBlockHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockHashResponse) XXX_Merge ¶
func (dst *GetBlockHashResponse) XXX_Merge(src proto.Message)
func (*GetBlockHashResponse) XXX_Size ¶
func (m *GetBlockHashResponse) XXX_Size() int
func (*GetBlockHashResponse) XXX_Unmarshal ¶
func (m *GetBlockHashResponse) XXX_Unmarshal(b []byte) error
type GetBlockMessage ¶
type GetBlockMessage struct { LocatorHashes [][]byte `protobuf:"bytes,1,rep,name=LocatorHashes,proto3" json:"LocatorHashes,omitempty"` HashStop []byte `protobuf:"bytes,2,opt,name=HashStop,proto3" json:"HashStop,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBlockMessage) Descriptor ¶
func (*GetBlockMessage) Descriptor() ([]byte, []int)
func (*GetBlockMessage) GetHashStop ¶
func (m *GetBlockMessage) GetHashStop() []byte
func (*GetBlockMessage) GetLocatorHashes ¶
func (m *GetBlockMessage) GetLocatorHashes() [][]byte
func (*GetBlockMessage) ProtoMessage ¶
func (*GetBlockMessage) ProtoMessage()
func (*GetBlockMessage) Reset ¶
func (m *GetBlockMessage) Reset()
func (*GetBlockMessage) String ¶
func (m *GetBlockMessage) String() string
func (*GetBlockMessage) XXX_DiscardUnknown ¶
func (m *GetBlockMessage) XXX_DiscardUnknown()
func (*GetBlockMessage) XXX_Marshal ¶
func (m *GetBlockMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockMessage) XXX_Merge ¶
func (dst *GetBlockMessage) XXX_Merge(src proto.Message)
func (*GetBlockMessage) XXX_Size ¶
func (m *GetBlockMessage) XXX_Size() int
func (*GetBlockMessage) XXX_Unmarshal ¶
func (m *GetBlockMessage) XXX_Unmarshal(b []byte) error
type GetBlockRequest ¶
type GetBlockRequest struct { Hash []byte `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBlockRequest) Descriptor ¶
func (*GetBlockRequest) Descriptor() ([]byte, []int)
func (*GetBlockRequest) GetHash ¶
func (m *GetBlockRequest) GetHash() []byte
func (*GetBlockRequest) ProtoMessage ¶
func (*GetBlockRequest) ProtoMessage()
func (*GetBlockRequest) Reset ¶
func (m *GetBlockRequest) Reset()
func (*GetBlockRequest) String ¶
func (m *GetBlockRequest) String() string
func (*GetBlockRequest) XXX_DiscardUnknown ¶
func (m *GetBlockRequest) XXX_DiscardUnknown()
func (*GetBlockRequest) XXX_Marshal ¶
func (m *GetBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockRequest) XXX_Merge ¶
func (dst *GetBlockRequest) XXX_Merge(src proto.Message)
func (*GetBlockRequest) XXX_Size ¶
func (m *GetBlockRequest) XXX_Size() int
func (*GetBlockRequest) XXX_Unmarshal ¶
func (m *GetBlockRequest) XXX_Unmarshal(b []byte) error
type GetBlockResponse ¶
type GetBlockResponse struct { Block *Block `protobuf:"bytes,1,opt,name=Block,proto3" json:"Block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBlockResponse) Descriptor ¶
func (*GetBlockResponse) Descriptor() ([]byte, []int)
func (*GetBlockResponse) GetBlock ¶
func (m *GetBlockResponse) GetBlock() *Block
func (*GetBlockResponse) ProtoMessage ¶
func (*GetBlockResponse) ProtoMessage()
func (*GetBlockResponse) Reset ¶
func (m *GetBlockResponse) Reset()
func (*GetBlockResponse) String ¶
func (m *GetBlockResponse) String() string
func (*GetBlockResponse) XXX_DiscardUnknown ¶
func (m *GetBlockResponse) XXX_DiscardUnknown()
func (*GetBlockResponse) XXX_Marshal ¶
func (m *GetBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockResponse) XXX_Merge ¶
func (dst *GetBlockResponse) XXX_Merge(src proto.Message)
func (*GetBlockResponse) XXX_Size ¶
func (m *GetBlockResponse) XXX_Size() int
func (*GetBlockResponse) XXX_Unmarshal ¶
func (m *GetBlockResponse) XXX_Unmarshal(b []byte) error
type GetCommitteeValidatorIndicesResponse ¶
type GetCommitteeValidatorIndicesResponse struct { Validators []uint32 `protobuf:"varint,1,rep,packed,name=Validators,proto3" json:"Validators,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetCommitteeValidatorIndicesResponse) Descriptor ¶
func (*GetCommitteeValidatorIndicesResponse) Descriptor() ([]byte, []int)
func (*GetCommitteeValidatorIndicesResponse) GetValidators ¶
func (m *GetCommitteeValidatorIndicesResponse) GetValidators() []uint32
func (*GetCommitteeValidatorIndicesResponse) ProtoMessage ¶
func (*GetCommitteeValidatorIndicesResponse) ProtoMessage()
func (*GetCommitteeValidatorIndicesResponse) Reset ¶
func (m *GetCommitteeValidatorIndicesResponse) Reset()
func (*GetCommitteeValidatorIndicesResponse) String ¶
func (m *GetCommitteeValidatorIndicesResponse) String() string
func (*GetCommitteeValidatorIndicesResponse) XXX_DiscardUnknown ¶
func (m *GetCommitteeValidatorIndicesResponse) XXX_DiscardUnknown()
func (*GetCommitteeValidatorIndicesResponse) XXX_Marshal ¶
func (m *GetCommitteeValidatorIndicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCommitteeValidatorIndicesResponse) XXX_Merge ¶
func (dst *GetCommitteeValidatorIndicesResponse) XXX_Merge(src proto.Message)
func (*GetCommitteeValidatorIndicesResponse) XXX_Size ¶
func (m *GetCommitteeValidatorIndicesResponse) XXX_Size() int
func (*GetCommitteeValidatorIndicesResponse) XXX_Unmarshal ¶
func (m *GetCommitteeValidatorIndicesResponse) XXX_Unmarshal(b []byte) error
type GetCommitteeValidatorsRequest ¶
type GetCommitteeValidatorsRequest struct { SlotNumber uint64 `protobuf:"varint,1,opt,name=SlotNumber,proto3" json:"SlotNumber,omitempty"` Shard uint32 `protobuf:"varint,2,opt,name=Shard,proto3" json:"Shard,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetCommitteeValidatorsRequest) Descriptor ¶
func (*GetCommitteeValidatorsRequest) Descriptor() ([]byte, []int)
func (*GetCommitteeValidatorsRequest) GetShard ¶
func (m *GetCommitteeValidatorsRequest) GetShard() uint32
func (*GetCommitteeValidatorsRequest) GetSlotNumber ¶
func (m *GetCommitteeValidatorsRequest) GetSlotNumber() uint64
func (*GetCommitteeValidatorsRequest) ProtoMessage ¶
func (*GetCommitteeValidatorsRequest) ProtoMessage()
func (*GetCommitteeValidatorsRequest) Reset ¶
func (m *GetCommitteeValidatorsRequest) Reset()
func (*GetCommitteeValidatorsRequest) String ¶
func (m *GetCommitteeValidatorsRequest) String() string
func (*GetCommitteeValidatorsRequest) XXX_DiscardUnknown ¶
func (m *GetCommitteeValidatorsRequest) XXX_DiscardUnknown()
func (*GetCommitteeValidatorsRequest) XXX_Marshal ¶
func (m *GetCommitteeValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCommitteeValidatorsRequest) XXX_Merge ¶
func (dst *GetCommitteeValidatorsRequest) XXX_Merge(src proto.Message)
func (*GetCommitteeValidatorsRequest) XXX_Size ¶
func (m *GetCommitteeValidatorsRequest) XXX_Size() int
func (*GetCommitteeValidatorsRequest) XXX_Unmarshal ¶
func (m *GetCommitteeValidatorsRequest) XXX_Unmarshal(b []byte) error
type GetCommitteeValidatorsResponse ¶
type GetCommitteeValidatorsResponse struct { Validators []*Validator `protobuf:"bytes,1,rep,name=Validators,proto3" json:"Validators,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetCommitteeValidatorsResponse) Descriptor ¶
func (*GetCommitteeValidatorsResponse) Descriptor() ([]byte, []int)
func (*GetCommitteeValidatorsResponse) GetValidators ¶
func (m *GetCommitteeValidatorsResponse) GetValidators() []*Validator
func (*GetCommitteeValidatorsResponse) ProtoMessage ¶
func (*GetCommitteeValidatorsResponse) ProtoMessage()
func (*GetCommitteeValidatorsResponse) Reset ¶
func (m *GetCommitteeValidatorsResponse) Reset()
func (*GetCommitteeValidatorsResponse) String ¶
func (m *GetCommitteeValidatorsResponse) String() string
func (*GetCommitteeValidatorsResponse) XXX_DiscardUnknown ¶
func (m *GetCommitteeValidatorsResponse) XXX_DiscardUnknown()
func (*GetCommitteeValidatorsResponse) XXX_Marshal ¶
func (m *GetCommitteeValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCommitteeValidatorsResponse) XXX_Merge ¶
func (dst *GetCommitteeValidatorsResponse) XXX_Merge(src proto.Message)
func (*GetCommitteeValidatorsResponse) XXX_Size ¶
func (m *GetCommitteeValidatorsResponse) XXX_Size() int
func (*GetCommitteeValidatorsResponse) XXX_Unmarshal ¶
func (m *GetCommitteeValidatorsResponse) XXX_Unmarshal(b []byte) error
type GetCommitteesForSlotRequest ¶
type GetCommitteesForSlotRequest struct { Slot uint64 `protobuf:"varint,1,opt,name=Slot,proto3" json:"Slot,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetCommitteesForSlotRequest) Descriptor ¶
func (*GetCommitteesForSlotRequest) Descriptor() ([]byte, []int)
func (*GetCommitteesForSlotRequest) GetSlot ¶
func (m *GetCommitteesForSlotRequest) GetSlot() uint64
func (*GetCommitteesForSlotRequest) ProtoMessage ¶
func (*GetCommitteesForSlotRequest) ProtoMessage()
func (*GetCommitteesForSlotRequest) Reset ¶
func (m *GetCommitteesForSlotRequest) Reset()
func (*GetCommitteesForSlotRequest) String ¶
func (m *GetCommitteesForSlotRequest) String() string
func (*GetCommitteesForSlotRequest) XXX_DiscardUnknown ¶
func (m *GetCommitteesForSlotRequest) XXX_DiscardUnknown()
func (*GetCommitteesForSlotRequest) XXX_Marshal ¶
func (m *GetCommitteesForSlotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCommitteesForSlotRequest) XXX_Merge ¶
func (dst *GetCommitteesForSlotRequest) XXX_Merge(src proto.Message)
func (*GetCommitteesForSlotRequest) XXX_Size ¶
func (m *GetCommitteesForSlotRequest) XXX_Size() int
func (*GetCommitteesForSlotRequest) XXX_Unmarshal ¶
func (m *GetCommitteesForSlotRequest) XXX_Unmarshal(b []byte) error
type GetProposerForSlotRequest ¶
type GetProposerForSlotRequest struct { Slot uint64 `protobuf:"varint,1,opt,name=Slot,proto3" json:"Slot,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetProposerForSlotRequest) Descriptor ¶
func (*GetProposerForSlotRequest) Descriptor() ([]byte, []int)
func (*GetProposerForSlotRequest) GetSlot ¶
func (m *GetProposerForSlotRequest) GetSlot() uint64
func (*GetProposerForSlotRequest) ProtoMessage ¶
func (*GetProposerForSlotRequest) ProtoMessage()
func (*GetProposerForSlotRequest) Reset ¶
func (m *GetProposerForSlotRequest) Reset()
func (*GetProposerForSlotRequest) String ¶
func (m *GetProposerForSlotRequest) String() string
func (*GetProposerForSlotRequest) XXX_DiscardUnknown ¶
func (m *GetProposerForSlotRequest) XXX_DiscardUnknown()
func (*GetProposerForSlotRequest) XXX_Marshal ¶
func (m *GetProposerForSlotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProposerForSlotRequest) XXX_Merge ¶
func (dst *GetProposerForSlotRequest) XXX_Merge(src proto.Message)
func (*GetProposerForSlotRequest) XXX_Size ¶
func (m *GetProposerForSlotRequest) XXX_Size() int
func (*GetProposerForSlotRequest) XXX_Unmarshal ¶
func (m *GetProposerForSlotRequest) XXX_Unmarshal(b []byte) error
type GetProposerForSlotResponse ¶
type GetProposerForSlotResponse struct { Proposer uint32 `protobuf:"varint,2,opt,name=Proposer,proto3" json:"Proposer,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetProposerForSlotResponse) Descriptor ¶
func (*GetProposerForSlotResponse) Descriptor() ([]byte, []int)
func (*GetProposerForSlotResponse) GetProposer ¶
func (m *GetProposerForSlotResponse) GetProposer() uint32
func (*GetProposerForSlotResponse) ProtoMessage ¶
func (*GetProposerForSlotResponse) ProtoMessage()
func (*GetProposerForSlotResponse) Reset ¶
func (m *GetProposerForSlotResponse) Reset()
func (*GetProposerForSlotResponse) String ¶
func (m *GetProposerForSlotResponse) String() string
func (*GetProposerForSlotResponse) XXX_DiscardUnknown ¶
func (m *GetProposerForSlotResponse) XXX_DiscardUnknown()
func (*GetProposerForSlotResponse) XXX_Marshal ¶
func (m *GetProposerForSlotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProposerForSlotResponse) XXX_Merge ¶
func (dst *GetProposerForSlotResponse) XXX_Merge(src proto.Message)
func (*GetProposerForSlotResponse) XXX_Size ¶
func (m *GetProposerForSlotResponse) XXX_Size() int
func (*GetProposerForSlotResponse) XXX_Unmarshal ¶
func (m *GetProposerForSlotResponse) XXX_Unmarshal(b []byte) error
type GetSlotAndShardAssignmentRequest ¶
type GetSlotAndShardAssignmentRequest struct { ValidatorID uint32 `protobuf:"varint,1,opt,name=ValidatorID,proto3" json:"ValidatorID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetSlotAndShardAssignmentRequest) Descriptor ¶
func (*GetSlotAndShardAssignmentRequest) Descriptor() ([]byte, []int)
func (*GetSlotAndShardAssignmentRequest) GetValidatorID ¶
func (m *GetSlotAndShardAssignmentRequest) GetValidatorID() uint32
func (*GetSlotAndShardAssignmentRequest) ProtoMessage ¶
func (*GetSlotAndShardAssignmentRequest) ProtoMessage()
func (*GetSlotAndShardAssignmentRequest) Reset ¶
func (m *GetSlotAndShardAssignmentRequest) Reset()
func (*GetSlotAndShardAssignmentRequest) String ¶
func (m *GetSlotAndShardAssignmentRequest) String() string
func (*GetSlotAndShardAssignmentRequest) XXX_DiscardUnknown ¶
func (m *GetSlotAndShardAssignmentRequest) XXX_DiscardUnknown()
func (*GetSlotAndShardAssignmentRequest) XXX_Marshal ¶
func (m *GetSlotAndShardAssignmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSlotAndShardAssignmentRequest) XXX_Merge ¶
func (dst *GetSlotAndShardAssignmentRequest) XXX_Merge(src proto.Message)
func (*GetSlotAndShardAssignmentRequest) XXX_Size ¶
func (m *GetSlotAndShardAssignmentRequest) XXX_Size() int
func (*GetSlotAndShardAssignmentRequest) XXX_Unmarshal ¶
func (m *GetSlotAndShardAssignmentRequest) XXX_Unmarshal(b []byte) error
type GetStateResponse ¶
type GetStateResponse struct { State *State `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetStateResponse) Descriptor ¶
func (*GetStateResponse) Descriptor() ([]byte, []int)
func (*GetStateResponse) GetState ¶
func (m *GetStateResponse) GetState() *State
func (*GetStateResponse) ProtoMessage ¶
func (*GetStateResponse) ProtoMessage()
func (*GetStateResponse) Reset ¶
func (m *GetStateResponse) Reset()
func (*GetStateResponse) String ¶
func (m *GetStateResponse) String() string
func (*GetStateResponse) XXX_DiscardUnknown ¶
func (m *GetStateResponse) XXX_DiscardUnknown()
func (*GetStateResponse) XXX_Marshal ¶
func (m *GetStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStateResponse) XXX_Merge ¶
func (dst *GetStateResponse) XXX_Merge(src proto.Message)
func (*GetStateResponse) XXX_Size ¶
func (m *GetStateResponse) XXX_Size() int
func (*GetStateResponse) XXX_Unmarshal ¶
func (m *GetStateResponse) XXX_Unmarshal(b []byte) error
type GetStateRootResponse ¶
type GetStateRootResponse struct { StateRoot []byte `protobuf:"bytes,1,opt,name=StateRoot,proto3" json:"StateRoot,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetStateRootResponse) Descriptor ¶
func (*GetStateRootResponse) Descriptor() ([]byte, []int)
func (*GetStateRootResponse) GetStateRoot ¶
func (m *GetStateRootResponse) GetStateRoot() []byte
func (*GetStateRootResponse) ProtoMessage ¶
func (*GetStateRootResponse) ProtoMessage()
func (*GetStateRootResponse) Reset ¶
func (m *GetStateRootResponse) Reset()
func (*GetStateRootResponse) String ¶
func (m *GetStateRootResponse) String() string
func (*GetStateRootResponse) XXX_DiscardUnknown ¶
func (m *GetStateRootResponse) XXX_DiscardUnknown()
func (*GetStateRootResponse) XXX_Marshal ¶
func (m *GetStateRootResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStateRootResponse) XXX_Merge ¶
func (dst *GetStateRootResponse) XXX_Merge(src proto.Message)
func (*GetStateRootResponse) XXX_Size ¶
func (m *GetStateRootResponse) XXX_Size() int
func (*GetStateRootResponse) XXX_Unmarshal ¶
func (m *GetStateRootResponse) XXX_Unmarshal(b []byte) error
type GetValidatorAtIndexRequest ¶
type GetValidatorAtIndexRequest struct { Index uint32 `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetValidatorAtIndexRequest) Descriptor ¶
func (*GetValidatorAtIndexRequest) Descriptor() ([]byte, []int)
func (*GetValidatorAtIndexRequest) GetIndex ¶
func (m *GetValidatorAtIndexRequest) GetIndex() uint32
func (*GetValidatorAtIndexRequest) ProtoMessage ¶
func (*GetValidatorAtIndexRequest) ProtoMessage()
func (*GetValidatorAtIndexRequest) Reset ¶
func (m *GetValidatorAtIndexRequest) Reset()
func (*GetValidatorAtIndexRequest) String ¶
func (m *GetValidatorAtIndexRequest) String() string
func (*GetValidatorAtIndexRequest) XXX_DiscardUnknown ¶
func (m *GetValidatorAtIndexRequest) XXX_DiscardUnknown()
func (*GetValidatorAtIndexRequest) XXX_Marshal ¶
func (m *GetValidatorAtIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetValidatorAtIndexRequest) XXX_Merge ¶
func (dst *GetValidatorAtIndexRequest) XXX_Merge(src proto.Message)
func (*GetValidatorAtIndexRequest) XXX_Size ¶
func (m *GetValidatorAtIndexRequest) XXX_Size() int
func (*GetValidatorAtIndexRequest) XXX_Unmarshal ¶
func (m *GetValidatorAtIndexRequest) XXX_Unmarshal(b []byte) error
type GetValidatorAtIndexResponse ¶
type GetValidatorAtIndexResponse struct { Validator *Validator `protobuf:"bytes,1,opt,name=Validator,proto3" json:"Validator,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetValidatorAtIndexResponse) Descriptor ¶
func (*GetValidatorAtIndexResponse) Descriptor() ([]byte, []int)
func (*GetValidatorAtIndexResponse) GetValidator ¶
func (m *GetValidatorAtIndexResponse) GetValidator() *Validator
func (*GetValidatorAtIndexResponse) ProtoMessage ¶
func (*GetValidatorAtIndexResponse) ProtoMessage()
func (*GetValidatorAtIndexResponse) Reset ¶
func (m *GetValidatorAtIndexResponse) Reset()
func (*GetValidatorAtIndexResponse) String ¶
func (m *GetValidatorAtIndexResponse) String() string
func (*GetValidatorAtIndexResponse) XXX_DiscardUnknown ¶
func (m *GetValidatorAtIndexResponse) XXX_DiscardUnknown()
func (*GetValidatorAtIndexResponse) XXX_Marshal ¶
func (m *GetValidatorAtIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetValidatorAtIndexResponse) XXX_Merge ¶
func (dst *GetValidatorAtIndexResponse) XXX_Merge(src proto.Message)
func (*GetValidatorAtIndexResponse) XXX_Size ¶
func (m *GetValidatorAtIndexResponse) XXX_Size() int
func (*GetValidatorAtIndexResponse) XXX_Unmarshal ¶
func (m *GetValidatorAtIndexResponse) XXX_Unmarshal(b []byte) error
type GetValidatorRequest ¶ added in v0.2.4
type GetValidatorRequest struct { ID uint32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetValidatorRequest) Descriptor ¶ added in v0.2.4
func (*GetValidatorRequest) Descriptor() ([]byte, []int)
func (*GetValidatorRequest) GetID ¶ added in v0.2.4
func (m *GetValidatorRequest) GetID() uint32
func (*GetValidatorRequest) ProtoMessage ¶ added in v0.2.4
func (*GetValidatorRequest) ProtoMessage()
func (*GetValidatorRequest) Reset ¶ added in v0.2.4
func (m *GetValidatorRequest) Reset()
func (*GetValidatorRequest) String ¶ added in v0.2.4
func (m *GetValidatorRequest) String() string
func (*GetValidatorRequest) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *GetValidatorRequest) XXX_DiscardUnknown()
func (*GetValidatorRequest) XXX_Marshal ¶ added in v0.2.4
func (m *GetValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetValidatorRequest) XXX_Merge ¶ added in v0.2.4
func (dst *GetValidatorRequest) XXX_Merge(src proto.Message)
func (*GetValidatorRequest) XXX_Size ¶ added in v0.2.4
func (m *GetValidatorRequest) XXX_Size() int
func (*GetValidatorRequest) XXX_Unmarshal ¶ added in v0.2.4
func (m *GetValidatorRequest) XXX_Unmarshal(b []byte) error
type PendingAttestation ¶
type PendingAttestation struct { Data *AttestationData `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"` ParticipationBitfield []byte `protobuf:"bytes,2,opt,name=ParticipationBitfield,proto3" json:"ParticipationBitfield,omitempty"` CustodyBitfield []byte `protobuf:"bytes,3,opt,name=CustodyBitfield,proto3" json:"CustodyBitfield,omitempty"` InclusionDelay uint64 `protobuf:"varint,4,opt,name=InclusionDelay,proto3" json:"InclusionDelay,omitempty"` ProposerIndex uint32 `protobuf:"varint,5,opt,name=ProposerIndex,proto3" json:"ProposerIndex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PendingAttestation) Descriptor ¶
func (*PendingAttestation) Descriptor() ([]byte, []int)
func (*PendingAttestation) GetCustodyBitfield ¶
func (m *PendingAttestation) GetCustodyBitfield() []byte
func (*PendingAttestation) GetData ¶
func (m *PendingAttestation) GetData() *AttestationData
func (*PendingAttestation) GetInclusionDelay ¶ added in v0.2.4
func (m *PendingAttestation) GetInclusionDelay() uint64
func (*PendingAttestation) GetParticipationBitfield ¶
func (m *PendingAttestation) GetParticipationBitfield() []byte
func (*PendingAttestation) GetProposerIndex ¶ added in v0.2.4
func (m *PendingAttestation) GetProposerIndex() uint32
func (*PendingAttestation) ProtoMessage ¶
func (*PendingAttestation) ProtoMessage()
func (*PendingAttestation) Reset ¶
func (m *PendingAttestation) Reset()
func (*PendingAttestation) String ¶
func (m *PendingAttestation) String() string
func (*PendingAttestation) XXX_DiscardUnknown ¶
func (m *PendingAttestation) XXX_DiscardUnknown()
func (*PendingAttestation) XXX_Marshal ¶
func (m *PendingAttestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PendingAttestation) XXX_Merge ¶
func (dst *PendingAttestation) XXX_Merge(src proto.Message)
func (*PendingAttestation) XXX_Size ¶
func (m *PendingAttestation) XXX_Size() int
func (*PendingAttestation) XXX_Unmarshal ¶
func (m *PendingAttestation) XXX_Unmarshal(b []byte) error
type PersistentCommitteesForSlot ¶
type PersistentCommitteesForSlot struct { PersistentCommittee []uint32 `protobuf:"varint,1,rep,packed,name=PersistentCommittee,proto3" json:"PersistentCommittee,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PersistentCommitteesForSlot) Descriptor ¶
func (*PersistentCommitteesForSlot) Descriptor() ([]byte, []int)
func (*PersistentCommitteesForSlot) GetPersistentCommittee ¶
func (m *PersistentCommitteesForSlot) GetPersistentCommittee() []uint32
func (*PersistentCommitteesForSlot) ProtoMessage ¶
func (*PersistentCommitteesForSlot) ProtoMessage()
func (*PersistentCommitteesForSlot) Reset ¶
func (m *PersistentCommitteesForSlot) Reset()
func (*PersistentCommitteesForSlot) String ¶
func (m *PersistentCommitteesForSlot) String() string
func (*PersistentCommitteesForSlot) XXX_DiscardUnknown ¶
func (m *PersistentCommitteesForSlot) XXX_DiscardUnknown()
func (*PersistentCommitteesForSlot) XXX_Marshal ¶
func (m *PersistentCommitteesForSlot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PersistentCommitteesForSlot) XXX_Merge ¶
func (dst *PersistentCommitteesForSlot) XXX_Merge(src proto.Message)
func (*PersistentCommitteesForSlot) XXX_Size ¶
func (m *PersistentCommitteesForSlot) XXX_Size() int
func (*PersistentCommitteesForSlot) XXX_Unmarshal ¶
func (m *PersistentCommitteesForSlot) XXX_Unmarshal(b []byte) error
type PingMessage ¶
type PingMessage struct { Nonce uint64 `protobuf:"varint,1,opt,name=Nonce,proto3" json:"Nonce,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PingMessage) Descriptor ¶
func (*PingMessage) Descriptor() ([]byte, []int)
func (*PingMessage) GetNonce ¶
func (m *PingMessage) GetNonce() uint64
func (*PingMessage) ProtoMessage ¶
func (*PingMessage) ProtoMessage()
func (*PingMessage) Reset ¶
func (m *PingMessage) Reset()
func (*PingMessage) String ¶
func (m *PingMessage) String() string
func (*PingMessage) XXX_DiscardUnknown ¶
func (m *PingMessage) XXX_DiscardUnknown()
func (*PingMessage) XXX_Marshal ¶
func (m *PingMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PingMessage) XXX_Merge ¶
func (dst *PingMessage) XXX_Merge(src proto.Message)
func (*PingMessage) XXX_Size ¶
func (m *PingMessage) XXX_Size() int
func (*PingMessage) XXX_Unmarshal ¶
func (m *PingMessage) XXX_Unmarshal(b []byte) error
type PongMessage ¶
type PongMessage struct { Nonce uint64 `protobuf:"varint,1,opt,name=Nonce,proto3" json:"Nonce,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PongMessage) Descriptor ¶
func (*PongMessage) Descriptor() ([]byte, []int)
func (*PongMessage) GetNonce ¶
func (m *PongMessage) GetNonce() uint64
func (*PongMessage) ProtoMessage ¶
func (*PongMessage) ProtoMessage()
func (*PongMessage) Reset ¶
func (m *PongMessage) Reset()
func (*PongMessage) String ¶
func (m *PongMessage) String() string
func (*PongMessage) XXX_DiscardUnknown ¶
func (m *PongMessage) XXX_DiscardUnknown()
func (*PongMessage) XXX_Marshal ¶
func (m *PongMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PongMessage) XXX_Merge ¶
func (dst *PongMessage) XXX_Merge(src proto.Message)
func (*PongMessage) XXX_Size ¶
func (m *PongMessage) XXX_Size() int
func (*PongMessage) XXX_Unmarshal ¶
func (m *PongMessage) XXX_Unmarshal(b []byte) error
type ProposalSignedData ¶
type ProposalSignedData struct { Slot uint64 `protobuf:"varint,1,opt,name=Slot,proto3" json:"Slot,omitempty"` Shard uint64 `protobuf:"varint,2,opt,name=Shard,proto3" json:"Shard,omitempty"` BlockHash []byte `protobuf:"bytes,3,opt,name=BlockHash,proto3" json:"BlockHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProposalSignedData) Descriptor ¶
func (*ProposalSignedData) Descriptor() ([]byte, []int)
func (*ProposalSignedData) GetBlockHash ¶
func (m *ProposalSignedData) GetBlockHash() []byte
func (*ProposalSignedData) GetShard ¶
func (m *ProposalSignedData) GetShard() uint64
func (*ProposalSignedData) GetSlot ¶
func (m *ProposalSignedData) GetSlot() uint64
func (*ProposalSignedData) ProtoMessage ¶
func (*ProposalSignedData) ProtoMessage()
func (*ProposalSignedData) Reset ¶
func (m *ProposalSignedData) Reset()
func (*ProposalSignedData) String ¶
func (m *ProposalSignedData) String() string
func (*ProposalSignedData) XXX_DiscardUnknown ¶
func (m *ProposalSignedData) XXX_DiscardUnknown()
func (*ProposalSignedData) XXX_Marshal ¶
func (m *ProposalSignedData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalSignedData) XXX_Merge ¶
func (dst *ProposalSignedData) XXX_Merge(src proto.Message)
func (*ProposalSignedData) XXX_Size ¶
func (m *ProposalSignedData) XXX_Size() int
func (*ProposalSignedData) XXX_Unmarshal ¶
func (m *ProposalSignedData) XXX_Unmarshal(b []byte) error
type ProposerSlashing ¶
type ProposerSlashing struct { ProposerIndex uint32 `protobuf:"varint,1,opt,name=ProposerIndex,proto3" json:"ProposerIndex,omitempty"` ProposalData1 *ProposalSignedData `protobuf:"bytes,2,opt,name=ProposalData1,proto3" json:"ProposalData1,omitempty"` ProposalSignature1 []byte `protobuf:"bytes,3,opt,name=ProposalSignature1,proto3" json:"ProposalSignature1,omitempty"` ProposalData2 *ProposalSignedData `protobuf:"bytes,4,opt,name=ProposalData2,proto3" json:"ProposalData2,omitempty"` ProposalSignature2 []byte `protobuf:"bytes,5,opt,name=ProposalSignature2,proto3" json:"ProposalSignature2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProposerSlashing) Descriptor ¶
func (*ProposerSlashing) Descriptor() ([]byte, []int)
func (*ProposerSlashing) GetProposalData1 ¶
func (m *ProposerSlashing) GetProposalData1() *ProposalSignedData
func (*ProposerSlashing) GetProposalData2 ¶
func (m *ProposerSlashing) GetProposalData2() *ProposalSignedData
func (*ProposerSlashing) GetProposalSignature1 ¶
func (m *ProposerSlashing) GetProposalSignature1() []byte
func (*ProposerSlashing) GetProposalSignature2 ¶
func (m *ProposerSlashing) GetProposalSignature2() []byte
func (*ProposerSlashing) GetProposerIndex ¶
func (m *ProposerSlashing) GetProposerIndex() uint32
func (*ProposerSlashing) ProtoMessage ¶
func (*ProposerSlashing) ProtoMessage()
func (*ProposerSlashing) Reset ¶
func (m *ProposerSlashing) Reset()
func (*ProposerSlashing) String ¶
func (m *ProposerSlashing) String() string
func (*ProposerSlashing) XXX_DiscardUnknown ¶
func (m *ProposerSlashing) XXX_DiscardUnknown()
func (*ProposerSlashing) XXX_Marshal ¶
func (m *ProposerSlashing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposerSlashing) XXX_Merge ¶
func (dst *ProposerSlashing) XXX_Merge(src proto.Message)
func (*ProposerSlashing) XXX_Size ¶
func (m *ProposerSlashing) XXX_Size() int
func (*ProposerSlashing) XXX_Unmarshal ¶
func (m *ProposerSlashing) XXX_Unmarshal(b []byte) error
type RejectMessage ¶
type RejectMessage struct { Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RejectMessage) Descriptor ¶
func (*RejectMessage) Descriptor() ([]byte, []int)
func (*RejectMessage) GetMessage ¶
func (m *RejectMessage) GetMessage() string
func (*RejectMessage) ProtoMessage ¶
func (*RejectMessage) ProtoMessage()
func (*RejectMessage) Reset ¶
func (m *RejectMessage) Reset()
func (*RejectMessage) String ¶
func (m *RejectMessage) String() string
func (*RejectMessage) XXX_DiscardUnknown ¶
func (m *RejectMessage) XXX_DiscardUnknown()
func (*RejectMessage) XXX_Marshal ¶
func (m *RejectMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RejectMessage) XXX_Merge ¶
func (dst *RejectMessage) XXX_Merge(src proto.Message)
func (*RejectMessage) XXX_Size ¶
func (m *RejectMessage) XXX_Size() int
func (*RejectMessage) XXX_Unmarshal ¶
func (m *RejectMessage) XXX_Unmarshal(b []byte) error
type ShardCommittee ¶
type ShardCommittee struct { Shard uint64 `protobuf:"varint,1,opt,name=Shard,proto3" json:"Shard,omitempty"` Committee []uint32 `protobuf:"varint,2,rep,packed,name=Committee,proto3" json:"Committee,omitempty"` TotalValidatorCount uint64 `protobuf:"varint,3,opt,name=TotalValidatorCount,proto3" json:"TotalValidatorCount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ShardCommittee) Descriptor ¶
func (*ShardCommittee) Descriptor() ([]byte, []int)
func (*ShardCommittee) GetCommittee ¶
func (m *ShardCommittee) GetCommittee() []uint32
func (*ShardCommittee) GetShard ¶
func (m *ShardCommittee) GetShard() uint64
func (*ShardCommittee) GetTotalValidatorCount ¶
func (m *ShardCommittee) GetTotalValidatorCount() uint64
func (*ShardCommittee) ProtoMessage ¶
func (*ShardCommittee) ProtoMessage()
func (*ShardCommittee) Reset ¶
func (m *ShardCommittee) Reset()
func (*ShardCommittee) String ¶
func (m *ShardCommittee) String() string
func (*ShardCommittee) XXX_DiscardUnknown ¶
func (m *ShardCommittee) XXX_DiscardUnknown()
func (*ShardCommittee) XXX_Marshal ¶
func (m *ShardCommittee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ShardCommittee) XXX_Merge ¶
func (dst *ShardCommittee) XXX_Merge(src proto.Message)
func (*ShardCommittee) XXX_Size ¶
func (m *ShardCommittee) XXX_Size() int
func (*ShardCommittee) XXX_Unmarshal ¶
func (m *ShardCommittee) XXX_Unmarshal(b []byte) error
type ShardCommitteesForSlot ¶
type ShardCommitteesForSlot struct { Committees []*ShardCommittee `protobuf:"bytes,1,rep,name=Committees,proto3" json:"Committees,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ShardCommitteesForSlot) Descriptor ¶
func (*ShardCommitteesForSlot) Descriptor() ([]byte, []int)
func (*ShardCommitteesForSlot) GetCommittees ¶
func (m *ShardCommitteesForSlot) GetCommittees() []*ShardCommittee
func (*ShardCommitteesForSlot) ProtoMessage ¶
func (*ShardCommitteesForSlot) ProtoMessage()
func (*ShardCommitteesForSlot) Reset ¶
func (m *ShardCommitteesForSlot) Reset()
func (*ShardCommitteesForSlot) String ¶
func (m *ShardCommitteesForSlot) String() string
func (*ShardCommitteesForSlot) XXX_DiscardUnknown ¶
func (m *ShardCommitteesForSlot) XXX_DiscardUnknown()
func (*ShardCommitteesForSlot) XXX_Marshal ¶
func (m *ShardCommitteesForSlot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ShardCommitteesForSlot) XXX_Merge ¶
func (dst *ShardCommitteesForSlot) XXX_Merge(src proto.Message)
func (*ShardCommitteesForSlot) XXX_Size ¶
func (m *ShardCommitteesForSlot) XXX_Size() int
func (*ShardCommitteesForSlot) XXX_Unmarshal ¶
func (m *ShardCommitteesForSlot) XXX_Unmarshal(b []byte) error
type SlashableVoteData ¶
type SlashableVoteData struct { AggregateSignaturePoC0Indices []uint32 `protobuf:"varint,1,rep,packed,name=AggregateSignaturePoC0Indices,proto3" json:"AggregateSignaturePoC0Indices,omitempty"` AggregateSignaturePoC1Indices []uint32 `protobuf:"varint,2,rep,packed,name=AggregateSignaturePoC1Indices,proto3" json:"AggregateSignaturePoC1Indices,omitempty"` Data *AttestationData `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"` AggregateSignature []byte `protobuf:"bytes,4,opt,name=AggregateSignature,proto3" json:"AggregateSignature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SlashableVoteData) Descriptor ¶
func (*SlashableVoteData) Descriptor() ([]byte, []int)
func (*SlashableVoteData) GetAggregateSignature ¶
func (m *SlashableVoteData) GetAggregateSignature() []byte
func (*SlashableVoteData) GetAggregateSignaturePoC0Indices ¶
func (m *SlashableVoteData) GetAggregateSignaturePoC0Indices() []uint32
func (*SlashableVoteData) GetAggregateSignaturePoC1Indices ¶
func (m *SlashableVoteData) GetAggregateSignaturePoC1Indices() []uint32
func (*SlashableVoteData) GetData ¶
func (m *SlashableVoteData) GetData() *AttestationData
func (*SlashableVoteData) ProtoMessage ¶
func (*SlashableVoteData) ProtoMessage()
func (*SlashableVoteData) Reset ¶
func (m *SlashableVoteData) Reset()
func (*SlashableVoteData) String ¶
func (m *SlashableVoteData) String() string
func (*SlashableVoteData) XXX_DiscardUnknown ¶
func (m *SlashableVoteData) XXX_DiscardUnknown()
func (*SlashableVoteData) XXX_Marshal ¶
func (m *SlashableVoteData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SlashableVoteData) XXX_Merge ¶
func (dst *SlashableVoteData) XXX_Merge(src proto.Message)
func (*SlashableVoteData) XXX_Size ¶
func (m *SlashableVoteData) XXX_Size() int
func (*SlashableVoteData) XXX_Unmarshal ¶
func (m *SlashableVoteData) XXX_Unmarshal(b []byte) error
type SlotAndShardAssignment ¶
type SlotAndShardAssignment struct { ShardID uint32 `protobuf:"varint,1,opt,name=ShardID,proto3" json:"ShardID,omitempty"` Slot uint64 `protobuf:"varint,2,opt,name=Slot,proto3" json:"Slot,omitempty"` Role Role `protobuf:"varint,3,opt,name=Role,proto3,enum=pb.Role" json:"Role,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SlotAndShardAssignment) Descriptor ¶
func (*SlotAndShardAssignment) Descriptor() ([]byte, []int)
func (*SlotAndShardAssignment) GetRole ¶
func (m *SlotAndShardAssignment) GetRole() Role
func (*SlotAndShardAssignment) GetShardID ¶
func (m *SlotAndShardAssignment) GetShardID() uint32
func (*SlotAndShardAssignment) GetSlot ¶
func (m *SlotAndShardAssignment) GetSlot() uint64
func (*SlotAndShardAssignment) ProtoMessage ¶
func (*SlotAndShardAssignment) ProtoMessage()
func (*SlotAndShardAssignment) Reset ¶
func (m *SlotAndShardAssignment) Reset()
func (*SlotAndShardAssignment) String ¶
func (m *SlotAndShardAssignment) String() string
func (*SlotAndShardAssignment) XXX_DiscardUnknown ¶
func (m *SlotAndShardAssignment) XXX_DiscardUnknown()
func (*SlotAndShardAssignment) XXX_Marshal ¶
func (m *SlotAndShardAssignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SlotAndShardAssignment) XXX_Merge ¶
func (dst *SlotAndShardAssignment) XXX_Merge(src proto.Message)
func (*SlotAndShardAssignment) XXX_Size ¶
func (m *SlotAndShardAssignment) XXX_Size() int
func (*SlotAndShardAssignment) XXX_Unmarshal ¶
func (m *SlotAndShardAssignment) XXX_Unmarshal(b []byte) error
type SlotInformation ¶
type SlotInformation struct { Slot int64 `protobuf:"varint,1,opt,name=Slot,proto3" json:"Slot,omitempty"` Committees []*ShardCommittee `protobuf:"bytes,2,rep,name=Committees,proto3" json:"Committees,omitempty"` ProposeAt uint64 `protobuf:"varint,3,opt,name=ProposeAt,proto3" json:"ProposeAt,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SlotInformation) Descriptor ¶
func (*SlotInformation) Descriptor() ([]byte, []int)
func (*SlotInformation) GetCommittees ¶
func (m *SlotInformation) GetCommittees() []*ShardCommittee
func (*SlotInformation) GetProposeAt ¶
func (m *SlotInformation) GetProposeAt() uint64
func (*SlotInformation) GetSlot ¶
func (m *SlotInformation) GetSlot() int64
func (*SlotInformation) ProtoMessage ¶
func (*SlotInformation) ProtoMessage()
func (*SlotInformation) Reset ¶
func (m *SlotInformation) Reset()
func (*SlotInformation) String ¶
func (m *SlotInformation) String() string
func (*SlotInformation) XXX_DiscardUnknown ¶
func (m *SlotInformation) XXX_DiscardUnknown()
func (*SlotInformation) XXX_Marshal ¶
func (m *SlotInformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SlotInformation) XXX_Merge ¶
func (dst *SlotInformation) XXX_Merge(src proto.Message)
func (*SlotInformation) XXX_Size ¶
func (m *SlotInformation) XXX_Size() int
func (*SlotInformation) XXX_Unmarshal ¶
func (m *SlotInformation) XXX_Unmarshal(b []byte) error
type SlotNumberResponse ¶
type SlotNumberResponse struct { SlotNumber uint64 `protobuf:"varint,1,opt,name=SlotNumber,proto3" json:"SlotNumber,omitempty"` BlockHash []byte `protobuf:"bytes,2,opt,name=BlockHash,proto3" json:"BlockHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SlotNumberResponse) Descriptor ¶
func (*SlotNumberResponse) Descriptor() ([]byte, []int)
func (*SlotNumberResponse) GetBlockHash ¶
func (m *SlotNumberResponse) GetBlockHash() []byte
func (*SlotNumberResponse) GetSlotNumber ¶
func (m *SlotNumberResponse) GetSlotNumber() uint64
func (*SlotNumberResponse) ProtoMessage ¶
func (*SlotNumberResponse) ProtoMessage()
func (*SlotNumberResponse) Reset ¶
func (m *SlotNumberResponse) Reset()
func (*SlotNumberResponse) String ¶
func (m *SlotNumberResponse) String() string
func (*SlotNumberResponse) XXX_DiscardUnknown ¶
func (m *SlotNumberResponse) XXX_DiscardUnknown()
func (*SlotNumberResponse) XXX_Marshal ¶
func (m *SlotNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SlotNumberResponse) XXX_Merge ¶
func (dst *SlotNumberResponse) XXX_Merge(src proto.Message)
func (*SlotNumberResponse) XXX_Size ¶
func (m *SlotNumberResponse) XXX_Size() int
func (*SlotNumberResponse) XXX_Unmarshal ¶
func (m *SlotNumberResponse) XXX_Unmarshal(b []byte) error
type State ¶
type State struct { Slot uint64 `protobuf:"varint,1,opt,name=Slot,proto3" json:"Slot,omitempty"` EpochIndex uint64 `protobuf:"varint,2,opt,name=EpochIndex,proto3" json:"EpochIndex,omitempty"` GenesisTime uint64 `protobuf:"varint,3,opt,name=GenesisTime,proto3" json:"GenesisTime,omitempty"` ForkData *ForkData `protobuf:"bytes,4,opt,name=ForkData,proto3" json:"ForkData,omitempty"` ValidatorRegistry []*Validator `protobuf:"bytes,5,rep,name=ValidatorRegistry,proto3" json:"ValidatorRegistry,omitempty"` ValidatorBalances []uint64 `protobuf:"varint,6,rep,packed,name=ValidatorBalances,proto3" json:"ValidatorBalances,omitempty"` ValidatorRegistryLatestChangeSlot uint64 `protobuf:"varint,7,opt,name=ValidatorRegistryLatestChangeSlot,proto3" json:"ValidatorRegistryLatestChangeSlot,omitempty"` ValidatorRegistryExitCount uint64 `protobuf:"varint,8,opt,name=ValidatorRegistryExitCount,proto3" json:"ValidatorRegistryExitCount,omitempty"` ValidatorRegistryDeltaChainTip []byte `protobuf:"bytes,9,opt,name=ValidatorRegistryDeltaChainTip,proto3" json:"ValidatorRegistryDeltaChainTip,omitempty"` RandaoMix []byte `protobuf:"bytes,10,opt,name=RandaoMix,proto3" json:"RandaoMix,omitempty"` NextSeed []byte `protobuf:"bytes,11,opt,name=NextSeed,proto3" json:"NextSeed,omitempty"` ShardCommittees []*ShardCommitteesForSlot `protobuf:"bytes,12,rep,name=ShardCommittees,proto3" json:"ShardCommittees,omitempty"` PreviousJustifiedSlot uint64 `protobuf:"varint,13,opt,name=PreviousJustifiedSlot,proto3" json:"PreviousJustifiedSlot,omitempty"` JustifiedSlot uint64 `protobuf:"varint,14,opt,name=JustifiedSlot,proto3" json:"JustifiedSlot,omitempty"` JustificationBitField uint64 `protobuf:"varint,15,opt,name=JustificationBitField,proto3" json:"JustificationBitField,omitempty"` FinalizedSlot uint64 `protobuf:"varint,16,opt,name=FinalizedSlot,proto3" json:"FinalizedSlot,omitempty"` LatestCrosslinks []*Crosslink `protobuf:"bytes,17,rep,name=LatestCrosslinks,proto3" json:"LatestCrosslinks,omitempty"` LatestBlockHashes [][]byte `protobuf:"bytes,18,rep,name=LatestBlockHashes,proto3" json:"LatestBlockHashes,omitempty"` LatestPenalizedExitBalances []uint64 `protobuf:"varint,19,rep,packed,name=LatestPenalizedExitBalances,proto3" json:"LatestPenalizedExitBalances,omitempty"` LatestAttestations []*PendingAttestation `protobuf:"bytes,20,rep,name=LatestAttestations,proto3" json:"LatestAttestations,omitempty"` BatchedBlockRoots [][]byte `protobuf:"bytes,21,rep,name=BatchedBlockRoots,proto3" json:"BatchedBlockRoots,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*State) Descriptor ¶
func (*State) GetBatchedBlockRoots ¶
func (*State) GetEpochIndex ¶
func (*State) GetFinalizedSlot ¶
func (*State) GetForkData ¶
func (*State) GetGenesisTime ¶
func (*State) GetJustificationBitField ¶
func (*State) GetJustifiedSlot ¶
func (*State) GetLatestAttestations ¶
func (m *State) GetLatestAttestations() []*PendingAttestation
func (*State) GetLatestBlockHashes ¶
func (*State) GetLatestCrosslinks ¶
func (*State) GetLatestPenalizedExitBalances ¶
func (*State) GetNextSeed ¶
func (*State) GetPreviousJustifiedSlot ¶
func (*State) GetRandaoMix ¶
func (*State) GetShardCommittees ¶
func (m *State) GetShardCommittees() []*ShardCommitteesForSlot
func (*State) GetValidatorBalances ¶
func (*State) GetValidatorRegistry ¶
func (*State) GetValidatorRegistryDeltaChainTip ¶
func (*State) GetValidatorRegistryExitCount ¶
func (*State) GetValidatorRegistryLatestChangeSlot ¶
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (*State) XXX_DiscardUnknown ¶
func (m *State) XXX_DiscardUnknown()
func (*State) XXX_Marshal ¶
func (*State) XXX_Unmarshal ¶
type SubmitBlockRequest ¶
type SubmitBlockRequest struct { Block *Block `protobuf:"bytes,1,opt,name=Block,proto3" json:"Block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubmitBlockRequest) Descriptor ¶
func (*SubmitBlockRequest) Descriptor() ([]byte, []int)
func (*SubmitBlockRequest) GetBlock ¶
func (m *SubmitBlockRequest) GetBlock() *Block
func (*SubmitBlockRequest) ProtoMessage ¶
func (*SubmitBlockRequest) ProtoMessage()
func (*SubmitBlockRequest) Reset ¶
func (m *SubmitBlockRequest) Reset()
func (*SubmitBlockRequest) String ¶
func (m *SubmitBlockRequest) String() string
func (*SubmitBlockRequest) XXX_DiscardUnknown ¶
func (m *SubmitBlockRequest) XXX_DiscardUnknown()
func (*SubmitBlockRequest) XXX_Marshal ¶
func (m *SubmitBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubmitBlockRequest) XXX_Merge ¶
func (dst *SubmitBlockRequest) XXX_Merge(src proto.Message)
func (*SubmitBlockRequest) XXX_Size ¶
func (m *SubmitBlockRequest) XXX_Size() int
func (*SubmitBlockRequest) XXX_Unmarshal ¶
func (m *SubmitBlockRequest) XXX_Unmarshal(b []byte) error
type SubmitBlockResponse ¶
type SubmitBlockResponse struct { BlockHash []byte `protobuf:"bytes,1,opt,name=BlockHash,proto3" json:"BlockHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubmitBlockResponse) Descriptor ¶
func (*SubmitBlockResponse) Descriptor() ([]byte, []int)
func (*SubmitBlockResponse) GetBlockHash ¶
func (m *SubmitBlockResponse) GetBlockHash() []byte
func (*SubmitBlockResponse) ProtoMessage ¶
func (*SubmitBlockResponse) ProtoMessage()
func (*SubmitBlockResponse) Reset ¶
func (m *SubmitBlockResponse) Reset()
func (*SubmitBlockResponse) String ¶
func (m *SubmitBlockResponse) String() string
func (*SubmitBlockResponse) XXX_DiscardUnknown ¶
func (m *SubmitBlockResponse) XXX_DiscardUnknown()
func (*SubmitBlockResponse) XXX_Marshal ¶
func (m *SubmitBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubmitBlockResponse) XXX_Merge ¶
func (dst *SubmitBlockResponse) XXX_Merge(src proto.Message)
func (*SubmitBlockResponse) XXX_Size ¶
func (m *SubmitBlockResponse) XXX_Size() int
func (*SubmitBlockResponse) XXX_Unmarshal ¶
func (m *SubmitBlockResponse) XXX_Unmarshal(b []byte) error
type Validator ¶
type Validator struct { Pubkey []byte `protobuf:"bytes,1,opt,name=Pubkey,proto3" json:"Pubkey,omitempty"` WithdrawalCredentials []byte `protobuf:"bytes,2,opt,name=WithdrawalCredentials,proto3" json:"WithdrawalCredentials,omitempty"` Status uint64 `protobuf:"varint,4,opt,name=Status,proto3" json:"Status,omitempty"` LatestStatusChangeSlot uint64 `protobuf:"varint,5,opt,name=LatestStatusChangeSlot,proto3" json:"LatestStatusChangeSlot,omitempty"` ExitCount uint64 `protobuf:"varint,6,opt,name=ExitCount,proto3" json:"ExitCount,omitempty"` LastPoCChangeSlot uint64 `protobuf:"varint,7,opt,name=LastPoCChangeSlot,proto3" json:"LastPoCChangeSlot,omitempty"` SecondLastPoCChangeSlot uint64 `protobuf:"varint,8,opt,name=SecondLastPoCChangeSlot,proto3" json:"SecondLastPoCChangeSlot,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Validator) Descriptor ¶
func (*Validator) GetExitCount ¶
func (*Validator) GetLastPoCChangeSlot ¶
func (*Validator) GetLatestStatusChangeSlot ¶
func (*Validator) GetSecondLastPoCChangeSlot ¶
func (*Validator) GetWithdrawalCredentials ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) XXX_DiscardUnknown ¶
func (m *Validator) XXX_DiscardUnknown()
func (*Validator) XXX_Marshal ¶
func (*Validator) XXX_Unmarshal ¶
type ValidatorRegistryDeltaBlock ¶
type ValidatorRegistryDeltaBlock struct { LatestRegistryDeltaRoot []byte `protobuf:"bytes,1,opt,name=LatestRegistryDeltaRoot,proto3" json:"LatestRegistryDeltaRoot,omitempty"` ValidatorIndex uint32 `protobuf:"varint,2,opt,name=ValidatorIndex,proto3" json:"ValidatorIndex,omitempty"` Pubkey []byte `protobuf:"bytes,3,opt,name=Pubkey,proto3" json:"Pubkey,omitempty"` Flag uint64 `protobuf:"varint,4,opt,name=Flag,proto3" json:"Flag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ValidatorRegistryDeltaBlock) Descriptor ¶
func (*ValidatorRegistryDeltaBlock) Descriptor() ([]byte, []int)
func (*ValidatorRegistryDeltaBlock) GetFlag ¶
func (m *ValidatorRegistryDeltaBlock) GetFlag() uint64
func (*ValidatorRegistryDeltaBlock) GetLatestRegistryDeltaRoot ¶
func (m *ValidatorRegistryDeltaBlock) GetLatestRegistryDeltaRoot() []byte
func (*ValidatorRegistryDeltaBlock) GetPubkey ¶
func (m *ValidatorRegistryDeltaBlock) GetPubkey() []byte
func (*ValidatorRegistryDeltaBlock) GetValidatorIndex ¶
func (m *ValidatorRegistryDeltaBlock) GetValidatorIndex() uint32
func (*ValidatorRegistryDeltaBlock) ProtoMessage ¶
func (*ValidatorRegistryDeltaBlock) ProtoMessage()
func (*ValidatorRegistryDeltaBlock) Reset ¶
func (m *ValidatorRegistryDeltaBlock) Reset()
func (*ValidatorRegistryDeltaBlock) String ¶
func (m *ValidatorRegistryDeltaBlock) String() string
func (*ValidatorRegistryDeltaBlock) XXX_DiscardUnknown ¶
func (m *ValidatorRegistryDeltaBlock) XXX_DiscardUnknown()
func (*ValidatorRegistryDeltaBlock) XXX_Marshal ¶
func (m *ValidatorRegistryDeltaBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorRegistryDeltaBlock) XXX_Merge ¶
func (dst *ValidatorRegistryDeltaBlock) XXX_Merge(src proto.Message)
func (*ValidatorRegistryDeltaBlock) XXX_Size ¶
func (m *ValidatorRegistryDeltaBlock) XXX_Size() int
func (*ValidatorRegistryDeltaBlock) XXX_Unmarshal ¶
func (m *ValidatorRegistryDeltaBlock) XXX_Unmarshal(b []byte) error
type VersionMessage ¶
type VersionMessage struct { Version uint64 `protobuf:"varint,1,opt,name=Version,proto3" json:"Version,omitempty"` PeerID []byte `protobuf:"bytes,2,opt,name=PeerID,proto3" json:"PeerID,omitempty"` PeerInfo []byte `protobuf:"bytes,3,opt,name=PeerInfo,proto3" json:"PeerInfo,omitempty"` GenesisHash []byte `protobuf:"bytes,4,opt,name=GenesisHash,proto3" json:"GenesisHash,omitempty"` Height uint64 `protobuf:"varint,5,opt,name=Height,proto3" json:"Height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VersionMessage) Descriptor ¶
func (*VersionMessage) Descriptor() ([]byte, []int)
func (*VersionMessage) GetGenesisHash ¶ added in v0.2.4
func (m *VersionMessage) GetGenesisHash() []byte
func (*VersionMessage) GetHeight ¶ added in v0.2.4
func (m *VersionMessage) GetHeight() uint64
func (*VersionMessage) GetPeerID ¶
func (m *VersionMessage) GetPeerID() []byte
func (*VersionMessage) GetPeerInfo ¶ added in v0.2.0
func (m *VersionMessage) GetPeerInfo() []byte
func (*VersionMessage) GetVersion ¶
func (m *VersionMessage) GetVersion() uint64
func (*VersionMessage) ProtoMessage ¶
func (*VersionMessage) ProtoMessage()
func (*VersionMessage) Reset ¶
func (m *VersionMessage) Reset()
func (*VersionMessage) String ¶
func (m *VersionMessage) String() string
func (*VersionMessage) XXX_DiscardUnknown ¶
func (m *VersionMessage) XXX_DiscardUnknown()
func (*VersionMessage) XXX_Marshal ¶
func (m *VersionMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VersionMessage) XXX_Merge ¶
func (dst *VersionMessage) XXX_Merge(src proto.Message)
func (*VersionMessage) XXX_Size ¶
func (m *VersionMessage) XXX_Size() int
func (*VersionMessage) XXX_Unmarshal ¶
func (m *VersionMessage) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.