Skip to content

Commit 448e59f

Browse files
cli: update upload-bin to create index files during block uploading
Close #3655 Close #3652 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
1 parent 5f92da2 commit 448e59f

File tree

3 files changed

+148
-263
lines changed

3 files changed

+148
-263
lines changed

cli/util/convert.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,6 @@ func NewCommands() []*cli.Command {
8686
Usage: "Number of concurrent searches for blocks",
8787
Value: 20,
8888
},
89-
&cli.BoolFlag{
90-
Name: "skip-blocks-uploading",
91-
Usage: "Skip blocks uploading and upload only index files",
92-
},
9389
&cli.UintFlag{
9490
Name: "retries",
9591
Usage: "Maximum number of Neo/NeoFS node request retries",
@@ -184,7 +180,7 @@ func NewCommands() []*cli.Command {
184180
{
185181
Name: "upload-bin",
186182
Usage: "Fetch blocks from RPC node and upload them to the NeoFS container",
187-
UsageText: "neo-go util upload-bin --fs-rpc-endpoint <address1>[,<address2>[...]] --container <cid> --block-attribute block --index-attribute index --rpc-endpoint <node> [--timeout <time>] --wallet <wallet> [--wallet-config <config>] [--address <address>] [--workers <num>] [--searchers <num>] [--index-file-size <size>] [--skip-blocks-uploading] [--retries <num>] [--debug]",
183+
UsageText: "neo-go util upload-bin --fs-rpc-endpoint <address1>[,<address2>[...]] --container <cid> --block-attribute block --index-attribute index --rpc-endpoint <node> [--timeout <time>] --wallet <wallet> [--wallet-config <config>] [--address <address>] [--workers <num>] [--searchers <num>] [--index-file-size <size>] [--retries <num>] [--debug]",
188184
Action: uploadBin,
189185
Flags: uploadBinFlags,
190186
},

0 commit comments

Comments
 (0)