You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Substrate currently uses only Rhododendron. The consensus algorithm should instead be stored in the :consensus key of the database (defaulting to rho 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 than rho will use rho 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:
in chainx 1.0, the script check is just use 0, not return error. But in 2.0 I use Error to return directly. However this cause create_withdraw_tx could not create an empty sign tx. Thus, we recover this part to push a zero in result, not return Error directly.
liuchengxu
pushed a commit
to autonomys/substrate
that referenced
this issue
Jun 3, 2022
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: