RequantTESTNET
Requant documentation

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 --connect peers 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

OptionMeaning
--network test|regtestnetwork (default regtest)
--datadir DIRdata directory; state goes in DIR/<network>/ (default requant-data)
--listen ADDRP2P address; default 0.0.0.0:19333 (test), 0.0.0.0:19444 (regtest)
--rpc ADDRJSON-RPC address; default 127.0.0.1:19334 (test), 127.0.0.1:19445 (regtest)
--connect HOST:PORTa peer to keep connected; repeat for several
--no-discoverno address gossip or outbound discovery
--threads Nverification threads (default 4)
--max-reorg BLOCKSrefuse reorganisations deeper than this (default: the epoch length, 1440)
--rpc-token-file FILErequire this bearer token on RPC
--rpc-cookiewrite a random token to <datadir>/<network>/.cookie, removed at shutdown
--auto-updateinstall newer signed releases (node operations)
--max-upload SIZEmonthly upload cap, for example 50G; once reached, only blocks near the tip are served
--explorer ADDRserve the explorer, /health, the public API and the faucet page
--pool ADDR --pool-key FILErun a mining pool (pool); also --pool-fee, --pool-share-bits, --pool-min-payout, --pool-payout-every
--faucet-key FILErun a faucet; also --faucet-amount, --faucet-daily
--notify-url URLPOST watchman events as JSON
--notify-telegram TOKEN:CHAT_IDsend watchman events to Telegram
--mine PKHbuilt-in CPU miner, for regtest; --mine-interval-ms N
--versionprint the version

Ports

PortUseExpose?
19333/tcppeer-to-peeryes, for inbound peers
19334/tcpJSON-RPCno; keep it on localhost
any (--explorer)explorer, API, faucet, /healthonly if you want a public service
any (--pool)mining poolonly for a pool

Data directory

FileContent
blocks.datevery block, appended
chainstate.binstart-up snapshot of the chain index and UTXO set
epochs/epoch weight files
mempool.datthe transaction pool, saved every minute and at shutdown
peers.txt, bans.txtaddress book and bans
pool.json, faucet.jsonpool and faucet state, when enabled
release.bin, update/the newest signed release and update staging
.cookieRPC 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.