@lodestar/beacon-node
Version:
A Typescript implementation of the beacon chain
30 lines • 1.88 kB
TypeScript
export declare enum Bucket {
allForks_stateArchive = 0,// Root -> phase0.BeaconState
allForks_block = 1,// Root -> phase0.SignedBeaconBlock
allForks_blockArchive = 2,// Slot -> phase0.SignedBeaconBlock
index_blockArchiveParentRootIndex = 3,// parent Root -> Slot
index_blockArchiveRootIndex = 4,// Root -> Slot
index_mainChain = 6,// Slot -> Root<BeaconBlock>
index_chainInfo = 7,// Key -> Number64 | stateHash | blockHash
phase0_eth1Data = 8,// timestamp -> Eth1Data
index_depositDataRoot = 9,// depositIndex -> Root<DepositData>
phase0_depositData = 12,// [DEPRECATED] index -> DepositData
phase0_exit = 13,// ValidatorIndex -> VoluntaryExit
phase0_proposerSlashing = 14,// ValidatorIndex -> ProposerSlashing
allForks_attesterSlashing = 15,// Root -> AttesterSlashing
capella_blsToExecutionChange = 16,// ValidatorIndex -> SignedBLSToExecutionChange
allForks_checkpointState = 17,// Root -> BeaconState
phase0_depositEvent = 19,// depositIndex -> DepositEvent
index_stateArchiveRootIndex = 26,// State Root -> slot
allForks_blobSidecars = 27,// DENEB BeaconBlockRoot -> BlobSidecars
allForks_blobSidecarsArchive = 28,// DENEB BeaconBlockSlot -> BlobSidecars
phase0_preGenesisState = 30,// Single = phase0.BeaconState
phase0_preGenesisStateLastProcessedBlock = 31,// Single = Uint8
backfilled_ranges = 42,// Backfilled From to To, inclusive of both From, To
lightClient_syncCommitteeWitness = 51,// BlockRoot -> SyncCommitteeWitness
lightClient_syncCommittee = 52,// Root(altair.SyncCommittee) -> altair.SyncCommittee
lightClient_checkpointHeader = 53,// BlockRoot -> phase0.BeaconBlockHeader
lightClient_bestLightClientUpdate = 56
}
export declare function getBucketNameByValue<T extends Bucket>(enumValue: T): keyof typeof Bucket;
//# sourceMappingURL=buckets.d.ts.map