Docs
Understand Tenrai
Architecture, consensus and security.
Protocol
- Architecture
How Tenrai is built. Miners produce work blocks in parallel, a validator committee certifies cuts, and every cut is final. The TRAIDAG pipeline in one page.
- Consensus and finality
How a validator committee certifies cuts, what makes a cut final, how the committee is chosen each epoch and what finality relies on.
- Work blocks and cuts
What a work block contains, how it is anchored, registered and executed by cuts, how difficulty follows the hashrate, and when its reward is paid.
- Transactions and UTXOs
How Tenrai stores value in unspent outputs, what a transaction contains, how inputs are authorized, how mass sets the fee, and what a payload is.
- Economics
The supply of TRAI, the emission curve, how rewards and fees are split between miners and stakers, and when each side is paid.
- Protocol upgrades
How Tenrai changes its consensus rules at a fixed height without a new genesis, what operators and validators do before an upgrade, and what a node that missed one does.
Work and stake
- TenQ proof of work
TenQ, the memory-hard, GPU-oriented proof-of-work function of Tenrai. Its dataset, epochs, full and light mode and network profiles.
- Proof of stake
How validators, delegations and stake positions work on Tenrai. The lifecycle of a position, epochs and snapshots, rewards, unbonding and slashing.
Security
- Cryptography
The cryptographic building blocks of Tenrai. ML-DSA-65 signatures, SHA-384 identifiers, SHAKE256 locks, post-quantum TLS, and how they are kept apart.
- Addresses and keys
How a Tenrai wallet turns 24 words into ML-DSA-65 keys, how a key becomes a spend lock and an address, and what fingerprints and verification words are.
- Peer-to-peer network
How Tenrai nodes find, authenticate and limit each other, how blocks, transactions and cuts travel, and how a node catches up.
- Security model
What Tenrai guarantees, under which assumptions, and what wallets, miners, validators and services have to trust.
Reference
- Protocol limits
Every consensus limit of Tenrai in one place. Transactions, work blocks, cuts, staking, sizes of keys and signatures, and the mass formula.
- Network parameters
The parameters of each Tenrai network. Block rate, cut interval, epochs, emission, difficulty, address prefixes, default ports and wallet defaults.
