Skip to content

Kura Parameters

TODO: Explain Kura module

kura.block_store_path

  • Type: String
  • Default: ./storage

Path to the existing block store folder or path to create new folder.

Example:

toml
[kura]
block_store_path = "./storage"

TODO: will the path be resolved relative to the config file location, or to CWD? the former is more intuitive

kura.blocks_per_store_file

  • Type: non-zero u64
  • Default: 1 0001\ 000

Maximum number of blocks to write into a single storage file.

Example:

toml
[kura]
blocks_per_store_file = 1_000

kura.init_mode

  • Type: String
  • Possible Values:
    • strict: strict validation of all blocks
    • fast: fast initialization with basic checks
  • Default: strict

Example:

toml
[kura]
init_mode = "strict"

TODO: can we change this parameter and restart peer?