Skip to main content

Shard structure

Definition​

IndexerShard struct is ephemeral structure, there is no such entity in nearcore. We've introduces it as a container in near-indexer-primitives. This container includes:

IndexerShard​

pub struct IndexerShard {
pub shard_id: types::ShardId,
pub chunk: Option<IndexerChunkView>,
pub receipt_execution_outcomes: Vec<IndexerExecutionOutcomeWithReceipt>,
pub state_changes: views::StateChangesView,
}
Was this page helpful?