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
 
std::filesystem::path archive_root
 
int chain_id = 1
 
bool ingestion_enabled = false
 
bool use_local_evm_source = false
 
evm::EVMlocal_evm = nullptr
 
std::string rpc_url
 
std::string registry_address
 
std::optional< std::int64_t > start_block = std::nullopt
 
unsigned int rpc_timeout_ms = 7000
 
unsigned int poll_interval_ms = 5000
 
unsigned int confirmations = 12
 
unsigned int block_batch_size = 500
 
std::size_t hot_window_days = 90
 
std::size_t reorg_window_blocks = 2048
 
std::int64_t outbox_retention_ms = 7LL * 24 * 60 * 60 * 1000
 
unsigned int projector_interval_ms = 200
 
unsigned int archive_interval_ms = 30 * 1000
 
unsigned int wal_checkpoint_interval_ms = 15 * 1000
 
std::string chain_namespace
 

Member Data Documentation

◆ archive_interval_ms

unsigned int dcn::events::EventRuntimeConfig::archive_interval_ms = 30 * 1000

◆ archive_root

std::filesystem::path dcn::events::EventRuntimeConfig::archive_root

◆ block_batch_size

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

◆ chain_id

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

◆ chain_namespace

std::string dcn::events::EventRuntimeConfig::chain_namespace

◆ confirmations

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

◆ hot_db_path

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

◆ hot_window_days

std::size_t dcn::events::EventRuntimeConfig::hot_window_days = 90

◆ ingestion_enabled

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

◆ local_evm

evm::EVM* dcn::events::EventRuntimeConfig::local_evm = nullptr

◆ outbox_retention_ms

std::int64_t dcn::events::EventRuntimeConfig::outbox_retention_ms = 7LL * 24 * 60 * 60 * 1000

◆ poll_interval_ms

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

◆ projector_interval_ms

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

◆ registry_address

std::string dcn::events::EventRuntimeConfig::registry_address

◆ reorg_window_blocks

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

◆ rpc_timeout_ms

unsigned int dcn::events::EventRuntimeConfig::rpc_timeout_ms = 7000

◆ rpc_url

std::string dcn::events::EventRuntimeConfig::rpc_url

◆ start_block

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

◆ use_local_evm_source

bool dcn::events::EventRuntimeConfig::use_local_evm_source = false

◆ 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: