Module agora.consensus.BlockStorage

Define the storage for blocks

The file is divided into multiple parts. The number of blocks in a file is fixed.

Interfaces

NameDescription
IBlockStorage Define the storage for blocks

Classes

NameDescription
BlockStorage Defines storage for Blocks using memory map file The file is divided into multiple parts.
MemBlockStorage Define the memory storage for blocks

Global variables

NameTypeDescription
ChecksumSize immutable(ulong) The CRC32 checksum size