Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Migrate common types and traits to phaselock-types
Nearly completly migrate over the data and traits modules to phaselock-types. This includes: - The hash types and assocaited macro generation - The Stage enum - The Quorum certificate types - The State and BlockContents traits - The Message module and associated types - The PubKey and PrivKey types - The NetworkingImplementation trait - The Storage trait - The NodeImplementation trait - The Event struct and EventType enum This required changing some pub(crate)s over to pub. No breaking changes have been made in phaselock, as the modules have been modified to rexport the relevant types. This change will allow an implementation of one of the core phaselock traits, such as a NetworkingImplmentation, to live in a seperate crate from phaselock proper, while still allowing phaselock to depend upon it without creating a circular dependency. Closes #25
- Loading branch information