Open JoshOrndorff opened 3 years ago
The best chain is chosen by a "select chain rule" https://substrate.dev/rustdocs/v3.0.0/sp_consensus/trait.SelectChain.html . The most common implementation, and the one used in all current recipes nodes, is the standard "longest chain rule" https://substrate.dev/rustdocs/v3.0.0/sc_consensus/struct.LongestChain.html.
We could (and I would love to) impl SelectChain for ManualSelectChain which gets wired back to the RPC to be controlled manually by the user just like manual seal.
impl SelectChain for ManualSelectChain
cc @girazoki
The best chain is chosen by a "select chain rule" https://substrate.dev/rustdocs/v3.0.0/sp_consensus/trait.SelectChain.html . The most common implementation, and the one used in all current recipes nodes, is the standard "longest chain rule" https://substrate.dev/rustdocs/v3.0.0/sc_consensus/struct.LongestChain.html.
We could (and I would love to)
impl SelectChain for ManualSelectChain
which gets wired back to the RPC to be controlled manually by the user just like manual seal.cc @girazoki