I am currently working on a substrate project that uses the PoA consensus algorithm. I would like to implement a POC for a new consensus algorithm. I have some experience with substrate but I'm new to consensus algorithm implementation.
I have done the following steps:
Understand the substrate's architecture and the current PoA consensus algorithm Identify the changes to be made for the new consensus algorithm I'm now facing the following issues:
- I am not sure how to write the code for the new consensus algorithm
- I am not sure how to test the code
- I am not sure how to integrate the code into the substrate network..
Can anyone provide me with some guidance on how to proceed with this task, or point me to resources or examples that may be helpful?