NEM
$0.09537 2.54%
XEM · 1w

We’re moving closer to the next big release. Today Bison got finalized. Thank you devs!

@@ -81,7 +81,7 @@ namespace catapult { namespace filechain { static constexpr auto Log_Interval_Millis = 2'000; public: explicit AnalyzeProgressLogger(const utils::StackLogger& stopwatch) : m_stopwatch(stopwatch), m_numLogs(0) explicit AnalyzeProgressLogger(const utils::StackTimer& stopwatch) : m_stopwatch(stopwatch), m_numLogs(0) {} public: @@ -95,7 +95,7 @@ namespace catapult { namespace filechain { } private: const utils::StackLogger& m_stopwatch; const utils::StackTimer& m_stopwatch; size_t m_numLogs; }; } @@ -122,29 +122,36 @@ namespace catapult { namespace filechain { auto pParentBlockElement = storage.loadBlockElement(height - Height(1)); model::ChainScore score; Hash256 stateHash; auto chainHeight = storage.chainHeight(); while (chainHeight >= height) { auto pBlockElement = storage.loadBlockElement(height); score += model::ChainScore(chain::CalculateScore(pParentBlockElement->Block, pBlockElement->Block)); execute(*pBlockElement); stateHash = execute(*pBlockElement); notifyProgress(height, chainHeight); ...
Continue on github.com
Recent news
No posts found