Skip to content

Commit

Permalink
Log genesis info
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Dec 21, 2024
1 parent 2120655 commit 64ef214
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nano/node/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,10 +339,12 @@ nano::node::node (std::shared_ptr<boost::asio::io_context> io_ctx_a, std::filesy
logger.info (nano::log::type::node, "Work peers: {}", config.work_peers.size ());
logger.info (nano::log::type::node, "Node ID: {}", node_id.pub.to_node_id ());
logger.info (nano::log::type::node, "Number of buckets: {}", bucketing.size ());
logger.info (nano::log::type::node, "Genesis block: {}", config.network_params.ledger.genesis->hash ().to_string ());
logger.info (nano::log::type::node, "Genesis account: {}", config.network_params.ledger.genesis->account ().to_account ());

if (!work_generation_enabled ())
{
logger.info (nano::log::type::node, "Work generation is disabled");
logger.warn (nano::log::type::node, "Work generation is disabled");
}

logger.info (nano::log::type::node, "Outbound bandwidth limit: {} bytes/s, burst ratio: {}",
Expand Down

0 comments on commit 64ef214

Please sign in to comment.