When you want to experiment with different consensus engines out there and wanna learn how it works. Start with the classics. WIP
To understand how link a POW consensus engine to a service client.
- Launching a POW chain.
- Upgrading a chain from Authority based to POW based.
The basic-pow node demonstrates how to wire up a custom consensus engine into the Substrate Service. It uses a minimal proof of work consensus engine to reach agreement over the blockchain. This guide will teach us many useful aspects of dealing with consensus and prepare us to understand more advanced consensus engines in the future.
1. Make a function that defines a full node using
See the Rust docs on to configure the
3. Define the
new_full function, define
Let the task manager spawn it:
The construction of the light client service is quite similar to the construction of a
- Basic POW node
- Knowledgebase article on inherents