A block chain or blockchain is a permissionless distributed database based on the bitcoin protocol that maintains a continuously growing list of transactional data records hardened against tampering and revision, even by operators of the data store's nodes. The initial and most widely known application of the blockchain technology is the public ledger of transactions for bitcoin and the inspiration of similar distributed ledgers known as altchains. Each blockchain record is enforced cryptographically and hosted on machines working as data store nodes.
The core advantages of the block chain architecture include the following:
A block chain implementation consists of two kinds of records: Transactions and blocks.
Transactions are the actual data to be stored in the block chain, and blocks record and confirm when and in what sequence transactions became journaled as a part of the block chain database.
Transactions are created by participants using the system in the normal course of business (in the case of cryptocurrencies, a transaction is created anytime someone sends cryptocurrency to another), and blocks are created by users known as "miners" who use specialized software or equipment designed specifically to create blocks.
Users of the system create transactions which are loosely passed around from node to node on a best-effort basis. The definition of what constitutes a valid transaction is based on the system implementing the block chain. In most cryptocurrency applications, a valid transaction is one that is properly digitally signed, spends one or more unspent outputs of previous transactions, and the sum of transaction outputs does not exceed the sum of inputs.
Meanwhile, miners attempt to create blocks that confirm and incorporate those transactions into the blockchain. In a cryptocurrency system such as bitcoin, miners are incentivized to create blocks in order to collect two types of rewards: a pre-defined per-block award, and fees offered within the transactions themselves, payable to any miner who successfully confirms the transaction.