Skip to content

xone v0.2.12

Latest

Choose a tag to compare

@AnilChinchawaleXDC AnilChinchawaleXDC released this 02 Dec 18:39
· 2 commits to main since this release

xOneRS v0.2.12

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

Build stamp: xone/v0.2.12-4cf6ecfb-02122026/linux-x86_64/rustc1.94.0 (4cf6ecfb is the first 8 hex characters of the
v0.2.12 tag commit on https://github.com/xOneSH/xone-rs).

Licence

AGPL-3.0-or-later, with the XDCx precompiles component under LGPL-3.0-or-later; commercial licences are available.

Changes

RPC rate limits

  • --rpc.bucket.rate and --rpc.bucket.burst now apply per client address (the --rpc.acl principal when one is
    set, otherwise the remote IP; IPv6 clients are grouped by /64). Before, one bucket was shared by every client of a
    transport. --rpc.bucket.scope transport restores the old behaviour.
  • New global limits bound all clients of one transport together: --rpc.bucket.global.rate (default 2000 cost units
    per second) and --rpc.bucket.global.burst (default 4000). The HTTP and WebSocket servers each have their own.
  • A batch that costs more than the per-client burst is admitted from a full bucket and charged in full.
  • Behind a reverse proxy, or with --http.addr localhost, all clients share one per-client bucket: raise the
    per-client limit or rate-limit at the proxy.

Node web page (--ui, experimental)

  • The page listens on loopback only by default; a non-loopback --ui.addr needs --ui.allow-remote.
  • Requests with a foreign Host header, and API requests with an Origin from another host, are refused (403).
  • Long log lines in the page's log tail are cut at 4 KiB.

Release signing and install

  • Release checksums are signed with minisign. The release key id is 0284F88EE0FDBA19; its public key is
    RWQZuv3gjviEAqM/VzzO90gjXb9JxvMhb8hY90AuJb700OOIsfZEhZ2b and is pinned in the source tree at
    keys/xone-release.minisign.pub, with a backup key (FBDFDB52E30E8421) for rotation only.
  • ops/xone-install.sh verifies SHA256SUMS.minisig against the pinned key before it installs anything, then checks
    the tarball against SHA256SUMS. A signature from any other key, a missing signature or a changed file is refused
    and nothing is installed.

Sync and history

  • Restart after pruning works: a datadir whose history was pruned (including one whose only pruned header is the
    genesis block) reopens, keeps its head, and answers reads below the floor with the pruned-history error.
  • xone db prune opens the datadir as its own network, from the chain marker.
  • Snap sync with --snap.pins follows a refreshed pins file and stops cleanly when the pivot passes the pinned epoch.

Operator safety

  • The node refuses to start if the JWT secret file is readable or writable by the group or by others; use mode 0600
    or 0400 (chmod 600 <file>).
  • eth_sendRawTransaction and GraphQL sendRawTransaction apply the same admission checks; transactions to the XDC
    system contracts for block signers and randomization are refused.
    GraphQL sendRawTransaction now also refuses unprotected (pre-EIP-155) legacy transactions unless the node runs
    with --rpc.allow-unprotected-txs (default off), matching JSON-RPC.
  • Debug and trace methods have tighter bounds: capped item lists and response sizes for debug_traceCallMany and
    debug_traceSequence (item cap now set by --rpc.trace.maxitems), streamed and capped standard-trace files, a
    bounded JavaScript tracer, and --rpc.rangelimit also bounding the modified-accounts methods.
  • Filter and subscription queues are bounded by bytes.

Fixed

  • WebSocket and IPC connections no longer stall when a single reply is larger than 4 MiB (for example a large eth_getLogs result). HTTP was not affected.

Engine API

  • engine_getClientVersionV1 reports the client code XO; its commit field is the first four bytes of the
    v0.2.12 tag commit.

Verify a download

curl -fsSLO https://dl.xone.sh/xone/v0.2.12/SHA256SUMS
curl -fsSLO https://dl.xone.sh/xone/v0.2.12/SHA256SUMS.minisig
minisign -Vm SHA256SUMS -P RWQZuv3gjviEAqM/VzzO90gjXb9JxvMhb8hY90AuJb700OOIsfZEhZ2b
sha256sum -c --ignore-missing SHA256SUMS

Files

Files at https://dl.xone.sh/xone/v0.2.12/ with SHA256SUMS and SHA256SUMS.minisig (see above).

File Platform sha256
xone-rs-v0.2.12-linux-amd64 Linux x86_64, static (musl): the xone node binary 55aebca7d505e398fcaa9b5e799ea3ca99b93fd54688a1f658e58e326077f409
xone-0.2.12-linux-x86_64-musl.tar.gz Linux x86_64, static tarball 59a72bcea1c9954f9e8b63c61b13ab1176ab1d977d44211ef9bbe4c6e94e2bf2
xone_0.2.12_amd64.deb Debian/Ubuntu, x86_64 38cd47638f08f660255b6828d275d355c457dd8b15ca04065894b1a2008e94e8
xone-0.2.12.cdx.json SBOM (CycloneDX) 64578a007c03beb3131dc141f4c64852731424409dc389a7842a53cd2755051e
xone-0.2.12.provenance.json Build provenance 4864ba632eb54f741931e3722b25af7d11a60a9e25e962206534559fc16994a8

Docker: docker pull docker.io/xonesh/xone:0.2.12. The registry manifest digest is
sha256:9c46d3d31884ebcab6212349299d699bcbc5755dc58d1639e1bdb87b7f53c9e6 (docker.io/xonesh/xone:0.2.12 and :latest).
Pull by digest with
docker pull docker.io/xonesh/xone@sha256:9c46d3d31884ebcab6212349299d699bcbc5755dc58d1639e1bdb87b7f53c9e6.
The local image ID that docker images prints is
sha256:3c0e6f1aba6ed2ab8939ab8159beee44e27f47eab9e97ecbec18b434d4058c6e.
There is no commit tag; the source commit (the v0.2.12 tag commit, 4cf6ecfb6b7ddbe9b3ee633fb5343c1eed5851cc) is in
the image label org.opencontainers.image.revision. Platform: linux/amd64 only.

Only Linux x86_64 (amd64) is part of this release.