Multinode Configuration
Last updated
Last updated
Multinode configuration is an advanced feature designed for specific scenarios that require multiple consensus nodes. This configuration demands higher resources and involves more complexity, making it suitable primarily for testing and development environments. Before attempting to use the multinode setup, it's crucial to ensure that the local node operates correctly in the default single-node mode.
📣 Note: Creating a decentralized network where each node runs independently on its own machine is currently unsupported. Nonetheless, advanced networking and configuration capabilities are available, allowing nodes to communicate with each other similar to their interactions on the Hedera Mainnet.
To start Hedera Local Node in multinode mode, append the --multinode
flag to your start command. For example:
Verify the successful launch of multinode mode by inspecting Docker output of docker ps --format "table {{.Names}}" | grep network
or the Docker Desktop dashboard. You should identify four running nodes:
📣 Note: In multinode mode, you need at least three healthy nodes for operational network.
Individual nodes can be started or stopped to test consensus, synchronization, and node selection processes using npm
or docker
management commands:
Alternatively, run docker compose down -v; git clean -xfd; git reset --hard
to stop the local node and reset it to its original state.
The following diagram illustrates the architecture and flow of data in multinode mode.