From cb86760236c07c28780301aafdb2a91364b994e5 Mon Sep 17 00:00:00 2001 From: Ekaterina Pavlova Date: Sat, 7 Dec 2024 17:59:05 +0300 Subject: [PATCH] cli: update `upload-bin` to create index files during block uploading Close #3655 Close #3652 Signed-off-by: Ekaterina Pavlova --- cli/util/convert.go | 6 +- cli/util/upload_bin.go | 385 +++++++++++++------------------------ docs/neofs-blockstorage.md | 20 +- 3 files changed, 148 insertions(+), 263 deletions(-) diff --git a/cli/util/convert.go b/cli/util/convert.go index af963d9e7d..886c56d6e1 100644 --- a/cli/util/convert.go +++ b/cli/util/convert.go @@ -86,10 +86,6 @@ func NewCommands() []*cli.Command { Usage: "Number of concurrent searches for blocks", Value: 20, }, - &cli.BoolFlag{ - Name: "skip-blocks-uploading", - Usage: "Skip blocks uploading and upload only index files", - }, &cli.UintFlag{ Name: "retries", Usage: "Maximum number of Neo/NeoFS node request retries", @@ -184,7 +180,7 @@ func NewCommands() []*cli.Command { { Name: "upload-bin", Usage: "Fetch blocks from RPC node and upload them to the NeoFS container", - UsageText: "neo-go util upload-bin --fs-rpc-endpoint [,[...]] --container --block-attribute block --index-attribute index --rpc-endpoint [--timeout