This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Generic strongly-typed justifications and consensus objects #793
Labels
I9-optimisation
An enhancement to provide better overall performance in terms of time-to-completion for a task.
Milestone
A lot of code like network and client is generic over the
Block
type but does not deal with justifications for those blocks. As such, we are limited to usingVec<u8>
justifications in order to generalize over consensus engines.It might be faster, less error-prone, and more convenient to have a
Chain
trait that encapsulates bothBlock
andConsensus
and make code generic over that instead. But it remains to be seen how this can be made compatible with hard forks of consensus.The text was updated successfully, but these errors were encountered: