#compdef xone

autoload -U is-at-least

_xone() {
    typeset -A opt_args
    typeset -a _arguments_options
    local ret=1

    if is-at-least 5.2; then
        _arguments_options=(-s -S -C)
    else
        _arguments_options=(-s -C)
    fi

    local context curcontext="$curcontext" state line
    _arguments "${_arguments_options[@]}" : \
'--datadir=[Data directory for the databases and the chain marker.]:<path>:_default' \
'--datadir.ancient=[Directory of the frozen history segments (headers, bodies, receipts), e.g. on a slower disk. Recorded in the datadir; the tree must carry the datadir'\''s identity, a wrong or missing path refuses to start (issue #225).]:<path>:_default' \
'--datadir.staging=[Directory for bulk-download and snapshot-import staging (issue #520). It may sit on another filesystem; publication into the datadir or --out uses copy-verify-rename when a rename would cross devices. A run with the same path resumes an interrupted job. A failure leaves the committed datadir intact.]:<path>:_default' \
'--networkid=[Network id. Must equal the chain id of the genesis in use.]:<n>:_default' \
'--syncmode=[Blockchain sync mode. full executes from genesis. snap, on an empty datadir, downloads the state at a pivot over snap/1 with every range proven, from any snap/1 peer (geth-XDC included; the store is keyed by hash, no preimages are needed), installs it as an anchored datadir and executes from pivot+1 (spec/snap/pivot.md); on a datadir that holds a chain it continues that chain. fast is an alias of snap, as in geth-XDC. light follows verified headers and QCs from --light.checkpoint, serves a bounded RPC view, and never produces blocks (docs/ops/light.md). beam is accepted for old configs and runs full sync.]:full|snap|fast|light:_default' \
'--synctarget=[Hash of the block to full sync to\: nothing above it is imported, and the node then stops following (forces --syncmode full; not with --mine).]:<hash>:_default' \
'--exitwhensynced=[Stop the node (exit 0) once synced\: with --synctarget once the target is held, otherwise once the head is less than 10 minutes old. Not with --mine.]:: :_default' \
'--halt.block=[Import no block above this height, then stop the node (exit 0); a restart without the flag continues. Not with --mine. Config\: \[sync\] halt_block.]:<n>:_default' \
'--halt.time=[Import no block whose header time is at or after this unix time, then stop the node (exit 0). Not with --mine. Config\: \[sync\] halt_time.]:<unix>:_default' \
'--snap.pins=[Pins file for --syncmode snap (\`<number> <0x hash>\` per line)\: the pivot'\''s epoch-switch header (or the pivot) must be in it. Required on XDC mainnet, where the start is refused without it. On other XDC networks an unset pin takes the switch header from the connected peers, with a warning.]:<path>:_default' \
'--snap.gap-rpc=[For --syncmode snap from geth-XDC peers\: any archive RPC that serves eth_getProof. The 0x88 state of the gap blocks below the pivot is read from it (geth serves snap/1 only for recent state); every account and slot proof is verified against the header'\''s state root, so the RPC is not trusted. Unset and no xOne peer\: the start fails with a typed error naming both.]:<path>:_default' \
'--snap.beacon=[For --syncmode snap under --chain (Ethereum)\: the beacon API URL of this node'\''s own consensus client. The pivot is its finalized execution block; the downloaded state is checked against that header'\''s state root. Required for snap sync on an Ethereum chain.]:<path>:_default' \
'--era.path=[Under --chain (Ethereum)\: a directory of era1 (.era1) or EraE (.ere / .erae) files. The Engine API backfill reads the blocks of each epoch file from it instead of peers; each file is verified as by import-era / import-erae, and each block hash must match the walked header. A missing or failing file falls back to peers for that epoch (#2623). Not with --era.url.]:<path>:_default' \
'--era.url=[Under --chain (Ethereum)\: an era1 or EraE mirror (https, or http on a loopback host) whose index lists the files. The Engine API backfill downloads each epoch file it needs into <datadir>/xone/era-cache, checks it against the mirror'\''s checksums.txt / checksums_sha256.txt (a file without a checksum is not used), verifies it, reads its blocks instead of asking peers, and deletes it. A missing or failing file falls back to peers for that epoch (#2623). Not with --era.path.]:<path>:_default' \
'--beacon.light=[Under --chain (Ethereum)\: follow the finalized block that the beacon sync committee signs, from a beacon API that serves the light-client endpoints, with no consensus client. Each update is checked against the sync committee of --beacon.checkpoint (#2087). Several URLs, comma-separated\: the next one is used when one fails or serves a refused update (#2556).]:<path>:_default' \
'--beacon.checkpoint=[The trusted finalized beacon block root that --beacon.light starts from.]:<path>:_default' \
'--beacon.light.head=[With --beacon.light\: also follow the head that the sync committee signs (light_client/optimistic_update), about 12 s behind instead of two epochs. The head is not final and can be replaced; finalized moves only on a finality update.]:: :_default' \
'--beacon.api.header=[With --beacon.light\: request headers sent to every beacon URL, comma-separated \`Name\: value\` (an API key of a hosted beacon API). Redacted in dumpconfig, never logged.]:<path>:_default' \
'--light=[Alias of --syncmode light\: verified header and QC follow from --light.checkpoint, a bounded local JSON-RPC view, no block production, and not full validation (docs/ops/light.md).]:: :_default' \
'--light.checkpoint=[Pinned header hash for --syncmode light. Required in light mode. A cached light chain must still start at this hash.]:<hash>:_default' \
'--light.upstream=[Optional archive used only as a source of headers and proofs in light mode. https\://, or http\:// only on a loopback host. Every proof is verified against a checked header; the URL is never trusted.]:<url>:_default' \
'--state.disk=[Read the head state and its Merkle tries from the MDBX tables (behind bounded caches, trie nodes by position) instead of holding them in memory; checkpoints and the snap install carry no state rows. A memory-state datadir starts with it; one written with it must be started with it. A node on disk state serves no snap/1; snapshot export streams hashed state from the tables and writes hashed keys when a preimage is missing Unset\: on for --chain mainnet, sepolia and hoodi, off otherwise; --state.disk=false keeps the memory state (docs/ops/disk-state.md).]:: :_default' \
'--sync.overlap=[A block of an import run executes, and its state root is computed, over the head plus the block whose commit is in flight, while that commit writes its rows; the block'\''s history and RPC visibility follow the commit. Off\: each block waits for its parent'\''s commit.]:: :_default' \
'--gcmode=[State garbage collection mode\: full (the state window) or archive (the state of every block from genesis; an empty datadir only, full sync only, the datadir keeps the mode).]:full:_default' \
'--minimal=[Start from the anchor of an imported snapshot (\`xone snapshot import\`), keep only the retention window, never sync from genesis or read an archive.]:: :_default' \
'--cache=[Megabytes of memory for internal caches. Unset\: 4096, or a quarter of the effective memory limit (256 to 4096)\: cgroup v2 or v1 (parent slices included), else host RAM (#780, #2683). A value above a third of the limit is lowered with a warning; see --cache.nocap. The RPC receipt cache takes 1/128 of it (32 MiB at 4096). With --state.disk, 5 % of it sizes the account and slot caches (the start-up log states the entry counts; 4096 gives about 200,000 accounts and 1,000,000 slots).]:<n>:_default' \
'--cache.nocap=[Keep an explicit --cache above a third of the effective memory limit instead of lowering it (#2683).]:: :_default' \
'--witness.precompute=[Make the execution witness of each new head right after it is imported, off the RPC threads, and keep the last <n> in memory\: debug_executionWitness for those blocks answers from the cache instead of executing again. A reorg drops the witnesses of blocks that left the chain. 0 is off (#2614).]:<n>:_default' \
'--witness.keep=[Keep the execution witness of each new head in the datadir (the Witnesses table of chain.mdbx, added to an older datadir on its first open), the last <n> blocks, so debug_executionWitness still answers from storage after a restart and for blocks the in-memory cache has dropped. It makes the witnesses as --witness.precompute does (a window of 1 in memory when that flag is 0) and adds the write of each witness to the head'\''s work. A reorg drops the rows of blocks that left the chain. 0 is off (#2614).]:<n>:_default' \
'--cache.prewarm-pool=[Between payloads, read the accounts and slots that the best pending pool transactions name (senders, targets, 7702 delegates, access lists), then run each of them in the EVM on the head state as a call, so the slots their code reads are warm too when the next block arrives. Best tip first. Reads only, never writes state; one background thread, at most 256 transactions and 1 s per head; stops at a new head. Ethereum rules only (#2627).]:: :_default' \
'--cpu-cores=[Cap every compute thread pool (sender recovery, parallel execution, state root, trie rebuild, signature checks) at this many cores when xone shares a host with a consensus client or other services (#2697). Unset\: available_parallelism (cgroup CPU quota aware).]:<n>:_default' \
'--db.max-size=[Largest size the MDBX database may grow to (bytes, or KB/MB/GB/TB, powers of 1024; 16MB..8TB). Must cover an existing database; a full map stops writes with an error naming this flag.]:<size>:_default' \
'--db.growth-step=[Bytes the MDBX database grows by when it fills (at least 1MB, at most --db.max-size).]:<size>:_default' \
'--db.page-size=[MDBX page size of a new database (a power of two, 4KB..64KB; 0 = the MDBX default, 4KB). Fixed when the database is created\: reopening with another size fails. Larger pages allow a larger --db.max-size and fewer page faults on big values, at more write amplification.]:<size>:_default' \
'--db.readahead=[MDBX kernel readahead policy. auto (default) and off disable kernel readahead, which is better for random tip and RPC reads; on enables it for bulk sequential scans. A targeted page hint prefetches a key range unless the policy is off.]:auto|on|off:_default' \
'--db.segment-readers=[Read handles of closed segment chunks kept open for history reads (0 opens a file for every read; at most 4096, each is an open file descriptor). A pruned or cut chunk drops its handle.]:<n>:_default' \
'--prune=[Disk profile, only with --chain or --override.genesis\: archive (--gcmode archive, every state and the whole tx index), full (every body and receipt, 10064 blocks of state), or minimal (10064 blocks of state, bodies, receipts, logs and tx index). Fills only the --history.* and --gcmode values still at their defaults; an explicit flag wins.]:<string>:_default' \
'--history.transactions=[Recent blocks whose transactions stay indexed; 0 is the whole chain.]:<n>:_default' \
'--history.pre-merge=[Ethereum networks only\: drop keeps no bodies and no receipts below the merge block (headers stay) and the node advertises the new earliest block to peers. Use \`xone import-era\` to get the history back.]:keep|drop:_default' \
'--history.chain=[geth'\''s spelling of --history.pre-merge\: all keeps every block, postmerge is --history.pre-merge drop. geth'\''s postprague, postosaka and <number>\:<hash> are refused\: this store defines no such cut points (--history.bodies-from and --history.receipts-from keep from a block).]:all|postmerge:_default' \
'--state.scheme=[geth'\''s state scheme flag, for scripts that pass it\: hash is how this store keeps state and is accepted; path is refused (geth'\''s path layout is not available).]:hash:_default' \
'--history.bodies=[Recent blocks whose bodies are kept; 0 is the whole chain. Cannot drop below the consensus lookback in spec/retention.md.]:<n>:_default' \
'--history.receipts=[Recent blocks whose receipts are kept; 0 is the whole chain. Cannot drop below the consensus lookback in spec/retention.md.]:<n>:_default' \
'--history.logs=[Recent blocks whose logs eth_getLogs may serve; 0 is the whole chain. Disk follows --history.receipts. Cannot drop below the consensus lookback.]:<n>:_default' \
'--history.bodies-from=[Lowest block whose body should be backfilled after snap sync. Unset keeps the snap floor. 0 backfills to genesis. #196.]:<n>:_default' \
'--history.receipts-from=[Lowest block whose receipts should be backfilled after snap sync. Unset keeps the snap floor. 0 backfills to genesis. #196.]:<n>:_default' \
'--history.retain-logs=[Comma-separated contract addresses whose receipts (and logs) are kept after --history.receipts pruning. Queries over the incomplete range that are not limited to these addresses are refused; they are never answered as empty. #515.]:<a,b,..>:_default' \
'--snapshot.chunk-bytes=[Rotate a frozen history segment file when appending would exceed this size (bytes, or KB/MB/GB/TB). 0 keeps rotation on the 100,000-block grid only. A single block larger than the ceiling still gets its own file. Early cuts are recorded in a versioned chunk index.]:<size>:_default' \
'--history.state=[Recent blocks whose state is retained for RPC, unwind and snap serving. Default 4096. Minimum 3213 (the XDC snap/gap window). 0 keeps every block and requires --gcmode archive. When the flag is omitted, a datadir keeps the policy it persisted on a previous start.]:<n>:_default' \
'--history.tx-state=[Persist per-transaction state diffs so mid-block historical reads (debug_accountAt, debug_storageRangeAt) can use stored boundaries instead of a replay. Default off\: no extra rows are written and storage cost is unchanged. A reorg drops the displaced rows.]:: :_default' \
'--ots.index=[Optional address-appearance index (the transaction senders, targets and log emitters of each block), written when a block becomes canonical, so ots_searchTransactionsBefore and ots_searchTransactionsAfter read only the blocks that touch the address instead of walking the chain. Used only while it covers every block from genesis to the head, and on a datadir that already holds blocks a background backfill fills it down to block 1 first; until then the search walks as before. Default off\: no side database is opened and no row is written. A reorg drops the displaced block. Internal calls are indexed only with --ots.index.frames.]:: :_default' \
'--ots.index.frames=[With --ots.index, also trace each block and index the from and to of every call frame, internal calls included, so ots_searchTransactionsBefore and ots_searchTransactionsAfter return a transaction that reaches the address only through an internal call, and trace_filter with fromAddress or toAddress re-executes only the blocks that touch those addresses. Tracing needs the parent state of each block\: on a pruned node the backfill stops at the oldest block whose parent state is held, the index never covers genesis, and the search keeps walking as before. Changing this flag rebuilds the index. Default off. Unused without --ots.index.]:: :_default' \
'--trace.store=[Optional persistent store of Parity trace_* results, written when a block becomes canonical so later traces can be served after state has been pruned. Default off\: no side database is opened and RPC results are unchanged. Modelled on Nethermind TraceStore.]:: :_default' \
'--trace.store.blocks=[Canonical blocks of traces to keep when --trace.store is on. 0 keeps all. Older rows are dropped after each write. Unused when the store is off.]:<n>:_default' \
'--trace.store.types=[Trace kinds written when --trace.store is on\: a comma-separated list of \`trace\` (Parity flat call traces for trace_block, trace_transaction, trace_get and trace_filter) and \`rewards\` (reserved; this node does not emit reward traces today, so the token is accepted and ignored). Unused when the store is off.]:<string>:_default' \
'--history.serve=[Listen address of a read-only HTTP seed for closed XSEG history chunks (/manifest and /chunk/<segment>/<first>.seg, Range supported). Off when empty. The active chunk and MDBX are never served.]:<string>:_default' \
'--history.serve-pin=[Checkpoint \`<number>=<0x hash>\` bound into the seed manifest. The manifest is data; the importer'\''s --pins file is the authority. Also read from <datadir>/history.pin when this flag is empty.]:<string>:_default' \
'--snapshot.serve=[Listen address of an authenticated snapshot server (#1199). Serves /manifest (signed) and /snapshot (Range/resume). Off when empty. Plaintext is allowed only on loopback; put TLS in front for a public bind.]:<string>:_default' \
'--snapshot.serve-file=[Finalized snapshot file served by --snapshot.serve.]:<path>:_default' \
'--snapshot.serve-token-file=[File holding the bearer token and HMAC key of --snapshot.serve. Required when serving. Importers present it as Authorization\: Bearer.]:<path>:_default' \
'--snapshot.serve-max=[Maximum concurrent /snapshot downloads on --snapshot.serve (default 2). Further requests get 429.]:<n>:_default' \
'--snapshot.serve-chain-id=[Chain id written into the signed snapshot manifest. A client that expects another network refuses the offer.]:<n>:_default' \
'--snapshot.serve-anchor=[Anchor \`<number>=<0x hash>\` of the served snapshot, included in the signed manifest and used as a proof pin.]:<string>:_default' \
'--snapshot.serve-state-root=[State root of the served snapshot, included in the signed manifest.]:<string>:_default' \
'--snapshot.serve-pins=[Optional extra pins file bound into the signed snapshot manifest.]:<path>:_default' \
'--snapshot.fallback-providers=[Allowlist of HTTPS checkpoint providers compared before a fallback snapshot import (#1201). A health response alone cannot select a checkpoint. Plaintext HTTP is only allowed on loopback.]:<a,b,..>:_default' \
'--snapshot.checkpoint=[Pinned checkpoint hash. When set, only a provider that advertises this hash is accepted (#1201).]:<string>:_default' \
'--snapshot.checkpoint-quorum=[Minimum agreeing providers required when no pin is set (0, the default, means a majority of the allowlist) (#1201).]:<n>:_default' \
'--snapshot.discover=[Follow extra provider URLs advertised by the allowlist. Off by default (#1201).]:: :_default' \
'--history.preimages=[Which keccak preimages the node stores. all keeps every preimage. required keeps only 20-byte address preimages, which XDC wide balances need, and skips slot preimages. Existing rows stay until a later compaction.]:all|required:_default' \
'--port=[P2P listening port (TCP).]:<n>:_default' \
'--discovery.port=[P2P discovery port (UDP).]:<n>:_default' \
'--maxpeers=[Maximum peers; 0 disables networking.]:<n>:_default' \
'--nodiscover=[Disable peer discovery.]:: :_default' \
'--discovery.v4.standard=[Send public discv4 type-1 pings instead of XDC type 5. Incoming type 1 is always accepted. Hive testers treat type 5 as ENRREQUEST.]:: :_default' \
'--discovery.v5=[Listen for discv5 on the same UDP port as discv4. Default is off, so XDC networks stay on discv4 only.]:: :_default' \
'--discovery.v4=[Run discv4. false turns it off and keeps discv5 only, as geth --discovery.v4=false\: discv5 then starts by itself. For discv5-only networks such as the ethPandaOps devnets.]:: :_default' \
'--snap.offer2=[Advertise snap/2 (EIP-8189) in the RLPx hello. Default is snap/1 only, so two xOne nodes keep GetTrieNodes healing. Ethereum and Hive testers need snap/2.]:: :_default' \
'--snap.v2=[Use snap/2 access lists (EIP-8189) instead of GetTrieNodes healing when the snap pivot moves over a finished download. \`auto\`\: when Amsterdam is active at the pivot. \`on\` forces it, \`off\` keeps snap/1 healing. Needs peers that speak snap/2 (\`--snap.offer2\` on the serving side); otherwise it heals as before.]:<string>:_default' \
'--p2p.addr=[IP the p2p TCP listener and the discovery UDP socket bind to, IPv4 or IPv6. \`\:\:\` listens on IPv6 and, where the OS allows (Linux default), IPv4 too. Unset\: 0.0.0.0 (127.0.0.1 for a loopback-only node). The advertised enode uses this address when it is not a wildcard and no --nat extip is given.]:<string>:_default' \
'--p2p.maxupload=[Daily upload budget for bulk serving (block bodies, receipts and snap answers)\: a plain number is GiB, or give a size with a 1024-based K, M, G or T suffix (500M, 2G). When it is spent, those requests get the protocol'\''s empty answer until the 24 h window rolls over. Headers, new blocks, votes, timeouts and transactions are never limited. 0\: no budget.]:<size>:_default' \
'--p2p.asmap=[Bitcoin Core asmap file (IP prefix to autonomous-system number). With it, --p2p.inbound-per-prefix counts ordinary inbound peers per ASN, so one hosting provider cannot fill the inbound slots; an address the map does not cover keeps its /24 or /48 prefix. admin_peers then shows network.asn. Getting, building and refreshing the file\: docs/ops/asmap.md.]:<path>:_default' \
'--p2p.proxy=[SOCKS5 proxy (no authentication) for outbound peer dials, for example Tor. The proxy gets the peer'\''s IP and port; no name is resolved through it. Inbound connections and UDP discovery do not use it.]:<ip:port>:_default' \
'--p2p.onlynet=[Networks this node dials\: ipv4, ipv6, or proxy. proxy needs --p2p.proxy, sends every dial through it and turns UDP discovery, the built-in boot nodes and the default DNS tree off; use static peers or an explicit --discovery.dns list (DNS lookups do not go through the proxy).]:<net>:_default' \
'--p2p.inbound-per-prefix=[Ordinary inbound peers one public network prefix (IPv4 /24, IPv6 /48) may hold; a further inbound peer from it is refused with TooManyPeers. Trusted and static peers, outbound peers and LAN addresses are not counted. 0\: no cap.]:<n>:_default' \
'--p2p.outbound-per-group=[Ordinary peers this node dials in one group\: the autonomous system with --p2p.asmap, else the IPv4 /24 or IPv6 /48. Discovery skips a candidate whose group is full, and a dial that would go over the cap is closed with TooManyPeers. Static and trusted peers, inbound peers and LAN addresses are not counted. 0 (the default)\: no cap. See docs/ops/asmap.md.]:<n>:_default' \
'--netrestrict=[Restricts network communication to the given IP networks (CIDR masks)\: discovery drops packets and neighbours from other networks, and connections to or from them are refused, static and trusted peers included.]:<string>:_default' \
'--peers.file=[Persistent peer table\: outbound peers with a completed handshake, dialled again at start (at most 1,000, kept 7 days, written every 5 minutes and at stop).]:<path>:_default' \
'--p2p.nodrop=[Never disconnect a random peer to make room when slots are full. By default Ethereum-rules networks drop one random peer every 3 to 7 minutes (not trusted, not static, older than 10 minutes, not the 10% that delivered the most included transactions); XDC networks never do. Config\: \[p2p\] no_drop.]:: :_default' \
'--peers.nopersist=[Neither read nor write the persistent peer table.]:: :_default' \
'--permissions.nodes=[Node allowlist\: a JSON array of enode URLs. When set, any other node is refused in and out, and every static and trusted node must be listed.]:<path>:_default' \
'--permissions.accounts=[Account allowlist\: a TOML file with accounts-allowlist = \["0x..."\] (Besu'\''s format; a missing file starts empty). When set, the pool admits transactions only from listed senders; XDPoS signing and randomize transactions are exempt and block import is unchanged. The perm namespace edits the file.]:<path>:_default' \
'--nat=[Advertised address\: any (default; UPnP, then NAT-PMP, then the IP 3+ discovery peers report), none (the listen address), extip\:<IP>, upnp, pmp or pmp\:<gateway>.]:<string>:_default' \
'--bootnodes=[Comma-separated enode\:// or enr\: records for discovery bootstrap. An enr\: record seeds discv5 (which then starts by itself) and is dialled at its TCP address.]:<a,b,..>:_default' \
'--discovery.dns=[Comma-separated EIP-1459 enrtree URLs, or none to turn DNS discovery off. Under --chain mainnet|sepolia|hoodi the default is the geth all.<network>.ethdisco.net tree; XDC networks stay opt-in. Signed DNS discovery; verified records are dialled through the existing netrestrict, trust, capacity and handshake rules. Does not change discv4 packet types (XDC uses type 5 for ping).]:<a,b,..>:_default' \
'--eth.requiredblocks=[Comma-separated \`<number>=<0x hash>\` entries. A peer that serves another hash at one of these heights is disconnected (reason 0x03) within 15 seconds of the handshake, and a header chain through another hash is refused before import or pivot choice. A peer that has not reached the height is kept. An entry replaces the built-in one at the same height. Apothem has one built-in entry, the first canonical block after the September 2026 reset; stale v2.8.2 peers still serve the abandoned branch. dumpconfig prints the merged list.]:<a,b,..>:_default' \
'--identity=[Node name shown to peers and ethstats.]:<string>:_default' \
'--http=[Enable the HTTP-RPC server.]:: :_default' \
'--graphql=[Serve EIP-1767 GraphQL at /graphql on the HTTP listener (CORS and vhosts follow --http). Implies HTTP if it is off.]:: :_default' \
'--exec.parallel=[Opt in to deterministic parallel transaction execution with serial fallback (#260). Serial execution stays the default and the correctness oracle. Special transactions, TRC21 fees and traces stay on the serial path. An Amsterdam block runs in parallel only with the verified block access list from newPayload (#2088), each transaction on the state the list gives before it and checked against the list; otherwise it runs serially.]:: :_default' \
'--vmtrace=[Built-in live tracer run on every block this node executes. supply writes one JSON line per block\: minted, destroyed, net delta, coinbase delta, base fee total and accounts changed, from raw balance deltas (XDPoS rewards show in the epoch-switch block). Records go through a bounded queue and are dropped and counted when the writer falls behind; import never waits. firehose (#2665) prints FIRE INIT 3.0 and one FIRE BLOCK line per canonical block (base64 sf.ethereum.type.v2.Block\: calls, logs, and the state changes of each transaction on its root call) to stdout for a StreamingFast Firehose reader; it executes each block again on a background thread. An unknown name stops start.]:<name>:_default' \
'--vmtrace.jsonconfig=[JSON config of --vmtrace. supply\: path (default <datadir>/xone/supply.jsonl) and maxSize in bytes (default 256 MiB); at maxSize the file moves to <path>.1. firehose\: path writes the lines to that file instead of stdout.]:<json>:_default' \
'--debug.rpc-consensus-url=[Testing and debugging only\: follow the head of this trusted RPC endpoint without a consensus client. Every 2 s the node reads upstream latest, safe and finalized, fetches missing blocks with debug_getRawBlock (the upstream must serve the debug namespace) and sends them to its own authrpc (reth_newPayload, reth_forkchoiceUpdated) with the JWT secret. The node still executes and checks every block; the choice of head is trusted. Reorgs up to 64 blocks. Ethereum-rules chains only; refused on XDC chains and with --mine.]:<url>:_default' \
'--snapshot.interval=[Write an anchored snapshot every this many blocks, at the latest block with a proof (the committed epoch switch on V2). The export holds no chain lock\: disk state is read through one MDBX read transaction, and memory state has the anchor'\''s rows copied under a short lock (memory for one copy of the state). Files are xone-<chain>-<block>.snap with a .snap.json manifest (block, hash, state root, bytes, sha256). 0\: off.]:<n>:_default' \
'--snapshot.dir=[Directory for --snapshot.interval snapshots.]:<path>:_default' \
'--snapshot.keep=[Scheduled snapshots to keep; after each new one the oldest files of this chain beyond the count are deleted (other files in the directory are never touched). At least 1.]:<n>:_default' \
'--snapshot.background-verify=[After a snapshot bootstrap, replay history from genesis in the background on a separate store (<datadir>/xone/verify, disk state, as large as the state at the anchor) and check that it reaches the anchor'\''s hash and state root. Blocks come from this node'\''s own history only; when a block below the anchor is missing (the snapshot carries only a window) the pass stops with xone_snapshot_verified -2. A mismatch logs an ERROR, sets -1 and fails /readyz (snapshot_verify_failed); the node keeps running. Pauses while the node catches up; resumes after a restart.]:: :_default' \
'--db.autocompact=[Compact chain.mdbx automatically at the next start after prune or finalization, only when the minimum interval has passed (#1202). The live database is never replaced while it is open. The foreground command is xone db compact.]:: :_default' \
'--db.autocompact.interval=[Minimum interval between automatic compactions (seconds or a duration such as 24h).]:<string>:_default' \
'--rpc.state-service=[Listen address (host\:port) or Unix socket path of the authenticated read-only pinned state service for a separate RPC worker (#540). Empty disables it. The node remains the only chain writer.]:<string>:_default' \
'--rpc.state-token=[Shared token required by every client of --rpc.state-service. When the service is enabled and this flag is empty, a token is written to <datadir>/rpc-state.token with mode 0600.]:<string>:_default' \
'--http.addr=[HTTP-RPC listen address.]:<string>:_default' \
'--http.port=[HTTP-RPC listen port.]:<n>:_default' \
'--http.api=[APIs offered over HTTP-RPC.]:<a,b,..>:_default' \
'--http.corsdomain=[Allowed CORS origins for HTTP-RPC.]:<a,b,..>:_default' \
'--http.vhosts=[Allowed virtual hosts for HTTP-RPC.]:<a,b,..>:_default' \
'--http.tls.cert=[PEM certificate for native TLS on the HTTP-RPC listener (issue #542). Requires --http.tls.key. An invalid certificate or key refuses start; secret material is not logged.]:<path>:_default' \
'--http.tls.key=[PEM private key for --http.tls.cert.]:<path>:_default' \
'--http.tls.clientca=[PEM CA file\: HTTP-RPC clients must present a certificate issued by this CA.]:<path>:_default' \
'--ws=[Enable the WebSocket-RPC server.]:: :_default' \
'--ws.addr=[WebSocket-RPC listen address.]:<string>:_default' \
'--ws.port=[WebSocket-RPC listen port. When this address and port equal --http.addr and --http.port, HTTP and WebSocket share one listener with separate namespace, origin, authentication and connection budgets (issue #500).]:<n>:_default' \
'--ws.api=[APIs offered over WebSocket-RPC.]:<a,b,..>:_default' \
'--ws.origins=[Allowed origins for WebSocket-RPC.]:<a,b,..>:_default' \
'--ws.tls.cert=[PEM certificate for native TLS on the WebSocket-RPC listener (issue #542). Requires --ws.tls.key. An invalid certificate or key refuses start; secret material is not logged.]:<path>:_default' \
'--ws.tls.key=[PEM private key for --ws.tls.cert.]:<path>:_default' \
'--ws.tls.clientca=[PEM CA file\: WebSocket-RPC clients must present a certificate issued by this CA.]:<path>:_default' \
'--http.rpcprefix=[HTTP path prefix on which JSON-RPC is served; another path gets 404. Must start with /.]:<string>:_default' \
'--ws.rpcprefix=[HTTP path prefix the WebSocket-RPC upgrade must use; another path gets 404. Must start with /.]:<string>:_default' \
'--ws.compression=[Negotiate RFC 7692 permessage-deflate compression on WebSocket-RPC frames above 1 KiB.]:: :_default' \
'--rpc.jwtsecret=[JWT secret file (32 bytes hex)\: HTTP and WebSocket RPC then require an HS256 bearer token. IPC is not affected.]:<path>:_default' \
'--rpc.historical=[Archive JSON-RPC endpoint (https, or http on a loopback host) for reads below this node'\''s history or state floor\: block, transaction, receipt, log, state and trace reads that the node refuses as missing history are forwarded, and the answer is passed through. Writes and admin calls are never forwarded. At most 8 at a time, 10 s timeout.]:<url>:_default' \
'--rpc.txforward=[Trusted JSON-RPC endpoint (https, or http on a loopback host) for transactions\: each eth_sendRawTransaction that the local pool accepts is also sent there, and the upstream hash or error is returned. A transaction the node refuses is not forwarded. 3 attempts, 10 s timeout each, at most 8 at a time.]:<url>:_default' \
'--rpc.txforward.local=[With --rpc.txforward\: also add each forwarded transaction to the local pool, so this node gossips it too. false is forward-only\: the node runs every pool admission check, forwards the transaction and keeps nothing; eth_sendRawTransactionSync is then refused. Needs --rpc.txforward.]:: :_default' \
'--rpc.acl=[JSON map of JWT sub to allowed RPC method patterns (*, eth_*, or exact). When set, HTTP and WebSocket callers need a JWT whose sub is in the map.]:<path>:_default' \
'--authrpc.addr=[Authenticated RPC listen address.]:<string>:_default' \
'--authrpc.port=[Authenticated RPC listen port\: HTTP and WebSocket on the one port, both behind the JWT.]:<n>:_default' \
'--authrpc.vhosts=[Allowed virtual hosts for authenticated RPC.]:<a,b,..>:_default' \
'--authrpc.jwtsecret=[Path of the JWT secret file for authenticated RPC.]:<path>:_default' \
'--ipcdisable=[Disable the IPC server.]:: :_default' \
'--ipcpath=[IPC socket path.]:<path>:_default' \
'--ipc.api=[APIs offered over IPC; replaces the default list (#2578). An unknown namespace is a startup error.]:<a,b,..>:_default' \
'--pidfile=[Write the process id to this file at start and remove it on a clean stop. A leftover file after a crash is left for diagnosis. Refuses a symbolic link or a file owned by a still-running process.]:<path>:_default' \
'--mine=[Enable block production (deprecated spelling kept for XDC tooling).]:: :_default' \
'--miner.etherbase=[Address that receives block rewards.]:<string>:_default' \
'--unlock=[Accounts to unlock, comma-separated.]:<a,b,..>:_default' \
'--password=[File with the account password; the password is never a flag.]:<path>:_default' \
'--keystore=[Keystore file of the validator key. Block production (--mine) needs it with --password, and is refused on chain id 50 in this build.]:<path>:_default' \
'--signer.remote=[URL of a remote signer (#1165, #1166). --mine uses this instead of --keystore and --password. The request is a versioned XDC envelope (algorithm, domain, digest, fencing token). Non-loopback URLs must be https\:// unless --signer.allow-http is set. A request is retried only on a connect failure or HTTP 429/503; a timeout after the request is sent is not retried.]:<string>:_default' \
'--signer.address=[Validator address the remote signer must hold. Required with --signer.remote. The signature is recovered and must match this address.]:<string>:_default' \
'--signer.timeout=[Remote-signer request deadline in milliseconds (default 2000).]:<n>:_default' \
'--signer.retries=[Extra remote-signer attempts after the first, used only for a connect failure or HTTP 429/503 (default 2).]:<n>:_default' \
'--signer.tls-ca=[PEM file of extra CA certificates trusted for an https\:// remote signer (#1166). webpki roots are always loaded; this adds a private CA.]:<path>:_default' \
'--signer.tls-cert=[PEM file of the client certificate presented to the remote signer (mutual TLS, #1166). Requires --signer.tls-key.]:<path>:_default' \
'--signer.tls-key=[PEM file of the client key for --signer.tls-cert. Use an unencrypted key with file mode 0600. Encrypted PKCS#8 is refused in this build.]:<path>:_default' \
'--signer.tls-key-password=[File whose first line is the password for --signer.tls-key. The password is never a flag, a config value, or a log line.]:<path>:_default' \
'--signer.allow-http=[Development-only\: allow a plaintext http\:// remote signer on a non-loopback host. Signing requests then travel unencrypted. Loopback http\:// is already allowed.]:: :_default' \
'--miner.quietwindow=[ADR-010 signer quiet window in seconds (\`ChainSpec\:\:quiet_window\`\: 120 on mainnet, Apothem and net2040, 20 on the devnets). Only a larger value is accepted.]:<n>:_default' \
'--miner.handover=[ADR-010 planned key handover\: the first signing wait in seconds, below the quiet window and down to 0. Prints a warning. A signature of our key seen from another peer still closes the fence for the full quiet window. Stop the old signer first.]:<n>:_default' \
'--miner.gaslimit=[Gas ceiling of the producer (geth Config.GasCeil). On a chain with the DynamicGasLimitBlock row\: below the row the block gas limit is this value itself; from the row it steps toward it by at most parent/1024 - 1 a block. On a chain without the row (mainnet) the flag is not read\: the 420000000 plateau rule sets the limit. The range 5000 to 420000000 is an xone check; geth accepts any value.]:<n>:_default' \
'--miner.gasfloor=[Gas-floor target of the producer (#1186). On a chain with the DynamicGasLimitBlock row\: from the row the block gas limit steps toward this value by at most parent/1024 - 1 a block; below the row the ceiling is still the limit. Must not exceed --miner.gaslimit (default 60000000). On a chain without the row (mainnet) the flag is not read. The range 5000 to 420000000 is an xone check.]:<n>:_default' \
'--builder.extradata=[extraData of the Engine API payloads this node builds for a consensus client (Ethereum rules, #1494), at most 32 bytes. geth --miner.extradata. Pass an empty value for empty extraData (#2643).]:<string>:_default' \
'--ethstats=[Stats server as name\:secret@host\:port.]:<string>:_default' \
'--ethstats.allow-plaintext=[Accept a plaintext ws\:// stats server (private devnets only); without it only wss\:// is used. A warning is printed when it is on.]:: :_default' \
'--verbosity=[Log level\: 0 silent, 1 error, 2 warn, 3 info, 4 debug, 5 detail.]:<n>:_default' \
'--log.format=[Log line format. json writes one object per line (t, lvl, target, msg, then the fields); the byte budgets and redaction are the same as text.]:text|json:_default' \
'--log.file=[Write logs to this file instead of stdout. The file is rotated by size, kept with 0600 permissions, and may be gzipped when --log.file.compress is set (#1206).]:<string>:_default' \
'--log.file.max-size=[Rotate the log file when it exceeds this size (bytes, or KB/MB/GB/TB).]:<bytes>:_default' \
'--log.file.max-files=[Number of log files to keep, including the current file.]:<n>:_default' \
'--log.file.compress=[Gzip retired log files as <path>.N.gz.]:: :_default' \
'--log.stdout.verbosity=[With --log.file, also log to stdout at this level (0 off); --verbosity and --log.vmodule then filter the file only.]:<n>:_default' \
'--log.stdout.vmodule=[Per-module levels of the stdout sink beside --log.file, as --log.vmodule.]:<string>:_default' \
'--log.vmodule=[Per-target verbosity as target=level pairs; a target is a crate or module path (xone_net, xone_sync\:\:snap), longest match wins. geth matches file patterns instead.]:<string>:_default' \
'--debug.logslowblock=[Log one warn record whose message is a JSON line with per-phase timings (verify, senders, execution, commit, history, total), in the --log.format of the node, for each imported block that took at least this long; 0 logs every block, a negative value is off.]:<duration>:_default' \
'--tracing.otlp=[OTLP/HTTP collector for traces (http\:// or https\://, no credentials in the URL). Off when empty. Closed spans are queued; a full queue increments xone_otlp_spans_dropped_total and never blocks the node.]:<string>:_default' \
'--logs.otlp=[OTLP/HTTP collector for log records (http\:// or https\://, no credentials in the URL; default path /v1/logs). Off when empty. A record logged inside a trace span carries the span'\''s trace and span id. Records share the --tracing.otlp.queue bound; a full queue increments xone_otlp_logs_dropped_total and never blocks the node.]:<url>:_default' \
'--logs.otlp.filter=[The log records --logs.otlp exports\: a default level, then target=level entries. Independent of --verbosity and --vmodule.]:<directive>:_default' \
'--tracing.otlp.queue=[Bounded OTLP export queue. A full queue drops the span and increments xone_otlp_spans_dropped_total.]:<n>:_default' \
'--override.genesis=[Genesis file; the datadir is initialised from it on first start.]:<path>:_default' \
'--chainspec=[Fork table of a private chain (one network, the format of generated/forks.json), or a Nethermind engine.XDPoSSubnet chainspec; refused for chain ids 50 and 51.]:<path>:_default' \
'--shadow-replay=[Run each new block a second time under this candidate fork table or genesis (the datadir'\''s chain id) and count what it would change, as xone_shadow_findings_total{kind}. Nothing is written; the replay stops if the shipped rules do not reproduce a block. See docs/ops/shadow-replay.md.]:<path>:_default' \
'--shadow-replay.expect=[Expectation rules (\[\[rule\]\] TOML) naming the differences the candidate is meant to make; a matching finding counts in xone_shadow_expected_total instead. Requires --shadow-replay.]:<path>:_default' \
'--chainspec.update=[Record a changed consensus schedule (fork rows, XDPoS parameters) whose changes all lie ahead of the datadir'\''s head. Without it such a change is refused at start; a change at a rule the chain already applies is always refused.]:: :_default' \
'--xdcmainnet=[XDC mainnet profile (chain 50).]:: :_default' \
'--apothem=[XDC Apothem profile (chain 51).]:: :_default' \
'--xdcdevnet=[XDC devnet profile (chain 5551).]:: :_default' \
'--net2040=[XDC net2040 end-to-end devnet profile (chain 2040).]:: :_default' \
'--network=[Built-in XDC network by name\: mainnet, apothem, devnet or net2040; same as the profile flags. \`--network mainnet\` is XDC chain 50, not Ethereum.]:<string>:_default' \
'--chain=[Built-in Ethereum network\: mainnet, sepolia or hoodi. Distinct from --network (XDC). A consensus client drives the node over the Engine API. Mutually exclusive with XDC profile flags.]:<string>:_default' \
'--config=[TOML config file; flags override it. Not a config key.]:<path>:_default' \
'--metrics=[Enable the metrics endpoint.]:: :_default' \
'--metrics.addr=[Metrics listen address.]:<string>:_default' \
'--metrics.port=[Metrics listen port.]:<n>:_default' \
'--metrics.compat=[Also serve the metric names other clients'\'' dashboards read, from the same values\: geth (chain_head_block, chain_head_header, chain_head_receipt, p2p_peers, txpool_pending, txpool_queued) and besu (ethereum_blockchain_height, ethereum_peer_count). Off by default.]:<string>:_default' \
'--metrics.readyz.maxheadage=[Seconds after which /readyz reports stale_head. Default 180, above one XDPoS v2 timeoutPeriod (60 s) plus minePeriod, so one timeout round does not mark every node not ready.]:<n>:_default' \
'--dev=[Developer chain\: chain id 1337 with one validator whose key is made in memory at start and never written, sealing alone, and a funded developer account (the public test key of the test-junk mnemonic, printed at start). Implies --mine, --http and --nodiscover; the datadir is a new temp dir unless --datadir names an empty one. Refused with a network flag, --networkid, --override.genesis, --chainspec, --keystore or --password. V1 until block 2700, then V2. --dev.fork pins a remote block for RPC reads and eth_call.]:: :_default' \
'--dev.fork=[JSON-RPC URL of a node whose state is forked into this isolated --dev chain at --dev.fork-block (#735). The pin is written to <datadir>/dev/fork.json and reused on restart so latest does not move. Only read methods are sent to the source; transactions stay on the local node. Refused without --dev. Credentials in the URL are refused.]:<string>:_default' \
'--dev.fork-block=[Remote block pinned by --dev.fork\: latest (default), finalized, earliest, or a quantity. Resolved once and stored; a later start with latest keeps the same block.]:latest|<number>:_default' \
'--dev.fork-tx=[Fork at a transaction (#2602)\: pin the parent of its block, then at start run the block'\''s earlier transactions on the pinned state with the source chain'\''s XDC (or Ethereum) rules and the block'\''s own environment. Each receipt (status, gas, logs) is compared with the source; the first difference stops the start. RPC reads and eth_call then see the state just before the transaction. Block-end rewards and withdrawals are not applied. Conflicts with --dev.fork-block; stored in dev/fork.json.]:<hash>:_default' \
'--dev.fork-tx-after=[With --dev.fork-tx, also run the transaction itself\: the state is the one just after it.]:: :_default' \
'--dev.fork-cache=[Proven-read cache of --dev.fork (#2601)\: <dir>/fork/<chain id>/<block hash>.json keeps the account, slot and code values already proven at the pin, so a restart or another dev datadir on the same pin sends no proof request for them. Bounded to 256 MiB; a file for another pin is ignored. Unset uses \$XDG_CACHE_HOME/xone (else ~/.cache/xone); off keeps reads in memory only.]:off|<dir>:_default' \
'--dev.period=[Seconds between blocks of the --dev chain (1 to 60).]:<n>:_default' \
'--dev.accounts=[Funded accounts of the --dev chain\: the first n accounts of --dev.mnemonic at m/44'\''/60'\''/0'\''/0/i (1 to 1000). Refused without --dev.]:<n>:_default' \
'--dev.mnemonic=[BIP-39 mnemonic of the --dev funded accounts. The same mnemonic and count give the same addresses and genesis. Keys of a custom mnemonic are not printed; dumpconfig redacts it. Refused without --dev.]:<string>:_default' \
'--dev.seed=[Seed of the --dev validator key\: the same seed gives the same validator address and genesis on every run (a test key\: anyone with the seed has it). With --datadir on a dev datadir made with the same seed, period, accounts, balance and alloc, the chain resumes where it stopped (a copy of a stopped datadir is a saved fixture); a datadir made with other settings is refused before anything is written. Refused without --dev.]:<string>:_default' \
'--dev.alloc=[Fixture allocation for the --dev genesis\: a JSON object of address -> {balance, nonce, code, storage}, as a geth genesis alloc. At most 4 MiB, 1000 accounts, 49152 code bytes and 10000 storage slots per account. Protocol contracts, validators and funded accounts cannot be replaced. The same fixture gives the same genesis hash; its keccak digest is printed and written to the connection file. Refused without --dev.]:<string>:_default' \
'--dev.connection-file=[Once the --dev node serves, write a JSON file (mode 0600) with the chain id, genesis hash, the bound RPC endpoints (real ports, \:0 resolved) and the funded test accounts, keys only for the public test mnemonic. Removed when the node stops. Refused without --dev.]:<string>:_default' \
'--dev.order=[Order of transactions in --dev blocks\: fees (by tip, as on every network) or fifo (arrival order; each sender'\''s nonce order kept, nothing invalid is mined). Refused without --dev.]:<string>:_default' \
'--dev.hardfork=[EVM rules of the --dev chain, active from the first block (Prague and Osaka\: block 1); later forks are off. mainnet (default)\: the rules at the XDC mainnet head (cancun); apothem\: those of Apothem (prague); or an EVM name. The XDPoS values do not change. A resume needs the same value. Refused without --dev.]:mainnet|apothem|istanbul|shanghai|cancun|prague|osaka:_default' \
'--dev.balance=[Wei per --dev funded account, decimal or 0x hex. Refused without --dev.]:<string>:_default' \
'--dev.explorer=[Serve a loopback block explorer UI alongside a --dev node (issue #750). A local transfer is shown with its receipt and logs. Restarting the explorer does not reset the chain. Unsupported Otterscan indexing methods are listed at /capabilities. Refused without --dev.]:: :_default' \
'--dev.explorer.addr=[Explorer listen address. Loopback by default. Refused without --dev.]:<string>:_default' \
'--dev.explorer.port=[Explorer listen port. Refused without --dev.]:<n>:_default' \
'--metrics.push.url=[Push the /metrics page to this Prometheus Pushgateway (http\:// only, no credentials in the URL). Off when empty.]:<string>:_default' \
'--metrics.push.job=[Pushgateway job name.]:<string>:_default' \
'--metrics.push.interval=[Seconds between metrics pushes.]:<n>:_default' \
'--metrics.influxdb.endpoint=[Push metrics as InfluxDB line protocol to this HTTP endpoint (http\:// only, no credentials in the URL). Off when empty. The password, if any, comes from --metrics.influxdb.password (a file).]:<string>:_default' \
'--metrics.influxdb.database=[InfluxDB database name.]:<string>:_default' \
'--metrics.influxdb.username=[InfluxDB username. Off when empty.]:<string>:_default' \
'--metrics.influxdb.password=[File holding the InfluxDB password. The password itself is never a flag, a URL, or a dumpconfig value.]:<path>:_default' \
'--metrics.influxdb.tags=[Extra InfluxDB tags, comma-separated k=v.]:<string>:_default' \
'--metrics.influxdbv2=[Write to --metrics.influxdb.endpoint with the InfluxDB v2 API (/api/v2/write, token auth); needs --metrics.influxdb.token, --metrics.influxdb.organization and --metrics.influxdb.bucket. Config\: \[metrics_push\] influx_v2.]:: :_default' \
'--metrics.influxdb.token=[File holding the InfluxDB v2 token. The token itself is never a flag, a URL, or a dumpconfig value.]:<path>:_default' \
'--metrics.influxdb.organization=[InfluxDB v2 organization.]:<string>:_default' \
'--metrics.influxdb.bucket=[InfluxDB v2 bucket.]:<string>:_default' \
'--kafka.brokers=[Comma-separated Kafka host\:port list for the chain-data exporter (issue #232). Off when empty. Credentials and URL userinfo are refused. Import never waits on the broker.]:<string>:_default' \
'--kafka.topic=[Kafka topic the chain-data exporter writes records to.]:<string>:_default' \
'--kafka.checkpoint=[File recording the last acknowledged Kafka export key so a restart is at-least-once.]:<path>:_default' \
'--rpc.record=[Record every dispatched RPC request (method, params, transport, time) as JSONL in this directory, rotated at 64 MiB x 4 files. Never records headers, admin_*, personal_*, perm_* or signing calls. Off when empty.]:<path>:_default' \
'--pprof=[Profiling listener (issue #174)\: GET /debug/pprof/profile?seconds=N (1 to 300, default 30) samples every thread at 100 Hz and answers profile.proto for \`go tool pprof\`; one profile at a time. GET /debug/pprof/heap?seconds=N answers the in-use heap as profile.proto (jemalloc, #2592); the first request turns allocation sampling on and waits N s. Loopback by default; do not expose it. Requires a build with \`--features profiling\`; the default release binary refuses --pprof.]:: :_default' \
'--pprof.addr=[Profiling listen address.]:<string>:_default' \
'--pprof.port=[Profiling listen port.]:<n>:_default' \
'--pprof.push.url=[Continuous profiling (#2592)\: push a CPU profile of every --pprof.push.interval, and the heap profile once heap sampling is on, to this Pyroscope-compatible server (POST <url>/ingest, format pprof, name xone{network,role,version}). The Authorization header value comes only from the XONE_PPROF_PUSH_AUTH environment variable. Requires a build with \`--features profiling\`.]:<string>:_default' \
'--pprof.push.interval=[Seconds per pushed profile, 10 to 3600.]:<n>:_default' \
'--mcp=[Read-only MCP diagnosis interface on loopback (issue #539)\: tools can inspect head, blocks, balances (full wide precision), receipts, peers and sync, and cannot submit transactions or access signing keys. Off by default.]:: :_default' \
'--mcp.addr=[MCP listen address. Loopback by default; do not expose it.]:<string>:_default' \
'--mcp.port=[MCP listen port.]:<n>:_default' \
'--rpc.gascap=[Gas cap of eth_call and eth_estimateGas (0 = no cap). Config\: \[limits\] rpc_gas_cap.]:<n>:_default' \
'--rpc.txfeecap=[Fee cap in XDC (gas price, or fee cap, times gas) of a transaction sent via eth_sendRawTransaction (0 = no cap). Config\: \[limits\] rpc_tx_fee_cap.]:<ether>:_default' \
'--rpc.rangelimit=[Maximum block range of eth_getLogs and trace_filter (0 = no limit). Config\: \[limits\] rpc_range_limit.]:<n>:_default' \
'--rpc.logs.maxresults=[Maximum number of logs eth_getLogs may return (0 = no limit). Config\: \[limits\] rpc_logs_max_results.]:<n>:_default' \
'--gpo.blocks=[Recent blocks the fee oracle of eth_gasPrice and eth_maxPriorityFeePerGas samples (1 to 1024). Config\: \[limits\] rpc_gpo_blocks.]:<n>:_default' \
'--gpo.percentile=[Percentile of the sampled tips the fee oracle suggests (0 to 100). Config\: \[limits\] rpc_gpo_percentile.]:<n>:_default' \
'--gpo.maxprice=[Highest tip the fee oracle suggests, in wei. Config\: \[limits\] rpc_gpo_max_price.]:<n>:_default' \
'--gpo.ignoreprice=[Tips below this, in wei, are not sampled by the fee oracle; must be below --gpo.maxprice. Config\: \[limits\] rpc_gpo_ignore_price.]:<n>:_default' \
'--rpc.bucket.burst=[RPC token-bucket burst, in cost units. Config\: \[limits\] rpc_bucket_burst.]:<n>:_default' \
'--rpc.bucket.rate=[RPC token-bucket refill rate, in cost units per second. Config\: \[limits\] rpc_bucket_rate.]:<n>:_default' \
'--rpc.class.concurrency=[In-flight caps for RPC classes C1, C2 and C3. Config\: \[limits\] rpc_class_concurrency.]:<c1,c2,c3>:_default' \
'--rpc.allow-unprotected-txs=[Accept legacy transactions signed without a chain ID (no EIP-155 replay protection) via eth_sendRawTransaction. Config\: \[limits\] rpc_allow_unprotected_txs.]:: :_default' \
'--rpc.slow=[Log each RPC request that runs at least this long (WARN, target xone_rpc\:\:slow) with method, transport, class, milliseconds and outcome; parameters are never logged. 0 is off. Config\: \[limits\] rpc_slow_ms.]:<duration>:_default' \
'--rpc.evmtimeout=[Deadline of eth_call, such as 5s or 1m30s (0 = the RPC class deadline). Config\: \[limits\] rpc_evm_timeout_ms.]:<duration>:_default' \
'--rpc.batch-request-limit=[Maximum requests in one batch. Config\: \[limits\] rpc_batch_items.]:<n>:_default' \
'--rpc.batch-response-max-size=[Maximum bytes of one response, batch or single. Config\: \[limits\] rpc_response_bytes.]:<n>:_default' \
'--txpool.pricelimit=[Minimum gas price tip to enter the pool (wei). Config\: \[txpool\] price_limit.]:<n>:_default' \
'--txpool.pricebump=[Percent a replacement must raise both fee cap and tip. Config\: \[txpool\] price_bump.]:<n>:_default' \
'--txpool.accountslots=[Executable slots per account kept from fairness eviction. Config\: \[txpool\] account_slots.]:<n>:_default' \
'--txpool.globalslots=[Executable transactions in the whole pool. Config\: \[txpool\] global_slots.]:<n>:_default' \
'--txpool.accountqueue=[Non-executable transactions per account. Config\: \[txpool\] account_queue.]:<n>:_default' \
'--txpool.globalqueue=[Non-executable transactions in the whole pool. Config\: \[txpool\] global_queue.]:<n>:_default' \
'--txpool.lifetime=[How long an account may stay idle in the queue, such as 3h0m0s. Config\: \[txpool\] lifetime_secs.]:<duration>:_default' \
'--txpool.filter=[Refuse at pool admission every transaction that names a listed address\: sender, recipient, EIP-7702 delegates and authorities, access list. Comma-separated addresses, or a file of addresses (one per line, # comments) read again when it changes. Block import ignores it. Config\: \[txpool\] filter.]:<addresses|file>:_default' \
'--txpool.locals=[The operator'\''s own senders, comma-separated\: their transactions pass under the price floor and are never evicted for price. Every other cap stays. Config\: \[txpool\] locals.]:<addr,...>:_default' \
'--txpool.priority-senders=[Named senders (oracle feeders, bridges, own services), comma-separated\: their transactions are never evicted for price, and this node'\''s blocks hold them first after the special transactions. The price floor, every validity check and the per-sender slot limits stay. Config\: \[txpool\] priority_senders.]:<addr,...>:_default' \
'--txpool.nolocals=[No local senders, no tracking of local RPC submissions and no journal. Config\: \[txpool\] nolocals.]:: :_default' \
'--txpool.journal=[Journal of transactions submitted through the local RPC, in the chain directory; they are added again at start and offered again on each new head until their nonce is spent. Empty\: no journal. Config\: \[txpool\] journal.]:<file>:_default' \
'--blobpool.datacap=[Ethereum-rules networks\: sidecar bytes the pool may hold for blob transactions (kept on disk in <datadir>/xone/blobpool and added back after a restart, #1500). A new blob transaction that would go over it is refused, unless it replaces one of the same sender and nonce. Bytes, or a size with a 1024-based K, M, G or T suffix. 0\: no cap.]:<size>:_default' \
'--blobpool.maxperaccount=[Ethereum-rules networks\: blob transactions one sender may hold in the pool; a further one is refused (a replacement of the same nonce is not). 0\: no limit.]:<n>:_default' \
'--txpool.rejournal=[How often the journal is rewritten to the transactions still tracked. Config\: \[txpool\] rejournal_secs.]:<duration>:_default' \
'--txpool.ingress=[Remote transactions taken from peers\: all, trusted (trusted and static peers only) or none. Blocks, consensus messages, local RPC submissions and validator sign transactions are never limited. Config\: \[txpool\] ingress.]:<policy>:_default' \
'--txpool.gossip=[Peers that get our transactions\: all, trusted (trusted and static peers only) or none. Config\: \[txpool\] gossip.]:<policy>:_default' \
'--txpool.gossip.mode=[How many peers get a transaction whole, the rest its hash\: sqrt (ceil of the square root of the peer count), all, or max\:N. Config\: \[txpool\] gossip_mode.]:<mode>:_default' \
'--txpool.nolocalgossip=[Keep transactions of local senders and local RPC submissions out of gossip\: they are still pooled, mined and forwarded, and peers asking for them get nothing. Config\: \[txpool\] no_local_gossip.]:: :_default' \
'-V+[Print the version stamp and exit; never opens the datadir. Short form -V.]:: :_default' \
'--version=[Print the version stamp and exit; never opens the datadir. Short form -V.]:: :_default' \
'-h[Print help]' \
'--help[Print help]' \
":: :_xone_commands" \
"*::: :->xone" \
&& ret=0
    case $state in
    (xone)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-command-$line[1]:"
        case $line[1] in
            (tasks)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'::topic:_default' \
&& ret=0
;;
(version)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(setup)
_arguments "${_arguments_options[@]}" : \
'--network=[Built-in network (default\: apothem). Mainnet is not qualified and needs --accept-unqualified (#1164).]: :(mainnet apothem devnet devnet551 net2040)' \
'--role=[Node role. Only follower is accepted; a producer on a public network waits for Gate D.]: :_default' \
'--install=[How the follower will be installed and started.]: :(bare systemd docker)' \
'--datadir=[Chain datadir (consensus storage lives under <datadir>/xone).]:dir:_default' \
'--workspace=[Versioned operator workspace, outside consensus storage (default\: ./xone-operator).]:dir:_default' \
'--http-addr=[HTTP JSON-RPC bind address (default\: 127.0.0.1).]:addr:_default' \
'--http-port=[HTTP JSON-RPC port (default\: 8545).]:port:_default' \
'--events=[Write versioned JSON-lines progress events to this file (\`-\` is stderr). Human output stays separate. Secrets never appear in events (#706).]:path:_default' \
'--lang=[Language for human setup guidance (issue #733). Missing translations fall back to English. Command names, error text, JSON keys and --events output stay the same in every locale. The choice is kept in the operator workspace.]:en|hi|mr:_default' \
'--yes[Apply the rendered config without a confirmation prompt.]' \
'--dry-run[Render the config and next commands; write nothing.]' \
'--plain[Plain terminal output with no cursor controls (also implied by NO_COLOR).]' \
'--accept-unqualified[Plan a follower on a network the support matrix marks not-qualified (mainnet today). Without this flag, xone setup refuses mainnet (#1164).]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(profile)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_xone__subcmd__profile_commands" \
"*::: :->profile" \
&& ret=0

    case $state in
    (profile)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-profile-command-$line[1]:"
        case $line[1] in
            (export)
_arguments "${_arguments_options[@]}" : \
'--config=[]:file:_default' \
'--out=[]:file:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
'--in=[]:file:_default' \
'--out=[]:file:_default' \
'*--set=[]:KEY=VALUE:_default' \
'--allow-missing[Accept given paths that do not exist yet]' \
'--force[Replace an existing --out]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__profile__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-profile-help-command-$line[1]:"
        case $line[1] in
            (export)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(dumpconfig)
_arguments "${_arguments_options[@]}" : \
'--schema[Print the JSON Schema of the config file instead (docs/config/schema.json).]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(config-diff)
_arguments "${_arguments_options[@]}" : \
'--from=[The config in use (absent\: the defaults)]:file:_default' \
'--to=[The edited config]:file:_default' \
'--save[Replace --from with --to when it is valid]' \
'--json[]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(license)
_arguments "${_arguments_options[@]}" : \
'--notices[List the third-party packages with version, source and checksum.]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(doctor)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(checkconfig)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(init)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':genesis:_default' \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
'--network=[]: :(mainnet apothem devnet devnet551 net2040)' \
'--verify-only[]' \
'-h[Print help]' \
'--help[Print help]' \
':file:_default' \
&& ret=0
;;
(export)
_arguments "${_arguments_options[@]}" : \
'--input=[]:blockfile:_default' \
'--network=[]: :(mainnet apothem devnet devnet551 net2040)' \
'-h[Print help]' \
'--help[Print help]' \
':file:_default' \
'::from:_default' \
'::to:_default' \
&& ret=0
;;
(bench)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_xone__subcmd__bench_commands" \
"*::: :->bench" \
&& ret=0

    case $state in
    (bench)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-bench-command-$line[1]:"
        case $line[1] in
            (sync)
_arguments "${_arguments_options[@]}" : \
'--from=[]:block:_default' \
'--to=[]:block:_default' \
'-h[Print help]' \
'--help[Print help]' \
':file:_default' \
&& ret=0
;;
(big-block)
_arguments "${_arguments_options[@]}" : \
'--from=[First block of the first payload (at least 1).]:block:_default' \
'--merge=[Stored blocks per payload.]:k:_default' \
'--count=[Payloads, one after another.]:c:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(cold-sload)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--blocks=[]:n:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(build)
_arguments "${_arguments_options[@]}" : \
'--preset=[transfers\: value transfers to new accounts; creates\: contract creations that write 8 storage slots; mixed\: both, alternating.]:transfers|creates|mixed:_default' \
'--txs=[Transactions in the pool.]:n:_default' \
'--senders=[Generated senders the transactions are spread over.]:n:_default' \
'--iterations=[]:n:_default' \
'--warmup=[Untimed builds before the timed ones.]:n:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__bench__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-bench-help-command-$line[1]:"
        case $line[1] in
            (sync)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(big-block)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(cold-sload)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(build)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(import-era)
_arguments "${_arguments_options[@]}" : \
'--download.max-size=[Largest era file to download, in bytes or with a K, M, G or T suffix (default 4GiB); it applies to every download.]:size:_default' \
'--accumulators=[Known accumulator roots, one 0x root per line in era order; a file whose root differs is refused. Mainnet has a built-in table of the 1,896 full epochs.]:file:_default' \
'-h[Print help]' \
'--help[Print help]' \
':source:_default' \
&& ret=0
;;
(download-era)
_arguments "${_arguments_options[@]}" : \
'--download.max-size=[Largest era file to download, in bytes or with a K, M, G or T suffix (default 4GiB); it applies to every download.]:size:_default' \
'--epoch=[Eras to fetch\: a..b, a.., ..b or n (inclusive).]:range:_default' \
'(--epoch)--block=[Fetch the eras that hold these blocks (8192 blocks an era).]:range:_default' \
'--checksums=[A pinned checksum list (\`<sha256> <name>\` per line, or one digest per file in listing order) used instead of the mirror'\''s.]:file:_default' \
'--import[Import the files after the download.]' \
'-h[Print help]' \
'--help[Print help]' \
':server:_default' \
':dir:_default' \
&& ret=0
;;
(init-state)
_arguments "${_arguments_options[@]}" : \
'--block=[The block as RLP \[header, transactions, uncles, withdrawals?\].]:file:_default' \
'--receipts=[The block'\''s receipts as an RLP list; required when the block has transactions.]:file:_default' \
'-h[Print help]' \
'--help[Print help]' \
':state:_default' \
&& ret=0
;;
(export-era)
_arguments "${_arguments_options[@]}" : \
'--from=[]:block:_default' \
'--to=[]:block:_default' \
'-h[Print help]' \
'--help[Print help]' \
':dir:_default' \
&& ret=0
;;
(import-erae)
_arguments "${_arguments_options[@]}" : \
'--download.max-size=[Largest era file to download, in bytes or with a K, M, G or T suffix (default 4GiB); it applies to every download.]:size:_default' \
'--from=[]:block:_default' \
'--to=[Last block included (0 or omitted\: no bound).]:block:_default' \
'--checksums=[A pinned checksum list (\`<sha256> <filename>\` per line) used instead of the directory'\''s or the mirror'\''s checksums_sha256.txt.]:file:_default' \
'--remote-url=[Download missing EraE files from this mirror before the import.]:url:_default' \
'-h[Print help]' \
'--help[Print help]' \
':dir:_default' \
&& ret=0
;;
(import-era-cl)
_arguments "${_arguments_options[@]}" : \
'--from=[]:block:_default' \
'--to=[Last block included (0 or omitted\: no bound).]:block:_default' \
'-h[Print help]' \
'--help[Print help]' \
':dir:_default' \
&& ret=0
;;
(download-erae)
_arguments "${_arguments_options[@]}" : \
'--download.max-size=[Largest era file to download, in bytes or with a K, M, G or T suffix (default 4GiB); it applies to every download.]:size:_default' \
'--epoch=[Eras to fetch\: a..b, a.., ..b or n (inclusive).]:range:_default' \
'(--epoch)--block=[Fetch the eras that hold these blocks (8192 blocks an era).]:range:_default' \
'--checksums=[A pinned checksum list (\`<sha256> <name>\` per line, or one digest per file in listing order) used instead of the mirror'\''s.]:file:_default' \
'--import[Import the files after the download.]' \
'-h[Print help]' \
'--help[Print help]' \
':server:_default' \
':dir:_default' \
&& ret=0
;;
(export-erae)
_arguments "${_arguments_options[@]}" : \
'--from=[]:block:_default' \
'--to=[]:block:_default' \
'-h[Print help]' \
'--help[Print help]' \
':dir:_default' \
&& ret=0
;;
(snapshot)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_xone__subcmd__snapshot_commands" \
"*::: :->snapshot" \
&& ret=0

    case $state in
    (snapshot)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-snapshot-command-$line[1]:"
        case $line[1] in
            (export-genesis)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--out=[]:file:_default' \
'--at=[Block number to export (default\: the current head).]:block:_default' \
'--chain-id=[Chain id of the new private network. Must differ from the source.]:id:_default' \
'--validators=[Comma-separated masternode addresses for the new chain. The source validator set is not reused.]:addr,addr:_default' \
'--period=[Block period of the new chain (default\: the source period, at least 1).]:seconds:_default' \
'--max-accounts=[Refuse the export when the state has more than this many accounts (default 1000000).]:n:_default' \
'--forks-out=[Where to write the fork table (default\: <out>.forks.json).]:file:_default' \
'--network=[]: :(mainnet apothem devnet devnet551 net2040)' \
'(--network)--genesis=[Genesis JSON of a private chain (as --override.genesis)]:file:_default' \
'--chainspec=[Fork table of a private chain (as --chainspec)]:file:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(export)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--out=[]:file:_default' \
'--at=[]:block:_default' \
'--max-age=[]:seconds:_default' \
'--network=[]: :(mainnet apothem devnet devnet551 net2040)' \
'(--network)--genesis=[Genesis JSON of a private chain (as --override.genesis)]:file:_default' \
'--chainspec=[Fork table of a private chain (as --chainspec)]:file:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--in=[Local snapshot file, or an https\:// URL (http\:// is only allowed on loopback). Required unless --seed or --fallback-providers is set.]:file|url:_default' \
'--download.max-size=[Largest snapshot archive to download, in bytes or with a K, M, G or T suffix (default 2TiB); it applies when the server declares no length (a declared length is the limit otherwise).]:size:_default' \
'*--fallback-providers=[Allowlisted HTTPS checkpoint providers (#1201). Used when --in is omitted or that source is unavailable. Plaintext HTTP is only allowed on loopback.]:url:_default' \
'--checkpoint=[Pinned checkpoint hash. When set, only a provider that advertises this hash is accepted.]:0xhash:_default' \
'--quorum=[Minimum agreeing providers when no pin is set (default\: majority of the allowlist).]:n:_default' \
'--token-file=[Bearer token and HMAC key used to verify a provider'\''s signed manifest.]:file:_default' \
'*--seed=[HTTP seed base URL (repeatable). Needs --pins with one \`chunk <segment> <first> <last> <0x keccak256> \[bytes\]\` line per chunk\: a chunk with no line, another range, size or digest refuses the manifest, and a chunk already in the datadir is never replaced. Chunks are assigned round-robin and verified against the pinned keccak256; a seed that sends one bad chunk is dropped. Plaintext HTTP is only allowed on loopback.]:url:_default' \
'--checksum=[Required for a URL\: SHA-256 of the completed file (sha256\:<64 hex>). An interrupted download resumes into the same dest; a wrong checksum is refused.]:sha256:hex:_default' \
'--pins=[Pins file\: one \`<block number> <0x block hash>\` line per trusted checkpoint. With --seed it also needs one \`chunk <segment> <first> <last> <0x keccak256> \[bytes\]\` line per seeded history chunk (#3122).]:file:_default' \
'--staging=[Directory for the buffer of the chunks already checked (default\: <datadir>/xone/snapshot.part). It may sit on another filesystem; a run with the same --staging resumes from it.]:dir:_default' \
'--datadir.staging=[Same as --staging (issue #520).]:dir:_default' \
'--max-age-cap=[]:seconds:_default' \
'--network=[]: :(mainnet apothem devnet devnet551 net2040)' \
'(--network)--genesis=[Genesis JSON of a private chain (as --override.genesis)]:file:_default' \
'--chainspec=[Fork table of a private chain (as --chainspec)]:file:_default' \
'--discover[Follow extra provider URLs advertised by the allowlist (off by default).]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(publish)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--endpoint=[S3-compatible endpoint (https\:// preferred). Plaintext HTTP is allowed only on a loopback host, unless --allow-insecure-http is set.]:url:_default' \
'--bucket=[]:name:_default' \
'--prefix=[Key prefix under the bucket. Archives are stored as <prefix>/<network>/<genesis>/<block>-<hash>.xsnap.]:key:_default' \
'--region=[Signing region (default us-east-1).]:name:_default' \
'--credentials-file=[Access key and secret\: a two-line file, or an AWS shared-credentials \[default\] profile. If omitted, credentials come from XONE_SNAPSHOT_ACCESS_KEY and XONE_SNAPSHOT_SECRET_KEY, or AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY (optional session token\: XONE_SNAPSHOT_SESSION_TOKEN or AWS_SESSION_TOKEN). Secrets are never printed.]:file:_default' \
'--part-bytes=[Multipart part size in bytes (default 8388608, minimum 5242880, the S3 minimum part size). An archive that needs more than 10,000 parts is refused; raise this for larger archives.]:bytes:_default' \
'--at=[]:block:_default' \
'--max-age=[]:seconds:_default' \
'--network=[]: :(mainnet apothem devnet devnet551 net2040)' \
'(--network)--genesis=[Genesis JSON of a private chain (as --override.genesis)]:file:_default' \
'--chainspec=[Fork table of a private chain (as --chainspec)]:file:_default' \
'--allow-insecure-http[Allow plaintext HTTP to a non-loopback endpoint. Secrets then travel unencrypted.]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(serve)
_arguments "${_arguments_options[@]}" : \
'--in=[Finalized .xsnap file to serve.]:file:_default' \
'--listen=[Listen address, for example 127.0.0.1\:9780.]:addr:_default' \
'--token-file=[Bearer token and HMAC key (one line).]:file:_default' \
'--chain-id=[]:id:_default' \
'--anchor=[Anchor number and hash, <number>=<0x hash>.]:n=0xhash:_default' \
'--state-root=[]:0xhash:_default' \
'--pins=[]:file:_default' \
'--max=[Concurrent /snapshot downloads (default 2).]:n:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(checkpoint)
_arguments "${_arguments_options[@]}" : \
'*--fallback-providers=[Allowlisted HTTPS provider base URL (repeatable). Plaintext HTTP is only allowed on loopback.]:url:_default' \
'--checkpoint=[Pinned checkpoint hash.]:0xhash:_default' \
'--quorum=[Minimum agreeing providers when no pin is set (default\: majority of the allowlist).]:n:_default' \
'--token-file=[Bearer token and HMAC key used to verify a provider'\''s signed manifest.]:file:_default' \
'--discover[Follow extra provider URLs advertised by the allowlist (off by default).]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(verify)
_arguments "${_arguments_options[@]}" : \
'--in=[Local snapshot file, or an https\:// URL (http\:// is only allowed on loopback).]:file|url:_default' \
'--checksum=[Required for a URL\: SHA-256 of the completed file (sha256\:<64 hex>). An interrupted download resumes into the same dest; a wrong checksum is refused.]:sha256:hex:_default' \
'--pins=[]:file:_default' \
'--staging=[Directory for the temporary copy of the chunks read (default\: the system temporary directory).]:dir:_default' \
'--max-age-cap=[]:seconds:_default' \
'--network=[]: :(mainnet apothem devnet devnet551 net2040)' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__snapshot__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-snapshot-help-command-$line[1]:"
        case $line[1] in
            (export-genesis)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(export)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(publish)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(serve)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(checkpoint)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(verify)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(account)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_xone__subcmd__account_commands" \
"*::: :->account" \
&& ret=0

    case $state in
    (account)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-account-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--keydir=[Keystore directory (default <datadir>/keystore).]:dir:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(roles)
_arguments "${_arguments_options[@]}" : \
'--etherbase=[Configured validator address (--miner.etherbase); unset\: a follower.]:address:_default' \
'--password=[Configured password file; only its presence and mode are checked.]:file:_default' \
'--datadir=[]:dir:_default' \
'--keydir=[Keystore directory (default <datadir>/keystore).]:dir:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(export)
_arguments "${_arguments_options[@]}" : \
'--out=[New or empty backup directory.]:dir:_default' \
'*--address=[Account to export (repeatable); default\: all.]:address:_default' \
'--datadir=[]:dir:_default' \
'--keydir=[Keystore directory (default <datadir>/keystore).]:dir:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(verify-export)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':dir:_default' \
&& ret=0
;;
(verify-backup)
_arguments "${_arguments_options[@]}" : \
'--password=[File whose first line is the password (mode 0600). Without it the password is typed at the terminal, hidden (twice for a new password); a non-terminal input needs this flag.]:file:_default' \
'--address=[Expected address; a different key fails.]:address:_default' \
'-h[Print help]' \
'--help[Print help]' \
':file:_default' \
&& ret=0
;;
(new)
_arguments "${_arguments_options[@]}" : \
'--password=[File whose first line is the password (mode 0600). Without it the password is typed at the terminal, hidden (twice for a new password); a non-terminal input needs this flag.]:file:_default' \
'--datadir=[]:dir:_default' \
'--keydir=[Keystore directory (default <datadir>/keystore).]:dir:_default' \
'--lightkdf[Light scrypt (N=4096, p=6) instead of geth'\''s standard (N=262144, p=1).]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
'--password=[File whose first line is the password (mode 0600). Without it the password is typed at the terminal, hidden (twice for a new password); a non-terminal input needs this flag.]:file:_default' \
'--datadir=[]:dir:_default' \
'--keydir=[Keystore directory (default <datadir>/keystore).]:dir:_default' \
'--lightkdf[Light scrypt (N=4096, p=6) instead of geth'\''s standard (N=262144, p=1).]' \
'-h[Print help]' \
'--help[Print help]' \
':keyfile:_default' \
&& ret=0
;;
(import-keystore)
_arguments "${_arguments_options[@]}" : \
'--password=[File whose first line is the password (mode 0600). Without it the password is typed at the terminal, hidden (twice for a new password); a non-terminal input needs this flag.]:file:_default' \
'--datadir=[]:dir:_default' \
'--keydir=[Keystore directory (default <datadir>/keystore).]:dir:_default' \
'-h[Print help]' \
'--help[Print help]' \
':file:_default' \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
'--address=[Exact account to remove; no default, no prefix match.]:address:_default' \
'--backup=[Directory made by \`account export\`; it is verified against its manifest and must contain this address'\''s current key file.]:dir:_default' \
'--datadir=[]:dir:_default' \
'--keydir=[Keystore directory (default <datadir>/keystore).]:dir:_default' \
'--apply[Actually remove the key file. Without this flag the command only reports what it would do.]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
'--password=[File whose first line is the password (mode 0600). Without it the password is typed at the terminal, hidden (twice for a new password); a non-terminal input needs this flag.]:file:_default' \
'--new-password=[File whose first line is the new password (mode 0600); without it, typed twice at the terminal.]:file:_default' \
'--datadir=[]:dir:_default' \
'--keydir=[Keystore directory (default <datadir>/keystore).]:dir:_default' \
'--lightkdf[Light scrypt (N=4096, p=6) instead of geth'\''s standard (N=262144, p=1).]' \
'-h[Print help]' \
'--help[Print help]' \
':address:_default' \
&& ret=0
;;
(safety-export)
_arguments "${_arguments_options[@]}" : \
'--address=[Expected signer identity; a mismatch is refused.]:address:_default' \
'--datadir=[]:dir:_default' \
'--keydir=[Keystore directory (default <datadir>/keystore).]:dir:_default' \
'-h[Print help]' \
'--help[Print help]' \
':file -- Path of the interchange JSON file to write (mode 0600).:_default' \
&& ret=0
;;
(safety-import)
_arguments "${_arguments_options[@]}" : \
'--address=[Signer identity to import when the document lists several.]:address:_default' \
'--datadir=[]:dir:_default' \
'--keydir=[Keystore directory (default <datadir>/keystore).]:dir:_default' \
'-h[Print help]' \
'--help[Print help]' \
':file -- Path of the interchange JSON file to read.:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__account__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-account-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(roles)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(export)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(verify-export)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(verify-backup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(new)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import-keystore)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(safety-export)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(safety-import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(db)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_xone__subcmd__db_commands" \
"*::: :->db" \
&& ret=0

    case $state in
    (db)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-db-command-$line[1]:"
        case $line[1] in
            (stats)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(metadata)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--json[One JSON object instead of key\: value lines.]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(dump)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--out=[Write here instead of stdout.]:file:_default' \
'--start=[First hashed account key (from the next\: line of an earlier run).]:hash:_default' \
'--limit=[Stop after n accounts and print the next key; 0 or unset is no limit.]:n:_default' \
'--nocode[Leave out contract code.]' \
'--nostorage[Leave out storage.]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(bloat)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--accounts=[]:n:_default' \
'--slots-per-account=[]:n:_default' \
'--seed=[]:n:_default' \
'--gas-limit=[Block gas limit of the genesis; cold-sload fills each block to it.]:gas:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(segments)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_xone__subcmd__db__subcmd__segments_commands" \
"*::: :->segments" \
&& ret=0

    case $state in
    (segments)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-db-segments-command-$line[1]:"
        case $line[1] in
            (ls)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--json[One JSON object instead of a table.]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(verify)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--json[One JSON object instead of a table.]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__db__subcmd__segments__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-db-segments-help-command-$line[1]:"
        case $line[1] in
            (ls)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(verify)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(inspect)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--table=[]:name:_default' \
'--prefix=[Only keys that start with this hex prefix (optional 0x).]:hex:_default' \
'--limit=[]:n:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(checksum)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--table=[]:name:_default' \
'--from=[First key included (inclusive, optional 0x)]:hexkey:_default' \
'--to=[Key where the walk stops (exclusive)]:hexkey:_default' \
'--limit=[Stop after this many rows (summary says truncated)]:n:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--table=[]:name:_default' \
'--key=[]:hex:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(compact-history)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(compact)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--interval=[Minimum interval in seconds for --if-due (default 86400).]:secs:_default' \
'--keep-old[]' \
'--if-due[Do nothing when the last compaction is still within the interval.]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(copy)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--to=[Destination datadir (must be empty or new).]:dir:_default' \
'--chain-id=[Chain id recorded in the manifest (default 0).]:n:_default' \
'--online[Copy while the node runs (#2691)\: one read transaction of chain.mdbx fixes the copy point; segment files are cut to its manifest and newer ones left out.]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(backup)
_arguments "${_arguments_options[@]}" : \
'--from=[The copy datadir (holds xone/COPY.manifest).]:dir:_default' \
'--to=[]:adapter.toml:_default' \
'--part-mb=[Part size in MiB (default 64).]:n:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(restore)
_arguments "${_arguments_options[@]}" : \
'--from=[]:adapter.toml:_default' \
'--to=[New or empty directory.]:dir:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(verify-copy)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(compact-code)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(analyze-code)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(unwind)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--to=[Block number to become the new head.]:n:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(reconstruct)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--from=[First block (default\: 0).]:n:_default' \
'--to=[Last block (default\: the current head).]:n:_default' \
'--batch=[Blocks per atomic commit (default 64).]:n:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(prune)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--history.bodies=[Blocks of bodies to keep; 0 keeps all.]:n:_default' \
'--history.receipts=[Blocks of receipts to keep; 0 keeps all.]:n:_default' \
'--history.logs=[RPC log window; receipts on disk follow --history.receipts.]:n:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(stage-run)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--copy=[Empty destination for the isolated copy; must not already exist.]:dir:_default' \
'--stage=[headers, bodies, senders, execution or finish]:name:_default' \
'--from=[]:n:_default' \
'--to=[]:n:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(ots-index)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_xone__subcmd__db__subcmd__ots-index_commands" \
"*::: :->ots-index" \
&& ret=0

    case $state in
    (ots-index)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-db-ots-index-command-$line[1]:"
        case $line[1] in
            (build)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--genesis=[Genesis JSON of a private chain (as --override.genesis).]:file:_default' \
'--chainspec=[Fork table of a private chain (as --chainspec).]:file:_default' \
'--ots.index.frames[Also index call-frame from/to (internal calls, trace_filter), as the node flag of the same name.]' \
'--rebuild[Drop every row first and index all blocks again.]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__db__subcmd__ots-index__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-db-ots-index-help-command-$line[1]:"
        case $line[1] in
            (build)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(scrub)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--limit=[Stop after this many errors (default 20).]:n:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(re-execute)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--from=[First block (at least 1).]:n:_default' \
'--to=[Last block.]:n:_default' \
'--tasks=[Worker threads (default 4).]:n:_default' \
'--chunk=[Blocks per chunk (default 5000).]:n:_default' \
'--genesis=[Genesis JSON of a private chain (as --override.genesis).]:file:_default' \
'--chainspec=[Fork table of a private chain (as --chainspec).]:file:_default' \
'--keep-going[List every bad block instead of stopping at the first.]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(shadow-replay)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--candidate=[The candidate spec\: a fork table of one network (--chainspec format) or a geth genesis JSON, for the datadir'\''s chain id.]:file:_default' \
'--from=[First block (at least 1).]:n:_default' \
'--to=[Last block.]:n:_default' \
'--out=[Also write the findings and the summary as one JSON file.]:file:_default' \
'--expect=[Expectations of the fork (conformance/shadow/<fork>.toml)\: \[\[rule\]\] tables with an id and matchers kind, to, create, from_block, to_block, detail. A rule with no matcher is refused.]:file:_default' \
'--genesis=[Genesis JSON of a private chain (as --override.genesis).]:file:_default' \
'--chainspec=[Fork table of a private chain (as --chainspec).]:file:_default' \
'--fail-on-unexplained[Exit 1 when a finding is not explained by an expectation rule (every finding, without --expect).]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(verify-state)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(orphans)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--sample=[Examples to list (default 10).]:n:_default' \
'--code[]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(usage)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--datadir.ancient=[]:dir:_default' \
'*--path=[]:dir:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(preimages)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_xone__subcmd__db__subcmd__preimages_commands" \
"*::: :->preimages" \
&& ret=0

    case $state in
    (preimages)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-db-preimages-command-$line[1]:"
        case $line[1] in
            (export)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--out=[]:file:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--in=[]:file:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__db__subcmd__preimages__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-db-preimages-help-command-$line[1]:"
        case $line[1] in
            (export)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(inspect-trie)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--top=[Contracts ranked by storage-trie bytes]:n:_default' \
'--json[One JSON document instead of the table]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(trie-stored)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(changes)
_arguments "${_arguments_options[@]}" : \
'--datadir=[]:dir:_default' \
'--address=[]:0x..:_default' \
'--slot=[Storage slot (32-byte hex); without it the account itself]:0x..:_default' \
'--from=[First block (inclusive)]:n:_default' \
'--to=[Last block (inclusive); default the newest]:n:_default' \
'--limit=[At most this many changes (summary says truncated)]:n:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(diff)
_arguments "${_arguments_options[@]}" : \
'--left=[]:datadir:_default' \
'--right=[]:datadir:_default' \
'*--table=[Table to compare (repeatable); default all]:name:_default' \
'--from=[First key compared (inclusive)]:hexkey:_default' \
'--to=[Key where comparison stops (exclusive)]:hexkey:_default' \
'--max-diffs=[Stop after this many difference lines (summary says truncated)]:n:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__db__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-db-help-command-$line[1]:"
        case $line[1] in
            (stats)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(metadata)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(dump)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(bloat)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(segments)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__db__subcmd__help__subcmd__segments_commands" \
"*::: :->segments" \
&& ret=0

    case $state in
    (segments)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-db-help-segments-command-$line[1]:"
        case $line[1] in
            (ls)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(verify)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(inspect)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(checksum)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(compact-history)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(compact)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(copy)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(backup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(restore)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(verify-copy)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(compact-code)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(analyze-code)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(unwind)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(reconstruct)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(prune)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(stage-run)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(ots-index)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__db__subcmd__help__subcmd__ots-index_commands" \
"*::: :->ots-index" \
&& ret=0

    case $state in
    (ots-index)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-db-help-ots-index-command-$line[1]:"
        case $line[1] in
            (build)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(scrub)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(re-execute)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(shadow-replay)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(verify-state)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(orphans)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(usage)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(preimages)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__db__subcmd__help__subcmd__preimages_commands" \
"*::: :->preimages" \
&& ret=0

    case $state in
    (preimages)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-db-help-preimages-command-$line[1]:"
        case $line[1] in
            (export)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(inspect-trie)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(trie-stored)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(changes)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(diff)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(evm)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_xone__subcmd__evm_commands" \
"*::: :->evm" \
&& ret=0

    case $state in
    (evm)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-evm-command-$line[1]:"
        case $line[1] in
            (t8n)
_arguments "${_arguments_options[@]}" : \
'--input.alloc=[]:value:_default' \
'--input.env=[]:value:_default' \
'--input.txs=[]:value:_default' \
'--state.fork=[]:value:_default' \
'--state.chainid=[]:value:_default' \
'--state.reward=[]:value:_default' \
'--output.basedir=[]:value:_default' \
'--output.result=[]:value:_default' \
'--output.alloc=[]:value:_default' \
'--state.eth[Use Ethereum fork rules so official EEST fixtures can run (#10).]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(statetest)
_arguments "${_arguments_options[@]}" : \
'--state.chainid=[]:value:_default' \
'--state.eth[Use Ethereum fork rules (EIP-2028 at Istanbul, EIP-2929 at Berlin, no XDCx precompiles) so official EEST fixtures can run (#10).]' \
'--json[Print the EIP-3155 trace of each case to stderr, one JSON object per opcode, then {"output","gasUsed"} and {"stateRoot"}, as geth'\''s \`evm statetest --json\` (#2666; the goevmlab xone driver).]' \
'-h[Print help]' \
'--help[Print help]' \
':file:_default' \
&& ret=0
;;
(blocktest)
_arguments "${_arguments_options[@]}" : \
'--state.chainid=[]:value:_default' \
'--state.eth[Use Ethereum fork rules so official EEST fixtures can run (#10).]' \
'--exec.parallel[Run each block that has a blockAccessList on the BAL-scheduled parallel path (#2088); a mismatch falls back to serial.]' \
'-h[Print help]' \
'--help[Print help]' \
':file:_default' \
&& ret=0
;;
(t9n)
_arguments "${_arguments_options[@]}" : \
'--state.chainid=[]:id:_default' \
'--state.eth[Accepted for the EEST gate; t9n always applies Ethereum rules.]' \
'-h[Print help]' \
'--help[Print help]' \
':file -- A fixture file or a directory of them.:_default' \
&& ret=0
;;
(transaction)
_arguments "${_arguments_options[@]}" : \
'--state.chainid=[]:id:_default' \
'--state.eth[Accepted for the EEST gate; t9n always applies Ethereum rules.]' \
'-h[Print help]' \
'--help[Print help]' \
':file -- A fixture file or a directory of them.:_default' \
&& ret=0
;;
(run)
_arguments "${_arguments_options[@]}" : \
'--codefile=[File with the bytecode as hex; - reads stdin.]:value:_default' \
'--input=[Call data, hex (default empty).]:value:_default' \
'--gas=[Gas limit of the call (default 10000000).]:value:_default' \
'--value=[Value sent, wei (default 0).]:value:_default' \
'--sender=[Caller address.]:value:_default' \
'--receiver=[Address that holds the code.]:value:_default' \
'--chain=[Built-in network whose rules apply (default mainnet).]:value:_default' \
'--block=[Block number whose rules apply (default\: past every scheduled fork).]:value:_default' \
'--fork=[Ethereum fork name (Frontier to Amsterdam) with Ethereum rules, instead of --chain/--block.]:value:_default' \
'--create[Run the code as init code (a contract creation).]' \
'--trace[Print a step trace (pc, op, gas, cost, depth, stack).]' \
'--bench[Repeat the run (at least 10 times, about 1 s) and print the time per run.]' \
'--json[Print one JSON object.]' \
'-h[Print help]' \
'--help[Print help]' \
'::code -- The bytecode, hex.:_default' \
&& ret=0
;;
(witness)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_xone__subcmd__evm__subcmd__witness_commands" \
"*::: :->witness" \
&& ret=0

    case $state in
    (witness)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-evm-witness-command-$line[1]:"
        case $line[1] in
            (export)
_arguments "${_arguments_options[@]}" : \
'--input.alloc=[]:value:_default' \
'--input.env=[]:value:_default' \
'--input.txs=[]:value:_default' \
'--state.fork=[]:value:_default' \
'--state.chainid=[]:value:_default' \
'--output=[]:value:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(replay)
_arguments "${_arguments_options[@]}" : \
'--input=[]:witness.json:_default' \
'--state.fork=[]:fork:_default' \
'--state.chainid=[]:n:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__evm__subcmd__witness__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-evm-witness-help-command-$line[1]:"
        case $line[1] in
            (export)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(replay)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(opcode-perf)
_arguments "${_arguments_options[@]}" : \
'--corpus=[]:corpus.json:_default' \
'--repeats=[Timed runs per fixture in each of the cold and warm modes]:n:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__evm__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-evm-help-command-$line[1]:"
        case $line[1] in
            (t8n)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(statetest)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(blocktest)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(t9n)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(run)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(witness)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__evm__subcmd__help__subcmd__witness_commands" \
"*::: :->witness" \
&& ret=0

    case $state in
    (witness)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-evm-help-witness-command-$line[1]:"
        case $line[1] in
            (export)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(replay)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(opcode-perf)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(p2p)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_xone__subcmd__p2p_commands" \
"*::: :->p2p" \
&& ret=0

    case $state in
    (p2p)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-p2p-command-$line[1]:"
        case $line[1] in
            (key)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_xone__subcmd__p2p__subcmd__key_commands" \
"*::: :->key" \
&& ret=0

    case $state in
    (key)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-p2p-key-command-$line[1]:"
        case $line[1] in
            (generate)
_arguments "${_arguments_options[@]}" : \
'--out=[]:file:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(enode)
_arguments "${_arguments_options[@]}" : \
'--nodekey=[]:file:_default' \
'--ip=[]:ip:_default' \
'--port=[]:port:_default' \
'--discport=[]:port:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__p2p__subcmd__key__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-p2p-key-help-command-$line[1]:"
        case $line[1] in
            (generate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(enode)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(header)
_arguments "${_arguments_options[@]}" : \
'--enode=[the peer to ask]:enode:_default' \
'(--network)--chain=[Ethereum network of the peer]:name:(mainnet sepolia hoodi)' \
'--network=[XDC network of the peer (default mainnet)]:name:(mainnet apothem devnet devnet551 net2040)' \
'--timeout=[deadline of each step]:secs:_default' \
'--rlp[also print the RLP as hex]' \
'-h[Print help]' \
'--help[Print help]' \
':block -- block number, or 0x block hash:_default' \
&& ret=0
;;
(body)
_arguments "${_arguments_options[@]}" : \
'--enode=[the peer to ask]:enode:_default' \
'(--network)--chain=[Ethereum network of the peer]:name:(mainnet sepolia hoodi)' \
'--network=[XDC network of the peer (default mainnet)]:name:(mainnet apothem devnet devnet551 net2040)' \
'--timeout=[deadline of each step]:secs:_default' \
'--rlp[also print the RLP as hex]' \
'-h[Print help]' \
'--help[Print help]' \
':block -- block number, or 0x block hash:_default' \
&& ret=0
;;
(check)
_arguments "${_arguments_options[@]}" : \
'--network=[also probe this network'\''s built-in bootnodes]: :(mainnet apothem devnet devnet551 net2040)' \
'--datadir=[also probe the datadir'\''s static-nodes.json and trusted-nodes.json]:dir:_default' \
'--timeout=[deadline of each step of each probe]:seconds:_default' \
'-h[Print help]' \
'--help[Print help]' \
'*::enode -- enode URLs to probe:_default' \
&& ret=0
;;
(bootnode)
_arguments "${_arguments_options[@]}" : \
'--nodekey=[]:file:_default' \
'--addr=[]:ip:port:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__p2p__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-p2p-help-command-$line[1]:"
        case $line[1] in
            (key)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__p2p__subcmd__help__subcmd__key_commands" \
"*::: :->key" \
&& ret=0

    case $state in
    (key)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-p2p-help-key-command-$line[1]:"
        case $line[1] in
            (generate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(enode)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(header)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(body)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(check)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(bootnode)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(network)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_xone__subcmd__network_commands" \
"*::: :->network" \
&& ret=0

    case $state in
    (network)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-network-command-$line[1]:"
        case $line[1] in
            (init)
_arguments "${_arguments_options[@]}" : \
'--out=[]:dir:_default' \
'--masternodes=[]:n:_default' \
'--period=[]:n:_default' \
'--chain-id=[]:n:_default' \
'--base-port=[]:n:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(shadowfork)
_arguments "${_arguments_options[@]}" : \
'--source=[]:datadir:_default' \
'--out=[]:dir:_default' \
'--masternodes=[]:n:_default' \
'--period=[]:n:_default' \
'--chain-id=[]:n:_default' \
'--base-port=[]:n:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(up)
_arguments "${_arguments_options[@]}" : \
'--out=[]:dir:_default' \
'--bin=[xone binary to launch (default\: this executable).]:path:_default' \
'--timeout=[How long to wait for an early crash after spawn.]:seconds:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(status)
_arguments "${_arguments_options[@]}" : \
'--out=[]:dir:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(down)
_arguments "${_arguments_options[@]}" : \
'--out=[]:dir:_default' \
'--purge[Also delete the workspace directory.]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__network__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-network-help-command-$line[1]:"
        case $line[1] in
            (init)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(shadowfork)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(up)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(status)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(down)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(sync-status)
_arguments "${_arguments_options[@]}" : \
'--rpc=[]:url:_default' \
'--interval=[]:secs:_default' \
'--count=[Samples to print; 0 watches until interrupted (two or more detect no progress)]:n:_default' \
'--max-age=[A head older than this is stale]:secs:_default' \
'--json[One JSON object per sample\: stage (empty, syncing, caught-up, stale-head, no-progress or unreachable), head, head_time, head_age_s, target, behind, peers]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(verify)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_xone__subcmd__verify_commands" \
"*::: :->verify" \
&& ret=0

    case $state in
    (verify)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-verify-command-$line[1]:"
        case $line[1] in
            (stateless)
_arguments "${_arguments_options[@]}" : \
'*--rpc=[Endpoint that serves the blocks (repeatable; tried in order). http\:// or https\:// (certificate checked against the built-in web roots, plus --tls-ca).]:url:_default' \
'*--witness-rpc=[Endpoint that serves debug_executionWitness (repeatable; default\: --rpc).]:url:_default' \
'(--block-list)--anchor=[Trusted hash of block --from minus 1; the first block must name it as its parent. Required on a first run (a progress file in --data-dir replaces it).]:0xhash:_default' \
'(--block-list)--from=[First block (at least 1). Required on a first run; a resumed run starts after the progress file.]:n:_default' \
'(--block-list)--to=[Last block (default\: the head of the first --rpc that answers).]:n:_default' \
'(--block-list)--data-dir=[Keep progress.json here (temp file and rename)\: the last block of a contiguous run of ok blocks and its hash. A run that finds it resumes after that block.]:dir:_default' \
'--block-list=[Verify only the blocks in this file (numbers or a-b ranges, separated by newlines, spaces or commas; # starts a comment). No anchor\: the headers are not linked or sealed, and the summary says anchored false.]:file:_default' \
'--tls-ca=[Also trust the CA certificates in this PEM file for https endpoints (a private CA).]:file.pem:_default' \
'--code-cache-mb=[With --data-dir and --state proofs\: keep fetched contract code in <data-dir>/codes, at most this many MB (least recently used files go first); every file is checked against its code hash on read. 0 turns the cache off.]:mb:_default' \
'--rps=[At most n RPC calls per second in all, over every worker (default\: no limit).]:n:_default' \
'--workers=[Parallel workers (default\: the cores of this machine).]:n:_default' \
'--timeout=[Per RPC call.]:secs:_default' \
'--report=[Write one JSON line per block, in block order.]:file.jsonl:_default' \
'--state=[Where the witness comes from\: witness (debug_executionWitness of --witness-rpc) or proofs (built from a prestateTracer trace, batched eth_getProof and eth_getCode of --witness-rpc at the parent block; every proof is checked against the parent state root; accesses the trace missed are fetched one by one and counted).]: :(witness proofs)' \
'--poll=[With --follow\: seconds between looks at the head (default 2).]:secs:_default' \
'--network=[Built-in XDC network (default\: the node default).]: :(mainnet apothem devnet net2040)' \
'--genesis=[Genesis file of a private chain.]:file:_default' \
'--chainspec=[Fork table of a private chain (as --chainspec of the node).]:file:_default' \
'(--to --block-list)--follow[Keep going\: when the run reaches the head, poll it (--poll) and verify new blocks as they come. Stops with exit 1 at the first block that is not ok, with the progress file at the last ok block. A reorg below the last block checked is found by hash; the run goes back to the last block both chains share (within 256 blocks), checks the new blocks and lowers the progress pointer.]' \
'--no-seal-check[Do not check the validators'\'' seals and certificates on the headers (needed for a chain without XDPoS seals, such as a subnet; the blocks then prove only that their headers link).]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__verify__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-verify-help-command-$line[1]:"
        case $line[1] in
            (stateless)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(invariants)
_arguments "${_arguments_options[@]}" : \
'--rpc=[]:url:_default' \
'--block=[The block to check; its hash pins every read]:number|hash|tag:_default' \
'--json[Print one JSON object]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(wallet-info)
_arguments "${_arguments_options[@]}" : \
'--rpc=[The node'\''s RPC, used only for the check]:url:_default' \
'--public-url=[The RPC URL the wallet should use (default\: --rpc)]:url:_default' \
'(--network)--chain-id=[]:n:_default' \
'--network=[]: :(mainnet apothem devnet devnet551 net2040)' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(rpc)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_xone__subcmd__rpc_commands" \
"*::: :->rpc" \
&& ret=0

    case $state in
    (rpc)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-rpc-command-$line[1]:"
        case $line[1] in
            (check)
_arguments "${_arguments_options[@]}" : \
'--rpc=[]:url:_default' \
'(--network)--chain-id=[]:n:_default' \
'--network=[]: :(mainnet apothem devnet devnet551 net2040)' \
'--require=[Methods the application needs (default\: the usual read and send set)]:m1,m2:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__rpc__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-rpc-help-command-$line[1]:"
        case $line[1] in
            (check)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(attach)
_arguments "${_arguments_options[@]}" : \
'--datadir=[Datadir whose xone.ipc is used when no endpoint is given (default\: xone-data)]:dir:_default' \
'--ipcpath=[IPC socket path]:path:_default' \
'--rpc=[HTTP JSON-RPC endpoint instead of IPC]:url:_default' \
'--exec=[Run this command and exit]:cmd:_default' \
'-h[Print help]' \
'--help[Print help]' \
'::endpoint -- IPC path or http\:// URL (default\: <datadir>/xone.ipc):_default' \
&& ret=0
;;
(rpcdaemon)
_arguments "${_arguments_options[@]}" : \
'--rpc.state-url=[State service address (host\:port) or Unix socket path]:addr-or-path:_default' \
'--rpc.state-token=[Shared token; default is <datadir>/rpc-state.token]:token:_default' \
'--datadir=[Datadir used to find rpc-state.token (default\: xone-data)]:dir:_default' \
'--http.addr=[HTTP listen address (default 127.0.0.1)]:addr:_default' \
'--http.port=[HTTP listen port (default 8545)]:port:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(upgrade)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_xone__subcmd__upgrade_commands" \
"*::: :->upgrade" \
&& ret=0

    case $state in
    (upgrade)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-upgrade-command-$line[1]:"
        case $line[1] in
            (prepare)
_arguments "${_arguments_options[@]}" : \
'--at=[Fork/halt block height for the switch]:block:_default' \
'--name=[Upgrade name (default\: block-<at>)]:name:_default' \
'--sig=[Detached GPG signature (.sig/.asc) for the binary or --sums file]:file:_default' \
'--sums=[SHA256SUMS manifest covered by --sig]:SHA256SUMS:_default' \
'--keyring=[Public key file to import into an isolated GPG keyring]:pub.gpg:_default' \
'--sha256=[Expected SHA-256 digest of <binary>]:hex:_default' \
'--datadir=[Node datadir]:dir:_default' \
'--force[Replace an existing staged upgrade plan]' \
'--json[Print machine-readable JSON output]' \
'-h[Print help]' \
'--help[Print help]' \
':binary -- Path to the new xone binary:_default' \
&& ret=0
;;
(status)
_arguments "${_arguments_options[@]}" : \
'--datadir=[Node datadir]:dir:_default' \
'--json[Print machine-readable JSON output]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(rollback)
_arguments "${_arguments_options[@]}" : \
'--datadir=[Node datadir]:dir:_default' \
'--json[Print machine-readable JSON output]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(run)
_arguments "${_arguments_options[@]}" : \
'--datadir=[Node datadir]:dir:_default' \
'--bin=[Initial xone binary path (default\: current executable)]:path:_default' \
'--auto-rollback[Automatically roll back to previousBinary if the upgraded binary exits non-zero]' \
'-h[Print help]' \
'--help[Print help]' \
'*::args -- Arguments passed to the supervised xone process:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__upgrade__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-upgrade-help-command-$line[1]:"
        case $line[1] in
            (prepare)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(status)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rollback)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(run)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(signer)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_xone__subcmd__signer_commands" \
"*::: :->signer" \
&& ret=0

    case $state in
    (signer)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-signer-command-$line[1]:"
        case $line[1] in
            (set-identity)
_arguments "${_arguments_options[@]}" : \
'--password=[Password file (mode 0600) for a local keystore]:file:_default' \
'--address=[Expected signer address when using a remote signer URL]:0xADDR:_default' \
'--handover=[Planned key handover\: wait this many seconds (0 = none) instead of the quiet window; a signature of the key seen from another peer still closes the fence for the full window]:secs:_default' \
'--datadir=[Datadir containing xone.ipc]:dir:_default' \
'--ipcpath=[IPC socket path (default\: <datadir>/xone.ipc)]:path:_default' \
'--json[Print machine-readable JSON output]' \
'-h[Print help]' \
'--help[Print help]' \
':source -- Local keystore v3 file path or remote signer http(s) URL:_default' \
&& ret=0
;;
(clear-identity)
_arguments "${_arguments_options[@]}" : \
'--datadir=[Datadir containing xone.ipc]:dir:_default' \
'--ipcpath=[IPC socket path (default\: <datadir>/xone.ipc)]:path:_default' \
'--json[Print machine-readable JSON output]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__signer__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-signer-help-command-$line[1]:"
        case $line[1] in
            (set-identity)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(clear-identity)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(exit)
_arguments "${_arguments_options[@]}" : \
'--min-idle=[Minimum idle seconds required before stopping a validator]:secs:_default' \
'--timeout=[Maximum seconds to wait for a restart window]:secs:_default' \
'--interval=[Polling interval in seconds]:secs:_default' \
'--datadir=[Datadir containing xone.ipc and xone.pid]:dir:_default' \
'--ipcpath=[IPC socket path (default\: <datadir>/xone.ipc)]:path:_default' \
'--pid=[Override target process ID]:pid:_default' \
'--wait-for-restart-window[Poll xone_restartWindow over IPC until idleSeconds >= --min-idle]' \
'--dry-run[Wait for the window and print it without sending SIGTERM]' \
'--json[Print machine-readable JSON output]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(wait-ready)
_arguments "${_arguments_options[@]}" : \
'--rpc=[]:url:_default' \
'--readyz=[Also require this /readyz endpoint to answer 200]:url:_default' \
'(--network)--chain-id=[]:n:_default' \
'--network=[]: :(mainnet apothem devnet devnet551 net2040)' \
'--timeout=[]:secs:_default' \
'--interval=[]:secs:_default' \
'--json[Print the final status as one JSON line]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(dumpgenesis)
_arguments "${_arguments_options[@]}" : \
'--network=[]: :(mainnet apothem devnet devnet551 net2040)' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(completions)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':shell:(bash zsh fish)' \
&& ret=0
;;
(manpage)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(genesis-hash)
_arguments "${_arguments_options[@]}" : \
'--network=[]: :(mainnet apothem devnet devnet551 net2040)' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-help-command-$line[1]:"
        case $line[1] in
            (tasks)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(version)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(setup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(profile)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__help__subcmd__profile_commands" \
"*::: :->profile" \
&& ret=0

    case $state in
    (profile)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-help-profile-command-$line[1]:"
        case $line[1] in
            (export)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(dumpconfig)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(config-diff)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(license)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(doctor)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(checkconfig)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(init)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(export)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(bench)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__help__subcmd__bench_commands" \
"*::: :->bench" \
&& ret=0

    case $state in
    (bench)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-help-bench-command-$line[1]:"
        case $line[1] in
            (sync)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(big-block)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(cold-sload)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(build)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(import-era)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(download-era)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(init-state)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(export-era)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import-erae)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import-era-cl)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(download-erae)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(export-erae)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(snapshot)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__help__subcmd__snapshot_commands" \
"*::: :->snapshot" \
&& ret=0

    case $state in
    (snapshot)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-help-snapshot-command-$line[1]:"
        case $line[1] in
            (export-genesis)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(export)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(publish)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(serve)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(checkpoint)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(verify)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(account)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__help__subcmd__account_commands" \
"*::: :->account" \
&& ret=0

    case $state in
    (account)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-help-account-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(roles)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(export)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(verify-export)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(verify-backup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(new)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import-keystore)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(safety-export)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(safety-import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(db)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__help__subcmd__db_commands" \
"*::: :->db" \
&& ret=0

    case $state in
    (db)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-help-db-command-$line[1]:"
        case $line[1] in
            (stats)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(metadata)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(dump)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(bloat)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(segments)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__help__subcmd__db__subcmd__segments_commands" \
"*::: :->segments" \
&& ret=0

    case $state in
    (segments)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-help-db-segments-command-$line[1]:"
        case $line[1] in
            (ls)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(verify)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(inspect)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(checksum)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(compact-history)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(compact)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(copy)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(backup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(restore)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(verify-copy)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(compact-code)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(analyze-code)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(unwind)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(reconstruct)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(prune)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(stage-run)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(ots-index)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__help__subcmd__db__subcmd__ots-index_commands" \
"*::: :->ots-index" \
&& ret=0

    case $state in
    (ots-index)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-help-db-ots-index-command-$line[1]:"
        case $line[1] in
            (build)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(scrub)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(re-execute)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(shadow-replay)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(verify-state)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(orphans)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(usage)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(preimages)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__help__subcmd__db__subcmd__preimages_commands" \
"*::: :->preimages" \
&& ret=0

    case $state in
    (preimages)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-help-db-preimages-command-$line[1]:"
        case $line[1] in
            (export)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(inspect-trie)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(trie-stored)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(changes)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(diff)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(evm)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__help__subcmd__evm_commands" \
"*::: :->evm" \
&& ret=0

    case $state in
    (evm)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-help-evm-command-$line[1]:"
        case $line[1] in
            (t8n)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(statetest)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(blocktest)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(t9n)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(run)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(witness)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__help__subcmd__evm__subcmd__witness_commands" \
"*::: :->witness" \
&& ret=0

    case $state in
    (witness)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-help-evm-witness-command-$line[1]:"
        case $line[1] in
            (export)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(replay)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(opcode-perf)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(p2p)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__help__subcmd__p2p_commands" \
"*::: :->p2p" \
&& ret=0

    case $state in
    (p2p)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-help-p2p-command-$line[1]:"
        case $line[1] in
            (key)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__help__subcmd__p2p__subcmd__key_commands" \
"*::: :->key" \
&& ret=0

    case $state in
    (key)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-help-p2p-key-command-$line[1]:"
        case $line[1] in
            (generate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(enode)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(header)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(body)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(check)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(bootnode)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(network)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__help__subcmd__network_commands" \
"*::: :->network" \
&& ret=0

    case $state in
    (network)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-help-network-command-$line[1]:"
        case $line[1] in
            (init)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(shadowfork)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(up)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(status)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(down)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(sync-status)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(verify)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__help__subcmd__verify_commands" \
"*::: :->verify" \
&& ret=0

    case $state in
    (verify)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-help-verify-command-$line[1]:"
        case $line[1] in
            (stateless)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(invariants)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(wallet-info)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rpc)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__help__subcmd__rpc_commands" \
"*::: :->rpc" \
&& ret=0

    case $state in
    (rpc)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-help-rpc-command-$line[1]:"
        case $line[1] in
            (check)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(attach)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rpcdaemon)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(upgrade)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__help__subcmd__upgrade_commands" \
"*::: :->upgrade" \
&& ret=0

    case $state in
    (upgrade)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-help-upgrade-command-$line[1]:"
        case $line[1] in
            (prepare)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(status)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rollback)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(run)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(signer)
_arguments "${_arguments_options[@]}" : \
":: :_xone__subcmd__help__subcmd__signer_commands" \
"*::: :->signer" \
&& ret=0

    case $state in
    (signer)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:xone-help-signer-command-$line[1]:"
        case $line[1] in
            (set-identity)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(clear-identity)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(exit)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(wait-ready)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(dumpgenesis)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(completions)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(manpage)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(genesis-hash)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
}

(( $+functions[_xone_commands] )) ||
_xone_commands() {
    local commands; commands=(
'tasks:Help grouped by task (first follower, dev chain, accounts, snapshot, disk, peers) with working examples and the guide to read.' \
'version:Print the version stamp and exit.' \
'setup:Guided first-follower setup\: collect network, datadir and endpoints, render a config and the next commands, and write them only after confirmation. Cancellation leaves the previous configuration unchanged. A follower plan never enables --mine, so mainnet Gate D stays in force. --plain and NO_COLOR emit no cursor controls (#616).' \
'profile:Portable setup profiles without secrets or host paths (#638).' \
'dumpconfig:Print the effective config as TOML.' \
'config-diff:Preview a config edit before saving it (#636)\: validates --to, lists each changed setting with its old and new value (secrets redacted) and what applying it takes. Equivalent TOML is no change. With --save a valid --to replaces --from atomically; an invalid one changes nothing (exit 2).' \
'license:Print the project licence, or with --notices the dependencies of this build'\''s lockfile; offline.' \
'doctor:Read-only host checks before a long sync\: open-file and address-space limits against the MDBX map, vm.max_map_count, the cgroup memory limit and the datadir'\''s disk headroom. Changes nothing; a value the platform does not expose is reported as unknown. Exit 1 when a check fails.' \
'checkconfig:Validate the effective config (flags, environment, --config file), resolve the genesis and chain spec and check them against the datadir'\''s chain marker, without binding a port or writing anything. Exit 0 when a start would get past the configuration checks, 2 on an invalid setting, 1 on a chain mismatch.' \
'init:Write the datadir chain marker from a genesis file and print its hash.' \
'import:Import a geth block file into the datadir (--datadir and the network flags), through the node'\''s block validation and durable commit, from the datadir'\''s head on. --verify-only runs the file through the staged pipeline on an in-memory chain instead and keeps nothing.' \
'export:Write canonical blocks of the datadir as a geth block file. With --input, of an in-memory chain imported from that file instead (verification).' \
'bench:Offline benchmarks on a scratch datadir (--datadir and the network flags).' \
'import-era:Import pre-merge history from era1 files (a directory, or an http(s) URL whose index lists them) into the datadir of an Ethereum network (--chain). Every file is verified (chain links, total difficulty, accumulator root against the root in its name and --accumulators), then each block goes through the node'\''s block validation and durable commit.' \
'download-era:Download era1 history files from a mirror (an https URL, or http on a loopback host, whose index lists them) into a directory. Each file is checked against the sha256 of --checksums or of the mirror'\''s checksums.txt, and a file without one is refused. An interrupted download resumes on the next run. With --import (and --chain) the files are then imported as by import-era.' \
'init-state:Install the state of one block of an Ethereum network (--chain) into an empty datadir from a JSONL state dump (geth \`dump --iterative\`; first line {"root"\: …}, then one account per line by address or by hashed key). The dump'\''s root must be the block'\''s state root, and the store checks the root of the rows before it writes anything. The datadir then runs as a minimal node from that block; the consensus client drives it on.' \
'export-era:Write pre-merge blocks of the datadir of an Ethereum network (--chain) as era1 files, one per 8192 blocks, into a directory.' \
'import-erae:Import pre- and post-merge history from EraE noproofs files (.ere / .erae) in a directory into the datadir of an Ethereum network (--chain). With --remote-url, missing epoch files are downloaded from that https mirror (or http on a loopback host) first, checked against --checksums or the mirror'\''s checksums_sha256.txt, and an interrupted download resumes on the next run. Every file is verified (layout, chain links, total difficulty and accumulator when present, and sha256 against --checksums or the directory'\''s checksums_sha256.txt when that file exists), then each block goes through the node'\''s block validation and durable commit. Proof-profile files are refused.' \
'import-era-cl:Import post-merge history from consensus-layer .era files (<network>-<era>-<root>.era, as served by beacon-node era mirrors) in a directory into the datadir of an Ethereum network (--chain). The execution payload of each signed beacon block is rebuilt into an execution block whose hash must match the payload'\''s block hash and link to its parent; each block then goes through the node'\''s block validation and durable commit. Beacon signatures and states are not checked. Pre-merge slots carry no execution payload and are skipped.' \
'download-erae:Download EraE history files (.ere / .erae) from a mirror (an https URL, or http on a loopback host, whose index lists them) into a directory. Each file is checked against the sha256 of --checksums or of the mirror'\''s checksums_sha256.txt, and a file without one is refused. An interrupted download resumes on the next run. With --import (and --chain) the files are then imported as by import-erae. Proof-profile files are refused on import.' \
'export-erae:Write blocks of the datadir of an Ethereum network (--chain) as EraE noproofs files (.ere), one per 8192 blocks, into a directory, including post-merge history. Also writes checksums_sha256.txt.' \
'snapshot:Export, export-genesis, import, verify, publish, serve, or compare checkpoint providers for an anchored snapshot (issues #38, #712, #1199, #1201 and #1203).' \
'account:Manage keystore accounts\: new, import, list, roles, export, verify-export, delete, update, safety-export, safety-import.' \
'db:Inspect the datadir'\''s database.' \
'evm:EVM tools on the xOneRS executor.' \
'p2p:devp2p tools\: node keys, enode URLs and a discovery-only bootnode (issue #178).' \
'network:Private XDPoS network tools (issue #223).' \
'sync-status:Show a running node'\''s sync progress over its RPC\: empty, syncing (block, target, %), caught up or stale head, and why it is not progressing (#659).' \
'verify:Verify chain blocks without holding the state (#2613).' \
'invariants:Check the rules of the XDC system contracts (0x88 validator, 0x89 block signer, 0x90 randomize) at one block through view calls over a node'\''s RPC; each rule has an ID and its contract source and is reported pass or fail with the values read. Exit 1 when one fails, 2 when the node cannot be read (#2595).' \
'wallet-info:Print the wallet_addEthereumChain (EIP-3085) descriptor of a running node after checking over its RPC that it serves the intended chain; a mismatch exports nothing (exit 2). Credentials, query and fragment never enter the exported URL (#720).' \
'rpc:Tools for an RPC endpoint.' \
'attach:Connect a line REPL to a running node over IPC (default <datadir>/xone.ipc) or --rpc, mapping geth-console calls such as eth.blockNumber and XDPoS.getMasternodes() to JSON-RPC. No JavaScript engine\: method calls and literals only. --exec runs one command and exits 1 on an RPC error (#180).' \
'rpcdaemon:Run a read-only JSON-RPC worker in a separate process against the node'\''s authenticated pinned state service (#540). Killing this process does not stop the node. Remote access requires --rpc.state-token (or <datadir>/rpc-state.token). Stale view IDs after a reorg are refused.' \
'upgrade:Stage a signed upgrade binary, switch at a halt height, or roll back (#2313).' \
'signer:Switch or clear a running node'\''s validator signing identity over local IPC without a restart (#2300).' \
'exit:Stop a running node gracefully, optionally waiting for a safe restart window with no upcoming validator turn or epoch switch (#2304).' \
'wait-ready:Wait for a running node to be ready (RPC up, right network, not syncing) with a deadline; exit 0 ready, 1 timeout, 2 wrong network (issue #620).' \
'dumpgenesis:Print the genesis JSON of a built-in network (geth dumpgenesis).' \
'completions:Print the shell completion script for bash, zsh or fish (also in docs/cli/completions).' \
'manpage:Print the xone(1) manual page as roff (also docs/cli/xone.1).' \
'genesis-hash:Print the genesis block hash of a built-in network.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone commands' commands "$@"
}
(( $+functions[_xone__subcmd__account_commands] )) ||
_xone__subcmd__account_commands() {
    local commands; commands=(
'list:Print the accounts of the keystore directory.' \
'roles:Report the node'\''s identities without unlocking\: the p2p node id (nodekey), the validator address and its keystore file, and the password file. Prints no secret.' \
'export:Copy keystore files (encrypted only) into a new backup directory with a manifest of addresses and digests. No password, no safety record, nothing decrypted.' \
'verify-export:Check a backup made by \`account export\` against its manifest.' \
'verify-backup:Check that a keystore file (a backup) unlocks with its password and holds the expected address. Decrypts in memory only; writes no key file, safety record or transaction.' \
'new:Create a new key and store it encrypted.' \
'import:Encrypt a hex private key file into the keystore.' \
'import-keystore:Copy an existing encrypted keystore file (V3) into the keystore unchanged, after checking it unlocks with --password and its address matches. No raw key needed; an address already present is refused.' \
'delete:Remove one keystore file after a verified backup, only when the node is stopped. Default is a dry run; --apply performs the removal. The signer safety record is not touched.' \
'update:Re-encrypt an account with a new password.' \
'safety-export:Write an EIP-3076-style XDC slashing-protection interchange document (\`xdc-1\`) from the datadir'\''s signer safety record. No private keys or passwords are included.' \
'safety-import:Import an XDC slashing-protection interchange document into the datadir'\''s signer safety record. Wrong genesis roots and lower history are refused; a successful import never weakens existing watermarks. Stop the node first.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone account commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__delete_commands] )) ||
_xone__subcmd__account__subcmd__delete_commands() {
    local commands; commands=()
    _describe -t commands 'xone account delete commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__export_commands] )) ||
_xone__subcmd__account__subcmd__export_commands() {
    local commands; commands=()
    _describe -t commands 'xone account export commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__help_commands] )) ||
_xone__subcmd__account__subcmd__help_commands() {
    local commands; commands=(
'list:Print the accounts of the keystore directory.' \
'roles:Report the node'\''s identities without unlocking\: the p2p node id (nodekey), the validator address and its keystore file, and the password file. Prints no secret.' \
'export:Copy keystore files (encrypted only) into a new backup directory with a manifest of addresses and digests. No password, no safety record, nothing decrypted.' \
'verify-export:Check a backup made by \`account export\` against its manifest.' \
'verify-backup:Check that a keystore file (a backup) unlocks with its password and holds the expected address. Decrypts in memory only; writes no key file, safety record or transaction.' \
'new:Create a new key and store it encrypted.' \
'import:Encrypt a hex private key file into the keystore.' \
'import-keystore:Copy an existing encrypted keystore file (V3) into the keystore unchanged, after checking it unlocks with --password and its address matches. No raw key needed; an address already present is refused.' \
'delete:Remove one keystore file after a verified backup, only when the node is stopped. Default is a dry run; --apply performs the removal. The signer safety record is not touched.' \
'update:Re-encrypt an account with a new password.' \
'safety-export:Write an EIP-3076-style XDC slashing-protection interchange document (\`xdc-1\`) from the datadir'\''s signer safety record. No private keys or passwords are included.' \
'safety-import:Import an XDC slashing-protection interchange document into the datadir'\''s signer safety record. Wrong genesis roots and lower history are refused; a successful import never weakens existing watermarks. Stop the node first.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone account help commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__help__subcmd__delete_commands] )) ||
_xone__subcmd__account__subcmd__help__subcmd__delete_commands() {
    local commands; commands=()
    _describe -t commands 'xone account help delete commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__help__subcmd__export_commands] )) ||
_xone__subcmd__account__subcmd__help__subcmd__export_commands() {
    local commands; commands=()
    _describe -t commands 'xone account help export commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__help__subcmd__help_commands] )) ||
_xone__subcmd__account__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'xone account help help commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__help__subcmd__import_commands] )) ||
_xone__subcmd__account__subcmd__help__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'xone account help import commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__help__subcmd__import-keystore_commands] )) ||
_xone__subcmd__account__subcmd__help__subcmd__import-keystore_commands() {
    local commands; commands=()
    _describe -t commands 'xone account help import-keystore commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__help__subcmd__list_commands] )) ||
_xone__subcmd__account__subcmd__help__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'xone account help list commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__help__subcmd__new_commands] )) ||
_xone__subcmd__account__subcmd__help__subcmd__new_commands() {
    local commands; commands=()
    _describe -t commands 'xone account help new commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__help__subcmd__roles_commands] )) ||
_xone__subcmd__account__subcmd__help__subcmd__roles_commands() {
    local commands; commands=()
    _describe -t commands 'xone account help roles commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__help__subcmd__safety-export_commands] )) ||
_xone__subcmd__account__subcmd__help__subcmd__safety-export_commands() {
    local commands; commands=()
    _describe -t commands 'xone account help safety-export commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__help__subcmd__safety-import_commands] )) ||
_xone__subcmd__account__subcmd__help__subcmd__safety-import_commands() {
    local commands; commands=()
    _describe -t commands 'xone account help safety-import commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__help__subcmd__update_commands] )) ||
_xone__subcmd__account__subcmd__help__subcmd__update_commands() {
    local commands; commands=()
    _describe -t commands 'xone account help update commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__help__subcmd__verify-backup_commands] )) ||
_xone__subcmd__account__subcmd__help__subcmd__verify-backup_commands() {
    local commands; commands=()
    _describe -t commands 'xone account help verify-backup commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__help__subcmd__verify-export_commands] )) ||
_xone__subcmd__account__subcmd__help__subcmd__verify-export_commands() {
    local commands; commands=()
    _describe -t commands 'xone account help verify-export commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__import_commands] )) ||
_xone__subcmd__account__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'xone account import commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__import-keystore_commands] )) ||
_xone__subcmd__account__subcmd__import-keystore_commands() {
    local commands; commands=()
    _describe -t commands 'xone account import-keystore commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__list_commands] )) ||
_xone__subcmd__account__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'xone account list commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__new_commands] )) ||
_xone__subcmd__account__subcmd__new_commands() {
    local commands; commands=()
    _describe -t commands 'xone account new commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__roles_commands] )) ||
_xone__subcmd__account__subcmd__roles_commands() {
    local commands; commands=()
    _describe -t commands 'xone account roles commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__safety-export_commands] )) ||
_xone__subcmd__account__subcmd__safety-export_commands() {
    local commands; commands=()
    _describe -t commands 'xone account safety-export commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__safety-import_commands] )) ||
_xone__subcmd__account__subcmd__safety-import_commands() {
    local commands; commands=()
    _describe -t commands 'xone account safety-import commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__update_commands] )) ||
_xone__subcmd__account__subcmd__update_commands() {
    local commands; commands=()
    _describe -t commands 'xone account update commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__verify-backup_commands] )) ||
_xone__subcmd__account__subcmd__verify-backup_commands() {
    local commands; commands=()
    _describe -t commands 'xone account verify-backup commands' commands "$@"
}
(( $+functions[_xone__subcmd__account__subcmd__verify-export_commands] )) ||
_xone__subcmd__account__subcmd__verify-export_commands() {
    local commands; commands=()
    _describe -t commands 'xone account verify-export commands' commands "$@"
}
(( $+functions[_xone__subcmd__attach_commands] )) ||
_xone__subcmd__attach_commands() {
    local commands; commands=()
    _describe -t commands 'xone attach commands' commands "$@"
}
(( $+functions[_xone__subcmd__bench_commands] )) ||
_xone__subcmd__bench_commands() {
    local commands; commands=(
'sync:Replay a geth block file (or a directory of era1 files, --chain) into the datadir as the follower imports (group commit, runs of 192 blocks) and print blocks/s, Mgas/s, bytes written per block and the per-stage time of the blocks --from..--to. Blocks below --from are imported untimed. With --witness.keep or --witness.precompute (memory state only) it then makes and keeps the witness of the last 64 blocks, after the timed import, and prints the time per witness and of debug_executionWitness for the head executed, from memory and from the datadir (#2614).' \
'big-block:Run heavy payloads built from real history (reth-bb, #2582)\: each payload is the transactions of --merge consecutive stored blocks, run as segments with their own headers on the earlier segments'\'' state, then one state root over the merged diff. Checks every receipt and that root against the stored ones and prints Mgas/s, tx/s and the execute / state-root split per payload. Nothing is written; exit 1 on a mismatch.' \
'cold-sload:Execute blocks of cold SLOADs on a datadir written by xone db bloat (#2589)\: each block is calls that read slots no earlier block of the run read, up to the block gas limit. Every block runs on the head state and nothing is committed. Prints one JSON object\: open time, p50/p99/max block time, Mgas/s, slots read and bytes read from disk. Takes its own --datadir; the network flags are not used.' \
'build:Build a block on the datadir'\''s head many times and print p50/p99 build time, gas and transactions per block, and the time in pool selection, execution and state root (#2590). The pool is filled with signed transactions from generated senders funded in a read overlay; nothing is committed, so every iteration builds on the same parent from the same pool.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone bench commands' commands "$@"
}
(( $+functions[_xone__subcmd__bench__subcmd__big-block_commands] )) ||
_xone__subcmd__bench__subcmd__big-block_commands() {
    local commands; commands=()
    _describe -t commands 'xone bench big-block commands' commands "$@"
}
(( $+functions[_xone__subcmd__bench__subcmd__build_commands] )) ||
_xone__subcmd__bench__subcmd__build_commands() {
    local commands; commands=()
    _describe -t commands 'xone bench build commands' commands "$@"
}
(( $+functions[_xone__subcmd__bench__subcmd__cold-sload_commands] )) ||
_xone__subcmd__bench__subcmd__cold-sload_commands() {
    local commands; commands=()
    _describe -t commands 'xone bench cold-sload commands' commands "$@"
}
(( $+functions[_xone__subcmd__bench__subcmd__help_commands] )) ||
_xone__subcmd__bench__subcmd__help_commands() {
    local commands; commands=(
'sync:Replay a geth block file (or a directory of era1 files, --chain) into the datadir as the follower imports (group commit, runs of 192 blocks) and print blocks/s, Mgas/s, bytes written per block and the per-stage time of the blocks --from..--to. Blocks below --from are imported untimed. With --witness.keep or --witness.precompute (memory state only) it then makes and keeps the witness of the last 64 blocks, after the timed import, and prints the time per witness and of debug_executionWitness for the head executed, from memory and from the datadir (#2614).' \
'big-block:Run heavy payloads built from real history (reth-bb, #2582)\: each payload is the transactions of --merge consecutive stored blocks, run as segments with their own headers on the earlier segments'\'' state, then one state root over the merged diff. Checks every receipt and that root against the stored ones and prints Mgas/s, tx/s and the execute / state-root split per payload. Nothing is written; exit 1 on a mismatch.' \
'cold-sload:Execute blocks of cold SLOADs on a datadir written by xone db bloat (#2589)\: each block is calls that read slots no earlier block of the run read, up to the block gas limit. Every block runs on the head state and nothing is committed. Prints one JSON object\: open time, p50/p99/max block time, Mgas/s, slots read and bytes read from disk. Takes its own --datadir; the network flags are not used.' \
'build:Build a block on the datadir'\''s head many times and print p50/p99 build time, gas and transactions per block, and the time in pool selection, execution and state root (#2590). The pool is filled with signed transactions from generated senders funded in a read overlay; nothing is committed, so every iteration builds on the same parent from the same pool.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone bench help commands' commands "$@"
}
(( $+functions[_xone__subcmd__bench__subcmd__help__subcmd__big-block_commands] )) ||
_xone__subcmd__bench__subcmd__help__subcmd__big-block_commands() {
    local commands; commands=()
    _describe -t commands 'xone bench help big-block commands' commands "$@"
}
(( $+functions[_xone__subcmd__bench__subcmd__help__subcmd__build_commands] )) ||
_xone__subcmd__bench__subcmd__help__subcmd__build_commands() {
    local commands; commands=()
    _describe -t commands 'xone bench help build commands' commands "$@"
}
(( $+functions[_xone__subcmd__bench__subcmd__help__subcmd__cold-sload_commands] )) ||
_xone__subcmd__bench__subcmd__help__subcmd__cold-sload_commands() {
    local commands; commands=()
    _describe -t commands 'xone bench help cold-sload commands' commands "$@"
}
(( $+functions[_xone__subcmd__bench__subcmd__help__subcmd__help_commands] )) ||
_xone__subcmd__bench__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'xone bench help help commands' commands "$@"
}
(( $+functions[_xone__subcmd__bench__subcmd__help__subcmd__sync_commands] )) ||
_xone__subcmd__bench__subcmd__help__subcmd__sync_commands() {
    local commands; commands=()
    _describe -t commands 'xone bench help sync commands' commands "$@"
}
(( $+functions[_xone__subcmd__bench__subcmd__sync_commands] )) ||
_xone__subcmd__bench__subcmd__sync_commands() {
    local commands; commands=()
    _describe -t commands 'xone bench sync commands' commands "$@"
}
(( $+functions[_xone__subcmd__checkconfig_commands] )) ||
_xone__subcmd__checkconfig_commands() {
    local commands; commands=()
    _describe -t commands 'xone checkconfig commands' commands "$@"
}
(( $+functions[_xone__subcmd__completions_commands] )) ||
_xone__subcmd__completions_commands() {
    local commands; commands=()
    _describe -t commands 'xone completions commands' commands "$@"
}
(( $+functions[_xone__subcmd__config-diff_commands] )) ||
_xone__subcmd__config-diff_commands() {
    local commands; commands=()
    _describe -t commands 'xone config-diff commands' commands "$@"
}
(( $+functions[_xone__subcmd__db_commands] )) ||
_xone__subcmd__db_commands() {
    local commands; commands=(
'stats:Per-table entries, pages and bytes of chain.mdbx, and the sizes of the segment, journal and checkpoint directories. Read-only; works while the node runs.' \
'metadata:Print what a datadir holds\: chain id, network, genesis, schema, head, committed block, finalized and safe hashes, stage checkpoints, archive or full, state window, transaction index floor and frozen segment ranges (#2692). Read-only; works while the node runs. A value the datadir does not record prints as unknown.' \
'dump:Write the head state as geth dump --iterative JSONL, the input of xone init-state (#2688)\: a {"root"} line, then one account per line in hashed-key order with balance, nonce, root, codeHash, code and storage. Keyed by address and slot where the preimage is stored, else by the hashed key. Read-only; one read transaction (stop the node for a large state).' \
'bloat:Write a large synthetic state into an empty datadir on the disk-state store (#2589)\: a dev chain (id 1337) whose genesis holds --accounts reader contracts of --slots-per-account storage slots each, all derived from --seed, so the same flags give the same state and genesis hash. The plan is kept in bloat.json for xone bench cold-sload. The genesis is built in memory (about 100 bytes per slot).' \
'segments:List or check the frozen history files (headers, bodies, receipts; #2686). Read-only; works while the node runs.' \
'inspect:Dump rows of one chain.mdbx table as hex key/value lines (#176). Read-only; works while the node runs.' \
'checksum:Print a content checksum of one chain.mdbx table (#1151), so two hosts can compare a table without copying a datadir. Read-only; works while the node runs. The digest is keccak256 of length-prefixed key/value rows in key order over the selected range.' \
'get:Print the value of one key in a chain.mdbx table as hex (#176). Exit 1 if the key is missing. Read-only; works while the node runs.' \
'compact-history:Rewrite closed history segment files below the committed floor as zstd-compressed XSEG v2 (#194). The node must not be running.' \
'compact:Rewrite chain.mdbx without free pages (#176, #1202). Takes the datadir lock\: the node must be stopped. Replaces the database in place; --keep-old leaves the previous copy as chain.mdbx.old. --if-due skips the work when the last compaction is still within the interval. This is the foreground alternative to --db.autocompact.' \
'copy:Make a coherent physical copy of chain data for recovery (#844). Copies chain.mdbx (compacted) and non-custody files under <datadir>/xone to <to>/xone, then writes COPY.manifest last. Custody files (nodekey, keystore, safety, jwt, passwords) are not copied, so the destination can be opened as a follower. The node must be stopped, or pass --online for a hot copy.' \
'backup:Send a chain-data copy made by \`db copy\` to an object store through the commands of an adapter file (put, get, optional list; \$FILE and \$NAME in the environment). Files go in sha256-named parts, stored once, so a rerun resumes; MANIFEST.json goes last. No cloud SDK is linked; samples are in ops/backup-adapters/.' \
'restore:Rebuild a copy from an object store through an adapter file\: each part is checked against its sha256 before it is written, then the copy is checked as by verify-copy. A changed byte stops the restore.' \
'verify-copy:Verify a physical chain-data copy (#844)\: read <datadir>/xone/COPY.manifest and check every listed file'\''s length and keccak256 digest. Exit 1 if the copy is incomplete or altered.' \
'compact-code:Rewrite large Bytecodes rows as bounded compressed records (#865). Legacy and raw rows still read. The node must not be running.' \
'analyze-code:Write or refresh persisted jumpdest analysis for every Bytecodes row (#863), so a restart can load analysed code without repeating the scan. Damaged code rows are skipped. The node must not be running.' \
'unwind:Roll a stopped node'\''s chain head back to block N (#1019). Uses the same unwind as a peer reorg (Core\:\:unwind_to). Refuses to go below the committed block or above the current head. The node must not be running.' \
'reconstruct:Rebuild historical post-states from a complete retained block history (#1200). Starts at the nearest verified state, replays in bounded batches, writes a versioned frontier atomically, and refuses a gap or a request that would move the frontier backward. The node must be stopped.' \
'prune:Delete bodies, receipts and (via receipts) logs below the configured retention of a stopped datadir (#177). Floors cannot rise into the consensus lookback. The node must not be running.' \
'stage-run:Reproduce one sync stage over a block range on a copy of the datadir (#851). Refuses the original, a live lock, a signer safety record, a missing prerequisite, or a checkpoint that is not from-1. Copies --datadir to --copy first, then runs the stage on the copy.' \
'ots-index:The address-appearance index behind --ots.index (#2663).' \
'scrub:Offline cryptographic check of stored state rows (#522)\: every HashedAccounts and HashedStorages value is decoded, keys have the expected length, and a damaged row is reported. Read-only; works while the node runs. Exit 1 if any row fails.' \
're-execute:Run a stored block range again in parallel chunks, each from the state of its first block'\''s parent, and compare gas used and every receipt with the stored ones (#2583). Prints one JSON line per bad block and a summary. Stops at the first bad block unless --keep-going. Exit 1 if any block is bad. The node must be stopped.' \
'shadow-replay:Run stored blocks under a candidate chain spec and report what its rules would change (#2586). Each block runs on the same parent state with the datadir'\''s spec (control, which must reproduce the stored receipts) and with the candidate; the control result is carried forward. Per transaction it compares status, halt reason, return data and logs, per block the net state change without the senders'\'' and fee recipient'\''s balances; gas-only differences are counted. Prints one JSON line per finding and a summary. With --expect, a finding that a rule of the expectations file matches is marked with that rule'\''s id and counted as expected, every other finding is \`unexplained\`; the summary'\''s findings counts the unexplained ones. Nothing is written. The node must be stopped.' \
'verify-state:Recompute the head state root from the stored HashedAccounts and HashedStorages rows and compare it with the head header'\''s state root (#2684). Opens the store read-only. Exit 1 on a mismatch or an unreadable row.' \
'orphans:Count storage rows whose account is not in the account table (issue #516); with --code also the bytecode rows no account of the head state names. Read-only, bounded, removes nothing; works while the node runs.' \
'usage:All node-related disk use in one report (#651)\: the datadir, its parts, the external segment tree and any extra --path (staging, logs, volumes), with apparent and allocated bytes; missing or unreadable paths are named. Read-only.' \
'preimages:Export or import the address and slot preimages (#511), independently of chain data\: a versioned file of length-prefixed records, each checked against its keccak.' \
'inspect-trie:Shape of the persisted state tries (#525), read-only and streamed\: account-trie nodes per depth with their bytes, storage-trie totals, and the contracts with the largest storage tries. Memory is bounded by --top whatever the state size; works while the node runs.' \
'trie-stored:TrieNodes as stored (#2851), read-only\: its layout (DUP_SORT or unique keys), its rows, the rows stored as packed branches (mask and hashes), and the bytes of the stored values. One JSON line; works while the node runs.' \
'changes:Changes of one account, or one storage slot with --slot, over a block range (#524), read-only\: one JSON line per changing block with the value before and after it, then a summary. Reads the archive history index when the datadir has one, else the retained changesets; works while the node runs.' \
'diff:Compare the rows of two datadirs'\'' chain.mdbx (#843), read-only\: one JSON line per changed, missing_right or extra_right row, then a summary. Different schema or genesis gives one incompatible line and exit 3; differences exit 1; identical exit 0.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone db commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__analyze-code_commands] )) ||
_xone__subcmd__db__subcmd__analyze-code_commands() {
    local commands; commands=()
    _describe -t commands 'xone db analyze-code commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__backup_commands] )) ||
_xone__subcmd__db__subcmd__backup_commands() {
    local commands; commands=()
    _describe -t commands 'xone db backup commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__bloat_commands] )) ||
_xone__subcmd__db__subcmd__bloat_commands() {
    local commands; commands=()
    _describe -t commands 'xone db bloat commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__changes_commands] )) ||
_xone__subcmd__db__subcmd__changes_commands() {
    local commands; commands=()
    _describe -t commands 'xone db changes commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__checksum_commands] )) ||
_xone__subcmd__db__subcmd__checksum_commands() {
    local commands; commands=()
    _describe -t commands 'xone db checksum commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__compact_commands] )) ||
_xone__subcmd__db__subcmd__compact_commands() {
    local commands; commands=()
    _describe -t commands 'xone db compact commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__compact-code_commands] )) ||
_xone__subcmd__db__subcmd__compact-code_commands() {
    local commands; commands=()
    _describe -t commands 'xone db compact-code commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__compact-history_commands] )) ||
_xone__subcmd__db__subcmd__compact-history_commands() {
    local commands; commands=()
    _describe -t commands 'xone db compact-history commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__copy_commands] )) ||
_xone__subcmd__db__subcmd__copy_commands() {
    local commands; commands=()
    _describe -t commands 'xone db copy commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__diff_commands] )) ||
_xone__subcmd__db__subcmd__diff_commands() {
    local commands; commands=()
    _describe -t commands 'xone db diff commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__dump_commands] )) ||
_xone__subcmd__db__subcmd__dump_commands() {
    local commands; commands=()
    _describe -t commands 'xone db dump commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__get_commands] )) ||
_xone__subcmd__db__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'xone db get commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help_commands] )) ||
_xone__subcmd__db__subcmd__help_commands() {
    local commands; commands=(
'stats:Per-table entries, pages and bytes of chain.mdbx, and the sizes of the segment, journal and checkpoint directories. Read-only; works while the node runs.' \
'metadata:Print what a datadir holds\: chain id, network, genesis, schema, head, committed block, finalized and safe hashes, stage checkpoints, archive or full, state window, transaction index floor and frozen segment ranges (#2692). Read-only; works while the node runs. A value the datadir does not record prints as unknown.' \
'dump:Write the head state as geth dump --iterative JSONL, the input of xone init-state (#2688)\: a {"root"} line, then one account per line in hashed-key order with balance, nonce, root, codeHash, code and storage. Keyed by address and slot where the preimage is stored, else by the hashed key. Read-only; one read transaction (stop the node for a large state).' \
'bloat:Write a large synthetic state into an empty datadir on the disk-state store (#2589)\: a dev chain (id 1337) whose genesis holds --accounts reader contracts of --slots-per-account storage slots each, all derived from --seed, so the same flags give the same state and genesis hash. The plan is kept in bloat.json for xone bench cold-sload. The genesis is built in memory (about 100 bytes per slot).' \
'segments:List or check the frozen history files (headers, bodies, receipts; #2686). Read-only; works while the node runs.' \
'inspect:Dump rows of one chain.mdbx table as hex key/value lines (#176). Read-only; works while the node runs.' \
'checksum:Print a content checksum of one chain.mdbx table (#1151), so two hosts can compare a table without copying a datadir. Read-only; works while the node runs. The digest is keccak256 of length-prefixed key/value rows in key order over the selected range.' \
'get:Print the value of one key in a chain.mdbx table as hex (#176). Exit 1 if the key is missing. Read-only; works while the node runs.' \
'compact-history:Rewrite closed history segment files below the committed floor as zstd-compressed XSEG v2 (#194). The node must not be running.' \
'compact:Rewrite chain.mdbx without free pages (#176, #1202). Takes the datadir lock\: the node must be stopped. Replaces the database in place; --keep-old leaves the previous copy as chain.mdbx.old. --if-due skips the work when the last compaction is still within the interval. This is the foreground alternative to --db.autocompact.' \
'copy:Make a coherent physical copy of chain data for recovery (#844). Copies chain.mdbx (compacted) and non-custody files under <datadir>/xone to <to>/xone, then writes COPY.manifest last. Custody files (nodekey, keystore, safety, jwt, passwords) are not copied, so the destination can be opened as a follower. The node must be stopped, or pass --online for a hot copy.' \
'backup:Send a chain-data copy made by \`db copy\` to an object store through the commands of an adapter file (put, get, optional list; \$FILE and \$NAME in the environment). Files go in sha256-named parts, stored once, so a rerun resumes; MANIFEST.json goes last. No cloud SDK is linked; samples are in ops/backup-adapters/.' \
'restore:Rebuild a copy from an object store through an adapter file\: each part is checked against its sha256 before it is written, then the copy is checked as by verify-copy. A changed byte stops the restore.' \
'verify-copy:Verify a physical chain-data copy (#844)\: read <datadir>/xone/COPY.manifest and check every listed file'\''s length and keccak256 digest. Exit 1 if the copy is incomplete or altered.' \
'compact-code:Rewrite large Bytecodes rows as bounded compressed records (#865). Legacy and raw rows still read. The node must not be running.' \
'analyze-code:Write or refresh persisted jumpdest analysis for every Bytecodes row (#863), so a restart can load analysed code without repeating the scan. Damaged code rows are skipped. The node must not be running.' \
'unwind:Roll a stopped node'\''s chain head back to block N (#1019). Uses the same unwind as a peer reorg (Core\:\:unwind_to). Refuses to go below the committed block or above the current head. The node must not be running.' \
'reconstruct:Rebuild historical post-states from a complete retained block history (#1200). Starts at the nearest verified state, replays in bounded batches, writes a versioned frontier atomically, and refuses a gap or a request that would move the frontier backward. The node must be stopped.' \
'prune:Delete bodies, receipts and (via receipts) logs below the configured retention of a stopped datadir (#177). Floors cannot rise into the consensus lookback. The node must not be running.' \
'stage-run:Reproduce one sync stage over a block range on a copy of the datadir (#851). Refuses the original, a live lock, a signer safety record, a missing prerequisite, or a checkpoint that is not from-1. Copies --datadir to --copy first, then runs the stage on the copy.' \
'ots-index:The address-appearance index behind --ots.index (#2663).' \
'scrub:Offline cryptographic check of stored state rows (#522)\: every HashedAccounts and HashedStorages value is decoded, keys have the expected length, and a damaged row is reported. Read-only; works while the node runs. Exit 1 if any row fails.' \
're-execute:Run a stored block range again in parallel chunks, each from the state of its first block'\''s parent, and compare gas used and every receipt with the stored ones (#2583). Prints one JSON line per bad block and a summary. Stops at the first bad block unless --keep-going. Exit 1 if any block is bad. The node must be stopped.' \
'shadow-replay:Run stored blocks under a candidate chain spec and report what its rules would change (#2586). Each block runs on the same parent state with the datadir'\''s spec (control, which must reproduce the stored receipts) and with the candidate; the control result is carried forward. Per transaction it compares status, halt reason, return data and logs, per block the net state change without the senders'\'' and fee recipient'\''s balances; gas-only differences are counted. Prints one JSON line per finding and a summary. With --expect, a finding that a rule of the expectations file matches is marked with that rule'\''s id and counted as expected, every other finding is \`unexplained\`; the summary'\''s findings counts the unexplained ones. Nothing is written. The node must be stopped.' \
'verify-state:Recompute the head state root from the stored HashedAccounts and HashedStorages rows and compare it with the head header'\''s state root (#2684). Opens the store read-only. Exit 1 on a mismatch or an unreadable row.' \
'orphans:Count storage rows whose account is not in the account table (issue #516); with --code also the bytecode rows no account of the head state names. Read-only, bounded, removes nothing; works while the node runs.' \
'usage:All node-related disk use in one report (#651)\: the datadir, its parts, the external segment tree and any extra --path (staging, logs, volumes), with apparent and allocated bytes; missing or unreadable paths are named. Read-only.' \
'preimages:Export or import the address and slot preimages (#511), independently of chain data\: a versioned file of length-prefixed records, each checked against its keccak.' \
'inspect-trie:Shape of the persisted state tries (#525), read-only and streamed\: account-trie nodes per depth with their bytes, storage-trie totals, and the contracts with the largest storage tries. Memory is bounded by --top whatever the state size; works while the node runs.' \
'trie-stored:TrieNodes as stored (#2851), read-only\: its layout (DUP_SORT or unique keys), its rows, the rows stored as packed branches (mask and hashes), and the bytes of the stored values. One JSON line; works while the node runs.' \
'changes:Changes of one account, or one storage slot with --slot, over a block range (#524), read-only\: one JSON line per changing block with the value before and after it, then a summary. Reads the archive history index when the datadir has one, else the retained changesets; works while the node runs.' \
'diff:Compare the rows of two datadirs'\'' chain.mdbx (#843), read-only\: one JSON line per changed, missing_right or extra_right row, then a summary. Different schema or genesis gives one incompatible line and exit 3; differences exit 1; identical exit 0.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone db help commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__analyze-code_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__analyze-code_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help analyze-code commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__backup_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__backup_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help backup commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__bloat_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__bloat_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help bloat commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__changes_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__changes_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help changes commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__checksum_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__checksum_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help checksum commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__compact_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__compact_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help compact commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__compact-code_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__compact-code_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help compact-code commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__compact-history_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__compact-history_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help compact-history commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__copy_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__copy_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help copy commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__diff_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__diff_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help diff commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__dump_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__dump_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help dump commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__get_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help get commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__help_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help help commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__inspect_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__inspect_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help inspect commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__inspect-trie_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__inspect-trie_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help inspect-trie commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__metadata_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__metadata_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help metadata commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__orphans_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__orphans_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help orphans commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__ots-index_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__ots-index_commands() {
    local commands; commands=(
'build:Build or rebuild the --ots.index database of a stopped datadir (<datadir>/xone/otsindex) so it covers block 1 to the head, instead of waiting for the background backfill at the next start. Keeps what is already covered\: it adds the blocks above the covered range, then the blocks below it, and a rerun continues where an earlier run stopped. --rebuild drops every row first. Indexes the transaction senders, targets and log emitters of each block; with --ots.index.frames it also traces each block and indexes the from and to of every call frame, which needs the parent state of each block, so on a pruned datadir it stops at the first block it cannot trace and exits 1 (the blocks written before it stay). Changing --ots.index.frames drops the rows, as it does at node start. Prints progress to stderr, a summary line to stdout. The node must be stopped.' \
    )
    _describe -t commands 'xone db help ots-index commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__ots-index__subcmd__build_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__ots-index__subcmd__build_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help ots-index build commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__preimages_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__preimages_commands() {
    local commands; commands=(
'export:Stream every preimage of the datadir to a file. Read-only; works while the node runs.' \
'import:Add the preimages of a file to the datadir; ones already present are counted and kept, a damaged or truncated file is refused.' \
    )
    _describe -t commands 'xone db help preimages commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__preimages__subcmd__export_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__preimages__subcmd__export_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help preimages export commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__preimages__subcmd__import_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__preimages__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help preimages import commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__prune_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__prune_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help prune commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__re-execute_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__re-execute_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help re-execute commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__reconstruct_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__reconstruct_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help reconstruct commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__restore_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__restore_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help restore commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__scrub_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__scrub_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help scrub commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__segments_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__segments_commands() {
    local commands; commands=(
'ls:Each segment file with its first and last block, frame count, size and format version.' \
'verify:Read every frame of every segment file, check its CRC-32C and that each header hashes to the canonical hash in chain.mdbx. A torn tail is allowed only in the active file. Prints each bad frame and exits 1.' \
    )
    _describe -t commands 'xone db help segments commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__segments__subcmd__ls_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__segments__subcmd__ls_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help segments ls commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__segments__subcmd__verify_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__segments__subcmd__verify_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help segments verify commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__shadow-replay_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__shadow-replay_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help shadow-replay commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__stage-run_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__stage-run_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help stage-run commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__stats_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__stats_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help stats commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__trie-stored_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__trie-stored_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help trie-stored commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__unwind_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__unwind_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help unwind commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__usage_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__usage_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help usage commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__verify-copy_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__verify-copy_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help verify-copy commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__help__subcmd__verify-state_commands] )) ||
_xone__subcmd__db__subcmd__help__subcmd__verify-state_commands() {
    local commands; commands=()
    _describe -t commands 'xone db help verify-state commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__inspect_commands] )) ||
_xone__subcmd__db__subcmd__inspect_commands() {
    local commands; commands=()
    _describe -t commands 'xone db inspect commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__inspect-trie_commands] )) ||
_xone__subcmd__db__subcmd__inspect-trie_commands() {
    local commands; commands=()
    _describe -t commands 'xone db inspect-trie commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__metadata_commands] )) ||
_xone__subcmd__db__subcmd__metadata_commands() {
    local commands; commands=()
    _describe -t commands 'xone db metadata commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__orphans_commands] )) ||
_xone__subcmd__db__subcmd__orphans_commands() {
    local commands; commands=()
    _describe -t commands 'xone db orphans commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__ots-index_commands] )) ||
_xone__subcmd__db__subcmd__ots-index_commands() {
    local commands; commands=(
'build:Build or rebuild the --ots.index database of a stopped datadir (<datadir>/xone/otsindex) so it covers block 1 to the head, instead of waiting for the background backfill at the next start. Keeps what is already covered\: it adds the blocks above the covered range, then the blocks below it, and a rerun continues where an earlier run stopped. --rebuild drops every row first. Indexes the transaction senders, targets and log emitters of each block; with --ots.index.frames it also traces each block and indexes the from and to of every call frame, which needs the parent state of each block, so on a pruned datadir it stops at the first block it cannot trace and exits 1 (the blocks written before it stay). Changing --ots.index.frames drops the rows, as it does at node start. Prints progress to stderr, a summary line to stdout. The node must be stopped.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone db ots-index commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__ots-index__subcmd__build_commands] )) ||
_xone__subcmd__db__subcmd__ots-index__subcmd__build_commands() {
    local commands; commands=()
    _describe -t commands 'xone db ots-index build commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__ots-index__subcmd__help_commands] )) ||
_xone__subcmd__db__subcmd__ots-index__subcmd__help_commands() {
    local commands; commands=(
'build:Build or rebuild the --ots.index database of a stopped datadir (<datadir>/xone/otsindex) so it covers block 1 to the head, instead of waiting for the background backfill at the next start. Keeps what is already covered\: it adds the blocks above the covered range, then the blocks below it, and a rerun continues where an earlier run stopped. --rebuild drops every row first. Indexes the transaction senders, targets and log emitters of each block; with --ots.index.frames it also traces each block and indexes the from and to of every call frame, which needs the parent state of each block, so on a pruned datadir it stops at the first block it cannot trace and exits 1 (the blocks written before it stay). Changing --ots.index.frames drops the rows, as it does at node start. Prints progress to stderr, a summary line to stdout. The node must be stopped.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone db ots-index help commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__ots-index__subcmd__help__subcmd__build_commands] )) ||
_xone__subcmd__db__subcmd__ots-index__subcmd__help__subcmd__build_commands() {
    local commands; commands=()
    _describe -t commands 'xone db ots-index help build commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__ots-index__subcmd__help__subcmd__help_commands] )) ||
_xone__subcmd__db__subcmd__ots-index__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'xone db ots-index help help commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__preimages_commands] )) ||
_xone__subcmd__db__subcmd__preimages_commands() {
    local commands; commands=(
'export:Stream every preimage of the datadir to a file. Read-only; works while the node runs.' \
'import:Add the preimages of a file to the datadir; ones already present are counted and kept, a damaged or truncated file is refused.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone db preimages commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__preimages__subcmd__export_commands] )) ||
_xone__subcmd__db__subcmd__preimages__subcmd__export_commands() {
    local commands; commands=()
    _describe -t commands 'xone db preimages export commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__preimages__subcmd__help_commands] )) ||
_xone__subcmd__db__subcmd__preimages__subcmd__help_commands() {
    local commands; commands=(
'export:Stream every preimage of the datadir to a file. Read-only; works while the node runs.' \
'import:Add the preimages of a file to the datadir; ones already present are counted and kept, a damaged or truncated file is refused.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone db preimages help commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__preimages__subcmd__help__subcmd__export_commands] )) ||
_xone__subcmd__db__subcmd__preimages__subcmd__help__subcmd__export_commands() {
    local commands; commands=()
    _describe -t commands 'xone db preimages help export commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__preimages__subcmd__help__subcmd__help_commands] )) ||
_xone__subcmd__db__subcmd__preimages__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'xone db preimages help help commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__preimages__subcmd__help__subcmd__import_commands] )) ||
_xone__subcmd__db__subcmd__preimages__subcmd__help__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'xone db preimages help import commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__preimages__subcmd__import_commands] )) ||
_xone__subcmd__db__subcmd__preimages__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'xone db preimages import commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__prune_commands] )) ||
_xone__subcmd__db__subcmd__prune_commands() {
    local commands; commands=()
    _describe -t commands 'xone db prune commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__re-execute_commands] )) ||
_xone__subcmd__db__subcmd__re-execute_commands() {
    local commands; commands=()
    _describe -t commands 'xone db re-execute commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__reconstruct_commands] )) ||
_xone__subcmd__db__subcmd__reconstruct_commands() {
    local commands; commands=()
    _describe -t commands 'xone db reconstruct commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__restore_commands] )) ||
_xone__subcmd__db__subcmd__restore_commands() {
    local commands; commands=()
    _describe -t commands 'xone db restore commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__scrub_commands] )) ||
_xone__subcmd__db__subcmd__scrub_commands() {
    local commands; commands=()
    _describe -t commands 'xone db scrub commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__segments_commands] )) ||
_xone__subcmd__db__subcmd__segments_commands() {
    local commands; commands=(
'ls:Each segment file with its first and last block, frame count, size and format version.' \
'verify:Read every frame of every segment file, check its CRC-32C and that each header hashes to the canonical hash in chain.mdbx. A torn tail is allowed only in the active file. Prints each bad frame and exits 1.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone db segments commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__segments__subcmd__help_commands] )) ||
_xone__subcmd__db__subcmd__segments__subcmd__help_commands() {
    local commands; commands=(
'ls:Each segment file with its first and last block, frame count, size and format version.' \
'verify:Read every frame of every segment file, check its CRC-32C and that each header hashes to the canonical hash in chain.mdbx. A torn tail is allowed only in the active file. Prints each bad frame and exits 1.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone db segments help commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__segments__subcmd__help__subcmd__help_commands] )) ||
_xone__subcmd__db__subcmd__segments__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'xone db segments help help commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__segments__subcmd__help__subcmd__ls_commands] )) ||
_xone__subcmd__db__subcmd__segments__subcmd__help__subcmd__ls_commands() {
    local commands; commands=()
    _describe -t commands 'xone db segments help ls commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__segments__subcmd__help__subcmd__verify_commands] )) ||
_xone__subcmd__db__subcmd__segments__subcmd__help__subcmd__verify_commands() {
    local commands; commands=()
    _describe -t commands 'xone db segments help verify commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__segments__subcmd__ls_commands] )) ||
_xone__subcmd__db__subcmd__segments__subcmd__ls_commands() {
    local commands; commands=()
    _describe -t commands 'xone db segments ls commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__segments__subcmd__verify_commands] )) ||
_xone__subcmd__db__subcmd__segments__subcmd__verify_commands() {
    local commands; commands=()
    _describe -t commands 'xone db segments verify commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__shadow-replay_commands] )) ||
_xone__subcmd__db__subcmd__shadow-replay_commands() {
    local commands; commands=()
    _describe -t commands 'xone db shadow-replay commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__stage-run_commands] )) ||
_xone__subcmd__db__subcmd__stage-run_commands() {
    local commands; commands=()
    _describe -t commands 'xone db stage-run commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__stats_commands] )) ||
_xone__subcmd__db__subcmd__stats_commands() {
    local commands; commands=()
    _describe -t commands 'xone db stats commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__trie-stored_commands] )) ||
_xone__subcmd__db__subcmd__trie-stored_commands() {
    local commands; commands=()
    _describe -t commands 'xone db trie-stored commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__unwind_commands] )) ||
_xone__subcmd__db__subcmd__unwind_commands() {
    local commands; commands=()
    _describe -t commands 'xone db unwind commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__usage_commands] )) ||
_xone__subcmd__db__subcmd__usage_commands() {
    local commands; commands=()
    _describe -t commands 'xone db usage commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__verify-copy_commands] )) ||
_xone__subcmd__db__subcmd__verify-copy_commands() {
    local commands; commands=()
    _describe -t commands 'xone db verify-copy commands' commands "$@"
}
(( $+functions[_xone__subcmd__db__subcmd__verify-state_commands] )) ||
_xone__subcmd__db__subcmd__verify-state_commands() {
    local commands; commands=()
    _describe -t commands 'xone db verify-state commands' commands "$@"
}
(( $+functions[_xone__subcmd__doctor_commands] )) ||
_xone__subcmd__doctor_commands() {
    local commands; commands=()
    _describe -t commands 'xone doctor commands' commands "$@"
}
(( $+functions[_xone__subcmd__download-era_commands] )) ||
_xone__subcmd__download-era_commands() {
    local commands; commands=()
    _describe -t commands 'xone download-era commands' commands "$@"
}
(( $+functions[_xone__subcmd__download-erae_commands] )) ||
_xone__subcmd__download-erae_commands() {
    local commands; commands=()
    _describe -t commands 'xone download-erae commands' commands "$@"
}
(( $+functions[_xone__subcmd__dumpconfig_commands] )) ||
_xone__subcmd__dumpconfig_commands() {
    local commands; commands=()
    _describe -t commands 'xone dumpconfig commands' commands "$@"
}
(( $+functions[_xone__subcmd__dumpgenesis_commands] )) ||
_xone__subcmd__dumpgenesis_commands() {
    local commands; commands=()
    _describe -t commands 'xone dumpgenesis commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm_commands] )) ||
_xone__subcmd__evm_commands() {
    local commands; commands=(
't8n:geth'\''s state transition tool (t8n)\: apply the transactions of --input.txs to --input.alloc in the block of --input.env and write the result and the post alloc in geth'\''s formats. Frontier to ConstantinopleFix, txs.rlp input (issue #230 part 1). Exit codes as geth\: 2 EVM, 3 config, 10 JSON, 11 IO, 12 RLP.' \
'statetest:Run a GeneralStateTests / EEST state_test fixture and print geth'\''s \[{name,pass,fork,stateRoot}\] line. With --state.eth, Istanbul and later run under Ethereum rules (#10). Exit 1 if a case fails or none ran.' \
'blocktest:Run a BlockchainTests fixture and print geth'\''s \[{name,pass,fork}\] line. With --state.eth, Istanbul and later run under Ethereum rules. Block RLP uses this client'\''s header encoding. Exit 1 if a case fails or none ran.' \
't9n:Run EEST transaction_tests fixtures (geth evm t9n)\: per fork, decode the bytes, recover the sender, compute the hash and intrinsic gas, apply the fork'\''s validity rules and compare with the fixture (#2632). One JSON row per case on stdout; exit 1 when a case fails.' \
'transaction:Run EEST transaction_tests fixtures (geth evm t9n)\: per fork, decode the bytes, recover the sender, compute the hash and intrinsic gas, apply the fork'\''s validity rules and compare with the fixture (#2632). One JSON row per case on stdout; exit 1 when a case fails.' \
'run:Run EVM bytecode under the rules of a network and block (or an Ethereum fork) and print the return data, the gas used and the status; --trace prints each step, --bench times repeated runs (geth evm run, #2603).' \
'witness:Export a block execution witness or replay a block from one, without the original database (#467).' \
'opcode-perf:Run the adversarial opcode and precompile corpus\: check each fixture'\''s correctness oracle, then print cold/warm gas-normalized timings, variance, input shape, and machine/build provenance. No cross-chain speed claim is made (#483).' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone evm commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__blocktest_commands] )) ||
_xone__subcmd__evm__subcmd__blocktest_commands() {
    local commands; commands=()
    _describe -t commands 'xone evm blocktest commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__help_commands] )) ||
_xone__subcmd__evm__subcmd__help_commands() {
    local commands; commands=(
't8n:geth'\''s state transition tool (t8n)\: apply the transactions of --input.txs to --input.alloc in the block of --input.env and write the result and the post alloc in geth'\''s formats. Frontier to ConstantinopleFix, txs.rlp input (issue #230 part 1). Exit codes as geth\: 2 EVM, 3 config, 10 JSON, 11 IO, 12 RLP.' \
'statetest:Run a GeneralStateTests / EEST state_test fixture and print geth'\''s \[{name,pass,fork,stateRoot}\] line. With --state.eth, Istanbul and later run under Ethereum rules (#10). Exit 1 if a case fails or none ran.' \
'blocktest:Run a BlockchainTests fixture and print geth'\''s \[{name,pass,fork}\] line. With --state.eth, Istanbul and later run under Ethereum rules. Block RLP uses this client'\''s header encoding. Exit 1 if a case fails or none ran.' \
't9n:Run EEST transaction_tests fixtures (geth evm t9n)\: per fork, decode the bytes, recover the sender, compute the hash and intrinsic gas, apply the fork'\''s validity rules and compare with the fixture (#2632). One JSON row per case on stdout; exit 1 when a case fails.' \
'run:Run EVM bytecode under the rules of a network and block (or an Ethereum fork) and print the return data, the gas used and the status; --trace prints each step, --bench times repeated runs (geth evm run, #2603).' \
'witness:Export a block execution witness or replay a block from one, without the original database (#467).' \
'opcode-perf:Run the adversarial opcode and precompile corpus\: check each fixture'\''s correctness oracle, then print cold/warm gas-normalized timings, variance, input shape, and machine/build provenance. No cross-chain speed claim is made (#483).' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone evm help commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__help__subcmd__blocktest_commands] )) ||
_xone__subcmd__evm__subcmd__help__subcmd__blocktest_commands() {
    local commands; commands=()
    _describe -t commands 'xone evm help blocktest commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__help__subcmd__help_commands] )) ||
_xone__subcmd__evm__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'xone evm help help commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__help__subcmd__opcode-perf_commands] )) ||
_xone__subcmd__evm__subcmd__help__subcmd__opcode-perf_commands() {
    local commands; commands=()
    _describe -t commands 'xone evm help opcode-perf commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__help__subcmd__run_commands] )) ||
_xone__subcmd__evm__subcmd__help__subcmd__run_commands() {
    local commands; commands=()
    _describe -t commands 'xone evm help run commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__help__subcmd__statetest_commands] )) ||
_xone__subcmd__evm__subcmd__help__subcmd__statetest_commands() {
    local commands; commands=()
    _describe -t commands 'xone evm help statetest commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__help__subcmd__t8n_commands] )) ||
_xone__subcmd__evm__subcmd__help__subcmd__t8n_commands() {
    local commands; commands=()
    _describe -t commands 'xone evm help t8n commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__help__subcmd__t9n_commands] )) ||
_xone__subcmd__evm__subcmd__help__subcmd__t9n_commands() {
    local commands; commands=()
    _describe -t commands 'xone evm help t9n commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__help__subcmd__witness_commands] )) ||
_xone__subcmd__evm__subcmd__help__subcmd__witness_commands() {
    local commands; commands=(
'export:Execute a t8n-style prestate and write a versioned XEW1 witness JSON.' \
'replay:Replay a witness file with no other state and print the roots and receipts. A missing required item is a non-zero exit.' \
    )
    _describe -t commands 'xone evm help witness commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__help__subcmd__witness__subcmd__export_commands] )) ||
_xone__subcmd__evm__subcmd__help__subcmd__witness__subcmd__export_commands() {
    local commands; commands=()
    _describe -t commands 'xone evm help witness export commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__help__subcmd__witness__subcmd__replay_commands] )) ||
_xone__subcmd__evm__subcmd__help__subcmd__witness__subcmd__replay_commands() {
    local commands; commands=()
    _describe -t commands 'xone evm help witness replay commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__opcode-perf_commands] )) ||
_xone__subcmd__evm__subcmd__opcode-perf_commands() {
    local commands; commands=()
    _describe -t commands 'xone evm opcode-perf commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__run_commands] )) ||
_xone__subcmd__evm__subcmd__run_commands() {
    local commands; commands=()
    _describe -t commands 'xone evm run commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__statetest_commands] )) ||
_xone__subcmd__evm__subcmd__statetest_commands() {
    local commands; commands=()
    _describe -t commands 'xone evm statetest commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__t8n_commands] )) ||
_xone__subcmd__evm__subcmd__t8n_commands() {
    local commands; commands=()
    _describe -t commands 'xone evm t8n commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__t9n_commands] )) ||
_xone__subcmd__evm__subcmd__t9n_commands() {
    local commands; commands=()
    _describe -t commands 'xone evm t9n commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__witness_commands] )) ||
_xone__subcmd__evm__subcmd__witness_commands() {
    local commands; commands=(
'export:Execute a t8n-style prestate and write a versioned XEW1 witness JSON.' \
'replay:Replay a witness file with no other state and print the roots and receipts. A missing required item is a non-zero exit.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone evm witness commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__witness__subcmd__export_commands] )) ||
_xone__subcmd__evm__subcmd__witness__subcmd__export_commands() {
    local commands; commands=()
    _describe -t commands 'xone evm witness export commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__witness__subcmd__help_commands] )) ||
_xone__subcmd__evm__subcmd__witness__subcmd__help_commands() {
    local commands; commands=(
'export:Execute a t8n-style prestate and write a versioned XEW1 witness JSON.' \
'replay:Replay a witness file with no other state and print the roots and receipts. A missing required item is a non-zero exit.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone evm witness help commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__witness__subcmd__help__subcmd__export_commands] )) ||
_xone__subcmd__evm__subcmd__witness__subcmd__help__subcmd__export_commands() {
    local commands; commands=()
    _describe -t commands 'xone evm witness help export commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__witness__subcmd__help__subcmd__help_commands] )) ||
_xone__subcmd__evm__subcmd__witness__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'xone evm witness help help commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__witness__subcmd__help__subcmd__replay_commands] )) ||
_xone__subcmd__evm__subcmd__witness__subcmd__help__subcmd__replay_commands() {
    local commands; commands=()
    _describe -t commands 'xone evm witness help replay commands' commands "$@"
}
(( $+functions[_xone__subcmd__evm__subcmd__witness__subcmd__replay_commands] )) ||
_xone__subcmd__evm__subcmd__witness__subcmd__replay_commands() {
    local commands; commands=()
    _describe -t commands 'xone evm witness replay commands' commands "$@"
}
(( $+functions[_xone__subcmd__exit_commands] )) ||
_xone__subcmd__exit_commands() {
    local commands; commands=()
    _describe -t commands 'xone exit commands' commands "$@"
}
(( $+functions[_xone__subcmd__export_commands] )) ||
_xone__subcmd__export_commands() {
    local commands; commands=()
    _describe -t commands 'xone export commands' commands "$@"
}
(( $+functions[_xone__subcmd__export-era_commands] )) ||
_xone__subcmd__export-era_commands() {
    local commands; commands=()
    _describe -t commands 'xone export-era commands' commands "$@"
}
(( $+functions[_xone__subcmd__export-erae_commands] )) ||
_xone__subcmd__export-erae_commands() {
    local commands; commands=()
    _describe -t commands 'xone export-erae commands' commands "$@"
}
(( $+functions[_xone__subcmd__genesis-hash_commands] )) ||
_xone__subcmd__genesis-hash_commands() {
    local commands; commands=()
    _describe -t commands 'xone genesis-hash commands' commands "$@"
}
(( $+functions[_xone__subcmd__help_commands] )) ||
_xone__subcmd__help_commands() {
    local commands; commands=(
'tasks:Help grouped by task (first follower, dev chain, accounts, snapshot, disk, peers) with working examples and the guide to read.' \
'version:Print the version stamp and exit.' \
'setup:Guided first-follower setup\: collect network, datadir and endpoints, render a config and the next commands, and write them only after confirmation. Cancellation leaves the previous configuration unchanged. A follower plan never enables --mine, so mainnet Gate D stays in force. --plain and NO_COLOR emit no cursor controls (#616).' \
'profile:Portable setup profiles without secrets or host paths (#638).' \
'dumpconfig:Print the effective config as TOML.' \
'config-diff:Preview a config edit before saving it (#636)\: validates --to, lists each changed setting with its old and new value (secrets redacted) and what applying it takes. Equivalent TOML is no change. With --save a valid --to replaces --from atomically; an invalid one changes nothing (exit 2).' \
'license:Print the project licence, or with --notices the dependencies of this build'\''s lockfile; offline.' \
'doctor:Read-only host checks before a long sync\: open-file and address-space limits against the MDBX map, vm.max_map_count, the cgroup memory limit and the datadir'\''s disk headroom. Changes nothing; a value the platform does not expose is reported as unknown. Exit 1 when a check fails.' \
'checkconfig:Validate the effective config (flags, environment, --config file), resolve the genesis and chain spec and check them against the datadir'\''s chain marker, without binding a port or writing anything. Exit 0 when a start would get past the configuration checks, 2 on an invalid setting, 1 on a chain mismatch.' \
'init:Write the datadir chain marker from a genesis file and print its hash.' \
'import:Import a geth block file into the datadir (--datadir and the network flags), through the node'\''s block validation and durable commit, from the datadir'\''s head on. --verify-only runs the file through the staged pipeline on an in-memory chain instead and keeps nothing.' \
'export:Write canonical blocks of the datadir as a geth block file. With --input, of an in-memory chain imported from that file instead (verification).' \
'bench:Offline benchmarks on a scratch datadir (--datadir and the network flags).' \
'import-era:Import pre-merge history from era1 files (a directory, or an http(s) URL whose index lists them) into the datadir of an Ethereum network (--chain). Every file is verified (chain links, total difficulty, accumulator root against the root in its name and --accumulators), then each block goes through the node'\''s block validation and durable commit.' \
'download-era:Download era1 history files from a mirror (an https URL, or http on a loopback host, whose index lists them) into a directory. Each file is checked against the sha256 of --checksums or of the mirror'\''s checksums.txt, and a file without one is refused. An interrupted download resumes on the next run. With --import (and --chain) the files are then imported as by import-era.' \
'init-state:Install the state of one block of an Ethereum network (--chain) into an empty datadir from a JSONL state dump (geth \`dump --iterative\`; first line {"root"\: …}, then one account per line by address or by hashed key). The dump'\''s root must be the block'\''s state root, and the store checks the root of the rows before it writes anything. The datadir then runs as a minimal node from that block; the consensus client drives it on.' \
'export-era:Write pre-merge blocks of the datadir of an Ethereum network (--chain) as era1 files, one per 8192 blocks, into a directory.' \
'import-erae:Import pre- and post-merge history from EraE noproofs files (.ere / .erae) in a directory into the datadir of an Ethereum network (--chain). With --remote-url, missing epoch files are downloaded from that https mirror (or http on a loopback host) first, checked against --checksums or the mirror'\''s checksums_sha256.txt, and an interrupted download resumes on the next run. Every file is verified (layout, chain links, total difficulty and accumulator when present, and sha256 against --checksums or the directory'\''s checksums_sha256.txt when that file exists), then each block goes through the node'\''s block validation and durable commit. Proof-profile files are refused.' \
'import-era-cl:Import post-merge history from consensus-layer .era files (<network>-<era>-<root>.era, as served by beacon-node era mirrors) in a directory into the datadir of an Ethereum network (--chain). The execution payload of each signed beacon block is rebuilt into an execution block whose hash must match the payload'\''s block hash and link to its parent; each block then goes through the node'\''s block validation and durable commit. Beacon signatures and states are not checked. Pre-merge slots carry no execution payload and are skipped.' \
'download-erae:Download EraE history files (.ere / .erae) from a mirror (an https URL, or http on a loopback host, whose index lists them) into a directory. Each file is checked against the sha256 of --checksums or of the mirror'\''s checksums_sha256.txt, and a file without one is refused. An interrupted download resumes on the next run. With --import (and --chain) the files are then imported as by import-erae. Proof-profile files are refused on import.' \
'export-erae:Write blocks of the datadir of an Ethereum network (--chain) as EraE noproofs files (.ere), one per 8192 blocks, into a directory, including post-merge history. Also writes checksums_sha256.txt.' \
'snapshot:Export, export-genesis, import, verify, publish, serve, or compare checkpoint providers for an anchored snapshot (issues #38, #712, #1199, #1201 and #1203).' \
'account:Manage keystore accounts\: new, import, list, roles, export, verify-export, delete, update, safety-export, safety-import.' \
'db:Inspect the datadir'\''s database.' \
'evm:EVM tools on the xOneRS executor.' \
'p2p:devp2p tools\: node keys, enode URLs and a discovery-only bootnode (issue #178).' \
'network:Private XDPoS network tools (issue #223).' \
'sync-status:Show a running node'\''s sync progress over its RPC\: empty, syncing (block, target, %), caught up or stale head, and why it is not progressing (#659).' \
'verify:Verify chain blocks without holding the state (#2613).' \
'invariants:Check the rules of the XDC system contracts (0x88 validator, 0x89 block signer, 0x90 randomize) at one block through view calls over a node'\''s RPC; each rule has an ID and its contract source and is reported pass or fail with the values read. Exit 1 when one fails, 2 when the node cannot be read (#2595).' \
'wallet-info:Print the wallet_addEthereumChain (EIP-3085) descriptor of a running node after checking over its RPC that it serves the intended chain; a mismatch exports nothing (exit 2). Credentials, query and fragment never enter the exported URL (#720).' \
'rpc:Tools for an RPC endpoint.' \
'attach:Connect a line REPL to a running node over IPC (default <datadir>/xone.ipc) or --rpc, mapping geth-console calls such as eth.blockNumber and XDPoS.getMasternodes() to JSON-RPC. No JavaScript engine\: method calls and literals only. --exec runs one command and exits 1 on an RPC error (#180).' \
'rpcdaemon:Run a read-only JSON-RPC worker in a separate process against the node'\''s authenticated pinned state service (#540). Killing this process does not stop the node. Remote access requires --rpc.state-token (or <datadir>/rpc-state.token). Stale view IDs after a reorg are refused.' \
'upgrade:Stage a signed upgrade binary, switch at a halt height, or roll back (#2313).' \
'signer:Switch or clear a running node'\''s validator signing identity over local IPC without a restart (#2300).' \
'exit:Stop a running node gracefully, optionally waiting for a safe restart window with no upcoming validator turn or epoch switch (#2304).' \
'wait-ready:Wait for a running node to be ready (RPC up, right network, not syncing) with a deadline; exit 0 ready, 1 timeout, 2 wrong network (issue #620).' \
'dumpgenesis:Print the genesis JSON of a built-in network (geth dumpgenesis).' \
'completions:Print the shell completion script for bash, zsh or fish (also in docs/cli/completions).' \
'manpage:Print the xone(1) manual page as roff (also docs/cli/xone.1).' \
'genesis-hash:Print the genesis block hash of a built-in network.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone help commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__account_commands] )) ||
_xone__subcmd__help__subcmd__account_commands() {
    local commands; commands=(
'list:Print the accounts of the keystore directory.' \
'roles:Report the node'\''s identities without unlocking\: the p2p node id (nodekey), the validator address and its keystore file, and the password file. Prints no secret.' \
'export:Copy keystore files (encrypted only) into a new backup directory with a manifest of addresses and digests. No password, no safety record, nothing decrypted.' \
'verify-export:Check a backup made by \`account export\` against its manifest.' \
'verify-backup:Check that a keystore file (a backup) unlocks with its password and holds the expected address. Decrypts in memory only; writes no key file, safety record or transaction.' \
'new:Create a new key and store it encrypted.' \
'import:Encrypt a hex private key file into the keystore.' \
'import-keystore:Copy an existing encrypted keystore file (V3) into the keystore unchanged, after checking it unlocks with --password and its address matches. No raw key needed; an address already present is refused.' \
'delete:Remove one keystore file after a verified backup, only when the node is stopped. Default is a dry run; --apply performs the removal. The signer safety record is not touched.' \
'update:Re-encrypt an account with a new password.' \
'safety-export:Write an EIP-3076-style XDC slashing-protection interchange document (\`xdc-1\`) from the datadir'\''s signer safety record. No private keys or passwords are included.' \
'safety-import:Import an XDC slashing-protection interchange document into the datadir'\''s signer safety record. Wrong genesis roots and lower history are refused; a successful import never weakens existing watermarks. Stop the node first.' \
    )
    _describe -t commands 'xone help account commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__account__subcmd__delete_commands] )) ||
_xone__subcmd__help__subcmd__account__subcmd__delete_commands() {
    local commands; commands=()
    _describe -t commands 'xone help account delete commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__account__subcmd__export_commands] )) ||
_xone__subcmd__help__subcmd__account__subcmd__export_commands() {
    local commands; commands=()
    _describe -t commands 'xone help account export commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__account__subcmd__import_commands] )) ||
_xone__subcmd__help__subcmd__account__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'xone help account import commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__account__subcmd__import-keystore_commands] )) ||
_xone__subcmd__help__subcmd__account__subcmd__import-keystore_commands() {
    local commands; commands=()
    _describe -t commands 'xone help account import-keystore commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__account__subcmd__list_commands] )) ||
_xone__subcmd__help__subcmd__account__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'xone help account list commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__account__subcmd__new_commands] )) ||
_xone__subcmd__help__subcmd__account__subcmd__new_commands() {
    local commands; commands=()
    _describe -t commands 'xone help account new commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__account__subcmd__roles_commands] )) ||
_xone__subcmd__help__subcmd__account__subcmd__roles_commands() {
    local commands; commands=()
    _describe -t commands 'xone help account roles commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__account__subcmd__safety-export_commands] )) ||
_xone__subcmd__help__subcmd__account__subcmd__safety-export_commands() {
    local commands; commands=()
    _describe -t commands 'xone help account safety-export commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__account__subcmd__safety-import_commands] )) ||
_xone__subcmd__help__subcmd__account__subcmd__safety-import_commands() {
    local commands; commands=()
    _describe -t commands 'xone help account safety-import commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__account__subcmd__update_commands] )) ||
_xone__subcmd__help__subcmd__account__subcmd__update_commands() {
    local commands; commands=()
    _describe -t commands 'xone help account update commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__account__subcmd__verify-backup_commands] )) ||
_xone__subcmd__help__subcmd__account__subcmd__verify-backup_commands() {
    local commands; commands=()
    _describe -t commands 'xone help account verify-backup commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__account__subcmd__verify-export_commands] )) ||
_xone__subcmd__help__subcmd__account__subcmd__verify-export_commands() {
    local commands; commands=()
    _describe -t commands 'xone help account verify-export commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__attach_commands] )) ||
_xone__subcmd__help__subcmd__attach_commands() {
    local commands; commands=()
    _describe -t commands 'xone help attach commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__bench_commands] )) ||
_xone__subcmd__help__subcmd__bench_commands() {
    local commands; commands=(
'sync:Replay a geth block file (or a directory of era1 files, --chain) into the datadir as the follower imports (group commit, runs of 192 blocks) and print blocks/s, Mgas/s, bytes written per block and the per-stage time of the blocks --from..--to. Blocks below --from are imported untimed. With --witness.keep or --witness.precompute (memory state only) it then makes and keeps the witness of the last 64 blocks, after the timed import, and prints the time per witness and of debug_executionWitness for the head executed, from memory and from the datadir (#2614).' \
'big-block:Run heavy payloads built from real history (reth-bb, #2582)\: each payload is the transactions of --merge consecutive stored blocks, run as segments with their own headers on the earlier segments'\'' state, then one state root over the merged diff. Checks every receipt and that root against the stored ones and prints Mgas/s, tx/s and the execute / state-root split per payload. Nothing is written; exit 1 on a mismatch.' \
'cold-sload:Execute blocks of cold SLOADs on a datadir written by xone db bloat (#2589)\: each block is calls that read slots no earlier block of the run read, up to the block gas limit. Every block runs on the head state and nothing is committed. Prints one JSON object\: open time, p50/p99/max block time, Mgas/s, slots read and bytes read from disk. Takes its own --datadir; the network flags are not used.' \
'build:Build a block on the datadir'\''s head many times and print p50/p99 build time, gas and transactions per block, and the time in pool selection, execution and state root (#2590). The pool is filled with signed transactions from generated senders funded in a read overlay; nothing is committed, so every iteration builds on the same parent from the same pool.' \
    )
    _describe -t commands 'xone help bench commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__bench__subcmd__big-block_commands] )) ||
_xone__subcmd__help__subcmd__bench__subcmd__big-block_commands() {
    local commands; commands=()
    _describe -t commands 'xone help bench big-block commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__bench__subcmd__build_commands] )) ||
_xone__subcmd__help__subcmd__bench__subcmd__build_commands() {
    local commands; commands=()
    _describe -t commands 'xone help bench build commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__bench__subcmd__cold-sload_commands] )) ||
_xone__subcmd__help__subcmd__bench__subcmd__cold-sload_commands() {
    local commands; commands=()
    _describe -t commands 'xone help bench cold-sload commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__bench__subcmd__sync_commands] )) ||
_xone__subcmd__help__subcmd__bench__subcmd__sync_commands() {
    local commands; commands=()
    _describe -t commands 'xone help bench sync commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__checkconfig_commands] )) ||
_xone__subcmd__help__subcmd__checkconfig_commands() {
    local commands; commands=()
    _describe -t commands 'xone help checkconfig commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__completions_commands] )) ||
_xone__subcmd__help__subcmd__completions_commands() {
    local commands; commands=()
    _describe -t commands 'xone help completions commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__config-diff_commands] )) ||
_xone__subcmd__help__subcmd__config-diff_commands() {
    local commands; commands=()
    _describe -t commands 'xone help config-diff commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db_commands] )) ||
_xone__subcmd__help__subcmd__db_commands() {
    local commands; commands=(
'stats:Per-table entries, pages and bytes of chain.mdbx, and the sizes of the segment, journal and checkpoint directories. Read-only; works while the node runs.' \
'metadata:Print what a datadir holds\: chain id, network, genesis, schema, head, committed block, finalized and safe hashes, stage checkpoints, archive or full, state window, transaction index floor and frozen segment ranges (#2692). Read-only; works while the node runs. A value the datadir does not record prints as unknown.' \
'dump:Write the head state as geth dump --iterative JSONL, the input of xone init-state (#2688)\: a {"root"} line, then one account per line in hashed-key order with balance, nonce, root, codeHash, code and storage. Keyed by address and slot where the preimage is stored, else by the hashed key. Read-only; one read transaction (stop the node for a large state).' \
'bloat:Write a large synthetic state into an empty datadir on the disk-state store (#2589)\: a dev chain (id 1337) whose genesis holds --accounts reader contracts of --slots-per-account storage slots each, all derived from --seed, so the same flags give the same state and genesis hash. The plan is kept in bloat.json for xone bench cold-sload. The genesis is built in memory (about 100 bytes per slot).' \
'segments:List or check the frozen history files (headers, bodies, receipts; #2686). Read-only; works while the node runs.' \
'inspect:Dump rows of one chain.mdbx table as hex key/value lines (#176). Read-only; works while the node runs.' \
'checksum:Print a content checksum of one chain.mdbx table (#1151), so two hosts can compare a table without copying a datadir. Read-only; works while the node runs. The digest is keccak256 of length-prefixed key/value rows in key order over the selected range.' \
'get:Print the value of one key in a chain.mdbx table as hex (#176). Exit 1 if the key is missing. Read-only; works while the node runs.' \
'compact-history:Rewrite closed history segment files below the committed floor as zstd-compressed XSEG v2 (#194). The node must not be running.' \
'compact:Rewrite chain.mdbx without free pages (#176, #1202). Takes the datadir lock\: the node must be stopped. Replaces the database in place; --keep-old leaves the previous copy as chain.mdbx.old. --if-due skips the work when the last compaction is still within the interval. This is the foreground alternative to --db.autocompact.' \
'copy:Make a coherent physical copy of chain data for recovery (#844). Copies chain.mdbx (compacted) and non-custody files under <datadir>/xone to <to>/xone, then writes COPY.manifest last. Custody files (nodekey, keystore, safety, jwt, passwords) are not copied, so the destination can be opened as a follower. The node must be stopped, or pass --online for a hot copy.' \
'backup:Send a chain-data copy made by \`db copy\` to an object store through the commands of an adapter file (put, get, optional list; \$FILE and \$NAME in the environment). Files go in sha256-named parts, stored once, so a rerun resumes; MANIFEST.json goes last. No cloud SDK is linked; samples are in ops/backup-adapters/.' \
'restore:Rebuild a copy from an object store through an adapter file\: each part is checked against its sha256 before it is written, then the copy is checked as by verify-copy. A changed byte stops the restore.' \
'verify-copy:Verify a physical chain-data copy (#844)\: read <datadir>/xone/COPY.manifest and check every listed file'\''s length and keccak256 digest. Exit 1 if the copy is incomplete or altered.' \
'compact-code:Rewrite large Bytecodes rows as bounded compressed records (#865). Legacy and raw rows still read. The node must not be running.' \
'analyze-code:Write or refresh persisted jumpdest analysis for every Bytecodes row (#863), so a restart can load analysed code without repeating the scan. Damaged code rows are skipped. The node must not be running.' \
'unwind:Roll a stopped node'\''s chain head back to block N (#1019). Uses the same unwind as a peer reorg (Core\:\:unwind_to). Refuses to go below the committed block or above the current head. The node must not be running.' \
'reconstruct:Rebuild historical post-states from a complete retained block history (#1200). Starts at the nearest verified state, replays in bounded batches, writes a versioned frontier atomically, and refuses a gap or a request that would move the frontier backward. The node must be stopped.' \
'prune:Delete bodies, receipts and (via receipts) logs below the configured retention of a stopped datadir (#177). Floors cannot rise into the consensus lookback. The node must not be running.' \
'stage-run:Reproduce one sync stage over a block range on a copy of the datadir (#851). Refuses the original, a live lock, a signer safety record, a missing prerequisite, or a checkpoint that is not from-1. Copies --datadir to --copy first, then runs the stage on the copy.' \
'ots-index:The address-appearance index behind --ots.index (#2663).' \
'scrub:Offline cryptographic check of stored state rows (#522)\: every HashedAccounts and HashedStorages value is decoded, keys have the expected length, and a damaged row is reported. Read-only; works while the node runs. Exit 1 if any row fails.' \
're-execute:Run a stored block range again in parallel chunks, each from the state of its first block'\''s parent, and compare gas used and every receipt with the stored ones (#2583). Prints one JSON line per bad block and a summary. Stops at the first bad block unless --keep-going. Exit 1 if any block is bad. The node must be stopped.' \
'shadow-replay:Run stored blocks under a candidate chain spec and report what its rules would change (#2586). Each block runs on the same parent state with the datadir'\''s spec (control, which must reproduce the stored receipts) and with the candidate; the control result is carried forward. Per transaction it compares status, halt reason, return data and logs, per block the net state change without the senders'\'' and fee recipient'\''s balances; gas-only differences are counted. Prints one JSON line per finding and a summary. With --expect, a finding that a rule of the expectations file matches is marked with that rule'\''s id and counted as expected, every other finding is \`unexplained\`; the summary'\''s findings counts the unexplained ones. Nothing is written. The node must be stopped.' \
'verify-state:Recompute the head state root from the stored HashedAccounts and HashedStorages rows and compare it with the head header'\''s state root (#2684). Opens the store read-only. Exit 1 on a mismatch or an unreadable row.' \
'orphans:Count storage rows whose account is not in the account table (issue #516); with --code also the bytecode rows no account of the head state names. Read-only, bounded, removes nothing; works while the node runs.' \
'usage:All node-related disk use in one report (#651)\: the datadir, its parts, the external segment tree and any extra --path (staging, logs, volumes), with apparent and allocated bytes; missing or unreadable paths are named. Read-only.' \
'preimages:Export or import the address and slot preimages (#511), independently of chain data\: a versioned file of length-prefixed records, each checked against its keccak.' \
'inspect-trie:Shape of the persisted state tries (#525), read-only and streamed\: account-trie nodes per depth with their bytes, storage-trie totals, and the contracts with the largest storage tries. Memory is bounded by --top whatever the state size; works while the node runs.' \
'trie-stored:TrieNodes as stored (#2851), read-only\: its layout (DUP_SORT or unique keys), its rows, the rows stored as packed branches (mask and hashes), and the bytes of the stored values. One JSON line; works while the node runs.' \
'changes:Changes of one account, or one storage slot with --slot, over a block range (#524), read-only\: one JSON line per changing block with the value before and after it, then a summary. Reads the archive history index when the datadir has one, else the retained changesets; works while the node runs.' \
'diff:Compare the rows of two datadirs'\'' chain.mdbx (#843), read-only\: one JSON line per changed, missing_right or extra_right row, then a summary. Different schema or genesis gives one incompatible line and exit 3; differences exit 1; identical exit 0.' \
    )
    _describe -t commands 'xone help db commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__analyze-code_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__analyze-code_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db analyze-code commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__backup_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__backup_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db backup commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__bloat_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__bloat_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db bloat commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__changes_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__changes_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db changes commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__checksum_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__checksum_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db checksum commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__compact_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__compact_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db compact commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__compact-code_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__compact-code_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db compact-code commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__compact-history_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__compact-history_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db compact-history commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__copy_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__copy_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db copy commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__diff_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__diff_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db diff commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__dump_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__dump_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db dump commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__get_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db get commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__inspect_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__inspect_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db inspect commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__inspect-trie_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__inspect-trie_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db inspect-trie commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__metadata_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__metadata_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db metadata commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__orphans_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__orphans_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db orphans commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__ots-index_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__ots-index_commands() {
    local commands; commands=(
'build:Build or rebuild the --ots.index database of a stopped datadir (<datadir>/xone/otsindex) so it covers block 1 to the head, instead of waiting for the background backfill at the next start. Keeps what is already covered\: it adds the blocks above the covered range, then the blocks below it, and a rerun continues where an earlier run stopped. --rebuild drops every row first. Indexes the transaction senders, targets and log emitters of each block; with --ots.index.frames it also traces each block and indexes the from and to of every call frame, which needs the parent state of each block, so on a pruned datadir it stops at the first block it cannot trace and exits 1 (the blocks written before it stay). Changing --ots.index.frames drops the rows, as it does at node start. Prints progress to stderr, a summary line to stdout. The node must be stopped.' \
    )
    _describe -t commands 'xone help db ots-index commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__ots-index__subcmd__build_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__ots-index__subcmd__build_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db ots-index build commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__preimages_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__preimages_commands() {
    local commands; commands=(
'export:Stream every preimage of the datadir to a file. Read-only; works while the node runs.' \
'import:Add the preimages of a file to the datadir; ones already present are counted and kept, a damaged or truncated file is refused.' \
    )
    _describe -t commands 'xone help db preimages commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__preimages__subcmd__export_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__preimages__subcmd__export_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db preimages export commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__preimages__subcmd__import_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__preimages__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db preimages import commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__prune_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__prune_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db prune commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__re-execute_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__re-execute_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db re-execute commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__reconstruct_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__reconstruct_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db reconstruct commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__restore_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__restore_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db restore commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__scrub_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__scrub_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db scrub commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__segments_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__segments_commands() {
    local commands; commands=(
'ls:Each segment file with its first and last block, frame count, size and format version.' \
'verify:Read every frame of every segment file, check its CRC-32C and that each header hashes to the canonical hash in chain.mdbx. A torn tail is allowed only in the active file. Prints each bad frame and exits 1.' \
    )
    _describe -t commands 'xone help db segments commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__segments__subcmd__ls_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__segments__subcmd__ls_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db segments ls commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__segments__subcmd__verify_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__segments__subcmd__verify_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db segments verify commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__shadow-replay_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__shadow-replay_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db shadow-replay commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__stage-run_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__stage-run_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db stage-run commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__stats_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__stats_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db stats commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__trie-stored_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__trie-stored_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db trie-stored commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__unwind_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__unwind_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db unwind commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__usage_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__usage_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db usage commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__verify-copy_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__verify-copy_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db verify-copy commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__db__subcmd__verify-state_commands] )) ||
_xone__subcmd__help__subcmd__db__subcmd__verify-state_commands() {
    local commands; commands=()
    _describe -t commands 'xone help db verify-state commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__doctor_commands] )) ||
_xone__subcmd__help__subcmd__doctor_commands() {
    local commands; commands=()
    _describe -t commands 'xone help doctor commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__download-era_commands] )) ||
_xone__subcmd__help__subcmd__download-era_commands() {
    local commands; commands=()
    _describe -t commands 'xone help download-era commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__download-erae_commands] )) ||
_xone__subcmd__help__subcmd__download-erae_commands() {
    local commands; commands=()
    _describe -t commands 'xone help download-erae commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__dumpconfig_commands] )) ||
_xone__subcmd__help__subcmd__dumpconfig_commands() {
    local commands; commands=()
    _describe -t commands 'xone help dumpconfig commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__dumpgenesis_commands] )) ||
_xone__subcmd__help__subcmd__dumpgenesis_commands() {
    local commands; commands=()
    _describe -t commands 'xone help dumpgenesis commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__evm_commands] )) ||
_xone__subcmd__help__subcmd__evm_commands() {
    local commands; commands=(
't8n:geth'\''s state transition tool (t8n)\: apply the transactions of --input.txs to --input.alloc in the block of --input.env and write the result and the post alloc in geth'\''s formats. Frontier to ConstantinopleFix, txs.rlp input (issue #230 part 1). Exit codes as geth\: 2 EVM, 3 config, 10 JSON, 11 IO, 12 RLP.' \
'statetest:Run a GeneralStateTests / EEST state_test fixture and print geth'\''s \[{name,pass,fork,stateRoot}\] line. With --state.eth, Istanbul and later run under Ethereum rules (#10). Exit 1 if a case fails or none ran.' \
'blocktest:Run a BlockchainTests fixture and print geth'\''s \[{name,pass,fork}\] line. With --state.eth, Istanbul and later run under Ethereum rules. Block RLP uses this client'\''s header encoding. Exit 1 if a case fails or none ran.' \
't9n:Run EEST transaction_tests fixtures (geth evm t9n)\: per fork, decode the bytes, recover the sender, compute the hash and intrinsic gas, apply the fork'\''s validity rules and compare with the fixture (#2632). One JSON row per case on stdout; exit 1 when a case fails.' \
'run:Run EVM bytecode under the rules of a network and block (or an Ethereum fork) and print the return data, the gas used and the status; --trace prints each step, --bench times repeated runs (geth evm run, #2603).' \
'witness:Export a block execution witness or replay a block from one, without the original database (#467).' \
'opcode-perf:Run the adversarial opcode and precompile corpus\: check each fixture'\''s correctness oracle, then print cold/warm gas-normalized timings, variance, input shape, and machine/build provenance. No cross-chain speed claim is made (#483).' \
    )
    _describe -t commands 'xone help evm commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__evm__subcmd__blocktest_commands] )) ||
_xone__subcmd__help__subcmd__evm__subcmd__blocktest_commands() {
    local commands; commands=()
    _describe -t commands 'xone help evm blocktest commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__evm__subcmd__opcode-perf_commands] )) ||
_xone__subcmd__help__subcmd__evm__subcmd__opcode-perf_commands() {
    local commands; commands=()
    _describe -t commands 'xone help evm opcode-perf commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__evm__subcmd__run_commands] )) ||
_xone__subcmd__help__subcmd__evm__subcmd__run_commands() {
    local commands; commands=()
    _describe -t commands 'xone help evm run commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__evm__subcmd__statetest_commands] )) ||
_xone__subcmd__help__subcmd__evm__subcmd__statetest_commands() {
    local commands; commands=()
    _describe -t commands 'xone help evm statetest commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__evm__subcmd__t8n_commands] )) ||
_xone__subcmd__help__subcmd__evm__subcmd__t8n_commands() {
    local commands; commands=()
    _describe -t commands 'xone help evm t8n commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__evm__subcmd__t9n_commands] )) ||
_xone__subcmd__help__subcmd__evm__subcmd__t9n_commands() {
    local commands; commands=()
    _describe -t commands 'xone help evm t9n commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__evm__subcmd__witness_commands] )) ||
_xone__subcmd__help__subcmd__evm__subcmd__witness_commands() {
    local commands; commands=(
'export:Execute a t8n-style prestate and write a versioned XEW1 witness JSON.' \
'replay:Replay a witness file with no other state and print the roots and receipts. A missing required item is a non-zero exit.' \
    )
    _describe -t commands 'xone help evm witness commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__evm__subcmd__witness__subcmd__export_commands] )) ||
_xone__subcmd__help__subcmd__evm__subcmd__witness__subcmd__export_commands() {
    local commands; commands=()
    _describe -t commands 'xone help evm witness export commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__evm__subcmd__witness__subcmd__replay_commands] )) ||
_xone__subcmd__help__subcmd__evm__subcmd__witness__subcmd__replay_commands() {
    local commands; commands=()
    _describe -t commands 'xone help evm witness replay commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__exit_commands] )) ||
_xone__subcmd__help__subcmd__exit_commands() {
    local commands; commands=()
    _describe -t commands 'xone help exit commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__export_commands] )) ||
_xone__subcmd__help__subcmd__export_commands() {
    local commands; commands=()
    _describe -t commands 'xone help export commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__export-era_commands] )) ||
_xone__subcmd__help__subcmd__export-era_commands() {
    local commands; commands=()
    _describe -t commands 'xone help export-era commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__export-erae_commands] )) ||
_xone__subcmd__help__subcmd__export-erae_commands() {
    local commands; commands=()
    _describe -t commands 'xone help export-erae commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__genesis-hash_commands] )) ||
_xone__subcmd__help__subcmd__genesis-hash_commands() {
    local commands; commands=()
    _describe -t commands 'xone help genesis-hash commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__help_commands] )) ||
_xone__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'xone help help commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__import_commands] )) ||
_xone__subcmd__help__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'xone help import commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__import-era_commands] )) ||
_xone__subcmd__help__subcmd__import-era_commands() {
    local commands; commands=()
    _describe -t commands 'xone help import-era commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__import-era-cl_commands] )) ||
_xone__subcmd__help__subcmd__import-era-cl_commands() {
    local commands; commands=()
    _describe -t commands 'xone help import-era-cl commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__import-erae_commands] )) ||
_xone__subcmd__help__subcmd__import-erae_commands() {
    local commands; commands=()
    _describe -t commands 'xone help import-erae commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__init_commands] )) ||
_xone__subcmd__help__subcmd__init_commands() {
    local commands; commands=()
    _describe -t commands 'xone help init commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__init-state_commands] )) ||
_xone__subcmd__help__subcmd__init-state_commands() {
    local commands; commands=()
    _describe -t commands 'xone help init-state commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__invariants_commands] )) ||
_xone__subcmd__help__subcmd__invariants_commands() {
    local commands; commands=()
    _describe -t commands 'xone help invariants commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__license_commands] )) ||
_xone__subcmd__help__subcmd__license_commands() {
    local commands; commands=()
    _describe -t commands 'xone help license commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__manpage_commands] )) ||
_xone__subcmd__help__subcmd__manpage_commands() {
    local commands; commands=()
    _describe -t commands 'xone help manpage commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__network_commands] )) ||
_xone__subcmd__help__subcmd__network_commands() {
    local commands; commands=(
'init:Write genesis.json, forks.json and per-node config.toml, node key, static nodes and masternode key for a local private network.' \
'shadowfork:Write a private network like init whose genesis holds the head state of a stopped source datadir (#2587)\: every account, its code and storage, except the protocol contracts, which come from the devnet genesis so the 0x88 candidate list names the local masternodes. New chain id; static peers only, no bootnodes. Refuses a running source (datadir lock) and chain ids 50 and 51. Every account and slot needs its stored preimage. To fork at an earlier block, unwind a copy of the source first (xone db unwind).' \
'up:Start every node of a generated private network as one workspace (#665). A failed process is reported in an aggregate result; the others stay running.' \
'status:Show which workspace nodes are running.' \
'down:Stop only the processes this workspace started. Data is retained unless --purge.' \
    )
    _describe -t commands 'xone help network commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__network__subcmd__down_commands] )) ||
_xone__subcmd__help__subcmd__network__subcmd__down_commands() {
    local commands; commands=()
    _describe -t commands 'xone help network down commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__network__subcmd__init_commands] )) ||
_xone__subcmd__help__subcmd__network__subcmd__init_commands() {
    local commands; commands=()
    _describe -t commands 'xone help network init commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__network__subcmd__shadowfork_commands] )) ||
_xone__subcmd__help__subcmd__network__subcmd__shadowfork_commands() {
    local commands; commands=()
    _describe -t commands 'xone help network shadowfork commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__network__subcmd__status_commands] )) ||
_xone__subcmd__help__subcmd__network__subcmd__status_commands() {
    local commands; commands=()
    _describe -t commands 'xone help network status commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__network__subcmd__up_commands] )) ||
_xone__subcmd__help__subcmd__network__subcmd__up_commands() {
    local commands; commands=()
    _describe -t commands 'xone help network up commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__p2p_commands] )) ||
_xone__subcmd__help__subcmd__p2p_commands() {
    local commands; commands=(
'key:Node key tools.' \
'header:Dial one peer, complete the eth Status of the chain, ask it for one block header (GetBlockHeaders) and print the decoded header as JSON with its hash and the response time (#2690). Exit 1 when the peer does not answer or does not have the block.' \
'body:Dial one peer, fetch the header of the block (by number or hash), then its body (GetBlockBodies), and print the transactions, uncles and withdrawals as JSON (#2690). Exit 1 when the peer does not answer or does not have the body.' \
'check:Probe the given peers once each and say why each is or is not usable\: bad enode, unresolved name, port refused or unreachable, handshake failed, incompatible protocol, or ok (#660). Only the listed peers are dialled; nothing is written. Exit 0 when at least one peer is ok.' \
'bootnode:Run discv4 only (no chain, no RLPx) until killed, like geth cmd/bootnode.' \
    )
    _describe -t commands 'xone help p2p commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__p2p__subcmd__body_commands] )) ||
_xone__subcmd__help__subcmd__p2p__subcmd__body_commands() {
    local commands; commands=()
    _describe -t commands 'xone help p2p body commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__p2p__subcmd__bootnode_commands] )) ||
_xone__subcmd__help__subcmd__p2p__subcmd__bootnode_commands() {
    local commands; commands=()
    _describe -t commands 'xone help p2p bootnode commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__p2p__subcmd__check_commands] )) ||
_xone__subcmd__help__subcmd__p2p__subcmd__check_commands() {
    local commands; commands=()
    _describe -t commands 'xone help p2p check commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__p2p__subcmd__header_commands] )) ||
_xone__subcmd__help__subcmd__p2p__subcmd__header_commands() {
    local commands; commands=()
    _describe -t commands 'xone help p2p header commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__p2p__subcmd__key_commands] )) ||
_xone__subcmd__help__subcmd__p2p__subcmd__key_commands() {
    local commands; commands=(
'generate:Write a new node key (hex, as <datadir>/nodekey); never overwrites.' \
'enode:Print the enode URL of a node key.' \
    )
    _describe -t commands 'xone help p2p key commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__p2p__subcmd__key__subcmd__enode_commands] )) ||
_xone__subcmd__help__subcmd__p2p__subcmd__key__subcmd__enode_commands() {
    local commands; commands=()
    _describe -t commands 'xone help p2p key enode commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__p2p__subcmd__key__subcmd__generate_commands] )) ||
_xone__subcmd__help__subcmd__p2p__subcmd__key__subcmd__generate_commands() {
    local commands; commands=()
    _describe -t commands 'xone help p2p key generate commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__profile_commands] )) ||
_xone__subcmd__help__subcmd__profile_commands() {
    local commands; commands=(
'export:Write a profile of a config file\: every host path and secret becomes a <required\:KEY> placeholder; paths inside the datadir travel relative to it. No key, keystore or password content is read.' \
'import:Preview a profile'\''s required keys and write a config only once each is given with --set KEY=VALUE, given paths exist here and the result validates (else exit 2, nothing written).' \
    )
    _describe -t commands 'xone help profile commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__profile__subcmd__export_commands] )) ||
_xone__subcmd__help__subcmd__profile__subcmd__export_commands() {
    local commands; commands=()
    _describe -t commands 'xone help profile export commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__profile__subcmd__import_commands] )) ||
_xone__subcmd__help__subcmd__profile__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'xone help profile import commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__rpc_commands] )) ||
_xone__subcmd__help__subcmd__rpc_commands() {
    local commands; commands=(
'check:Read-only check of an RPC endpoint before an application uses it\: chain id (--network or --chain-id), client version, modules, and each required method probed without parameters. A wrong chain is exit 2; an unreachable endpoint or a missing required method is exit 1 and no ready report. Credentials in the URL are neither sent nor printed (#621).' \
    )
    _describe -t commands 'xone help rpc commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__rpc__subcmd__check_commands] )) ||
_xone__subcmd__help__subcmd__rpc__subcmd__check_commands() {
    local commands; commands=()
    _describe -t commands 'xone help rpc check commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__rpcdaemon_commands] )) ||
_xone__subcmd__help__subcmd__rpcdaemon_commands() {
    local commands; commands=()
    _describe -t commands 'xone help rpcdaemon commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__setup_commands] )) ||
_xone__subcmd__help__subcmd__setup_commands() {
    local commands; commands=()
    _describe -t commands 'xone help setup commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__signer_commands] )) ||
_xone__subcmd__help__subcmd__signer_commands() {
    local commands; commands=(
'set-identity:Load a local keystore or remote signer URL onto a running node over IPC' \
'clear-identity:Clear the active signing identity and put the node into standby/follow mode over IPC' \
    )
    _describe -t commands 'xone help signer commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__signer__subcmd__clear-identity_commands] )) ||
_xone__subcmd__help__subcmd__signer__subcmd__clear-identity_commands() {
    local commands; commands=()
    _describe -t commands 'xone help signer clear-identity commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__signer__subcmd__set-identity_commands] )) ||
_xone__subcmd__help__subcmd__signer__subcmd__set-identity_commands() {
    local commands; commands=()
    _describe -t commands 'xone help signer set-identity commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__snapshot_commands] )) ||
_xone__subcmd__help__subcmd__snapshot_commands() {
    local commands; commands=(
'export-genesis:Write the state at --at as a reusable XDC genesis JSON for a new private chain (#1203). Requires a new --chain-id and --validators. The source state root is recomputed and checked before writing. The fork table is written next to the genesis file, or to --forks-out.' \
'export:Write an anchored snapshot of the datadir'\''s own state at --at (default\: the latest committed epoch switch, on V1 the highest sealed block).' \
'import:Verify a snapshot against the pins and install it into an empty datadir; an interrupted run resumes. --seed fetches closed XSEG history chunks from one or more HTTP seeds first (#195).' \
'publish:Stream an authenticated snapshot of the datadir to object storage, verify the uploaded bytes, then write catalog metadata and a latest pointer (#712). Importers must still pass the immutable archive URL and --checksum plus --pins; do not trust latest alone.' \
'serve:Serve a finalized snapshot and its signed manifest over HTTP, with a bearer token, Range resume and a concurrent-download limit (#1199). Plaintext is allowed only on loopback.' \
'checkpoint:Query an allowlist of HTTPS checkpoint providers, compare their signed anchors, and print the pinned or quorum-matching checkpoint (#1201). Dynamic discovery is off by default. A health response alone cannot select a checkpoint.' \
'verify:Verify a snapshot against the pins (anchor, checksums, trailer, proofs, state root) and install nothing. Touches no datadir; exit 0 only when every check passes.' \
    )
    _describe -t commands 'xone help snapshot commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__snapshot__subcmd__checkpoint_commands] )) ||
_xone__subcmd__help__subcmd__snapshot__subcmd__checkpoint_commands() {
    local commands; commands=()
    _describe -t commands 'xone help snapshot checkpoint commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__snapshot__subcmd__export_commands] )) ||
_xone__subcmd__help__subcmd__snapshot__subcmd__export_commands() {
    local commands; commands=()
    _describe -t commands 'xone help snapshot export commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__snapshot__subcmd__export-genesis_commands] )) ||
_xone__subcmd__help__subcmd__snapshot__subcmd__export-genesis_commands() {
    local commands; commands=()
    _describe -t commands 'xone help snapshot export-genesis commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__snapshot__subcmd__import_commands] )) ||
_xone__subcmd__help__subcmd__snapshot__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'xone help snapshot import commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__snapshot__subcmd__publish_commands] )) ||
_xone__subcmd__help__subcmd__snapshot__subcmd__publish_commands() {
    local commands; commands=()
    _describe -t commands 'xone help snapshot publish commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__snapshot__subcmd__serve_commands] )) ||
_xone__subcmd__help__subcmd__snapshot__subcmd__serve_commands() {
    local commands; commands=()
    _describe -t commands 'xone help snapshot serve commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__snapshot__subcmd__verify_commands] )) ||
_xone__subcmd__help__subcmd__snapshot__subcmd__verify_commands() {
    local commands; commands=()
    _describe -t commands 'xone help snapshot verify commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__sync-status_commands] )) ||
_xone__subcmd__help__subcmd__sync-status_commands() {
    local commands; commands=()
    _describe -t commands 'xone help sync-status commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__tasks_commands] )) ||
_xone__subcmd__help__subcmd__tasks_commands() {
    local commands; commands=()
    _describe -t commands 'xone help tasks commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__upgrade_commands] )) ||
_xone__subcmd__help__subcmd__upgrade_commands() {
    local commands; commands=(
'prepare:Verify a release signature and checksum and stage the binary under <datadir>/upgrades/<name>/' \
'status:Print the staged or active upgrade plan' \
'rollback:Roll back the upgrade plan to the previous binary without touching xone/safety/' \
'run:Supervise a node across a staged --halt.block upgrade and switch binaries on exit 0' \
    )
    _describe -t commands 'xone help upgrade commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__upgrade__subcmd__prepare_commands] )) ||
_xone__subcmd__help__subcmd__upgrade__subcmd__prepare_commands() {
    local commands; commands=()
    _describe -t commands 'xone help upgrade prepare commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__upgrade__subcmd__rollback_commands] )) ||
_xone__subcmd__help__subcmd__upgrade__subcmd__rollback_commands() {
    local commands; commands=()
    _describe -t commands 'xone help upgrade rollback commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__upgrade__subcmd__run_commands] )) ||
_xone__subcmd__help__subcmd__upgrade__subcmd__run_commands() {
    local commands; commands=()
    _describe -t commands 'xone help upgrade run commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__upgrade__subcmd__status_commands] )) ||
_xone__subcmd__help__subcmd__upgrade__subcmd__status_commands() {
    local commands; commands=()
    _describe -t commands 'xone help upgrade status commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__verify_commands] )) ||
_xone__subcmd__help__subcmd__verify_commands() {
    local commands; commands=(
'stateless:Check a range of blocks from RPC endpoints\: fetch each block and its debug_executionWitness, execute it on the witness only, compare the state root, receipts root, gas used and bloom with the header, and check that the headers link by parent hash from a trusted anchor hash and that the validators made them (XDPoS V1 seals, V2 quorum certificates and leader signatures, from the masternodes of the anchor'\''s epoch). One JSON line per block in --report; a failed block is recorded and the run goes on. Exit 0 when every block is ok, 1 when one failed, 2 on a bad argument or an unusable endpoint. No code cache or --follow yet.' \
    )
    _describe -t commands 'xone help verify commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__verify__subcmd__stateless_commands] )) ||
_xone__subcmd__help__subcmd__verify__subcmd__stateless_commands() {
    local commands; commands=()
    _describe -t commands 'xone help verify stateless commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__version_commands] )) ||
_xone__subcmd__help__subcmd__version_commands() {
    local commands; commands=()
    _describe -t commands 'xone help version commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__wait-ready_commands] )) ||
_xone__subcmd__help__subcmd__wait-ready_commands() {
    local commands; commands=()
    _describe -t commands 'xone help wait-ready commands' commands "$@"
}
(( $+functions[_xone__subcmd__help__subcmd__wallet-info_commands] )) ||
_xone__subcmd__help__subcmd__wallet-info_commands() {
    local commands; commands=()
    _describe -t commands 'xone help wallet-info commands' commands "$@"
}
(( $+functions[_xone__subcmd__import_commands] )) ||
_xone__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'xone import commands' commands "$@"
}
(( $+functions[_xone__subcmd__import-era_commands] )) ||
_xone__subcmd__import-era_commands() {
    local commands; commands=()
    _describe -t commands 'xone import-era commands' commands "$@"
}
(( $+functions[_xone__subcmd__import-era-cl_commands] )) ||
_xone__subcmd__import-era-cl_commands() {
    local commands; commands=()
    _describe -t commands 'xone import-era-cl commands' commands "$@"
}
(( $+functions[_xone__subcmd__import-erae_commands] )) ||
_xone__subcmd__import-erae_commands() {
    local commands; commands=()
    _describe -t commands 'xone import-erae commands' commands "$@"
}
(( $+functions[_xone__subcmd__init_commands] )) ||
_xone__subcmd__init_commands() {
    local commands; commands=()
    _describe -t commands 'xone init commands' commands "$@"
}
(( $+functions[_xone__subcmd__init-state_commands] )) ||
_xone__subcmd__init-state_commands() {
    local commands; commands=()
    _describe -t commands 'xone init-state commands' commands "$@"
}
(( $+functions[_xone__subcmd__invariants_commands] )) ||
_xone__subcmd__invariants_commands() {
    local commands; commands=()
    _describe -t commands 'xone invariants commands' commands "$@"
}
(( $+functions[_xone__subcmd__license_commands] )) ||
_xone__subcmd__license_commands() {
    local commands; commands=()
    _describe -t commands 'xone license commands' commands "$@"
}
(( $+functions[_xone__subcmd__manpage_commands] )) ||
_xone__subcmd__manpage_commands() {
    local commands; commands=()
    _describe -t commands 'xone manpage commands' commands "$@"
}
(( $+functions[_xone__subcmd__network_commands] )) ||
_xone__subcmd__network_commands() {
    local commands; commands=(
'init:Write genesis.json, forks.json and per-node config.toml, node key, static nodes and masternode key for a local private network.' \
'shadowfork:Write a private network like init whose genesis holds the head state of a stopped source datadir (#2587)\: every account, its code and storage, except the protocol contracts, which come from the devnet genesis so the 0x88 candidate list names the local masternodes. New chain id; static peers only, no bootnodes. Refuses a running source (datadir lock) and chain ids 50 and 51. Every account and slot needs its stored preimage. To fork at an earlier block, unwind a copy of the source first (xone db unwind).' \
'up:Start every node of a generated private network as one workspace (#665). A failed process is reported in an aggregate result; the others stay running.' \
'status:Show which workspace nodes are running.' \
'down:Stop only the processes this workspace started. Data is retained unless --purge.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone network commands' commands "$@"
}
(( $+functions[_xone__subcmd__network__subcmd__down_commands] )) ||
_xone__subcmd__network__subcmd__down_commands() {
    local commands; commands=()
    _describe -t commands 'xone network down commands' commands "$@"
}
(( $+functions[_xone__subcmd__network__subcmd__help_commands] )) ||
_xone__subcmd__network__subcmd__help_commands() {
    local commands; commands=(
'init:Write genesis.json, forks.json and per-node config.toml, node key, static nodes and masternode key for a local private network.' \
'shadowfork:Write a private network like init whose genesis holds the head state of a stopped source datadir (#2587)\: every account, its code and storage, except the protocol contracts, which come from the devnet genesis so the 0x88 candidate list names the local masternodes. New chain id; static peers only, no bootnodes. Refuses a running source (datadir lock) and chain ids 50 and 51. Every account and slot needs its stored preimage. To fork at an earlier block, unwind a copy of the source first (xone db unwind).' \
'up:Start every node of a generated private network as one workspace (#665). A failed process is reported in an aggregate result; the others stay running.' \
'status:Show which workspace nodes are running.' \
'down:Stop only the processes this workspace started. Data is retained unless --purge.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone network help commands' commands "$@"
}
(( $+functions[_xone__subcmd__network__subcmd__help__subcmd__down_commands] )) ||
_xone__subcmd__network__subcmd__help__subcmd__down_commands() {
    local commands; commands=()
    _describe -t commands 'xone network help down commands' commands "$@"
}
(( $+functions[_xone__subcmd__network__subcmd__help__subcmd__help_commands] )) ||
_xone__subcmd__network__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'xone network help help commands' commands "$@"
}
(( $+functions[_xone__subcmd__network__subcmd__help__subcmd__init_commands] )) ||
_xone__subcmd__network__subcmd__help__subcmd__init_commands() {
    local commands; commands=()
    _describe -t commands 'xone network help init commands' commands "$@"
}
(( $+functions[_xone__subcmd__network__subcmd__help__subcmd__shadowfork_commands] )) ||
_xone__subcmd__network__subcmd__help__subcmd__shadowfork_commands() {
    local commands; commands=()
    _describe -t commands 'xone network help shadowfork commands' commands "$@"
}
(( $+functions[_xone__subcmd__network__subcmd__help__subcmd__status_commands] )) ||
_xone__subcmd__network__subcmd__help__subcmd__status_commands() {
    local commands; commands=()
    _describe -t commands 'xone network help status commands' commands "$@"
}
(( $+functions[_xone__subcmd__network__subcmd__help__subcmd__up_commands] )) ||
_xone__subcmd__network__subcmd__help__subcmd__up_commands() {
    local commands; commands=()
    _describe -t commands 'xone network help up commands' commands "$@"
}
(( $+functions[_xone__subcmd__network__subcmd__init_commands] )) ||
_xone__subcmd__network__subcmd__init_commands() {
    local commands; commands=()
    _describe -t commands 'xone network init commands' commands "$@"
}
(( $+functions[_xone__subcmd__network__subcmd__shadowfork_commands] )) ||
_xone__subcmd__network__subcmd__shadowfork_commands() {
    local commands; commands=()
    _describe -t commands 'xone network shadowfork commands' commands "$@"
}
(( $+functions[_xone__subcmd__network__subcmd__status_commands] )) ||
_xone__subcmd__network__subcmd__status_commands() {
    local commands; commands=()
    _describe -t commands 'xone network status commands' commands "$@"
}
(( $+functions[_xone__subcmd__network__subcmd__up_commands] )) ||
_xone__subcmd__network__subcmd__up_commands() {
    local commands; commands=()
    _describe -t commands 'xone network up commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p_commands] )) ||
_xone__subcmd__p2p_commands() {
    local commands; commands=(
'key:Node key tools.' \
'header:Dial one peer, complete the eth Status of the chain, ask it for one block header (GetBlockHeaders) and print the decoded header as JSON with its hash and the response time (#2690). Exit 1 when the peer does not answer or does not have the block.' \
'body:Dial one peer, fetch the header of the block (by number or hash), then its body (GetBlockBodies), and print the transactions, uncles and withdrawals as JSON (#2690). Exit 1 when the peer does not answer or does not have the body.' \
'check:Probe the given peers once each and say why each is or is not usable\: bad enode, unresolved name, port refused or unreachable, handshake failed, incompatible protocol, or ok (#660). Only the listed peers are dialled; nothing is written. Exit 0 when at least one peer is ok.' \
'bootnode:Run discv4 only (no chain, no RLPx) until killed, like geth cmd/bootnode.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone p2p commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p__subcmd__body_commands] )) ||
_xone__subcmd__p2p__subcmd__body_commands() {
    local commands; commands=()
    _describe -t commands 'xone p2p body commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p__subcmd__bootnode_commands] )) ||
_xone__subcmd__p2p__subcmd__bootnode_commands() {
    local commands; commands=()
    _describe -t commands 'xone p2p bootnode commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p__subcmd__check_commands] )) ||
_xone__subcmd__p2p__subcmd__check_commands() {
    local commands; commands=()
    _describe -t commands 'xone p2p check commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p__subcmd__header_commands] )) ||
_xone__subcmd__p2p__subcmd__header_commands() {
    local commands; commands=()
    _describe -t commands 'xone p2p header commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p__subcmd__help_commands] )) ||
_xone__subcmd__p2p__subcmd__help_commands() {
    local commands; commands=(
'key:Node key tools.' \
'header:Dial one peer, complete the eth Status of the chain, ask it for one block header (GetBlockHeaders) and print the decoded header as JSON with its hash and the response time (#2690). Exit 1 when the peer does not answer or does not have the block.' \
'body:Dial one peer, fetch the header of the block (by number or hash), then its body (GetBlockBodies), and print the transactions, uncles and withdrawals as JSON (#2690). Exit 1 when the peer does not answer or does not have the body.' \
'check:Probe the given peers once each and say why each is or is not usable\: bad enode, unresolved name, port refused or unreachable, handshake failed, incompatible protocol, or ok (#660). Only the listed peers are dialled; nothing is written. Exit 0 when at least one peer is ok.' \
'bootnode:Run discv4 only (no chain, no RLPx) until killed, like geth cmd/bootnode.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone p2p help commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p__subcmd__help__subcmd__body_commands] )) ||
_xone__subcmd__p2p__subcmd__help__subcmd__body_commands() {
    local commands; commands=()
    _describe -t commands 'xone p2p help body commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p__subcmd__help__subcmd__bootnode_commands] )) ||
_xone__subcmd__p2p__subcmd__help__subcmd__bootnode_commands() {
    local commands; commands=()
    _describe -t commands 'xone p2p help bootnode commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p__subcmd__help__subcmd__check_commands] )) ||
_xone__subcmd__p2p__subcmd__help__subcmd__check_commands() {
    local commands; commands=()
    _describe -t commands 'xone p2p help check commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p__subcmd__help__subcmd__header_commands] )) ||
_xone__subcmd__p2p__subcmd__help__subcmd__header_commands() {
    local commands; commands=()
    _describe -t commands 'xone p2p help header commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p__subcmd__help__subcmd__help_commands] )) ||
_xone__subcmd__p2p__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'xone p2p help help commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p__subcmd__help__subcmd__key_commands] )) ||
_xone__subcmd__p2p__subcmd__help__subcmd__key_commands() {
    local commands; commands=(
'generate:Write a new node key (hex, as <datadir>/nodekey); never overwrites.' \
'enode:Print the enode URL of a node key.' \
    )
    _describe -t commands 'xone p2p help key commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p__subcmd__help__subcmd__key__subcmd__enode_commands] )) ||
_xone__subcmd__p2p__subcmd__help__subcmd__key__subcmd__enode_commands() {
    local commands; commands=()
    _describe -t commands 'xone p2p help key enode commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p__subcmd__help__subcmd__key__subcmd__generate_commands] )) ||
_xone__subcmd__p2p__subcmd__help__subcmd__key__subcmd__generate_commands() {
    local commands; commands=()
    _describe -t commands 'xone p2p help key generate commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p__subcmd__key_commands] )) ||
_xone__subcmd__p2p__subcmd__key_commands() {
    local commands; commands=(
'generate:Write a new node key (hex, as <datadir>/nodekey); never overwrites.' \
'enode:Print the enode URL of a node key.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone p2p key commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p__subcmd__key__subcmd__enode_commands] )) ||
_xone__subcmd__p2p__subcmd__key__subcmd__enode_commands() {
    local commands; commands=()
    _describe -t commands 'xone p2p key enode commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p__subcmd__key__subcmd__generate_commands] )) ||
_xone__subcmd__p2p__subcmd__key__subcmd__generate_commands() {
    local commands; commands=()
    _describe -t commands 'xone p2p key generate commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p__subcmd__key__subcmd__help_commands] )) ||
_xone__subcmd__p2p__subcmd__key__subcmd__help_commands() {
    local commands; commands=(
'generate:Write a new node key (hex, as <datadir>/nodekey); never overwrites.' \
'enode:Print the enode URL of a node key.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone p2p key help commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p__subcmd__key__subcmd__help__subcmd__enode_commands] )) ||
_xone__subcmd__p2p__subcmd__key__subcmd__help__subcmd__enode_commands() {
    local commands; commands=()
    _describe -t commands 'xone p2p key help enode commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p__subcmd__key__subcmd__help__subcmd__generate_commands] )) ||
_xone__subcmd__p2p__subcmd__key__subcmd__help__subcmd__generate_commands() {
    local commands; commands=()
    _describe -t commands 'xone p2p key help generate commands' commands "$@"
}
(( $+functions[_xone__subcmd__p2p__subcmd__key__subcmd__help__subcmd__help_commands] )) ||
_xone__subcmd__p2p__subcmd__key__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'xone p2p key help help commands' commands "$@"
}
(( $+functions[_xone__subcmd__profile_commands] )) ||
_xone__subcmd__profile_commands() {
    local commands; commands=(
'export:Write a profile of a config file\: every host path and secret becomes a <required\:KEY> placeholder; paths inside the datadir travel relative to it. No key, keystore or password content is read.' \
'import:Preview a profile'\''s required keys and write a config only once each is given with --set KEY=VALUE, given paths exist here and the result validates (else exit 2, nothing written).' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone profile commands' commands "$@"
}
(( $+functions[_xone__subcmd__profile__subcmd__export_commands] )) ||
_xone__subcmd__profile__subcmd__export_commands() {
    local commands; commands=()
    _describe -t commands 'xone profile export commands' commands "$@"
}
(( $+functions[_xone__subcmd__profile__subcmd__help_commands] )) ||
_xone__subcmd__profile__subcmd__help_commands() {
    local commands; commands=(
'export:Write a profile of a config file\: every host path and secret becomes a <required\:KEY> placeholder; paths inside the datadir travel relative to it. No key, keystore or password content is read.' \
'import:Preview a profile'\''s required keys and write a config only once each is given with --set KEY=VALUE, given paths exist here and the result validates (else exit 2, nothing written).' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone profile help commands' commands "$@"
}
(( $+functions[_xone__subcmd__profile__subcmd__help__subcmd__export_commands] )) ||
_xone__subcmd__profile__subcmd__help__subcmd__export_commands() {
    local commands; commands=()
    _describe -t commands 'xone profile help export commands' commands "$@"
}
(( $+functions[_xone__subcmd__profile__subcmd__help__subcmd__help_commands] )) ||
_xone__subcmd__profile__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'xone profile help help commands' commands "$@"
}
(( $+functions[_xone__subcmd__profile__subcmd__help__subcmd__import_commands] )) ||
_xone__subcmd__profile__subcmd__help__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'xone profile help import commands' commands "$@"
}
(( $+functions[_xone__subcmd__profile__subcmd__import_commands] )) ||
_xone__subcmd__profile__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'xone profile import commands' commands "$@"
}
(( $+functions[_xone__subcmd__rpc_commands] )) ||
_xone__subcmd__rpc_commands() {
    local commands; commands=(
'check:Read-only check of an RPC endpoint before an application uses it\: chain id (--network or --chain-id), client version, modules, and each required method probed without parameters. A wrong chain is exit 2; an unreachable endpoint or a missing required method is exit 1 and no ready report. Credentials in the URL are neither sent nor printed (#621).' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone rpc commands' commands "$@"
}
(( $+functions[_xone__subcmd__rpc__subcmd__check_commands] )) ||
_xone__subcmd__rpc__subcmd__check_commands() {
    local commands; commands=()
    _describe -t commands 'xone rpc check commands' commands "$@"
}
(( $+functions[_xone__subcmd__rpc__subcmd__help_commands] )) ||
_xone__subcmd__rpc__subcmd__help_commands() {
    local commands; commands=(
'check:Read-only check of an RPC endpoint before an application uses it\: chain id (--network or --chain-id), client version, modules, and each required method probed without parameters. A wrong chain is exit 2; an unreachable endpoint or a missing required method is exit 1 and no ready report. Credentials in the URL are neither sent nor printed (#621).' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone rpc help commands' commands "$@"
}
(( $+functions[_xone__subcmd__rpc__subcmd__help__subcmd__check_commands] )) ||
_xone__subcmd__rpc__subcmd__help__subcmd__check_commands() {
    local commands; commands=()
    _describe -t commands 'xone rpc help check commands' commands "$@"
}
(( $+functions[_xone__subcmd__rpc__subcmd__help__subcmd__help_commands] )) ||
_xone__subcmd__rpc__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'xone rpc help help commands' commands "$@"
}
(( $+functions[_xone__subcmd__rpcdaemon_commands] )) ||
_xone__subcmd__rpcdaemon_commands() {
    local commands; commands=()
    _describe -t commands 'xone rpcdaemon commands' commands "$@"
}
(( $+functions[_xone__subcmd__setup_commands] )) ||
_xone__subcmd__setup_commands() {
    local commands; commands=()
    _describe -t commands 'xone setup commands' commands "$@"
}
(( $+functions[_xone__subcmd__signer_commands] )) ||
_xone__subcmd__signer_commands() {
    local commands; commands=(
'set-identity:Load a local keystore or remote signer URL onto a running node over IPC' \
'clear-identity:Clear the active signing identity and put the node into standby/follow mode over IPC' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone signer commands' commands "$@"
}
(( $+functions[_xone__subcmd__signer__subcmd__clear-identity_commands] )) ||
_xone__subcmd__signer__subcmd__clear-identity_commands() {
    local commands; commands=()
    _describe -t commands 'xone signer clear-identity commands' commands "$@"
}
(( $+functions[_xone__subcmd__signer__subcmd__help_commands] )) ||
_xone__subcmd__signer__subcmd__help_commands() {
    local commands; commands=(
'set-identity:Load a local keystore or remote signer URL onto a running node over IPC' \
'clear-identity:Clear the active signing identity and put the node into standby/follow mode over IPC' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone signer help commands' commands "$@"
}
(( $+functions[_xone__subcmd__signer__subcmd__help__subcmd__clear-identity_commands] )) ||
_xone__subcmd__signer__subcmd__help__subcmd__clear-identity_commands() {
    local commands; commands=()
    _describe -t commands 'xone signer help clear-identity commands' commands "$@"
}
(( $+functions[_xone__subcmd__signer__subcmd__help__subcmd__help_commands] )) ||
_xone__subcmd__signer__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'xone signer help help commands' commands "$@"
}
(( $+functions[_xone__subcmd__signer__subcmd__help__subcmd__set-identity_commands] )) ||
_xone__subcmd__signer__subcmd__help__subcmd__set-identity_commands() {
    local commands; commands=()
    _describe -t commands 'xone signer help set-identity commands' commands "$@"
}
(( $+functions[_xone__subcmd__signer__subcmd__set-identity_commands] )) ||
_xone__subcmd__signer__subcmd__set-identity_commands() {
    local commands; commands=()
    _describe -t commands 'xone signer set-identity commands' commands "$@"
}
(( $+functions[_xone__subcmd__snapshot_commands] )) ||
_xone__subcmd__snapshot_commands() {
    local commands; commands=(
'export-genesis:Write the state at --at as a reusable XDC genesis JSON for a new private chain (#1203). Requires a new --chain-id and --validators. The source state root is recomputed and checked before writing. The fork table is written next to the genesis file, or to --forks-out.' \
'export:Write an anchored snapshot of the datadir'\''s own state at --at (default\: the latest committed epoch switch, on V1 the highest sealed block).' \
'import:Verify a snapshot against the pins and install it into an empty datadir; an interrupted run resumes. --seed fetches closed XSEG history chunks from one or more HTTP seeds first (#195).' \
'publish:Stream an authenticated snapshot of the datadir to object storage, verify the uploaded bytes, then write catalog metadata and a latest pointer (#712). Importers must still pass the immutable archive URL and --checksum plus --pins; do not trust latest alone.' \
'serve:Serve a finalized snapshot and its signed manifest over HTTP, with a bearer token, Range resume and a concurrent-download limit (#1199). Plaintext is allowed only on loopback.' \
'checkpoint:Query an allowlist of HTTPS checkpoint providers, compare their signed anchors, and print the pinned or quorum-matching checkpoint (#1201). Dynamic discovery is off by default. A health response alone cannot select a checkpoint.' \
'verify:Verify a snapshot against the pins (anchor, checksums, trailer, proofs, state root) and install nothing. Touches no datadir; exit 0 only when every check passes.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone snapshot commands' commands "$@"
}
(( $+functions[_xone__subcmd__snapshot__subcmd__checkpoint_commands] )) ||
_xone__subcmd__snapshot__subcmd__checkpoint_commands() {
    local commands; commands=()
    _describe -t commands 'xone snapshot checkpoint commands' commands "$@"
}
(( $+functions[_xone__subcmd__snapshot__subcmd__export_commands] )) ||
_xone__subcmd__snapshot__subcmd__export_commands() {
    local commands; commands=()
    _describe -t commands 'xone snapshot export commands' commands "$@"
}
(( $+functions[_xone__subcmd__snapshot__subcmd__export-genesis_commands] )) ||
_xone__subcmd__snapshot__subcmd__export-genesis_commands() {
    local commands; commands=()
    _describe -t commands 'xone snapshot export-genesis commands' commands "$@"
}
(( $+functions[_xone__subcmd__snapshot__subcmd__help_commands] )) ||
_xone__subcmd__snapshot__subcmd__help_commands() {
    local commands; commands=(
'export-genesis:Write the state at --at as a reusable XDC genesis JSON for a new private chain (#1203). Requires a new --chain-id and --validators. The source state root is recomputed and checked before writing. The fork table is written next to the genesis file, or to --forks-out.' \
'export:Write an anchored snapshot of the datadir'\''s own state at --at (default\: the latest committed epoch switch, on V1 the highest sealed block).' \
'import:Verify a snapshot against the pins and install it into an empty datadir; an interrupted run resumes. --seed fetches closed XSEG history chunks from one or more HTTP seeds first (#195).' \
'publish:Stream an authenticated snapshot of the datadir to object storage, verify the uploaded bytes, then write catalog metadata and a latest pointer (#712). Importers must still pass the immutable archive URL and --checksum plus --pins; do not trust latest alone.' \
'serve:Serve a finalized snapshot and its signed manifest over HTTP, with a bearer token, Range resume and a concurrent-download limit (#1199). Plaintext is allowed only on loopback.' \
'checkpoint:Query an allowlist of HTTPS checkpoint providers, compare their signed anchors, and print the pinned or quorum-matching checkpoint (#1201). Dynamic discovery is off by default. A health response alone cannot select a checkpoint.' \
'verify:Verify a snapshot against the pins (anchor, checksums, trailer, proofs, state root) and install nothing. Touches no datadir; exit 0 only when every check passes.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone snapshot help commands' commands "$@"
}
(( $+functions[_xone__subcmd__snapshot__subcmd__help__subcmd__checkpoint_commands] )) ||
_xone__subcmd__snapshot__subcmd__help__subcmd__checkpoint_commands() {
    local commands; commands=()
    _describe -t commands 'xone snapshot help checkpoint commands' commands "$@"
}
(( $+functions[_xone__subcmd__snapshot__subcmd__help__subcmd__export_commands] )) ||
_xone__subcmd__snapshot__subcmd__help__subcmd__export_commands() {
    local commands; commands=()
    _describe -t commands 'xone snapshot help export commands' commands "$@"
}
(( $+functions[_xone__subcmd__snapshot__subcmd__help__subcmd__export-genesis_commands] )) ||
_xone__subcmd__snapshot__subcmd__help__subcmd__export-genesis_commands() {
    local commands; commands=()
    _describe -t commands 'xone snapshot help export-genesis commands' commands "$@"
}
(( $+functions[_xone__subcmd__snapshot__subcmd__help__subcmd__help_commands] )) ||
_xone__subcmd__snapshot__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'xone snapshot help help commands' commands "$@"
}
(( $+functions[_xone__subcmd__snapshot__subcmd__help__subcmd__import_commands] )) ||
_xone__subcmd__snapshot__subcmd__help__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'xone snapshot help import commands' commands "$@"
}
(( $+functions[_xone__subcmd__snapshot__subcmd__help__subcmd__publish_commands] )) ||
_xone__subcmd__snapshot__subcmd__help__subcmd__publish_commands() {
    local commands; commands=()
    _describe -t commands 'xone snapshot help publish commands' commands "$@"
}
(( $+functions[_xone__subcmd__snapshot__subcmd__help__subcmd__serve_commands] )) ||
_xone__subcmd__snapshot__subcmd__help__subcmd__serve_commands() {
    local commands; commands=()
    _describe -t commands 'xone snapshot help serve commands' commands "$@"
}
(( $+functions[_xone__subcmd__snapshot__subcmd__help__subcmd__verify_commands] )) ||
_xone__subcmd__snapshot__subcmd__help__subcmd__verify_commands() {
    local commands; commands=()
    _describe -t commands 'xone snapshot help verify commands' commands "$@"
}
(( $+functions[_xone__subcmd__snapshot__subcmd__import_commands] )) ||
_xone__subcmd__snapshot__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'xone snapshot import commands' commands "$@"
}
(( $+functions[_xone__subcmd__snapshot__subcmd__publish_commands] )) ||
_xone__subcmd__snapshot__subcmd__publish_commands() {
    local commands; commands=()
    _describe -t commands 'xone snapshot publish commands' commands "$@"
}
(( $+functions[_xone__subcmd__snapshot__subcmd__serve_commands] )) ||
_xone__subcmd__snapshot__subcmd__serve_commands() {
    local commands; commands=()
    _describe -t commands 'xone snapshot serve commands' commands "$@"
}
(( $+functions[_xone__subcmd__snapshot__subcmd__verify_commands] )) ||
_xone__subcmd__snapshot__subcmd__verify_commands() {
    local commands; commands=()
    _describe -t commands 'xone snapshot verify commands' commands "$@"
}
(( $+functions[_xone__subcmd__sync-status_commands] )) ||
_xone__subcmd__sync-status_commands() {
    local commands; commands=()
    _describe -t commands 'xone sync-status commands' commands "$@"
}
(( $+functions[_xone__subcmd__tasks_commands] )) ||
_xone__subcmd__tasks_commands() {
    local commands; commands=()
    _describe -t commands 'xone tasks commands' commands "$@"
}
(( $+functions[_xone__subcmd__upgrade_commands] )) ||
_xone__subcmd__upgrade_commands() {
    local commands; commands=(
'prepare:Verify a release signature and checksum and stage the binary under <datadir>/upgrades/<name>/' \
'status:Print the staged or active upgrade plan' \
'rollback:Roll back the upgrade plan to the previous binary without touching xone/safety/' \
'run:Supervise a node across a staged --halt.block upgrade and switch binaries on exit 0' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone upgrade commands' commands "$@"
}
(( $+functions[_xone__subcmd__upgrade__subcmd__help_commands] )) ||
_xone__subcmd__upgrade__subcmd__help_commands() {
    local commands; commands=(
'prepare:Verify a release signature and checksum and stage the binary under <datadir>/upgrades/<name>/' \
'status:Print the staged or active upgrade plan' \
'rollback:Roll back the upgrade plan to the previous binary without touching xone/safety/' \
'run:Supervise a node across a staged --halt.block upgrade and switch binaries on exit 0' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone upgrade help commands' commands "$@"
}
(( $+functions[_xone__subcmd__upgrade__subcmd__help__subcmd__help_commands] )) ||
_xone__subcmd__upgrade__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'xone upgrade help help commands' commands "$@"
}
(( $+functions[_xone__subcmd__upgrade__subcmd__help__subcmd__prepare_commands] )) ||
_xone__subcmd__upgrade__subcmd__help__subcmd__prepare_commands() {
    local commands; commands=()
    _describe -t commands 'xone upgrade help prepare commands' commands "$@"
}
(( $+functions[_xone__subcmd__upgrade__subcmd__help__subcmd__rollback_commands] )) ||
_xone__subcmd__upgrade__subcmd__help__subcmd__rollback_commands() {
    local commands; commands=()
    _describe -t commands 'xone upgrade help rollback commands' commands "$@"
}
(( $+functions[_xone__subcmd__upgrade__subcmd__help__subcmd__run_commands] )) ||
_xone__subcmd__upgrade__subcmd__help__subcmd__run_commands() {
    local commands; commands=()
    _describe -t commands 'xone upgrade help run commands' commands "$@"
}
(( $+functions[_xone__subcmd__upgrade__subcmd__help__subcmd__status_commands] )) ||
_xone__subcmd__upgrade__subcmd__help__subcmd__status_commands() {
    local commands; commands=()
    _describe -t commands 'xone upgrade help status commands' commands "$@"
}
(( $+functions[_xone__subcmd__upgrade__subcmd__prepare_commands] )) ||
_xone__subcmd__upgrade__subcmd__prepare_commands() {
    local commands; commands=()
    _describe -t commands 'xone upgrade prepare commands' commands "$@"
}
(( $+functions[_xone__subcmd__upgrade__subcmd__rollback_commands] )) ||
_xone__subcmd__upgrade__subcmd__rollback_commands() {
    local commands; commands=()
    _describe -t commands 'xone upgrade rollback commands' commands "$@"
}
(( $+functions[_xone__subcmd__upgrade__subcmd__run_commands] )) ||
_xone__subcmd__upgrade__subcmd__run_commands() {
    local commands; commands=()
    _describe -t commands 'xone upgrade run commands' commands "$@"
}
(( $+functions[_xone__subcmd__upgrade__subcmd__status_commands] )) ||
_xone__subcmd__upgrade__subcmd__status_commands() {
    local commands; commands=()
    _describe -t commands 'xone upgrade status commands' commands "$@"
}
(( $+functions[_xone__subcmd__verify_commands] )) ||
_xone__subcmd__verify_commands() {
    local commands; commands=(
'stateless:Check a range of blocks from RPC endpoints\: fetch each block and its debug_executionWitness, execute it on the witness only, compare the state root, receipts root, gas used and bloom with the header, and check that the headers link by parent hash from a trusted anchor hash and that the validators made them (XDPoS V1 seals, V2 quorum certificates and leader signatures, from the masternodes of the anchor'\''s epoch). One JSON line per block in --report; a failed block is recorded and the run goes on. Exit 0 when every block is ok, 1 when one failed, 2 on a bad argument or an unusable endpoint. No code cache or --follow yet.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone verify commands' commands "$@"
}
(( $+functions[_xone__subcmd__verify__subcmd__help_commands] )) ||
_xone__subcmd__verify__subcmd__help_commands() {
    local commands; commands=(
'stateless:Check a range of blocks from RPC endpoints\: fetch each block and its debug_executionWitness, execute it on the witness only, compare the state root, receipts root, gas used and bloom with the header, and check that the headers link by parent hash from a trusted anchor hash and that the validators made them (XDPoS V1 seals, V2 quorum certificates and leader signatures, from the masternodes of the anchor'\''s epoch). One JSON line per block in --report; a failed block is recorded and the run goes on. Exit 0 when every block is ok, 1 when one failed, 2 on a bad argument or an unusable endpoint. No code cache or --follow yet.' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'xone verify help commands' commands "$@"
}
(( $+functions[_xone__subcmd__verify__subcmd__help__subcmd__help_commands] )) ||
_xone__subcmd__verify__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'xone verify help help commands' commands "$@"
}
(( $+functions[_xone__subcmd__verify__subcmd__help__subcmd__stateless_commands] )) ||
_xone__subcmd__verify__subcmd__help__subcmd__stateless_commands() {
    local commands; commands=()
    _describe -t commands 'xone verify help stateless commands' commands "$@"
}
(( $+functions[_xone__subcmd__verify__subcmd__stateless_commands] )) ||
_xone__subcmd__verify__subcmd__stateless_commands() {
    local commands; commands=()
    _describe -t commands 'xone verify stateless commands' commands "$@"
}
(( $+functions[_xone__subcmd__version_commands] )) ||
_xone__subcmd__version_commands() {
    local commands; commands=()
    _describe -t commands 'xone version commands' commands "$@"
}
(( $+functions[_xone__subcmd__wait-ready_commands] )) ||
_xone__subcmd__wait-ready_commands() {
    local commands; commands=()
    _describe -t commands 'xone wait-ready commands' commands "$@"
}
(( $+functions[_xone__subcmd__wallet-info_commands] )) ||
_xone__subcmd__wallet-info_commands() {
    local commands; commands=()
    _describe -t commands 'xone wallet-info commands' commands "$@"
}

if [ "$funcstack[1]" = "_xone" ]; then
    _xone "$@"
else
    compdef _xone xone
fi
