Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::chain::kv_database_config Struct Reference

limits for a kv database. More...

#include <kv_config.hpp>

Public Attributes

std::uint32_t max_key_size = 0
 the maximum size in bytes of a key
 
std::uint32_t max_value_size = 0
 the maximum size in bytes of a value
 
std::uint32_t max_iterators = 0
 the maximum number of iterators that a contract can have simultaneously.
 

Detailed Description

Each database (ram or disk, currently) has its own limits for these parameters. The key and value limits apply when adding or modifying elements. They may be reduced below existing database entries.

Definition at line 15 of file kv_config.hpp.

Member Data Documentation

◆ max_iterators

std::uint32_t sysio::chain::kv_database_config::max_iterators = 0

Definition at line 18 of file kv_config.hpp.

◆ max_key_size

std::uint32_t sysio::chain::kv_database_config::max_key_size = 0

Definition at line 16 of file kv_config.hpp.

◆ max_value_size

std::uint32_t sysio::chain::kv_database_config::max_value_size = 0

Definition at line 17 of file kv_config.hpp.


The documentation for this struct was generated from the following file: