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
Name | Description |
---|---|
IBlockStorage
|
Define the storage for blocks |
Classes
Name | Description |
---|---|
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
Name | Type | Description |
---|---|---|
ChecksumSize
|
immutable(ulong)
|
The CRC32 checksum size |