Decentralised Art Server
High-performance C++ backend that exposes HTML interface and a secure REST API for managing Performative Transactions entities
Loading...
Searching...
No Matches
dcn::events::EventRuntimeConfig Struct Reference

#include <events_runtime.hpp>

Public Attributes

std::filesystem::path hot_db_path
int chain_id = 1
bool ingestion_enabled = false
std::vector< std::shared_ptr< IEmittedLogSource > > sources
std::optional< std::int64_t > start_block = std::nullopt
unsigned int poll_interval_ms = 5000
unsigned int confirmations = 12
unsigned int block_batch_size = 500
std::size_t reorg_window_blocks = 2048
unsigned int projector_interval_ms = 200
unsigned int prune_interval_ms = 5000
unsigned int wal_checkpoint_interval_ms = 15 * 1000

Member Data Documentation

◆ block_batch_size

unsigned int dcn::events::EventRuntimeConfig::block_batch_size = 500

◆ chain_id

int dcn::events::EventRuntimeConfig::chain_id = 1

◆ confirmations

unsigned int dcn::events::EventRuntimeConfig::confirmations = 12

◆ hot_db_path

std::filesystem::path dcn::events::EventRuntimeConfig::hot_db_path

◆ ingestion_enabled

bool dcn::events::EventRuntimeConfig::ingestion_enabled = false

◆ poll_interval_ms

unsigned int dcn::events::EventRuntimeConfig::poll_interval_ms = 5000

◆ projector_interval_ms

unsigned int dcn::events::EventRuntimeConfig::projector_interval_ms = 200

◆ prune_interval_ms

unsigned int dcn::events::EventRuntimeConfig::prune_interval_ms = 5000

◆ reorg_window_blocks

std::size_t dcn::events::EventRuntimeConfig::reorg_window_blocks = 2048

◆ sources

std::vector<std::shared_ptr<IEmittedLogSource> > dcn::events::EventRuntimeConfig::sources

◆ start_block

std::optional<std::int64_t> dcn::events::EventRuntimeConfig::start_block = std::nullopt

◆ wal_checkpoint_interval_ms

unsigned int dcn::events::EventRuntimeConfig::wal_checkpoint_interval_ms = 15 * 1000

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