Glossary
Tezos and tez
The following is adapted from this Agora post by Tezos Co-founder Arthur Breitman. As noted in the post, there is no official body that can authoritatively set Tezos' nomenclature, but the following is recommended:
Tezos
Used either as a noun or an adjective to designate:
- An open-source project and software (as in, "contributing to the Tezos codebase")
- A peer-to-peer network of nodes maintaining a blockchain (as in "a Tezos node")
- The specific Tezos chain with the most economic relevance (as in "the Tezos chain"). In particular, the chain whose millionth block had hash
BKtC4QCWoF73kxLj773vFpQuuwrnye6PS7T1aM3XEPvFXiQbNu7
.
Tez
A unit of the cryptocurrency native to a Tezos chain, such as in "I sent you 2 tez." Tez is invariable. It is not capitalized except at the beginning of a sentence or when you would otherwise capitalize a noun. "I sent you 2 tez" and not "2 Tez".
XTZ
XTZ, tez, or ꜩ (\ua729
, "Latin small letter tz") is the native currency of Tezos.
"XTZ" is an ISO-4217-compatible code for representing tez on the most economically relevant Tezos chain. Unless there is a very specific reason to use an ISO code for it, the term tez is preferred. Situations where the ISO code might be useful typically involve accounting systems, exchange rates with other currencies, and anything that might need some sort of standardized code.
Tezos terms
Block
The Tezos blockchain is a linked list of blocks (or actually, a tree when several competing branches exist). Blocks conceptually contain a header and a list of operations, which are specific to the economic protocol.
The header itself decomposes into a shell header (common to all Tezos economic protocols), and a protocol-specific header. The shell header contains protocol-agnostic data such as the predecessor's block hash and the block's timestamp.
Context
The state of the blockchain. The context is defined by the economic protocol and typically includes information such as "this account is credited with this many tez" and "this is the code for that smart contract."
The context is modified by operations. For example, an operation can transfer tez from one account to another, which modifies the part of the context that tracks account credit.
Economic protocol
The economic protocol is the set of rules defining valid operations and blocks, how the network agrees on the next block to build (the consensus algorithm), and how operations update the blockchain state, also called context.
In Tezos, the economic protocol can be upgraded without interruption or forking of the blockchain. This is because the procedure for an upgrade is also defined within the economic protocol, which can thus update itself.
Fitness
(a.k.a. score, weight) For each block, the consensus algorithm can compute a score called fitness which determines the quality of the chain leading to that block. The shell changes the head of the chain to the valid block that has the highest fitness.
Height
See level.
Level
(a.k.a. block height) The position of a block in the blockchain, that is, the number of blocks since the genesis block, where the genesis block is at level 0.
Mempool
A (block or operation) metadata is a piece of data computed as a result of the application of the block or operation on an associated context. The metadata consists of many pieces of information such as the operation receipts, rewards updates, voting period, etc.
A block's metadata is the collections of operations metadata for all the operations included in the block (if the validation was successful).
Node
A peer in the P2P network. It maintains a local state and propagates blocks and operations.
Operation
An operation transforms the context; this is what makes the state of the chain change. Operations are grouped into blocks; thus, the chain progresses in batches.
Score
See fitness.
Shell
The shell is a software component of the node. It is parameterized by a specific economic protocol. It serves as the bridge between the P2P layer (handling communication between nodes) and the economic protocol layer (handling the context, operation application, scoring, etc.).
Weight
See fitness.
Protocol terms
Accuser
When a delegate attempts double signing (or when it tries to abuse the network in another similar way), another delegate can make an accusation, by providing evidence of the offense. The delegate injecting the accusation in a newly baked block is called the accuser.
The accuser is awarded some funds from the security deposit of the accused.
When using Octez, accusation operations are emitted by the accuser daemon. Note that this daemon is not associated to a delegate: accusation operations are anonymous, and any delegate can include them in a block.
Account
An account is an address managed by the protocol. In the context, each account is associated with a balance (an amount of tez available).
An account can be a user account or a smart contract.
Baker
When a delegate creates a new block, it is called the baker of this block. Baking rights are distributed to different delegates based on their available stake. Only a delegate with baking rights is allowed to bake. The baker selects transactions from the mempool to be included in the block it bakes.
When using Octez, baking and other consensus actions are handled by the baker daemon, on behalf of one or more delegate accounts. By extension, a baker designates the owner of such a delegate account, typically running the baker daemon on its behalf.
Baking
The act of creating a new block by a baker.
Baking rights
Baking/endorsing a block can only be done by a delegate who holds the baking/endorsing right for that block level and round. At the start of a cycle, baking and endorsing rights are computed for all the block levels and rounds in the cycle, based on the proportion of the stake of each delegate.
For each block level and round, there is exactly one account that is allowed to bake, but several accounts are allowed to endorse.
Burn
To ensure responsible use of the storage space on the public blockchain, there are some costs charged to users for consuming storage. These costs are burnt (i.e., the amount of tez is destroyed). For example, a per-byte storage cost is burnt for increasing the storage space of a smart contract; a fixed amount is burnt for allocating a new contract (which consumes space by storing its address on the blockchain).
See also fee.
Constant
Protocols are parameterized by several parameters called protocol constants, which may vary from one protocol to another or from one network to another.
Contract
See account.
Cycle
A cycle is a sequence of consecutive blocks of fixed length (given by a protocol constant). E.g., cycle 12 started at block level 49152 and ended at block level 53248.
Cycles are used as a unit of "time" in the block chain. For example, the different phases in the amendment voting procedures are defined based on numbers of cycles.
The length of a cycle is a (parametric) protocol constant, and thus might change across different Tezos protocols.
Delegate
A user account that can participate in consensus and in governance.
Actual participation is under further provisions, like having a minimal stake.
A user account becomes a delegate by registering as such.
Through delegation, other accounts can delegate their rights to a delegate account.
The delegate's rights are calculated based on its stake.
Note that tz4
accounts cannot be delegates.
Delegation
An operation in which an account designates a delegate. The delegating account's balance increases the delegate's stake and consequently its baking rights and endorsing rights. However, the delegate does not control the funds of the delegating account, e.g., it can not spend them.
Double signing
The situation when a baker signs two different blocks at the same level and same round, is called double baking. Double baking is detrimental to the network and might be indicative of an attempt to double spend. The same goes for signing two different endorsements at the same level and the same round. As such, double signing (i.e., double baking or double endorsing) is punished by the network: an accuser can provide proof of the double signing to be awarded part of the double signer's deposit -- see Slashing.