This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Substrate: Alternative consensus engines #420
Labels
Projects
Milestone
Substrate currently uses only Rhododendron. The consensus algorithm should instead be stored in the
:consensus
key of the database (defaulting torho
if it doesn't exist) and substrate should use that algorithm to determine what consensus protocol to use for the given block. Since some consensus algorithms are non-final or require multiple blocks to reach finality, then any block whose state-transition function alters the:consensus
key to anything other thanrho
will userho
to finalise that block as a handoff procedure.The consensus algorithm is free to require arbitrary other storage keys for its operation.
In principle, in the future, there may be a handoff to
dot
.The text was updated successfully, but these errors were encountered: