Network
Tier is a network of independently operated nodes. Applications use it for peer discovery and encrypted delivery; the network itself is not a central message store.
Node identity and transport
Each node runs tierd and has a persistent Ed25519
identity. Its 32-byte peer ID is the SHA-256 hash of the public
key. Nodes present self-signed Ed25519 certificates during their
transport handshake; signed membership records bind an identity to
its advertised addresses, roles, software version, and liveness.
Node connections use QUIC over UDP with TLS 1.3. The TLS
implementation offers the hybrid X25519 and ML-KEM-768 key
exchange, with X25519 as a compatibility fallback. The handshake
also carries a protocol and network identifier
(tier/0/<network>); nodes configured for
different networks or protocol versions do not connect.
Transport encryption protects each node-to-node connection. Application messages have a separate end-to-end encryption layer, so a communicator relaying a message does not see its plaintext.
Membership and discovery
Nodes learn about peers from configured bootstrap seeds and exchange signed membership updates. Each node keeps its own bounded view of the network; this is not a global, complete list of every client. Membership records carry peer IDs, public keys, network addresses, roles, versions, and liveness information.
Client users publish short-lived online presence through communicators. A deterministic rendezvous-hash selection assigns each user to up to two responsible communicators. When another user is looked up, the response supplies the information needed to attempt a direct connection.
Clients try direct QUIC connections first. Communicators can coordinate NAT hole punching; if no direct route succeeds, a communicator can relay the sealed application message. Presence expires when users stop refreshing it. Messages are online-only: communicators do not queue them for offline recipients.
Node roles
- Client is the default edge role. A client connects outward to infrastructure and can operate behind NAT without exposing an inbound service port.
- Communicator is reachable infrastructure. It maintains temporary presence records, assists with peer discovery and NAT traversal, and can relay sealed messages. It sees connection and presence metadata, but not relayed message plaintext.
- Validator is a defined role bit for payment consensus. Payment validation is not implemented in the current network software.
- Keeper is a defined role bit for persistent storage services. The keeper service is not currently wired up.
- Transmitter is a defined role bit for block relay. The block-relay service is not implemented.
Roles are flags and can be combined on one node. Any non-client role makes a node infrastructure that can accept inbound connections. The role name alone does not enable a service that is not implemented.
Networks and operation
A node joins one named network, such as mainnet.
Private or test networks use their own network name and seed
addresses; nodes in different networks cannot complete the
transport handshake. Mainnet seeds are included in release
binaries.
Private networks must configure the same name and reachable seed
addresses on all nodes. For example, /etc/tier/tierd.toml
can contain:
network = "lab"
seeds = ["10.0.0.10:7777", "10.0.0.11:7777"]
seeds replaces the compiled mainnet seed list;
providing an empty list leaves the node isolated. The network and
seed settings can also be supplied with TIER_NETWORK
and TIER_SEEDS.
The daemon exposes a local Unix admin socket, normally
/run/tierd/tierd.sock. Use tierctl to
inspect the local node:
sudo tierctl id
sudo tierctl peers
sudo tierctl user ls
tierctl peers reports this node's local membership
counts, not a network-wide census. Node and hosted-user identities
are stored locally; keep their seed files protected and backed up.
Full documentation: Network and roles, Configuration, Identity model, Encryption.