-
Notifications
You must be signed in to change notification settings - Fork 891
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bonsai Tries Rolling Head and Layered Reads (#1750)
Two updates to Bonsai Tries * Log Rolling is implemented on top of the existing Persisted head. When Besu is at chain head and the new best head makes the current head an orphan branch, the Bonsai TrieLogs are used to roll back to a common block and roll forward to the needed base block. Goerli is known to maintain sync. There are still some issues with frontier era block receipts. * Non-mutable reads can be done off of the persisted block. These are accurate for all reads that were performed in the block. If a read is not known it proceeds through a fallback series of calls to prior layers until it hits the persisted block. These layered reads are driven off of the TrieLogs. Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
- Loading branch information
Showing
15 changed files
with
512 additions
and
187 deletions.
There are no files selected for viewing
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.