cryptocurrency mining
Tokenomics
Full explanation
Mining is the process of collecting, verifying, and recording cryptocurrency transactions onto a digital ledger known as the “blockchain.” Miners play a critical role in maintaining network integrity and are also responsible for introducing new coins into the system.
Within traditional banking systems, fiat currency is printed and issued by financial institutions and government authorities. In contrast, for most cryptocurrencies, new coin issuance is not controlled by any centralized entity. Instead, new cryptocurrency units are generated through the mining process. This entire process follows a set of predefined rules established by the underlying protocol. While the protocol defines the core rules, the so-called “consensus algorithm” specifies how those rules are enforced (e.g., during transaction validation).
Take Bitcoin as an example. Participants in the mining process are called “mining nodes,” or simply “miners,” and play a vital role in securing the blockchain network. Miners collect unconfirmed transactions from the mempool and organize them into a candidate block awaiting verification.
When constructing a candidate block, miners include a transaction—called the “coinbase transaction”—that sends the block reward to themselves. This coinbase transaction is typically the first transaction recorded in the block.
Once the list of unconfirmed transactions is assembled, each transaction is hashed, and the resulting outputs are paired (“two-by-two”). These pairs are then hashed again, producing new outputs that are again paired and hashed. This iterative process continues until a single hash value—the “root hash,” or “Merkle root”—is generated.
This root hash is then combined with the hash of the previously confirmed block and a pseudorandom number called the “nonce” (along with other parameters). These elements are hashed once more to produce the candidate block’s block hash.
However, a miner is considered successful only if the resulting output—the block hash—is lower than a predetermined threshold (the “target”). Thus, the process involves repeated trial-and-error: performing vast numbers of hash computations using different nonce values until a valid result is found. The first miner to discover a valid hash verifies the candidate block and receives the block reward. On average, this entire process takes ten minutes.
Once verified, the block is added to the blockchain, and miners begin work on the next block. The valid hash serves as proof of the miner’s computational work; hence, Bitcoin’s consensus algorithm is called “proof of work.” Each confirmed block has a unique block hash, which functions as its identifier.
The block reward is defined by the Bitcoin protocol and halves approximately every 210,000 blocks (roughly every four years). The initial block reward was 50 bitcoins; it is now 6.25 bitcoins.
Source: Binance Academy
Last updated:
