ledger-core
Static Public Attributes | List of all members
ledger::core::api::Configuration Class Reference

#include <Configuration.hpp>

Static Public Attributes

static std::string const KEYCHAIN_ENGINE = {"KEYCHAIN_ENGINE"}
 
static std::string const KEYCHAIN_DERIVATION_SCHEME = {"KEYCHAIN_DERIVATION_SCHEME"}
 
static std::string const KEYCHAIN_OBSERVABLE_RANGE = {"KEYCHAIN_OBSERVABLE_RANGE"}
 
static std::string const BLOCKCHAIN_EXPLORER_ENGINE = {"BLOCKCHAIN_EXPLORER_ENGINE"}
 
static std::string const BLOCKCHAIN_EXPLORER_API_ENDPOINT = {"BLOCKCHAIN_EXPLORER_API_ENDPOINT"}
 
static std::string const BLOCKCHAIN_EXPLORER_VERSION = {"BLOCKCHAIN_EXPLORER_VERSION"}
 
static std::string const BLOCKCHAIN_EXPLORER_PORT = {"BLOCKCHAIN_EXPLORER_PORT"}
 
static std::string const BLOCKCHAIN_OBSERVER_ENGINE = {"BLOCKCHAIN_OBSERVER_ENGINE"}
 
static std::string const BLOCKCHAIN_OBSERVER_WS_ENDPOINT = {"BLOCKCHAIN_OBSERVER_WS_ENDPOINT"}
 
static std::string const SYNCHRONIZATION_ENGINE = {"SYNCHRONIZATION_ENGINE"}
 
static std::string const SYNCHRONIZATION_HALF_BATCH_SIZE = {"SYNCHRONIZATION_HALF_BATCH_SIZE"}
 
static std::string const TRUST_LIMIT = {"TRUST_LIMIT"}
 
static std::string const TTL_CACHE = {"TTL_CACHE"}
 

Detailed Description

Overall configuration.

Member Data Documentation

◆ BLOCKCHAIN_EXPLORER_API_ENDPOINT

std::string const ledger::core::api::Configuration::BLOCKCHAIN_EXPLORER_API_ENDPOINT = {"BLOCKCHAIN_EXPLORER_API_ENDPOINT"}
static

Sets the API endpoint for API based engine (Ledger's API).

◆ BLOCKCHAIN_EXPLORER_ENGINE

std::string const ledger::core::api::Configuration::BLOCKCHAIN_EXPLORER_ENGINE = {"BLOCKCHAIN_EXPLORER_ENGINE"}
static

Selects the blockchain explorer engine (Ledger's API, Electrum server, RPC):

◆ BLOCKCHAIN_EXPLORER_PORT

std::string const ledger::core::api::Configuration::BLOCKCHAIN_EXPLORER_PORT = {"BLOCKCHAIN_EXPLORER_PORT"}
static

Sets the API port (e.g. for XRP it is 51234)

◆ BLOCKCHAIN_EXPLORER_VERSION

std::string const ledger::core::api::Configuration::BLOCKCHAIN_EXPLORER_VERSION = {"BLOCKCHAIN_EXPLORER_VERSION"}
static

Sets the API version.

◆ BLOCKCHAIN_OBSERVER_ENGINE

std::string const ledger::core::api::Configuration::BLOCKCHAIN_OBSERVER_ENGINE = {"BLOCKCHAIN_OBSERVER_ENGINE"}
static

Selects the blockchain observer engine (Ledger's API)

◆ BLOCKCHAIN_OBSERVER_WS_ENDPOINT

std::string const ledger::core::api::Configuration::BLOCKCHAIN_OBSERVER_WS_ENDPOINT = {"BLOCKCHAIN_OBSERVER_WS_ENDPOINT"}
static

Selects the blockchain observer engine (Ledger's API; Websocket version).

◆ KEYCHAIN_DERIVATION_SCHEME

std::string const ledger::core::api::Configuration::KEYCHAIN_DERIVATION_SCHEME = {"KEYCHAIN_DERIVATION_SCHEME"}
static

Sets the derivation scheme for the KEYCHAIN (defaults 44'/<coin_type>'/<account>'/<node>/<address>).

◆ KEYCHAIN_ENGINE

std::string const ledger::core::api::Configuration::KEYCHAIN_ENGINE = {"KEYCHAIN_ENGINE"}
static

Selects the keychain engine (P2PKH, P2SH...).

◆ KEYCHAIN_OBSERVABLE_RANGE

std::string const ledger::core::api::Configuration::KEYCHAIN_OBSERVABLE_RANGE = {"KEYCHAIN_OBSERVABLE_RANGE"}
static

Sets the observable range for HD keychains (BIP32 based).

◆ SYNCHRONIZATION_ENGINE

std::string const ledger::core::api::Configuration::SYNCHRONIZATION_ENGINE = {"SYNCHRONIZATION_ENGINE"}
static

Selects the synchronization engine.

◆ SYNCHRONIZATION_HALF_BATCH_SIZE

std::string const ledger::core::api::Configuration::SYNCHRONIZATION_HALF_BATCH_SIZE = {"SYNCHRONIZATION_HALF_BATCH_SIZE"}
static

Sets the half batch size (default: 20).

◆ TRUST_LIMIT

std::string const ledger::core::api::Configuration::TRUST_LIMIT = {"TRUST_LIMIT"}
static

Operation trust.

◆ TTL_CACHE

std::string const ledger::core::api::Configuration::TTL_CACHE = {"TTL_CACHE"}
static

Time to Live for block cache


The documentation for this class was generated from the following files: