From fa21cbf0a1e0fee5fb7ba49f592e5aa66964fbd3 Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Sat, 20 Apr 2024 14:37:56 +0700 Subject: [PATCH] save --- downloader/downloader.proto | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/downloader/downloader.proto b/downloader/downloader.proto index 26d3fbb..13eef18 100644 --- a/downloader/downloader.proto +++ b/downloader/downloader.proto @@ -11,6 +11,7 @@ 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 // Downloader will able: seed new files (already existing on FS), download uncomplete parts of existing files (if Verify found some bad parts) + // It returns current whitelist (whitelisted types). rpc ProhibitNewDownloads (ProhibitNewDownloadsRequest) returns (google.protobuf.Empty) {} // Adding new file to downloader: non-existing files it will download, existing - seed @@ -47,7 +48,7 @@ message StatsRequest { } message ProhibitNewDownloadsRequest { - string type = 1; + repeated string whitelistAdd = 1; // nil - means "don't modify". non-nil - means "merge with current whitelist". } message StatsReply {