Developers Forum for XinFin XDC Network

Rushabh Parmar
Rushabh Parmar

Posted on

Classic XDC Network XDPoS Client vs xOne Rust Client: RAM and Storage on Apothem

On the XDC Apothem testnet, an xOne Rust (xOneRS v0.2.12) full node at the chain tip used 32.3 GB of storage and 2.6 GB of RAM. A Classic XDC Network XDPoS client fast sync node at the same height used 141 GB and 2.4 GB, and a Classic XDPoS full sync node used 357 GB and 6.0 GB.

Storage has always been the biggest cost of running an XDC node. With new execution clients now available for XDC, we ran the Classic XDC Network XDPoS client and the new xOne Rust client side by side on Apothem to see how much RAM and storage each one really uses.

This article covers what xOne is, the results, what xOne Rust does well, and how to run a node yourself.

What is xOne?

xOne is an independent family of execution clients for the XDC protocol. Its flagship, xOneRS, is written in Rust and is open source on GitHub under AGPL-3.0-or-later. The project describes it as in development.

How xOneRS differs from the Classic XDPoS client:

Classic XDPoS client xOne Rust (xOneRS)
Language Go (XDPoSChain, the reference implementation) Rust
EVM Go EVM revm
Storage LevelDB MDBX with append-only history segments
Consensus XDPoS V1/V2 XDPoS V1/V2
Default sync in installer Full or fast Snap
Deployment Docker / binary Native binary (systemd) or Docker

The project also lists three other xOne implementations in C++, Python and TypeScript. This article only covers the Rust client.

According to the xOne site, Apothem is the documented, recommended network. XDC mainnet support is marked experimental, and mainnet block production is gated.

Getting ready for post-quantum security

xOne Rust is also being tested for a post-quantum future. Since 28 November 2026, xOneRS has built tagged execution payloads on Ethereum's pq-devnet-1, with Lighthouse proposing and signing the beacon blocks and Dora recording the xOne graffiti and execution marker.

One example is slot 49,542 (epoch 1,548), produced on 4 December 2026 at 11:08:24 UTC and now finalized. Its graffiti and block extra data both read "xOne.sh". It was signed with a 2,404-byte XMSS signature, a hash-based signature scheme designed to resist quantum attacks. Its execution payload is block 48,859, with 10 transactions. You can check it here:

https://dora.pq-devnet-1.ethpandaops.io/slot/0x1628e94ce85770619f22e2d9ee9ab70861df31e3a2bd73c9e3417c89db56cf09

This work builds on XDC's quantum research, which covers wallet signing and account recovery, validator signatures across clients, and the keys and connections that protect network infrastructure. It is still early-stage preparation: the xOne team says it "does not establish quantum resistance for xOne". Still, producing finalized blocks on a post-quantum devnet today puts xOne a step ahead as the network prepares.

Test setup

We measured three Apothem nodes (chain ID 51) on 4 December 2026. All three were synced to the chain tip, around block 86,199,800.

Node Client version Role Sync mode Host
Classic XDPoS full sync node XDC v3.0.0-testnet-2 Masternode Full 6 cores, 15.6 GB RAM
Classic XDPoS fast sync node XDC v3.0.0-testnet-2 Full node Fast 6 cores, 11.7 GB RAM
xOne Rust full node xOneRS v0.2.12 Full node Snap 6 cores, 7.7 GB RAM

How we measured:

  • Storage: du -sh on the node's data directory.
  • RAM: resident memory (RES/RSS) of the client process in htop, and the RSS shown by xOne's one.sh status.

Results

As a full node, xOne Rust used 77% less storage than the Classic XDC Network XDPoS client, with about the same RAM.

Node Storage RAM
Classic XDPoS masternode (full sync) 357 GB 6.0 GB
Classic XDPoS full node (fast sync) 141 GB 2.4 GB
xOne Rust full node (snap sync) 32.3 GB 2.6 GB

The Classic XDPoS masternode's 357 GB is 356 GB of chaindata plus a 596 MB rewards folder. The Classic XDPoS full node's 141 GB is almost all chaindata.

What the numbers mean

Storage

Storage is where the two clients differ most. A Classic XDC Network XDPoS fast sync node needed 141 GB, while the xOne Rust node held the same chain tip in 32.3 GB, about 4.4 times smaller. The Classic XDC Network XDPoS masternode is 11 times larger than xOne Rust.

The difference likely comes from two things: snap sync, which downloads recent state instead of rebuilding it from every block, and xOne's MDBX storage with append-only history segments. The xOne project has not published its own disk measurements yet, so this result is one real-world data point rather than an official figure.

In practice, an xOne Rust full node fits on a small cloud disk, where a Classic XDPoS node needs a 250–500 GB volume.

Memory

RAM use was close: 2.6 GB for xOne Rust and 2.4 GB for the Classic XDPoS full node. Of xOne's 2.6 GB, about 1.5 GB was shared memory (SHR), mostly database pages the operating system maps from disk. The client's own memory was closer to 1 GB.

htop also shows a virtual size (VIRT) of about 1 TB for xOne Rust. That is address space reserved for the MDBX database, not memory in use, so it is safe to ignore.

The Classic XDPoS masternode used 6.0 GB, the most of the three, which is expected for a node that also produces blocks.

What xOne Rust does well

  • Much smaller storage. 32.3 GB for a synced Apothem full node, 77% less than the Classic XDPoS client. Cheaper disks, faster backups and more room to grow.
  • Low memory. About 2.6 GB of RAM at the tip, with only about 1 GB of it private to the client. It ran comfortably on a 7.7 GB server, using about a third of its RAM.
  • Fast, simple sync. Snap sync is the default.
  • One-command setup. A single curl command installs a sha256-pinned binary, creates a systemd service and starts it at boot.
  • Built-in status. ./one.sh status shows the block, peers, sync state, RAM and storage in one view.
  • Modern, safe stack. Written in Rust, with the revm execution engine and MDBX storage. Rust's memory safety removes a whole class of crashes and bugs.
  • Tested for compatibility. The xOne project reports passing all 16,908 EEST state tests on Amsterdam, full passes on Cancun, Prague and Osaka, and 325/325 Hive RPC compatibility tests in its own runs.
  • Open source. The code is public on GitHub, so anyone can review it, build it and contribute.

How to run an xOne Rust node

The official installer sets up an Apothem node with snap sync in one command. Requirements: a Linux amd64 server and root or sudo access.

1. Install and start the node on Apothem:

curl -fsSL https://xone.sh | bash -s -- apothem
Enter fullscreen mode Exit fullscreen mode

Always pass apothem by name. With no network argument, the installer defaults to XDC mainnet. It downloads a sha256-pinned binary and sets it up as a systemd service that starts at boot. To preview what it will do first, add --dry-run.

2. Check the node:

cd ~/xone-apothem
./one.sh status
Enter fullscreen mode Exit fullscreen mode

This shows the client version, node name, block, peers, sync state, CPU, RAM and disk.

3. Follow the logs, or stop the node:

./one.sh logs
./one.sh stop
Enter fullscreen mode Exit fullscreen mode

The node's RPC listens on port 8625 for XDC networks.

To run it in Docker instead (image xonesh/xone:0.2.12, linux/amd64 only):

curl -fsSL https://xone.sh | bash -s -- apothem --docker
Enter fullscreen mode Exit fullscreen mode

To build from source:

git clone https://github.com/xOneSH/xone-rs.git
cd xone-rs
ops/check-build-deps.sh
cargo build --locked --release -p xone
Enter fullscreen mode Exit fullscreen mode

More detail is in the xOne docs and the operator guide.

Notes and limits

  • Testnet numbers. All results are from Apothem. Mainnet support in xOne is still marked experimental.
  • Snapshot readings. RAM figures are single readings and will move a little during busy periods.
  • Sync modes differ. The Classic XDPoS nodes used full and fast sync, and xOne used snap sync, which accounts for part of the storage gap.
  • Full node comparison. The xOne node ran as a full node with block production off.

Conclusion

xOne Rust delivers what node operators have wanted for a long time: a full XDC node that fits in 32.3 GB of storage instead of 357 GB, with the same RAM as the Classic XDPoS client. It syncs to the tip with snap sync, finds peers on its own, and runs as a single service set up by one command. For anyone running an Apothem full node today, it is the lightest and easiest option we tested.

The next steps are to measure it on XDC mainnet once support matures, to compare it with a masternode once block production is available, and to track how its disk grows over time. If you run an xOne node, share your numbers in the comments so we can build a wider picture.

Discussion (0)