Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Apr 25, 2024
1 parent dda2217 commit 6d3c46b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions downloader/downloader.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ package downloader;
service Downloader {
// Erigon "download once" - means restart/upgrade/downgrade will not download files (and will be fast)
// After "download once" - Erigon will produce and seed new files
// After `ProhibitNew` call - downloader stil will able:
// - seed new files (already existing on FS)
// - download uncomplete parts of existing files (if Verify found some bad parts)
// `ProhibitNew` what whitelist based on file-type - can add remove items there.
// After `Prohibit` call - downloader stil will able:
// - seed new (generated by Erigon) files
// - seed existing on Disk files
// - download uncomplete parts of existing on Disk files (if Verify found some bad parts)
// `Prohibit` has `whitelist` feature - based on file-type
rpc Prohibit (ProhibitRequest) returns (ProhibitReply) {}

// Adding new file to downloader: non-existing files it will download, existing - seed
Expand Down

0 comments on commit 6d3c46b

Please sign in to comment.