-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Batch writing and try to advance the root index (#4358)
* add batch write for dag blocks * add batch write for all dag data * fix fmt * no verification before the first ghostdata coming * fix fmt * data inconsistent will be ignore when adding dag into reachability data * add test log use inquirer is_dag_ancestor_of * add testing log and write batch with sync option * add hint virtual selectd parent * reindex root for reachability not useing batch * no set the root index when switch * 1, advance the root index in committing a dag block 2, add testing case about root reindexing * add some info logs * use tempdir() in testing case * fix test case
- Loading branch information
1 parent
33523f0
commit 5fbf4e3
Showing
19 changed files
with
871 additions
and
516 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
Oops, something went wrong.