Repository navigation
xone v0.2.11
xone v0.2.11
Version: 0.2.11.
xOneRS (binary xone) is an independent Rust execution client for XDC Network and Ethereum, built from the source
tagged v0.2.11 on https://github.com/xOneSH/xone-rs.
Build stamp: xone/v0.2.11-beb6394e-01122026/linux-x86_64/rustc1.94.0 (beb6394e is the v0.2.11 tag commit on
https://github.com/xOneSH/xone-rs).
Licence
Licence: AGPL-3.0-or-later, with the XDCx precompiles component under LGPL-3.0-or-later; commercial licences are available.
Unchanged from v0.2.10: AGPL-3.0-or-later, copyright xOneSH, with a separate commercial licence from xOneSH (see
LICENSE and LICENSING.md). The xone-xdcx-precompiles crate stays LGPL-3.0-or-later.
Upgrading from v0.2.10
Two changes can stop a node that started fine on v0.2.10. Check these before you upgrade:
-
JWT secret file permissions (Unix).
--rpc.jwtsecret,--authrpc.jwtsecretand<datadir>/jwt.hexmust be
mode0600or0400. A file that the group or others can read or write now stops the start. The error names the
path, the mode and the fix (chmod 600 <file>); it never prints the secret. When xone creates a missing Engine API
secret, it still writes it as0600. There is no opt-out. Other platforms skip the mode check. -
Remote signer TLS and plain HTTP. When
--signer.tls-cais set, that file is the only trust root (the public
web roots are no longer loaded alongside it).--signer.allow-httpis refused on XDC mainnet (chain id 50,
including the default profile) and Ethereum mainnet (chain id 1). A loopbackhttp://signer still works without
the flag, and testnets and--devkeep the override. A mainnet node that sets--signer.allow-http, or that sets
--signer.tls-cawhile its signer certificate chains only to a public CA, will now refuse to start. -
XDPoS_getBlockInfoByEpochNumfor an epoch before the V2 switch. The answer is now the object the pinned
geth-XDC returns:hashis all zeros,firstBlockandroundareepoch*900,lastBlockisepoch*900+899
(plusconsensusVersion: "v1"), not the-32000 input epoch number < v2 begin epoch numbererror some public
endpoints return. Scripts that detect a V1 epoch by that error text should check for the zerohashinstead. For a
future epoch the error text now matches geth-XDC (input epoch number > current epoch number, …).
The state-table schema is still 6, so a v0.2.10 datadir opens as is.
Changes
Security
-
The experimental
--uipage (see Operations and monitoring) answers only loopbackHostheaders by default, refuses
cross-origin/rpcand/ui/apicalls, and cuts log lines at 4 KiB; log masking is best-effort. -
The JWT secret is checked and read through one open file handle, so the mode that is checked is the mode of the
file that is read. -
curve25519-dalekis updated to 5.1.0 for RUSTSEC-2026-0620 (wrong scalar-multiplication results in the
AVX-512 backend of 1.1.0 to 5.0.0). It reaches xone through the Ed25519 code used for discovery v5 node records. -
Local key signing (validator and node keys) now uses libsecp256k1 instead of the
k2560.13 code, and the key is
wiped from memory when dropped. This takes the one first-party secret-key path out of reach of RUSTSEC-2026-0387
(timing variability incrypto-bigint0.5.5); see Known advisories for why the crate is still in the lock file. -
The snap-sync status RPC checks host, JWT and access rules before reading a request body, caps chunked bodies
(a kept body grows only with the bytes actually received), answers an unknown transfer coding with501, and limits
connections (503over the limit). The Engine API port during snap sync gets the same handling and answers an
unauthenticated chunked request with401without reading its body. -
Engine API IPC (
--authrpc.ipc, see RPC) uses the Engine API limits rather than the public RPC limits, accepts at
most 4 connections, and is refused on networks without Ethereum rules. The node warns when an IPC socket's directory
is writable by group or others without the sticky bit. -
The node warns when a validator keystore or password is given without block production enabled (the key is then
not loaded).
Release files and verification
-
SHA256SUMSis signed with minisign and published asSHA256SUMS.minisignext to it. The GPG signature
(SHA256SUMS.sig) is no longer produced.SHA256SUMSis the final list and the signature covers every file in it:
the static binary, the tarball, the.debpackage, the SBOM (xone-0.2.11.cdx.json, CycloneDX) and the
build provenance (xone-0.2.11.provenance.json, an in-toto statement shaped as SLSA provenance v1). The upload
step only checks the signed list and copies the files unchanged; nothing is added after signing. Verify a download with:curl -fsSLO https://dl.xone.sh/xone/v0.2.11/SHA256SUMS curl -fsSLO https://dl.xone.sh/xone/v0.2.11/SHA256SUMS.minisig minisign -Vm SHA256SUMS -P RWQZuv3gjviEAqM/VzzO90gjXb9JxvMhb8hY90AuJb700OOIsfZEhZ2b sha256sum -c SHA256SUMS
The primary minisign public key (key id
0284F88EE0FDBA19) is
RWQZuv3gjviEAqM/VzzO90gjXb9JxvMhb8hY90AuJb700OOIsfZEhZ2b. A backup public key (key id
FBDFDB52E30E8421),RWQhhA7jUtvf+09f4lSWlv0793vcnxwSXcxkuswOJ9Ue0fYQX77AcRIz, is published
for rotation only; it does not sign this release.
Sync and history
- Snap sync: the HTTP RPC port opens at start and answers sync status during the state download (
eth_syncing,
eth_chainId,net_version,net_peerCount,net_listening,web3_clientVersion); everything else returns an
error until the state is installed, so nothing is served from a partial state. WebSocket stays closed until then,
so a health check during snap sync should use HTTPeth_syncing. Sync counters survive a pivot move, and the
"no usable peer" hints list what to try. A JWT secret with loose permissions now stops the node at start. - New
--history.epoch-backfill(off by default): after snap sync, fetch headers below the pivot from peers (checked by parent
hash, not stored, nothing executed) and write the epoch-switch rows, so older epochs answer in
XDPoS_getBlockInfoByEpochNum. XDC V2 networks only. Older V2 epochs are also served from rows a node already kept.
Off by default. --history.retain-logstakes per-address windows (:full,:distance:N,:before:B), andeth_getLogsanswers
kept addresses below the receipt floor.- New
--prune.trigger.free-space(off by default): one bounded prune when free space on the datadir volume falls below a size
(--prune.trigger.cooldown, default 1h). Never on an archive node. - New
--chain ephemery(needs--override.genesis; an expired or wrong-iteration genesis is refused). - Blob transactions: the KZG trusted setup loads in the background at node start, so the first blob transaction no
longer pays a multi-second delay. - Fixed: blob transaction availability between peers (a v0.2.10 known issue). The node now waits for two peers that
announce full availability before it asks one peer for a partial set of cells, as EIP-8070 recommends.
RPC
- New
--authrpc.ipc(off by default): also serves the Engine API on a local Unix socket, at--authrpc.ipcpath
(default<datadir>/engine.ipc). The socket has no JWT; access is its file mode0600, so the consensus client must
run as the node's user, and the socket's directory must be writable only by that user. Ethereum networks only;
refused on XDC networks. It has the Engine API limits (128 MiB request and response, no public-RPC rate limit) and at
most 4 connections. - New
executionWitnessessubscription (eth_subscribe, alsodebug_subscribe): pushes the EIP-8025
StatelessInputof each new canonical block. Needs--witness.precompute; a slow subscriber's queue drops the oldest
inputs. - New
--rpc.xdc-prefix(off by default): addresses in RPC results use thexdcprefix on XDC networks (inputs accept both),
including map keys, XDPoS result fields and subscription pushes. Engine API and builder methods are never rewritten. - New
--store-reward(off by default): records each paying block's reward breakdown soeth_getRewardByHashanswers it;
XDPoS_getRewardByAccountandeth_getStakerROIMasternoderead the same rows.xone db reward-backfillfills rows
for blocks imported before the flag was on (archive datadir, node stopped). eth_getHeaderByNumberbelow the history floor reports"class":"Header", and answers when only the body is pruned.- New
debug_getStatelessInput(EIP-8025StatelessInput, SSZ). - New
--builder.disallow <file>: the builder submission validation methods refuse blocks that pay or touch a listed
address. - Fixed: XDC RPC values above the 64-bit range in
eth_getRewardByHashandeth_getCandidatesresults are now
rendered correctly, as plain numbers. - Changed:
engine_getClientVersionV1reports the client codeXO(wasXR); itscommitfield is the first four
bytes of thev0.2.11tag commit.
XDC
- Some Apothem accounts start at the 256-bit maximum in genesis and exceed 2^256 after block rewards, matching the reference XDC client's state; xone returns the full value as hex in eth_getBalance and eth_getProof.
Block production
- New
--mine.shadow: builds and signs each turn's block and vote with the configured key but never imports,
broadcasts or writes them to the real safety record (a separate shadow record is kept). Allowed on any network,
and it cannot be combined with--mine. This release adds no way to produce real blocks on XDC mainnet:--mineon
chain id 50 is still refused. - Use a dedicated key and signer for
--mine.shadow. A shadow node that uses a remote signer also serving a producing
node can take over that signer's fence and stop the producing node from signing.
Operations and monitoring
- New
--ui(experimental, off by default): a read-only node web page (head, peers, transaction pool, gas, sync) on
its own listener (127.0.0.1:8756by default; a non-loopback--ui.addrneeds--ui.allow-remote, and the page has
no login). It forwards only a fixed list of read-only RPC methods to the node's own HTTP RPC, so--httpmust be on.
It answers only requests whoseHostheader is a loopback name or address; with--ui.allow-remoteit also answers
an IP address or a name listed in the new--ui.vhosts. Any otherHost, and a cross-originOriginon/rpcor
/ui/api, gets a 403. It also offers a tail of the last 2,000 log lines, kept in memory (none without--ui); each
line is cut at 4 KiB, and known secret shapes are masked on a best-effort basis only. The tail can still show a
secret, so treat it as sensitive and keep the page on loopback. - Snapshots over web seeds:
xone snapshot manifestwrites a.torrentfile (BEP-3 metainfo with BEP-19 web-seed
URLs) for a snapshot, andxone snapshot fetch --torrentdownloads it from those web seeds with HTTP range requests,
checks every piece before writing it, resumes an interrupted download, and then runs the normal snapshot
verification. Nothing is installed. There is no peer-to-peer protocol or seeding yet. - New censorship detector, off by default (
--txpool.censor.detect,--txpool.censor.addresses,--txpool.censor.blocks):
logs and counts pool transactions of watched addresses that blocks with room leave out. Read-only. - Logging:
--log.journaldand--log.journald.filterwrite to the systemd journal. - Metrics:
--metrics.categoriesselects the categories served (chain, sync, p2p, txpool, rpc, db, system; default
all). Block import time is recorded on every import path, with finer buckets (5, 10, 20 ms) and new per-block gauges;
Engine API calls appear in the RPC duration histogram; new series for imported transactions by type and result,
peers by client family (and a client label on disconnects), discovery packets by type and discv4 table latency. - A client-comparison Grafana dashboard and scrape configuration are included.
- P2P: the offered
ethcapabilities are pinned, and the fallback toeth/100for XDC mainnet peers is documented.
Source-only and experimental (not in the release files)
These are in the source tree for review and testing only. They are not part of the v0.2.11 release files: there is no
binary or package for them and no download link, and the released xone binary is built with both features off. They
may ship in a later release once their review is complete.
- Reference custody service (
xone-custody): reference and test use only. It is not a supported HSM path. It is
a remote-signing service with a PKCS#11 key backend, behind thepkcs11cargo feature ofxone-signer(off by
default), and it is source-only: it is not built, packaged or shipped with this release. It listens on loopback with
plain HTTP and has no caller authentication, so any local process on the host can ask it to sign with the key. Do
not use it with a production validator key. - Ledger hardware-wallet support: an APDU library (address and transaction-signing messages) behind the
ledgercargo
feature ofxone-signer(off by default). It is not wired into the node: there is no command-line flag and no USB
transport yet.
Dependencies
- Routine updates:
zstd0.14.5,bytes1.12.2,zeroize1.9.2,loom0.7.3 (test only),sha30.12 in the database
crate.
Correction to the v0.2.10 notes
- The v0.2.10 notes said the Docker registry manifest digest was pending. It is
sha256:11749b5f921f525ccea2a27e3bac66322583c08c686baba2e3f8b73fc046aebb(docker.io/xonesh/xone:0.2.10).
Pull by digest with
docker pull docker.io/xonesh/xone@sha256:11749b5f921f525ccea2a27e3bac66322583c08c686baba2e3f8b73fc046aebb.
This is the registry manifest digest, so it differs from the local image ID thatdocker imagesprints.
Carried forward from v0.2.10
- Every fix that shipped in v0.2.10 is in this release, including the snap start hint that names the node's own
network and says the HTTP/WS RPC stays closed until the state download ends, and the documentation clean-ups.
Known advisories and issues
- RUSTSEC-2026-0387 (timing variability in
crypto-bigint0.5.5, through thek256/elliptic-curve0.13 crates).
Still accepted, with a narrower reason: local key signing moved to libsecp256k1 in this release (see Security), so
no first-party secret-key operation uses the affected code. The remainingk2560.13 uses (ring-signature
verification, a low-S check, the P-256 precompile and EVM/primitives library internals) run on public inputs only.
The crate stays in the lock file until the EVM precompile and primitives libraries move tok2560.14. - Unmaintained-crate notices still ignored: RUSTSEC-2026-0543 (
chrono, in the lock file but not compiled into any
target) and RUSTSEC-2024-0436 (paste, build-time macro only).
Files
| File | Platform | sha256 |
|---|---|---|
xone-rs-v0.2.11-linux-amd64 |
Linux x86_64, static (musl): the xone node binary |
a15dcbfb933c48dd42ee1215951e2e26c31272b4bd115210cefc4f14fa5108fd |
xone-0.2.11-linux-x86_64-musl.tar.gz |
Linux x86_64, static tarball | e4be4e628ad245c02ddf2aa18a9680a1c706b550b05b7ef48843e4b2b5f4cca5 |
xone_0.2.11_amd64.deb |
Debian/Ubuntu, x86_64 | bf3ec836ed59ef9fd97f0fc534974b160414c7b947650abfc18f14f6265d86b3 |
xone-0.2.11.cdx.json |
SBOM (CycloneDX) | 67ded1f609a2bf55cf09be7bbf68228675bca0b9dcbc1b059195714eacd0bdd4 |
xone-0.2.11.provenance.json |
Build provenance | ac4962de056f9f61d288e1bc2efbe7c2e706014751b4426b59ade4ca011403e6 |
Files at https://dl.xone.sh/xone/v0.2.11/ with SHA256SUMS and SHA256SUMS.minisig (see above).
Docker: docker pull docker.io/xonesh/xone:0.2.11. The registry manifest digest is
sha256:ee8354a837a837702cb6f9fdd8792ff96e80cd914f517b6aea6d9580453f38d5 (docker.io/xonesh/xone:0.2.11 and :latest).
Pull by digest with
docker pull docker.io/xonesh/xone@sha256:ee8354a837a837702cb6f9fdd8792ff96e80cd914f517b6aea6d9580453f38d5.
The local image ID that docker images prints is
sha256:0e33b21fe47a98e2c7aaaa85d1b9b1e11b5a84b5f791283d0cdb3ab6b796d67a.
There is no commit tag; the source commit (the v0.2.11 tag commit, beb6394e152550a8e53a6edc3a4b070d0edbbb02) is in the image label org.opencontainers.image.revision. Platform: linux/amd64 only.
Installer: curl -fsSL https://xone.sh | bash. It defaults to the Apothem testnet; XDC mainnet needs an explicit
flag and prints a warning.
Only Linux x86_64 (amd64) is part of this release; there are no arm64 or macOS files for v0.2.11. The release contains the xone node binary only; the
custody service and Ledger support above are source-only.
Source: https://github.com/xOneSH/xone-rs (tag v0.2.11, created at publish). Copyright xOneSH.