Enum near_store::db::DBCol[][src]

pub enum DBCol {
    ColDbVersion,
    ColBlockMisc,
    ColBlock,
    ColBlockHeader,
    ColBlockHeight,
    ColState,
    ColChunkExtra,
    ColTransactionResult,
    ColOutgoingReceipts,
    ColIncomingReceipts,
    ColPeers,
    ColEpochInfo,
    ColBlockInfo,
    ColChunks,
    ColPartialChunks,
    ColBlocksToCatchup,
    ColStateDlInfos,
    ColChallengedBlocks,
    ColStateHeaders,
    ColInvalidChunks,
    ColBlockExtra,
    ColBlockPerHeight,
    ColStateParts,
    ColEpochStart,
    ColAccountAnnouncements,
    ColNextBlockHashes,
    ColEpochLightClientBlocks,
    ColReceiptIdToShardId,
    ColNextBlockWithNewChunk,
    ColLastBlockWithNewChunk,
    ColPeerComponent,
    ColComponentEdges,
    ColLastComponentNonce,
    ColTransactions,
    ColChunkPerHeightShard,
    ColStateChanges,
    ColBlockRefCount,
    ColTrieChanges,
    ColBlockMerkleTree,
    ColChunkHashesByHeight,
    ColBlockOrdinal,
    ColGCCount,
    ColOutcomeIds,
    _ColTransactionRefCount,
    ColProcessedBlockHeights,
    ColReceipts,
    ColCachedContractCode,
    ColEpochValidatorInfo,
    ColHeaderHashesByHeight,
}

Variants

ColDbVersion

Column to indicate which version of database this is.

ColBlockMisc
ColBlock
ColBlockHeader
ColBlockHeight
ColState
ColChunkExtra
ColTransactionResult
ColOutgoingReceipts
ColIncomingReceipts
ColPeers
ColEpochInfo
ColBlockInfo
ColChunks
ColPartialChunks
ColBlocksToCatchup

Blocks for which chunks need to be applied after the state is downloaded for a particular epoch

ColStateDlInfos

Blocks for which the state is being downloaded

ColChallengedBlocks
ColStateHeaders
ColInvalidChunks
ColBlockExtra
ColBlockPerHeight

Store hash of a block per each height, to detect double signs.

ColStateParts
ColEpochStart
ColAccountAnnouncements

Map account_id to announce_account

ColNextBlockHashes

Next block hashes in the sequence of the canonical chain blocks

ColEpochLightClientBlocks

LightClientBlocks corresponding to the last final block of each completed epoch

ColReceiptIdToShardId
ColNextBlockWithNewChunk
ColLastBlockWithNewChunk
ColPeerComponent

Map each saved peer on disk with its component id.

ColComponentEdges

Map component id with all edges in this component.

ColLastComponentNonce

Biggest nonce used.

ColTransactions

Transactions

ColChunkPerHeightShard
ColStateChanges

Changes to key-values that we have recorded.

ColBlockRefCount
ColTrieChanges
ColBlockMerkleTree

Merkle tree of block hashes

ColChunkHashesByHeight
ColBlockOrdinal

Block ordinals.

ColGCCount

GC Count for each column

ColOutcomeIds

All Outcome ids by block hash and shard id. For each shard it is ordered by execution order.

_ColTransactionRefCount

Deprecated

ColProcessedBlockHeights

Heights of blocks that have been processed

ColReceipts

Receipts

ColCachedContractCode

Precompiled machine code of the contract

ColEpochValidatorInfo

Epoch validator information used for rpc purposes

ColHeaderHashesByHeight

Header Hashes indexed by Height

Implementations

impl DBCol[src]

pub fn is_rc(&self) -> bool[src]

Trait Implementations

impl BorshDeserialize for DBCol[src]

impl BorshSerialize for DBCol[src]

impl Clone for DBCol[src]

impl Copy for DBCol[src]

impl Debug for DBCol[src]

impl Display for DBCol[src]

impl Eq for DBCol[src]

impl Hash for DBCol[src]

impl IntoEnumIterator for DBCol[src]

type Iterator = DBColIter

impl PartialEq<DBCol> for DBCol[src]

impl StructuralEq for DBCol[src]

impl StructuralPartialEq for DBCol[src]

Auto Trait Implementations

impl RefUnwindSafe for DBCol

impl Send for DBCol

impl Sync for DBCol

impl Unpin for DBCol

impl UnwindSafe for DBCol

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,