-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added experimental index provider feature
Two modes available with different flag, one to import all existing blocks and a second one for ongoing advertising of new blocks added. No pinning is currently implemented, so no protection from GC at this time. Lots of code borrowed from indexer-provider[1]. There are some hardcoded constants for controlling size of advertisements and chunks, these should probably be moved to configuration if this is to be supported long term. [1] https://github.com/filecoin-project/index-provider
- Loading branch information
Brian Yarger
committed
Mar 8, 2022
1 parent
d5ad847
commit 5dc3ae7
Showing
8 changed files
with
1,378 additions
and
62 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 |
---|---|---|
|
@@ -33,3 +33,7 @@ docs/examples/go-ipfs-as-a-library/example-folder/Qm* | |
/parts | ||
/stage | ||
/prime | ||
|
||
# ignore vscode config | ||
.vscode | ||
.idea |
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.