Documentation ¶
Index ¶
- Constants
- func CopyHeader(h *eth1Types.Header) *eth1Types.Header
- type BlockStatus
- type BlsSignatureBytes
- type ExtraData
- type MinimalEpochConsensusInfo
- type MinimalEpochConsensusInfoV2
- type PanExtraDataWithBLSSig
- type PandoraHeaderInfo
- type PandoraPendingHeaderFilter
- type Reorg
- type ShutDownSignal
- type SlotInfo
- type SlotInfoWithStatus
- type Status
- type VanguardShardInfo
Constants ¶
View Source
const BLSSignatureSize = 96
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BlockStatus ¶ added in v0.7.0
type BlsSignatureBytes ¶ added in v0.7.0
type BlsSignatureBytes [BLSSignatureSize]byte
func BytesToSig ¶ added in v0.7.0
func BytesToSig(b []byte) BlsSignatureBytes
func (BlsSignatureBytes) Bytes ¶ added in v0.7.0
func (h BlsSignatureBytes) Bytes() []byte
Bytes gets the byte representation of the underlying hash.
func (*BlsSignatureBytes) SetBytes ¶ added in v0.7.0
func (bls *BlsSignatureBytes) SetBytes(b []byte)
type MinimalEpochConsensusInfo ¶
type MinimalEpochConsensusInfo struct { Epoch uint64 `json:"epoch"` ValidatorList []string `json:"validatorList"` EpochStartTime uint64 `json:"epochTimeStart"` SlotTimeDuration time.Duration `json:"slotTimeDuration"` }
func (*MinimalEpochConsensusInfo) ConvertToEpochInfoV2 ¶ added in v0.7.0
func (info *MinimalEpochConsensusInfo) ConvertToEpochInfoV2() *MinimalEpochConsensusInfoV2
type MinimalEpochConsensusInfoV2 ¶ added in v0.7.0
type MinimalEpochConsensusInfoV2 struct { Epoch uint64 `json:"epoch"` ValidatorList []string `json:"validatorList"` EpochStartTime uint64 `json:"epochTimeStart"` SlotTimeDuration time.Duration `json:"slotTimeDuration"` ReorgInfo *Reorg `json:"reorg_info"` FinalizedSlot uint64 `json:"finalizedSlot"` }
func (*MinimalEpochConsensusInfoV2) ConvertToEpochInfo ¶ added in v0.7.0
func (info *MinimalEpochConsensusInfoV2) ConvertToEpochInfo() *MinimalEpochConsensusInfo
type PanExtraDataWithBLSSig ¶ added in v0.7.0
type PanExtraDataWithBLSSig struct { ExtraData BlsSignatureBytes BlsSignatureBytes }
PanExtraDataWithBLSSig
type PandoraHeaderInfo ¶ added in v0.7.0
PandoraHeaderInfo
type PandoraPendingHeaderFilter ¶ added in v0.7.0
PandoraPendingHeaderFilter
type ShutDownSignal ¶ added in v0.7.0
type ShutDownSignal struct {
Shutdown bool
}
type SlotInfoWithStatus ¶ added in v0.7.0
type SlotInfoWithStatus struct { VanguardBlockHash common.Hash PandoraHeaderHash common.Hash Status }
SlotInfo
type VanguardShardInfo ¶ added in v0.7.0
type VanguardShardInfo struct { Slot uint64 ShardInfo *eth2Types.PandoraShard BlockHash []byte FinalizedSlot uint64 FinalizedEpoch uint64 }
VanguardShardInfo
Click to show internal directories.
Click to hide internal directories.