# xone v0.2.10

xOneRS (binary `xone`) is an independent Rust execution client for XDC Network and Ethereum. This is its first tagged public release, built from the source tagged `v0.2.10` on https://github.com/xOneSH/xone-rs.

Build stamp: `xone/v0.2.10-31d591d2-29112026/linux-x86_64/rustc1.94.0`

## Licence

xOneRS is licensed under **AGPL-3.0-or-later**, copyright xOneSH. xOneSH also offers it under a separate commercial licence (see `LICENSE` and `LICENSING.md`). The `xone-xdcx-precompiles` crate stays LGPL-3.0-or-later. v0.2.10 is the first release whose source, metadata and notices all carry these terms. The earlier v0.2.9 binaries were built from a tree that still declared GPL-3.0-or-later.

## Upgrading from v0.2.9

- The database format is unchanged (state-table schema 6). A v0.2.9 datadir opens as is, and v0.2.9 can still open it if you go back.
- **XDC mainnet snap sync now needs `--snap.pins`.** Without pins, a mainnet snap start is refused with a message. Testnets are not affected.

## What changed since v0.2.9

**Engine API and consensus-layer pairing**
- New tests pin down the `engine_newPayload` V1–V4 checks (Paris through Prague) and the VALID, INVALID, SYNCING and ACCEPTED answers, including `latestValidHash` and `validationError`.
- The history backfill takes the engine lock before it moves the head, which fixes a race with new payloads.
- `excessBlobGas` is built with the same rule the importer checks.
- In the Bogota test window, `engine_newPayloadV5` and `engine_forkchoiceUpdatedV4` are accepted.

**Safety and hardening**
- `xone upgrade` only stages a binary with a valid signature from a key you chose, and checks the staged copy again.
- Snap serving, the state service, the read-only RPC worker (`rpcdaemon`), snapshot serving, the history seed and the pprof, MCP, light-RPC and explorer listeners now cap connections, sessions or reply sizes. Where a token is required, it is checked before the request body is read.
- Downloads stop at their declared length, and era listings and files have size caps.
- Files the node creates (pid file, dev connection file, partial exports, imported keystores, backups) are created fresh and never followed through a symlink. Restore checks part names.
- Warnings when a JWT secret file can be read by other users, and when the state-service token would cross the network unencrypted.
- discv5 stays inside `--netrestrict` and drops table nodes whose updated record leaves it. No NAT probing behind a proxy. Remote client names are escaped in `xone p2p check` output.
- Several stored lengths are checked before memory is allocated.
- The `url` dependency is updated for RUSTSEC-2026-0592.

**Known advisory, accepted for this release**
- **RUSTSEC-2026-0387** (timing variability in `crypto-bigint` 0.5.5). It is pulled in through the `k256`/`p256`/`elliptic-curve` 0.13 crates, and no patched 0.5.x release exists. In xone, the one path that handles a secret key through it is ECDSA signing with a local keystore account. Transaction sender recovery (`ecrecover`) uses libsecp256k1, and the other uses only see public inputs. This advisory is accepted for v0.2.10. The planned fix, for v0.2.11, moves local signing to libsecp256k1.
- Two unmaintained-crate notices are also ignored: RUSTSEC-2026-0543 (`chrono`, present in the lock file but not compiled into any target) and RUSTSEC-2024-0436 (`paste`, a build-time macro only).

**Known issue**
- Blob availability over the `eth` protocol can fail intermittently between peers. A fix is planned for v0.2.11.

**Sync and networking**
- `--syncmode beam` was never wired in and is removed: the value runs a full sync and says so. Use `--syncmode snap` for a fast start.
- The XDC mainnet pins check counts the entries of the pins file correctly.
- While a snap start waits for a snap/1 server, the hint names the network the node actually runs (it used to say XDC mainnet on every network) and says the HTTP/WS RPC stays closed until the state download ends.
- discv5 pings session peers every 30 seconds instead of every second.

**CLI, RPC and operations**
- `xone sync-status --json` prints a stable `stage` field for scripts.
- `xone checkconfig` applies the same snap pin rule a start applies, and every `[sync]` string from a config file is checked once.
- `xone db scrub` refuses a non-numeric `--limit`.
- GraphQL `estimateGas` returns the lowest gas limit that works.
- `ethstats` answers a history request with at most 50 blocks.
- A stop timeout no longer hides a worker fault or a disk-full exit. Free space is read with `statvfs`.
- The Docker image is a binary-only image built from source.

**Experimental (only with `bogotaTime` set, devnets only)**
- Bogota fork work: frame transactions (pool admission, payer reservations, validation-prefix simulation, blob sidecars, keyed nonces at the maximum sequence, empty memory per frame), EIP-8253 zero-nonce storage accounts at the fork block, and `t9n` / `statetest` support.

## Downloads

| File | Platform | sha256 |
| --- | --- | --- |
| `xone-rs-v0.2.10-linux-amd64` | Linux x86_64, static (musl), no glibc needed | `0d608b642fab4008a2a236f819fe9722e58ff4ab1de1588b4b438cd9babe5698` |
| `xone-0.2.10-linux-x86_64-musl.tar.gz` | Linux x86_64, static tarball (same binary, plus man page, systemd unit, licences, bootnodes, completions and tools) | `0d7f8fd939953d9bed9a80b1389332d08564fac080676d76567ce2e507bee048` |

Files at `https://dl.xone.sh/xone/v0.2.10/` with `SHA256SUMS`. Verify with `sha256sum -c SHA256SUMS`. These files are not signed yet; verify them with the checksums above.

Docker, linux/amd64 only: `docker pull docker.io/xonesh/xone:0.2.10` (also tagged `31d591d2`). Image ID `sha256:d8ba3b9fb0de8675293c6cc0ab9deaa85a62fcde7ee0b26f82108f51fd87bb19`; registry manifest digest PENDING (it exists only after the push). The image's `/opt/xone/xone` is the same file as `xone-rs-v0.2.10-linux-amd64`.

Installer: `curl -fsSL https://xone.sh | bash`. It defaults to the Apothem testnet; XDC mainnet needs an explicit flag and prints a warning. The installer moves to v0.2.10 only when this release is published.

Only the platforms listed above are part of this release. Others come once they have been built and tested.

Source: https://github.com/xOneSH/xone-rs (tag `v0.2.10`, created at publish). Copyright xOneSH.
