-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Synchronize optimization into parallel processing, and replace the c…
…alculation of ghost data with validation methods during synchronization to improve efficiency (#4192) * add parallel code * use try recv to avoid blocking * parallel execution * create chain when the parents are ready in parallel execution * set executing state in sender * check the parents when dispatching * add 10000 buffer for parallel execution * save the block in local store to buffer the block * add log for saving time * check local store for the absent block * add test case * add some fix * add some test * add false testing case * add more testing code * add check data * add verify blue block in verifier * add some code * add verification * fix some bugs * add yeilding after execution for processing the main chain in other service * finish debug, it works * fmt and clippy * rebase master set the number 4500000 for vega updating * remove some commented code * fix: return continue if the dag block is ready * add loop if the connection of the workers are not closed * 3300000 will be version 1 in vega * use selected parent to get he parent * remove comments * remove bracket * fix fmt
- Loading branch information
1 parent
85564ab
commit 979cdd6
Showing
21 changed files
with
1,256 additions
and
168 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.