Run a node
requantd is the Requant node: it verifies every block and work claim, keeps the UTXO set, relays transactions and blocks, and serves JSON-RPC. One binary also provides the explorer, public API, faucet and mining pool when you ask for them.
Requirements
- 64-bit Linux or Windows.
- About 1 GiB of disk for the epoch weights (current and next epoch, 512 MiB each, kept in a file read through the operating system's page cache) plus the chain.
- Memory: the process itself stays at a few MB; the weights live in the page cache.
- Network: TCP port 19333 for peers (optional for an outbound-only node).
Install
From a release. Download requantd 0.18.1 for your platform from the node release. The CLI wallet is a separate download: requant-wallet 0.10.0. Node releases have signed manifests; the node checks signatures when it updates itself.
Testnet compatibility. Nodes older than 0.18.0 cannot follow the chain from height 8020, where relative difficulty adjustment activates. Version 0.18.1 also fixes peer bans across upgrades and synchronisation. Upgrade an existing node to 0.18.1 before rejoining; see chain rules.
From source (current stable Rust):
git clone https://github.com/requant-network/requant.git
cd requant
cargo build --release
# a static Linux build:
cargo build --release --target x86_64-unknown-linux-musl -p requant-node -p requant-wallet
Start on the test network
requantd --network test --datadir ~/requant-test --auto-update \
--connect pool.requant.network:19333 \
--connect requant.network:19333
- Always pass
--network test: without it the node starts on regtest, the local test chain. - The node keeps connections to the
--connectpeers and discovers others from them. - On first start it derives the epoch weights (a few seconds), synchronises headers first, then downloads and verifies blocks.
Check it:
curl -s -d '{"jsonrpc":"2.0","id":1,"method":"getinfo","params":[]}' 127.0.0.1:19334
Options
| Option | Meaning |
|---|---|
--network test|regtest | network (default regtest) |
--datadir DIR | data directory; state goes in DIR/<network>/ (default requant-data) |
--listen ADDR | P2P address; default 0.0.0.0:19333 (test), 0.0.0.0:19444 (regtest) |
--rpc ADDR | JSON-RPC address; default 127.0.0.1:19334 (test), 127.0.0.1:19445 (regtest) |
--connect HOST:PORT | a peer to keep connected; repeat for several |
--no-discover | no address gossip or outbound discovery |
--threads N | verification threads (default 4) |
--max-reorg BLOCKS | refuse reorganisations deeper than this (default: the epoch length, 1440) |
--rpc-token-file FILE | require this bearer token on RPC |
--rpc-cookie | write a random token to <datadir>/<network>/.cookie, removed at shutdown |
--auto-update | install newer signed releases (node operations) |
--max-upload SIZE | monthly upload cap, for example 50G; once reached, only blocks near the tip are served |
--explorer ADDR | serve the explorer, /health, the public API and the faucet page |
--pool ADDR --pool-key FILE | run a mining pool (pool); also --pool-fee, --pool-share-bits, --pool-min-payout, --pool-payout-every |
--faucet-key FILE | run a faucet; also --faucet-amount, --faucet-daily |
--notify-url URL | POST watchman events as JSON |
--notify-telegram TOKEN:CHAT_ID | send watchman events to Telegram |
--mine PKH | built-in CPU miner, for regtest; --mine-interval-ms N |
--version | print the version |
Ports
| Port | Use | Expose? |
|---|---|---|
| 19333/tcp | peer-to-peer | yes, for inbound peers |
| 19334/tcp | JSON-RPC | no; keep it on localhost |
any (--explorer) | explorer, API, faucet, /health | only if you want a public service |
any (--pool) | mining pool | only for a pool |
Data directory
| File | Content |
|---|---|
blocks.dat | every block, appended |
chainstate.bin | start-up snapshot of the chain index and UTXO set |
epochs/ | epoch weight files |
mempool.dat | the transaction pool, saved every minute and at shutdown |
peers.txt, bans.txt | address book and bans |
pool.json, faucet.json | pool and faucet state, when enabled |
release.bin, update/ | the newest signed release and update staging |
.cookie | RPC token with --rpc-cookie |
Peer-to-peer behaviour
- Up to 32 peers, aiming for 8 outbound; at most 4 inbound connections from one IP address.
- Headers-first synchronisation; blocks are fetched once their headers have the most work.
- Misbehaving peers collect penalty points and are banned for an hour at 100; bans survive restarts.
- Messages are rate-limited per peer; orphan blocks are bounded in number, size and distance from the tip.
- Only the most recent 2000 block bodies stay in memory; older ones are read back from disk.
- On Linux the node steps back when its machine is busy (more than 1.2 runnable tasks per core, or less than 10% free memory).
Running it as a service, updates, snapshots and monitoring: node operations.
Support and infrastructure collaboration
For node troubleshooting, contact support@requant.network with your version, environment and relevant logs. For independent node, pool or hosting collaboration, contact admin@requant.network. Report vulnerabilities through the private security channels.