You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+45-3Lines changed: 45 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,61 +47,103 @@ Arguments:
47
47
Options:
48
48
-b, --blockchain <BLOCKCHAIN>
49
49
Blockchain
50
+
50
51
--dry-run
51
52
Do not modify the storage
53
+
52
54
-c, --connection <HOST:PORT>
53
55
Connection (host:port)
56
+
54
57
--connection.notls
55
58
Disable TLS
59
+
56
60
--parallel <PARALLEL>
57
61
How many API requests to make in parallel. Range: 1..512. Default: 16
62
+
58
63
--notify.dir <NOTIFY_DIR>
59
64
Write notifications as JSON line to the specified dir in a file <dshackle-archive-%STARTTIME.jsonl>
65
+
60
66
--notify.pulsar.topic <PULSAR_TOPIC>
61
67
Send notifications as JSON to the Pulsar to the specified topic (notify.pulsar.url must be specified)
68
+
62
69
--notify.pulsar.url <PULSAR_URL>
63
70
Send notifications as JSON to the Pulsar with specified URL (notify.pulsar.topic must be specified)
71
+
64
72
--auth.aws.access-key <ACCESS_KEY>
65
73
AWS / S3 Access Key
74
+
66
75
--auth.aws.secret-key <SECRET_KEY>
67
76
AWS / S3 Secret Key
77
+
68
78
--aws.endpoint <ENDPOINT>
69
79
AWS / S3 endpoint url instead of the default one
80
+
70
81
--aws.region <REGION>
71
82
AWS / S3 region ID to use for requests
83
+
72
84
--aws.s3.path-style
73
85
Enable S3 Path Style access (default is false). Use this flag for a no-AWS service
86
+
74
87
--aws.trust-tls
75
88
Trust any TLS certificate for AWS / S3 (default is false)
89
+
76
90
-d, --dir <DIR>
77
91
Target directory
92
+
78
93
--continue
79
94
[Stream Command] Continue from the last archived block; i.e., not the latest in blockchain
95
+
80
96
--tail <TAIL>
81
97
[Verify/Fix Commands] Use the latest T blocks instead of a range
98
+
82
99
-r, --range <RANGE>
83
100
Blocks Range (`N...M`)
101
+
84
102
--range.chunk <RANGE_CHUNK>
85
103
Range chunk size (default 1000)
104
+
86
105
-t, --tables <TABLES>
87
106
Types of tables to archive (comma-separated list of `blocks`, `txes`, `traces`). Default: blocks,txes
107
+
88
108
--fields.trace <FIELDS_TRACE>
89
109
List of data to include into tracing archive table (comma-separated list of `calls`, `stateDiff`). Default: calls,stateDiff; Used only if `traces` are included into the archived tables (see `--tables` option); Details: `calls` - debug_traceTransaction with `callTracer` tracing; `stateDiff` - debug_traceTransaction with `prestateTracer` tracing
110
+
90
111
--fix.clean
91
112
[Fix Command] Set to remove any existing data in whole chunk if any of tables is missing a block in the chunk or has broken values. Default is `false`, which deleted only tables with missing / corrupted data
113
+
92
114
--compression <COMPRESSION>
93
-
Compression algorithm to use when writing new Avro files. Default is `zstd` [possible values: snappy, zstd]
115
+
Compression algorithm to use when writing new Avro files. Default is `zstd`
116
+
117
+
[possible values: snappy, zstd]
118
+
94
119
--follow <FOLLOW>
95
-
[Stream Command] Follow mode for new blocks: `latest` - follow the latest blocks (default); `finalized` - follow only finalized blocks [default: latest] [possible values: latest, finalized]
120
+
[Stream Command] Follow mode for new blocks: `latest` - follow the latest blocks (default); `finalized` - follow only finalized blocks
121
+
122
+
[default: latest]
123
+
[possible values: latest, finalized]
124
+
125
+
--format <FORMAT>
126
+
Output format. `avro` (default) writes one row-batched Avro file per (kind, range) under the historical layout. `json` writes one JSON file per field (block.json, tx-<HASH>.json, receipt-<HASH>.json, raw-<HASH>.hex, …) inside a directory per height. `compact` and `verify` are not supported with `json`
127
+
128
+
Possible values:
129
+
- avro: One Avro file per (kind, range). Historical layout — supports all commands
130
+
- json: One JSON file per field under a per-height directory. `archive`, `stream`, and `fix` are supported; `compact` and `verify` are rejected at startup
131
+
132
+
[default: avro]
133
+
96
134
--metrics <HOST:PORT>
97
135
Start a Prometheus-compatible metrics server on the given address (e.g., 127.0.0.1:8080). Metrics are served at http://HOST:PORT/metrics
136
+
98
137
--metrics.await
99
138
After the main command finishes, keep the metrics server running until one final scrape completes (or 60 seconds elapse). Useful for short-lived commands (fix, verify, compact) to ensure Prometheus collects the final metrics before the process exits
0 commit comments