-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update flare header download mechanism (#2607)
* Reverse order in staged blob lists why: having the largest block number with the least header list index `0` makes it easier to grow the list with parent headers, i.e. decreasing block numbers. * Set a header response threshold when to ditch peer * Refactor extension of staged header chains record why: Was cobbled together as a proof of concept after several approaches of how to run the download. * TODO update * Make debugging code independent of `release` flag * Update import from jacek
- Loading branch information
Showing
7 changed files
with
175 additions
and
140 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
* Update/resolve code fragments which are tagged FIXME | ||
|
||
* Revisit timeouts when fetching header data from the network | ||
* Check noisy and verification sections whether they are really wanted | ||
when going into production | ||
+ **extraTraceMessages** | ||
+ **verifyDataStructureOk** |
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.