Substrate Node - log output

From ChatGPT

This is an explanation of the log output from a Substrate Node, which is a part of the Substrate blockchain framework. Substrate is developed by Parity Technologies and is used to build custom blockchains. Let's break down the key information from the log:

  1. Version Information:

    • ✌️ version 4.0.0-dev-1039f4427fd: Indicates that the Substrate Node is running version 4.0.0 in development. The commit hash 1039f4427fd represents the specific commit in the codebase.

  2. Chain Specification:

    • 📋 Chain specification: Vivaldi Custom Testnet 230124 v1.0: Specifies the chain configuration. In this case, it's a custom testnet named "Vivaldi" with a version number.

  3. Node Information:

    • 🏷 Node name: MyNode01: The name of the node is "MyNode01."

    • 👤 Role: AUTHORITY: Indicates that this node has the role of an authority, suggesting that it might be part of the block production process.

  4. Database Information:

    • 💾 Database: RocksDb at /tmp/node01/chains/local_testnet/db/full: Specifies that the RocksDB database is being used for storage, and the data is stored in the specified directory.

  5. Genesis Block Initialization:

    • 🔨 Initializing Genesis block/state: The node is initializing the blockchain with the genesis block and state.

  6. Protocol and Identity Information:

    • Using default protocol ID "sup" because none is configured in the chain specs: The default protocol ID is "sup."

    • 🏷 Local node identity is: 12D3KooWHWrGRTRUDby2e13CQp7ijCPBUAeXZpZSx3uqEkf9CM3W: The identity of the local node is represented by the given cryptographic key.

  7. System and Hardware Information:

    • Information about the operating system, CPU architecture, target environment, CPU details, cores, memory, kernel version, Linux distribution, and whether it's running on a virtual machine.

  8. Blockchain Status:

    • 📦 Highest known block at #0: The blockchain is at block height 0.

    • 💤 Idle (0 peers), best: #0 (0x449e…be1a), finalized #0 (0x449e…be1a), ⬇ 0 ⬆ 0: Indicates that the node is currently idle with no peers, and the best known block is at height 0.

  9. JSON-RPC Server and Prometheus Exporter:

    • Running JSON-RPC server: addr=0.0.0.0:9945, allowed origins=["*"]: The node is running a JSON-RPC server on the specified address and allowing requests from all origins.

    • 〽️ Prometheus exporter started at 127.0.0.1:9615: Prometheus exporter is started at the specified address for monitoring.

  10. Timestamps:

    • Each line begins with a timestamp indicating when the log entry occurred.

This log provides a snapshot of the Substrate Node's initialization, configuration, and current status. It's useful for monitoring the node's behavior, connectivity, and blockchain synchronization progress.

Last updated