Blockchain basics: what the machinery actually does
In short
A blockchain links batches of transactions by fingerprints, so changing an old record breaks every later link and is easy to spot. A consensus rule decides which new batch counts, by making lying cost more than telling the truth, with nobody in charge. The record is reliable, but it does not make data true, does not give a token value, cannot undo theft or mistakes, and the software around it has often been hacked.
A blockchain is a shared record of transactions. The record is organized into batches, and each batch is tied by cryptography to the one before it. Many computers keep copies at the same time, and they follow a rule for agreeing which version is correct. That is the whole design. The mechanics below are technical and are not a matter of opinion. Explaining what the machinery does is not the same as explaining what it is worth, and this article covers only the first.
Four components
The hash. A hashing function takes any input, such as a word, a file or a list of transactions. It produces a string of characters of fixed length. Three properties make it useful. The same input always gives the same output. A tiny change to the input gives a completely different output, with no likeness to the first. And the process cannot in practice be run backwards to get the input from the output. So a hash is a fingerprint. It is compact, unique in practice, and cannot in practice be forged by working backwards. With the hash of a document, a person can later check whether a document is that same one, without storing it. The chain. Transactions are gathered into a block. Each block includes the hash of the previous block among its contents. That one design choice does the heavy lifting. A block's hash depends on all its contents, and its contents include the previous block's hash. So changing any earlier transaction changes that block's hash. That breaks the next block, and the next, all the way to the present. Tampering is not prevented. It is made easy to detect and expensive, which is a different and more achievable goal. The network. Instead of one official copy, many participants hold the ledger and pass transactions to each other. There is no server to break into and no office to force. Equally, there is no administrator to correct an error. And the consensus rule. This part is the least intuitive, and it is central. When two participants propose different next blocks, something must decide which one is accepted. The answer cannot be "a trusted authority" without giving up the design. Mining and Proof of Stake: Who Pays for the Security covers the two main approaches; the point here is about structure. Under proof of work, adding a block means solving a computing puzzle that is costly to attempt and easy to check. So producing a rival history means redoing that cost faster than the rest of the network produces the real one. Under proof of stake, the right to propose blocks goes to participants who have put up assets they can lose for cheating. So dishonesty carries a financial penalty rather than an energy cost. Both answer the same question: how do you make lying cost more than telling the truth, without anyone being in charge?
What it guarantees, and five things it does not
What a blockchain does guarantee is narrow and real. The recorded order of transactions has not been changed without detection. Each transaction was approved by whoever held the relevant private key. And all participants running the same rules will converge on the same history, with older blocks harder to reverse than recent ones. Those are meaningful properties. Five things it does not do are listed next, because readers are often misled on exactly these points. It does not make data true. A blockchain reliably records what it was told. If someone records that they own a building they do not own, the ledger faithfully keeps a false claim: garbage in, garbage permanently. The integrity is of the record, not of reality. It does not give a token value. The ledger tracks who owns units. Whether those units are worth anything is the disputed question What Cryptocurrency Is: Three Things Worth Keeping Separate sets out, and no amount of sound cryptography bears on it. It does not make transactions reversible or recoverable. On open networks, a transaction sent to the wrong address is generally gone. A lost private key means access is lost for good, with no institution to appeal to. A stolen key produces a transfer the network treats as approved. This is a practically important fact, and Exchanges, Wallets, and Custody: Who Actually Controls It returns to it. It does not guarantee decentralization in practice. The design allows it. The outcome depends on how checking, development and access are actually spread out, and concentration is common. There may be a small number of validators or mining operations, a small development team, and a handful of exchanges through which most access flows. And it is not unbreakable. If one party controlled a majority of the checking capacity, it could in principle reorder or block transactions. This is the 51% attack. On the largest networks it is very expensive to attempt; on small ones it has happened. And the software around the ledger has been broken into repeatedly. That includes exchanges, bridges, wallets and smart contracts. To state it precisely: the ledger's integrity has held up well, and the things built around it have often not. Many reported crypto losses have come from the edges rather than from a broken chain. Two further distinctions. Public versus permissioned: the properties above describe open networks anyone can join. A permissioned ledger run by known parties is a different thing with different trust assumptions, and much corporate blockchain work is of that kind. And finality is probabilistic on some designs. A transaction gets harder and harder to reverse as blocks pile up, rather than becoming final the instant it appears. That is why people receiving a transfer often wait for confirmations.
Worked example
Worked example (fictional). A simplified chain of three blocks on the fictional Verex network. Block 100 contains a list of transactions and the hash of block 99; hashing its contents produces a7f3…c210. Block 101 contains its own transactions plus the string a7f3…c210. Block 102 contains its transactions plus block 101's hash. Now suppose someone attempts a fraud. They want to alter a transaction in block 100, changing a transfer of 5 VRX so it never happened. They edit it. Block 100's contents are now different, so its hash is no longer a7f3…c210; it is some entirely unrelated string, because a small input change produces a completely different output. But block 101 still contains the old hash, so the chain no longer links, and any participant checking the ledger can see the break. To hide it they must also recompute block 101, which changes its hash, which breaks block 102 — and so on to the newest block, while the honest network keeps adding blocks they must also match. Under proof of work that means out-computing everyone else continuously; under proof of stake it means controlling enough committed assets to be caught and forfeit them. The fraud is not blocked by a rule. It is made arithmetically uneconomic. The same example also shows a limit. Suppose the transaction in block 100 was recorded correctly but was a theft — someone used a stolen key to move 5 VRX. The network validated it properly, because a valid signature is a valid signature. The chain records it permanently and correctly. Every cryptographic guarantee held, and the owner has lost their 5 VRX with no recourse. That is not a failure of the technology; it is the technology working as designed, and the distinction matters for what a blockchain can and cannot protect against. (All names and figures fictional; Verex is one of the fictional assets used in these examples, hash strings illustrative.)
Check understanding
1 of 5
What does a hash do, as the article describes it?
Frequently askedCommon questions
9 questions
What is a blockchain, in one sentence?
A shared record of transactions, organized into batches, each tied by cryptography to the one before it. Many computers keep it, following a rule for agreeing which version is correct.
What is a hash?
A fingerprint. A hashing function turns any input into a string of fixed length. The same input always gives the same output, and a tiny change gives a completely different one. Working backwards from output to input is not feasible in practice. That makes it possible to check that a document is the same document without storing it.
Why does linking blocks by hash matter so much?
Each block contains the previous block's hash. So changing an old transaction changes that block's hash, which breaks the next block and every block after it. Tampering isn't prevented. It's made easy to detect and expensive, which is a different and more achievable goal.
What is consensus actually for?
Deciding which proposed next block is accepted, when the answer can't be "a trusted authority" without giving up the whole design. Proof of work makes adding a block costly to attempt and cheap to check. Proof of stake gives the right to participants who have put up assets they can lose. Both answer the same question: how do you make lying cost more than telling the truth, with nobody in charge?
Does a blockchain make information true?
No. This is a common misunderstanding. It reliably records what it was told. If someone records a false claim, the ledger faithfully keeps a false claim. The integrity is of the record, not of reality.
Can a transaction be reversed?
Not in the usual sense on open networks. A transfer to the wrong address is generally gone, and a lost private key means access is lost for good. A stolen key produces a transfer the network treats as valid. There's no institution to appeal to.
Is blockchain unhackable?
No. A party controlling a majority of the checking capacity could in principle reorder or block transactions. This is the 51% attack. It is very expensive on the largest networks, and it has happened on small ones. Separately, the software built around the ledger has been broken into repeatedly. The ledger's integrity has held up well and the things built around it have often not. Many reported losses come from the edges.
Is a corporate blockchain the same thing?
Usually not. Much corporate work uses permissioned ledgers run by known parties. That is a different thing, with different trust assumptions, from an open network anyone can join.
Why do transfers need confirmations?
On some designs, finality is probabilistic. A transaction gets harder and harder to reverse as blocks pile up, rather than becoming final the instant it appears. Waiting for confirmations is waiting until that chance is small enough.
ReferencesWhere this comes from
- SEC Investor.gov — Investor Alert: Exercise Caution with Crypto Asset Securities (platforms where investors buy, sell, borrow, or lend may lack important protections — the periphery, in this article's terms) (accessed 2026-08-14)
- SEC Investor.gov — Investor Bulletin: Crypto Asset Interest-bearing Accounts (assets sent to platforms are not insured; platform failure risk) (accessed 2026-08-14)
- CFTC / SEC — Investor Alert: Watch Out for Fraudulent Digital Asset and "Crypto" Trading Websites (accessed 2026-08-14)
Finished reading?
Mark it complete once the answer holds without scrolling back up.
Ask MarketClue AI about this lesson
The question carries this lesson as its context. MarketClue AI needs an account.
MarketClue does not provide financial advice.
Next on your list
After that
Educational and informational only — not investment advice, a recommendation, or an offer to buy or sell any security. Investing involves risk, including the possible loss of principal. Worked examples use fictional companies and figures.