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

#include <SynchronizerEngines.hpp>

Static Public Attributes

static std::string const BLOCKCHAIN_EXPLORER = {"BLOCKCHAIN_EXPLORER"}
 
static std::string const SPV = {"SPV"}
 

Detailed Description

Class of constants representing the engines to rely on for synchronization.

Member Data Documentation

◆ BLOCKCHAIN_EXPLORER

std::string const ledger::core::api::SynchronizerEngines::BLOCKCHAIN_EXPLORER = {"BLOCKCHAIN_EXPLORER"}
static

String, rely on blockchain explorers to synchronize, For example to consider a transaction valid, it should, first, be included in a block, then spent UTXOs by this transaction, should be 'valid' through the whole blockchain.

◆ SPV

std::string const ledger::core::api::SynchronizerEngines::SPV = {"SPV"}
static

String, rely on Simplified Payment Verification (SPV or light client) to verify transactions, To be valid, a transaction only needs to be included in a block (no need for a check through whole blockchain)


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