[{"data":1,"prerenderedAt":223},["ShallowReactive",2],{"learn\u002Flearn\u002Fhow-the-ledger-works":3,"learn\u002Flearn\u002Fhow-the-ledger-works-surround":212},{"id":4,"title":5,"body":6,"category":202,"description":203,"extension":204,"level":202,"meta":205,"navigation":206,"order":207,"path":208,"seo":209,"stem":210,"__hash__":211},"learn\u002Flearn\u002Fhow-the-ledger-works.md","How the ledger is written and shared",{"type":7,"value":8,"toc":191},"minimark",[9,13,18,30,33,37,44,68,72,79,82,96,100,107,110,114,117,125,129,149,153],[10,11,12],"p",{},"A signed transaction is only a claim until a block producer includes it. This page is about the\nplumbing that turns claims into a shared, verifiable history.",[14,15,17],"h2",{"id":16},"slots-and-blocks","Slots and blocks",[10,19,20,21,25,26,29],{},"Time on Solana is divided into ",[22,23,24],"strong",{},"slots"," of ",[22,27,28],{},"200 ms",", each with a designated leader, and leaders\nare scheduled a full epoch ahead. A slot is an opportunity to produce a block, not a guarantee: slots\ncan be skipped, and a leader can produce more than one candidate block.",[10,31,32],{},"The practical consequence is that \"the current block\" is fuzzy for a few hundred milliseconds.\nTransactions do not queue in a mempool waiting for inclusion — there is no mempool. They are\nforwarded to the leader expected to produce the next slot and either land in that block or expire.",[14,34,36],{"id":35},"why-blocks-travel-as-shreds","Why blocks travel as shreds",[10,38,39,40,43],{},"A block is too large to hand to every validator directly. The leader ",[22,41,42],{},"shreds"," it:",[45,46,47,51,58,61],"ul",{},[48,49,50],"li",{},"Data shreds carry fragments of serialized entries, capped around 1,280 bytes each.",[48,52,53,54,57],{},"Coding shreds are generated with ",[22,55,56],{},"Reed-Solomon erasure coding"," over groups of data shreds, known\nas FEC sets. A set may hold up to 67 data shreds; 32 is the recommended configuration.",[48,59,60],{},"All shreds are signed by the block producer.",[48,62,63,64,67],{},"Each FEC set is merkelized: the leaves are hashed pairwise up to a ",[22,65,66],{},"Merkle root",", and the leader\nsigns that root. Because a shred carries a proof path, any node can verify a piece without holding\nthe whole block, and missing pieces can be reconstructed from the coding shreds.",[14,69,71],{"id":70},"turbine-the-broadcast-tree","Turbine, the broadcast tree",[10,73,74,75,78],{},"Turbine distributes those shreds down a stake-weighted tree rather than to everyone at once. The\nleader broadcasts to a root node, which fans out to layer 1, whose nodes fan out to layer 2, and so\non. The root rotates ",[22,76,77],{},"every shred",", and the peer list is reshuffled per shred to make targeted\nattacks harder.",[10,80,81],{},"Two other roles are easy to confuse with it:",[45,83,84,90],{},[48,85,86,89],{},[22,87,88],{},"Gossip"," is the control plane: peer discovery, contact information, and validator metadata. It\ndoes not carry transactions.",[48,91,92,95],{},[22,93,94],{},"Gulf Stream"," is the inbound path: clients and validators forward transactions to the upcoming\nleader they already know about, which is why Solana needs no mempool and why a client's\nblockhash must be recent.",[14,97,99],{"id":98},"proof-of-history-after-alpenglow","Proof of History, after Alpenglow",[10,101,102,103,106],{},"PoH was a verifiable delay: a chain of hashes that let anyone check the order and passage of time\nwithout trusting a clock. For years it also ",[22,104,105],{},"paced"," block production.",[10,108,109],{},"That pacing role is gone. Since Alpenglow, Votor's timeouts and certificates decide when blocks\nfinalize, and the tick entries that carried PoH pacing have left the shred stream. PoH's hashing\nconstruction still exists in the ledger's history, but it is no longer what makes the network tick.",[14,111,113],{"id":112},"forks-briefly","Forks, briefly",[10,115,116],{},"Because slots can be skipped and leaders can produce competing blocks, the network can temporarily\nhold more than one view of recent history. Validators converge on one branch, and — since Alpenglow\n— finalization is an explicit certificate rather than the accumulated lockouts of TowerBFT.",[10,118,119,120,124],{},"What matters for an app: a transaction seen in a block is ",[121,122,123],"em",{},"processed",", which is not final. Only a\nfinalized block is irreversible. On modern Solana that distinction resolves in about 150 ms, but it\nis still the difference between \"probably\" and \"certainly\".",[14,126,128],{"id":127},"what-this-explains","What this explains",[45,130,131,137,143],{},[48,132,133,136],{},[22,134,135],{},"Why there is a 1,232-byte transaction limit",": it is a network packet, and a block is a stream of\npackets.",[48,138,139,142],{},[22,140,141],{},"Why a payment occasionally fails with a blockhash error",": the transaction outlived its ~150-slot\nvalidity window before anyone included it.",[48,144,145,148],{},[22,146,147],{},"Why finality is a consensus property and not a network one",": propagation is how a block spreads,\nconsensus is how it becomes permanent. They are separate systems by design, which is precisely what\nlet Votor replace consensus without touching how blocks travel.",[14,150,152],{"id":151},"sources","Sources",[45,154,155,164,171,178,185],{},[48,156,157],{},[158,159,163],"a",{"href":160,"rel":161},"https:\u002F\u002Fdocs.anza.xyz\u002Fconsensus\u002Fturbine-block-propagation",[162],"nofollow","Anza: Turbine block propagation",[48,165,166],{},[158,167,170],{"href":168,"rel":169},"https:\u002F\u002Fraw.githubusercontent.com\u002Fsolana-foundation\u002Fspecs\u002Fmain\u002Fp2p\u002Fshred.md",[162],"Shred specification",[48,172,173],{},[158,174,177],{"href":175,"rel":176},"https:\u002F\u002Fsolana.com\u002Fupgrades\u002Freduced-slot-times",[162],"Solana: reduced slot times",[48,179,180],{},[158,181,184],{"href":182,"rel":183},"https:\u002F\u002Fsolana.com\u002Fupgrades\u002Falpenglow",[162],"Alpenglow: PoH and tick entries",[48,186,187],{},[158,188,94],{"href":189,"rel":190},"https:\u002F\u002Fsolana.com\u002Fnews\u002F8-innovations-that-make-solana-the-first-web-scale-blockchain",[162],{"title":192,"searchDepth":193,"depth":193,"links":194},"",2,[195,196,197,198,199,200,201],{"id":16,"depth":193,"text":17},{"id":35,"depth":193,"text":36},{"id":70,"depth":193,"text":71},{"id":98,"depth":193,"text":99},{"id":112,"depth":193,"text":113},{"id":127,"depth":193,"text":128},{"id":151,"depth":193,"text":152},"technical","Slots, shreds, Merkle roots, erasure coding, and a mempool that does not exist. The machinery between \"signed\" and \"everyone agrees\".","md",{},true,3,"\u002Flearn\u002Fhow-the-ledger-works",{"title":5,"description":203},"learn\u002Fhow-the-ledger-works","7tpf6n6WjMRyxpwl2ee9W4HY9iRC2w5h3gGhrnW8sEE",[213,218],{"title":214,"path":215,"stem":216,"description":217,"children":-1},"What is actually inside a Solana transaction","\u002Flearn\u002Fhow-a-transaction-works","learn\u002Fhow-a-transaction-works","Signatures, a message, account flags, a blockhash with an expiry, a fee in micro-lamports, and a 1,232-byte box. The anatomy, with the real constants.",{"title":219,"path":220,"stem":221,"description":222,"children":-1},"If your phone is lost or stolen","\u002Flearn\u002Fif-your-phone-is-lost","learn\u002Fif-your-phone-is-lost","The first hour, in order — lock the phone, work out what was on it, and move anything that was reachable. What to do about a wallet, and what to do about an allowance.",1795469626851]