Closed pgev closed 4 years ago
Great ticket thx
Thx!
@benjaminbollen
Do you mean to have "metablockChains" or "metablockchains"?
I think I would write "metablockchain" as one word, bc I write "blockchain" as one word too. So capitalisation is "metablockchains"
Add in the
Consensus
contract, the following mappings namedmetablockchains
andmetablockTips
:Metablock's struct:
Metablock's round:
The mapping
metablockchains
is updated in the following function calls:precommitMetablock
formCommittee
registerCommitteeDecision
commitMetablock
To be able to update
metablockchains
andmetablockTips
mappings one of the below proposals should be picked:Adding the following two mappings to Consensus:
or,
Consensus
is passingchainId
intocore
andcommittee
on creation.Core::precommitMetablock
andCommittee::registerCommitteeDecision
specify thechainId
on calling back.Optional (optimization):