-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* simplified the storage traits, by moving the inmem caching implementation to era-consensus * extracted PayloadManager trait responsible for proposing/verifying payloads. * clarified the expected persistence guarantees of the PersistentBlockStore trait * simplified the block caching to maintain a continuous range of blocks * simplified the sync_blocks implementation as a result of previous simplifications * moved rocksdb storage implementation to tools crate, given that the executor binary is there anyway. * Removed genesis block from config to simplify configuration * Removed redundant header from FinalBlock. * Made bft actor wait for past blocks to be stored before calling propose/verify to more accurately reflect the expected implementation of a stateful blockchain (and to simplify implementation of the PayloadManager trait) --------- Co-authored-by: Bruno França <[email protected]>
- Loading branch information
1 parent
cf8340d
commit 5727a3e
Showing
78 changed files
with
3,399 additions
and
4,121 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.