forked from celestiaorg/celestia-node
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(nodebuilder/share): Pass
light.Window
to shrex getter construct…
…ion regardless of node type / pruning mode (celestiaorg#3466) Since it is a network constant, shrex getter request routing should be based on the hardcoded light.Window rather than the avail window that is passed to it. `light.Window` should be used network-wide to determine which peer pool (`full` or `archival`) would be most likely to serve the request. This also fixes a bug where archival nodes would not route historic EDS requests to the archival pool due to AvailabilityWindow being 0.
- Loading branch information
Showing
3 changed files
with
22 additions
and
7 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