Hash
A compact fingerprint of data. Small input changes produce a different result.
System guide
A blockchain combines linked data, independent verification, and a consensus process to maintain a shared record without one database owner.

Four building blocks
A compact fingerprint of data. Small input changes produce a different result.
A batch of records plus a cryptographic reference to earlier accepted history.
Software that relays data and independently applies a protocol’s validation rules.
The process participants use to select one accepted state from valid candidates.
Each block contains a reference derived from earlier data. Changing an old record changes its fingerprint and breaks the chain of later references. Consensus adds an economic or coordination barrier that makes an alternative history difficult to have accepted.
Immutability is not absolute. It is better understood as resistance to change under a network’s rules, incentives, validator distribution, and confirmation depth. Different blockchains make different security assumptions.
Consensus mechanisms help distributed nodes converge on a shared ordering of valid activity. Proof of work weights costly computation. Proof of stake generally uses locked economic value, validator selection, and penalties. Other systems may use approved validators or specialized voting protocols.
| Model | Selection signal | Common considerations |
|---|---|---|
| Proof of work | Demonstrated computation | Energy, hardware economics, difficulty, reorganization cost |
| Proof of stake | Staked value and protocol selection | Validator concentration, slashing, governance, client diversity |
| Permissioned consensus | Named validators or organizations | Operator trust, access controls, legal agreements, recovery |
| Question | Public network | Permissioned network |
|---|---|---|
| Who can participate? | Usually open under protocol rules | Approved participants |
| Who validates? | Open validator set or miners | Named organizations |
| Primary advantage | Neutral, open coordination | Controlled collaboration and privacy options |
| Typical trade-off | Public data and constrained throughput | Greater reliance on operators and governance |
A smart contract is code stored and executed by a compatible blockchain. Users or other contracts submit transactions that call its functions. The contract can enforce rules around tokens, marketplaces, permissions, lending positions, or other digital state.
Execution is deterministic, not inherently correct. A network can consistently execute flawed code, accept misleading input, or preserve a scam. Testing, reviews, audits, limited permissions, and incident planning still matter.
A blockchain can show that an event occurred under its rules. It does not prove that an asset is fairly valued, external data is true, or a project is honest.
Scaling systems move some execution or data work away from a base chain, then use it for settlement or security. Payment channels exchange signed updates privately between participants. Rollups batch transactions and submit data or proofs to a base layer. Sidechains operate with a separate security model.
Bridges connect assets or messages across networks. They can introduce smart-contract, validator, custody, and operational risk. A representation of an asset on another chain is not identical to holding the base asset under its original security model.
A blockchain may be unnecessary when one trusted party can maintain an ordinary database, when data must be private or easily deleted, when extremely high throughput is essential, or when governance can resolve disputes more effectively than immutable code.
Good system design begins with the trust problem, not the technology label. Ask who writes data, who verifies it, who can correct errors, and what failure costs users.
Explore Ethereum, Solana, testing, and application security through a structured technical path.