CatapultServer  v0.5.0.1 (Elephant)
CompareChains.cpp File Reference
Include dependency graph for CompareChains.cpp:

Namespaces

 catapult
 
 catapult::chain
 

Functions

uint32_t catapult::chain::CalculateMaxHashesToAnalyze (const CompareChainsOptions &options)
 Returns max number of hashes to analyze. More...
 
thread::future< CompareChainsResult > catapult::chain::CompareChains (const api::ChainApi &local, const api::ChainApi &remote, const CompareChainsOptions &options)
 Compares two chains (local and remote) with the specified options. More...
 

Variable Documentation

◆ m_commonBlockHeight

Height m_commonBlockHeight
private

◆ m_comparisonFunctions

ComparisonFunction m_comparisonFunctions[Num_Comparison_Functions]
private

◆ m_local

const api::ChainApi& m_local
private

◆ m_localHeight

Height m_localHeight
private

◆ m_nextFunctionId

size_t m_nextFunctionId
private

◆ m_options

CompareChainsOptions m_options
private

◆ m_promise

thread::promise<CompareChainsResult> m_promise
private

◆ m_remote

const api::ChainApi& m_remote
private