← Back
Home › Systems › Blockchain and web3

blockchain

blockchain node with consensus

Ethereum, Bitcoin

SystemTechniques · 9Primitives · 26 blockchain Merkle patricia triedata-structures · medium: Hex-ary Patricia trie with hashed nodes giving state roots and inclusion proofsBft consensusdistributed · medium: Byzantine fault tolerant consensus (PBFT, Tendermint, HotStuff) with 3f+1 replicas and quorum certificatesEpidemic broadcastdistributed · medium: Gossip-based message dissemination (push/pull, gossipsub mesh) with bounded fan-outFork choice ruledistributed · medium: Pick the canonical chain head (longest chain, LMD-GHOST) and finalize with checkpoint votesKademlia dhtdistributed · medium: XOR-metric DHT with k-buckets and iterative parallel lookupsNakamoto consensusdistributed · medium: Proof-of-work longest-chain consensus: difficulty adjustment, orphan handling, confirmationsBls signature aggregationsecurity · medium: BLS pairing-based signatures that aggregate many signers into one constant-size signatureMerkle treedata-structures · low: Hash tree for verifying and diffing large datasets with logarithmic proofsDeterministic serializationfinance · low: Canonical byte encodings (RLP, SSZ, canonical CBOR) so every node hashes identical bytesKeccak sha3security · low: Keccak sponge (SHA-3, Keccak-256) permutation, padding and absorb/squeezeBloom filterdata-structures · low: Bit array answering "definitely not present" or "probably present" in about 10 bits per key for 1 % false positives; inserts are cheap, deletes impossible.›Cryptographic hashes (SHA-2, BLAKE3)security · low: Collision-resistant fingerprints of data; SHA-256 for interoperability, BLAKE3 for speed, HMAC/HKDF for keyed uses.›ECDSA signaturessecurity · low: The elliptic-curve signature standardised in FIPS 186-5 (P-256) and used by secp256k1 ledgers; 64-byte signatures, but a repeated or biased nonce leaks the private key.›Elliptic curve arithmeticsecurity · low: Point addition, doubling and constant-time scalar multiplication in projective coordinatesd-ary heapdata-structures · low: Array heap with d children per node (d = 4 typical): half the binary heap's depth, siblings in one cache line, faster priority queues.›Noise protocolsecurity · low: Noise framework handshakes (IK, XX): DH patterns, chaining keys, transport ciphersRadix triedata-structures · low: Compressed prefix tree for path routing, domain matching and prefix lookupsDigital signatures (Ed25519)security · low: Small, fast, deterministic public-key signatures that prove who produced a message; the default for tokens, releases and protocols.›Message authentication codes (HMAC,…security · low: A keyed short tag proving a message is unmodified and came from a key holder; pick HMAC, CMAC, KMAC or a one-time polynomial MAC by what primitive you already have.›Write-ahead logstorage · low: Append each change to a checksummed sequential log and fsync it before touching data pages; the basis of crash durability in nearly every database.›Event deduplication windowdistributed · low: Keep the ids of recently accepted events for a time window and drop repeats; memory stays bounded by rotating time buckets instead of per-entry timers.›Message sequence numbersdistributed · low: A per-stream counter on every message lets the receiver detect loss, duplicates and reordering, ack cheaply and resume after reconnect with "send from N".›BFS and DFSgraphs · low: The two basic graph traversals; BFS gives hop distances and levels, DFS gives discovery/finish order for cycles, components and topological order.›+ 2 more techniques+ 10 more primitives

Similar systems

Share the most building blocks with this one.