Skip to content

Commit

Permalink
ledger: log initialization time
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyuan129 committed Sep 20, 2022
1 parent cab238d commit aa1f708
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ledger-module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ LedgerModule::LedgerModule(ndn::Face& face, ndn::KeyChain& keyChain, const std::
registerPrefix();

Name topic = Name(m_config.ledgerPrefix).append("LEDGER").append("append");
NDN_LOG_INFO("Start initialization...");

// initiliaze CA facing prefixes
m_appendCt = std::make_unique<append::Ledger>(
Expand All @@ -52,7 +53,7 @@ LedgerModule::LedgerModule(ndn::Face& face, ndn::KeyChain& keyChain, const std::
m_storage->addBlock(statesTracker.listName, dag::encodeEdgeStateList(statesTracker));
}
catch (const std::runtime_error& e){
NDN_LOG_WARN("read from an existing global tracker");
NDN_LOG_WARN("Read from an existing global tracker");
}

// initialize sync module
Expand Down

0 comments on commit aa1f708

Please sign in to comment.