Skip to content

Releases

xone v0.2.11

Choose a tag to compare

@AnilChinchawaleXDC AnilChinchawaleXDC released this 01 Dec 18:39

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.jwtsecret and <datadir>/jwt.hex must be
    mode 0600 or 0400. 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 as 0600. There is no opt-out. Other platforms skip the mode check.

  • Remote signer TLS and plain HTTP. When --signer.tls-ca is set, that file is the only trust root (the public
    web roots are no longer loaded alongside it). --signer.allow-http is refused on XDC mainnet (chain id 50,
    including the default profile) and Ethereum mainnet (chain id 1). A loopback http:// signer still works without
    the flag, and testnets and --dev keep the override. A mainnet node that sets --signer.allow-http, or that sets
    --signer.tls-ca while its signer certificate chains only to a public CA, will now refuse to start.

  • XDPoS_getBlockInfoByEpochNum for an epoch before the V2 switch. The answer is now the object the pinned
    geth-XDC returns: hash is all zeros, firstBlock and round are epoch*900, lastBlock is epoch*900+899
    (plus consensusVersion: "v1"), not the -32000 input epoch number < v2 begin epoch number error some public
    endpoints return. Scripts that detect a V1 epoch by that error text should check for the zero hash instead. 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 --ui page (see Operations and monitoring) answers only loopback Host headers by default, refuses
    cross-origin /rpc and /ui/api calls, 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-dalek is 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 k256 0.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 in crypto-bigint 0.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 with 501, and limits
    connections (503 over the limit). The Engine API port during snap sync gets the same handling and answers an
    unauthenticated chunked request with 401 without 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

  • SHA256SUMS is signed with minisign and published as SHA256SUMS.minisig next to it. The GPG signature
    (SHA256SUMS.sig) is no longer produced. SHA256SUMS is the final list and the signature covers every file in it:
    the static binary, the tarball, the .deb package, 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 HTTP eth_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-logs takes per-address windows (:full, :distance:N, :before:B), and eth_getLogs answers
    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 mode 0600, 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 executionWitnesses subscription (eth_subscribe, also debug_subscribe): pushes the EIP-8025
    StatelessInput of 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 the xdc prefix 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 so eth_getRewardByHash answers it;
    XDPoS_getRewardByAccount and eth_getStakerROIMasternode read the same rows. xone db reward-backfill fills rows
    for blocks imported before the flag was on (archive datadir, node stopped).
  • eth_getHeaderByNumber below the history floor reports "class":"Header", and answers when only the body is pruned.
  • New debug_getStatelessInput (EIP-8025 StatelessInput, 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_getRewardByHash and eth_getCandidates results are now
    rendered correctly, as plain numbers.
  • Changed: engine_getClientVersionV1 reports the client code XO (was XR); its commit field is the first four
    bytes of the v0.2.11 tag 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: --mine on
    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 ...
Read more

xone v0.2.10

Choose a tag to compare

@xOneDevOps xOneDevOps released this 29 Nov 09:25

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 sha256:11749b5f921f525ccea2a27e3bac66322583c08c686baba2e3f8b73fc046aebb. 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.