Proof of Work vs Proof of Stake: Which Is Better?
A side-by-side comparison of proof of work and proof of stake: attack cost, energy, decentralisation and finality, and when each design fits best.
43 posts about Blockchain: questions with answers, tutorials and articles, newest first.
A side-by-side comparison of proof of work and proof of stake: attack cost, energy, decentralisation and finality, and when each design fits best.
Proof of stake secures a blockchain with locked collateral instead of mining. See how validators are chosen, rewarded, slashed and how finality works.
Proof of work makes miners spend computing power to find a valid block hash that any node can verify instantly. Learn the puzzle, difficulty and trade-offs.
The Byzantine Generals Problem asks how honest nodes can agree when some are traitors. See the 3f+1 rule, BFT protocols and how Bitcoin solves it.
A zero-knowledge proof shows a statement is true without revealing why. Learn the cave story, the three properties, SNARKs and STARKs, and blockchain uses.
A seed phrase encodes the entropy that an HD wallet turns into every key. See BIP-39 words, BIP-32 derivation, BIP-44 paths and backup rules.
A wallet address is a hash of your public key with a checksum and encoding. Compare how Bitcoin and Ethereum build theirs, with a Python example.
ECDSA on the secp256k1 curve secures Bitcoin signatures. See the curve, the signing and verification math, and why the nonce must never repeat.
A digital signature proves a private key holder approved an exact transaction. See how wallets sign and how nodes verify it with the public key.
Learn how public and private key pairs work, how digital signatures authorise blockchain transactions and how to keep your keys safe.
Learn how a Merkle tree is built, what the Merkle root commits to and how short proofs let light clients verify transactions.
Follow SHA-256 from padding to the final digest: message schedule, the 64 rounds and the Ch, Maj and rotation functions, with a Python example.
Learn what a cryptographic hash function is, which properties make it secure and how blockchains use hashes to link blocks and prove work.
Understand the blockchain trilemma, why decentralization, security and scalability pull against each other, and how layer 2 designs try to ease it.
Learn where blockchain is used beyond cryptocurrency, from supply chains to credentials, and how to tell when a shared ledger is actually the right tool.
A crypto wallet stores keys, not coins. Learn how keys, addresses and seed phrases work, and how to keep your wallet safe.
A node is a computer that runs blockchain software. Learn how full, light, archive and validator nodes differ and what each does.
Public, private and consortium blockchains differ in who can join and who controls them. Compare them and learn when to use each.
Decentralization means no single party controls the network. Learn the benefits, the trade-offs and how to judge a network.
A block holds transactions and the hash of the previous block. Learn how hashes link blocks and make a blockchain tamper evident.