Skip to content

DevConfig

Runtime configuration values used to bootstrap a Genius node instance.

#include <GeniusNode.hpp>

Public Attributes

Name
std::string Addr
Developer payout address.
std::string Cut
Developer or peer cut encoded as a string.
std::string TokenValueInGNUS
Conversion rate used for child-token.
sgns::TokenID TokenID
Child token identifier configured for this node.
std::string BaseWritePath
Base directory for node databases, logs, and account storage.
std::function< std::optional< std::string >()> ChainlistFetcher
Optional custom chainlist fetcher (test injection point).

Public Attributes Documentation

variable Addr

std::string Addr;

Developer payout address.

variable Cut

std::string Cut;

Developer or peer cut encoded as a string.

variable TokenValueInGNUS

std::string TokenValueInGNUS;

Conversion rate used for child-token.

variable TokenID

sgns::TokenID TokenID;

Child token identifier configured for this node.

variable BaseWritePath

std::string BaseWritePath;

Base directory for node databases, logs, and account storage.

variable ChainlistFetcher

std::function< std::optional< std::string >()> ChainlistFetcher = nullptr;

Optional custom chainlist fetcher (test injection point).


Updated on 2026-07-12 at 22:42:53 -0700