Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Native support for hierarchical consensus in lotus and filcns #144

Merged
merged 5 commits into from
Mar 21, 2022

Conversation

adlrocha
Copy link
Collaborator

@adlrocha adlrocha commented Mar 16, 2022

  • Forked genesis package to be avoid import cycles and support the creating a genesis that initializes the SCA.
  • Support for cross-messages in Filcns and block validation.
  • Support for hierarchical consensus actor registry and cross-message validation in Filcns TipSetExecutor.
  • Lotus daemon support for subnets.
  • Include checkpoint buffer to support slow conensus algorithms in parents fixing a "nasty" bug in checkpoint commitment.

This PR includes cross-messages for Filecoin consensus, which means that is no longer possible to connect an Eudico node with filecoin expected consensus to mainnet (without some code editing here and there). If you are looking to revert all the changes that break this compatibility you should blame this PR (mainly, the issue is in the inclusion of CrossMessages and the use of an extended MsgMeta that includes cross message cids).

@adlrocha adlrocha marked this pull request as ready for review March 21, 2022 17:29
@adlrocha adlrocha requested a review from dnkolegov March 21, 2022 17:29
@adlrocha
Copy link
Collaborator Author

@dnkolegov this is ready for review. Do not worry about the code in chain/consensus/genesis/genesis.go this is just a convenient copy-paste of chain/gen/genesis to prevent import cycles, so no need to review.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants