Learn · Network and privacy

Tor and peer-to-peer

By default, ZIRONET nodes never talk to each other over the open internet. Every connection runs through Tor, from one onion service to another.

What Tor and peer-to-peer networking are

In a peer-to-peer network, computers connect to each other directly. There is no central server that every message passes through: each node keeps a handful of connections to other nodes — its peers — and passes blocks and transactions along to them.

On the ordinary internet, every connection reveals the IP address at both ends, and an IP address often points to a household, an office or a location. Tor is a network built to hide that. Traffic is wrapped in several layers of encryption and sent through a chain of volunteer-run relays. Each relay removes one layer and learns only the previous and the next hop, so no single relay sees both who is talking and to whom.

An onion service goes one step further. It is reachable only from inside Tor, at an onion address derived from the service’s own key. Both sides meet through the Tor network, and neither learns the other’s IP address.

How ZIRONET uses them

  1. Tor comes with the node. Every ZIRONET node runs a bundled copy of Tor — the original program from the Tor Project, unmodified.
  2. Every node is an onion service. Each node publishes its own onion service and reaches its peers only at their onion addresses. Direct connections over the open internet are off by default.
  3. No DNS lookups. The node does not look up domain names, so it sends no DNS queries that could reveal what it connects to.
  4. An encrypted session inside Tor. Two nodes agree on session keys with a hybrid key exchange — X25519 together with ML-KEM-768 (NIST FIPS 203) — and authenticate each other with Ed25519 together with ML-DSA-65. Their traffic is therefore protected by Tor’s own encryption and by the session’s own hybrid encryption.
  5. Same chain and same rules, or no connection. During the handshake, a node from another network, or with different consensus rules, is disconnected. The check covers the genesis block and the identifier of the rule set.
  6. Limits on load. Rate limits, a quota for inbound connections and a send budget of 64 MiB per minute for each peer keep any single peer from overwhelming a node.

How a new node finds peers

A node that has never been online needs a first contact. Each release includes signed seed cards for computers of the network — today, the project’s own computers. The new node connects to them, and from then on peers exchange addresses with each other, so the node learns about further peers and can synchronize from several of them.

Joining through any peer. Under the Q2 rules, which take effect from block 1009 (2 November 2026, 10:10:10 UTC), a new node can join and synchronize through any synchronized peer — not only through the computers listed in the seed cards. This was tested on test networks before the upgrade.

Further discovery channels — Nostr relays and a project beacon — are implemented, but they have not yet been proven in practice for new participants.

A node with no peers is not stuck: it keeps listening and waits for peers to appear.

Why it matters

  • Your location stays off the network. Peers see an onion address, not the IP address of the computer running your wallet.
  • No side channels through DNS. Many privacy leaks happen when software looks up a name. A ZIRONET node does not.
  • Harder to eavesdrop on, now and later. A hybrid key exchange means that someone who records the traffic between two nodes today would need to break both X25519 and ML-KEM-768 to read it later. ML-KEM-768 is designed to withstand attacks by large future quantum computers.
  • Peers you can rely on. Because the handshake checks the genesis and the rule set, a node does not waste effort on peers that follow a different chain or different rules.

How ZIRONET implements it

Layer What protects it
Who you are on the network Tor onion services, onion to onion; direct connections off by default
Name lookups None — the node makes no DNS queries
Session keys X25519 + ML-KEM-768 (hybrid)
Peer authentication Ed25519 + ML-DSA-65
Joining the right network Handshake checks of the genesis and the rule-set identifier
Load Rate limits, inbound connection quota, 64 MiB per minute per peer
First contact Signed seed cards in each release, then address exchange between peers; from block 1009, joining through any synchronized peer

The limits, stated plainly

  • Tor’s own layers are classical. The post-quantum protection belongs to the ZIRONET session inside Tor, not to Tor itself.
  • Using Tor is visible. A local observer — for example, your internet provider — can recognize the traffic pattern, even though it cannot see where the traffic goes.
  • Tor protects addresses on the network, not data on the chain. The ledger itself is public: amounts and addresses are visible to everyone. See Privacy, honestly.
  • First contact depends on the project today. New nodes start from the seed cards of the project’s computers; alternative discovery channels are not yet proven. Joining through any synchronized peer is part of the Q2 rules, from block 1009.

What you gain

  • A node that does not announce where it is. Your wallet’s full node takes part in the network through its own onion service.
  • Encryption that looks ahead. Every peer session combines a classical and a post-quantum key exchange. The details are on the post-quantum cryptography page.
  • Peers that play by the same rules. Wrong networks and wrong rule sets are dropped at the door.
  • Nothing extra to set up. Tor is part of the desktop wallet: you approve the session, and the node starts its own Tor along with everything else. More on what the wallet runs for you is on the desktop wallet page.

Keep exploring

See how Proof of Online works, then get ready to run a full node of your own.