Expand description
Arguments for the decdn node subcommand group.
node is the operator-local admin namespace: subcommands talk to the
loopback admin HTTP surface (adr/appendix-local-admin-http.md) exposed by a running node.
Structs§
- Bond
Args decdn node bond— stake to a capacity tier viaCapacityBond.bond+declareMbps(ADR 019 § Step 2.1–2.2). Idempotent: it tops the active bond up tomax(minBond, bondRequired(mbps)), approving and bonding only the shortfall, so a re-run after a partial failure converges instead of over-bonding. A precondition fordecdn node register.- Chain
Args - Shared blockchain coordinates + keys for the on-chain
nodesubcommands (register,bond). Flattened into each command’s args so they expose an identical flag group. The common coordinates live inCommonChainArgs; this struct adds theCapacityBondaddress. Each field is taken from a flag when present, otherwise the[blockchain]/[identity]tables of the TOML config (same file the daemon reads).rpc_urlandcapacity_bond_addressare required (no default — the command errors if neither flag nor config supplies them);chain_id,keystore, anddata_dirfall back to built-in defaults. - Deregister
Args decdn node deregister— leave the active set viaCapacityBond.deregisterNode(ADR 003 § Node Registry, #1359).- Doctor
Args decdn node doctorarguments.- Drain
Args decdn node drain— trigger graceful shutdown of the running node viaadmin_v1_drain(issue #244,adr/appendix-local-admin-http.md). Fires the same runtime shutdown path as SIGTERM without needing the process PID.- Evict
Args decdn node evict— forcibly remove a blob from the local cache viaadmin_v1_evict(issue #279).- Health
Args decdn node health— report identity (hexnode_id) and process uptime viaadmin_v1_health.- Lanes
Args decdn node lanes— list open payment lanes viaadmin_v1_lanes(issue #749). Same admin-URL resolution and timeout semantics asdecdn node health.- Lookup
Args decdn node lookup— unpaid client-side discovery of active nodes viaCapacityBond.getRegisteredNodes(#1481). SeeNodeCommand::Lookupfor the full description.- Node
Args - Operator-local admin commands that query a running deCDN node.
- Pools
Args decdn node pools— read the node’s buyer-sidePaymentPoolstate viaadmin_v1_pools(#2078). Same admin-URL resolution and timeout semantics asdecdn node health.- Register
Args decdn node register— submitCapacityBond.registerNode(ADR 019 § Step 2.3). Performs an on-chain transaction rather than talking to a running node’s admin RPC.- Reload
Args decdn node reload— re-read the running node’s config file viaadmin_v1_reload(issue #373) and print the post-reloadlog_level.- Rotate
KeyArgs decdn node rotate-key— the operator key-rotation runbook (adr/appendix-operator-key-rotation.md) as a command (#1034).- Slashes
Args decdn node slashes— list detected slashes against this node’s operator viaadmin_v1_slashes(#1032). Same admin-URL resolution and timeout semantics asdecdn node health.- Status
Args decdn node status— report DHT participation health viaadmin_v1_status(issue #741). Same admin-URL resolution and timeout semantics asdecdn node health.- TopArgs
decdn node top— live metrics view (issue #275).- Unbond
Args decdn node unbond— lower the bond viaCapacityBond.requestUnbond+unbond(ADR 026 § Capacity-bond curve). One command covers all three phases of the window; which one runs is read from chain state, not from a flag. A run that lost itsrequestUnbondafterdeclareMbpslanded resumes on re-run, the wayBondArgsconverges; oncerequestUnbondHAS landed a re-run with an amount flag is a deliberate error, since the request can no longer be changed.- Update
Multiaddrs Args decdn node update-multiaddrs— (re)publish the operator’s dialable QUIC addresses viaCapacityBond.updateMultiaddrs(#1908). SeeNodeCommand::UpdateMultiaddrsfor the full description. Performs an on-chain transaction rather than talking to a running node’s admin RPC.- Update
Region Args decdn node update-region— (re)attest the operator’s region viaCapacityBond.updateRegion(ADR 030). SeeNodeCommand::UpdateRegionfor the full description. Performs an on-chain transaction rather than talking to a running node’s admin RPC.
Enums§
- Node
Command - Subcommands under
decdn node. - Rotate
KeyTarget - Which of the operator’s keys
decdn node rotate-keyrotates.