[{"data":1,"prerenderedAt":1637},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-architecture":3,"docs-kids-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-architecture":1133,"docs-tracks":1134},{"id":4,"title":5,"body":6,"description":1125,"extension":1126,"meta":1127,"navigation":918,"path":1128,"seo":1129,"source":1130,"stem":1131,"__hash__":1132},"docs\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-architecture.md","Ledger Architecture",{"type":7,"value":8,"toc":1103},"minimark",[9,13,16,21,25,28,32,38,49,54,114,119,135,139,144,150,154,157,163,168,213,218,221,225,230,236,241,247,268,271,274,333,343,353,355,359,364,374,388,394,400,402,406,411,418,424,434,442,444,448,453,464,474,483,489,491,495,514,518,523,529,534,601,605,610,616,621,665,669,674,677,682,688,692,697,703,707,712,774,778,783,789,793,798,869,873,878,884,889,980,987,991,996,1040,1045,1096,1099],[10,11,5],"h1",{"id":12},"ledger-architecture",[14,15],"hr",{},[17,18,20],"h2",{"id":19},"introduction","Introduction",[22,23,24],"p",{},"The XRP Ledger is a cryptographically-secured, immutable record of the complete state of the network at a specific point in time. Unlike traditional databases that modify records in place, the XRPL creates sequential snapshots where each ledger builds upon its predecessor.",[22,26,27],{},"This chapter explores the architectural principles that make the ledger both reliable and efficient, providing the foundation for understanding the implementation details that follow.",[17,29,31],{"id":30},"the-ledger-chain-concept","The Ledger Chain Concept",[22,33,34],{},[35,36,37],"strong",{},"Sequential Progression:",[39,40,45],"pre",{"className":41,"code":43,"language":44},[42],"language-text","Genesis Ledger → Ledger 1 → Ledger 2 → ... → Current Ledger\n     │               │           │                │\n     └───────────────┴───────────┴────────────────┘\n                   Cryptographic Links\n","text",[46,47,43],"code",{"__ignoreMap":48},"",[22,50,51],{},[35,52,53],{},"Properties:",[55,56,57,70],"table",{},[58,59,60],"thead",{},[61,62,63,67],"tr",{},[64,65,66],"th",{},"Property",[64,68,69],{},"Description",[71,72,73,84,94,104],"tbody",{},[61,74,75,81],{},[76,77,78],"td",{},[35,79,80],{},"Cryptographic linking",[76,82,83],{},"Each ledger references its predecessor via hash",[61,85,86,91],{},[76,87,88],{},[35,89,90],{},"Monotonic sequence",[76,92,93],{},"Ledger numbers always increase",[61,95,96,101],{},[76,97,98],{},[35,99,100],{},"Temporal ordering",[76,102,103],{},"Represents time progression in the network",[61,105,106,111],{},[76,107,108],{},[35,109,110],{},"State evolution",[76,112,113],{},"Each ledger is a state transition from the previous",[22,115,116],{},[35,117,118],{},"Why Sequential Design?",[120,121,122,126,129,132],"ul",{},[123,124,125],"li",{},"Ensures deterministic ordering of events",[123,127,128],{},"Prevents double-spending and race conditions",[123,130,131],{},"Enables efficient synchronization between nodes",[123,133,134],{},"Provides clear audit trail for all network activity",[17,136,138],{"id":137},"hierarchical-data-organization","Hierarchical Data Organization",[22,140,141],{},[35,142,143],{},"Three-Tier Architecture:",[39,145,148],{"className":146,"code":147,"language":44},[42],"┌─────────────────────────────────────────────────────────────┐\n│                     LEDGER STRUCTURE                        │\n│                                                             │\n│   ┌─────────────────────────────────────────────────────┐   │\n│   │              TIER 1: LEDGER HEADER                  │   │\n│   │                                                     │   │\n│   │   • Sequence number                                 │   │\n│   │   • Parent ledger hash                              │   │\n│   │   • Transaction root hash                           │   │\n│   │   • Account state root hash                         │   │\n│   │   • Close time and flags                            │   │\n│   │   • Total XRP in existence                          │   │\n│   └─────────────────────────────────────────────────────┘   │\n│                           │                                 │\n│            ┌──────────────┴──────────────┐                  │\n│            ▼                             ▼                  │\n│   ┌────────────────────┐    ┌────────────────────────┐      │\n│   │ TIER 2: TX SET     │    │ TIER 3: STATE TREE     │      │\n│   │                    │    │                        │      │\n│   │ • All transactions │    │ • Account balances     │      │\n│   │ • Canonical order  │    │ • Trust lines          │      │\n│   │ • Metadata\u002Fresults │    │ • Offers               │      │\n│   │                    │    │ • Escrows, etc.        │      │\n│   └────────────────────┘    └────────────────────────┘      │\n└─────────────────────────────────────────────────────────────┘\n",[46,149,147],{"__ignoreMap":48},[17,151,153],{"id":152},"merkle-tree-architecture","Merkle Tree Architecture",[22,155,156],{},"The state and transaction data are organized as Merkle trees, enabling efficient verification:",[39,158,161],{"className":159,"code":160,"language":44},[42],"                        Root Hash\n                       \u002F         \\\n               Branch Hash    Branch Hash\n                \u002F      \\        \u002F      \\\n           Leaf Hash  Leaf Hash  ...   ...\n               |          |\n           Account    Account\n            Data       Data\n",[46,162,160],{"__ignoreMap":48},[22,164,165],{},[35,166,167],{},"Why Merkle Trees?",[55,169,170,179],{},[58,171,172],{},[61,173,174,177],{},[64,175,176],{},"Benefit",[64,178,69],{},[71,180,181,189,197,205],{},[61,182,183,186],{},[76,184,185],{},"Compact verification",[76,187,188],{},"Verify specific data without downloading entire ledger",[61,190,191,194],{},[76,192,193],{},"Tamper detection",[76,195,196],{},"Any change in data changes the root hash",[61,198,199,202],{},[76,200,201],{},"Parallel processing",[76,203,204],{},"Different branches can be processed independently",[61,206,207,210],{},[76,208,209],{},"Bandwidth optimization",[76,211,212],{},"Only transmit changed portions",[22,214,215],{},[35,216,217],{},"Practical Application:",[22,219,220],{},"A node can verify that a specific account balance is correct by checking only the path from that account to the root hash, rather than verifying the entire ledger.",[17,222,224],{"id":223},"data-integrity-mechanisms","Data Integrity Mechanisms",[22,226,227],{},[35,228,229],{},"Multiple Layers of Protection:",[39,231,234],{"className":232,"code":233,"language":44},[42],"┌─────────────────────────────────────────────────────────────┐\n│                 DATA INTEGRITY LAYERS                       │\n│                                                             │\n│   Layer 4: Chain Validation                                 │\n│   ─────────────────────────                                 │\n│   Each ledger references valid predecessor                  │\n│                                                             │\n│   Layer 3: Consensus Validation                             │\n│   ─────────────────────────────                             │\n│   Multiple validators must agree on content                 │\n│                                                             │\n│   Layer 2: Digital Signatures                               │\n│   ─────────────────────────                                 │\n│   Validator and transaction signatures                      │\n│                                                             │\n│   Layer 1: Cryptographic Hashing                            │\n│   ────────────────────────────                              │\n│   SHA-256 ensures data integrity                            │\n└─────────────────────────────────────────────────────────────┘\n",[46,235,233],{"__ignoreMap":48},[237,238,240],"h3",{"id":239},"layer-1-cryptographic-hashing","Layer 1: Cryptographic Hashing",[22,242,243,246],{},[35,244,245],{},"Uses SHA-512Half to create unique fingerprints."," Each ledger contains two Merkle trees:",[120,248,249,259],{},[123,250,251,258],{},[35,252,253,254,257],{},"Transaction Map (",[46,255,256],{},"txMap_",")",": All transactions",[123,260,261,267],{},[35,262,263,264,257],{},"State Map (",[46,265,266],{},"stateMap_",": All account states and objects",[22,269,270],{},"Hash calculation proceeds bottom-up: leaf nodes hash their data, inner nodes hash their children, producing a root hash.",[22,272,273],{},"The ledger header stores both root hashes and calculates the final ledger hash:",[39,275,279],{"className":276,"code":277,"language":278,"meta":48,"style":48},"language-cpp shiki shiki-themes github-dark-high-contrast","header_.txHash = txMap_.getHash();\nheader_.accountHash = stateMap_.getHash();\nheader_.hash = calculateLedgerHash(header_);\n","cpp",[46,280,281,304,319],{"__ignoreMap":48},[282,283,286,290,294,297,301],"span",{"class":284,"line":285},"line",1,[282,287,289],{"class":288},"sMAXC","header_.txHash ",[282,291,293],{"class":292},"sWyjQ","=",[282,295,296],{"class":288}," txMap_.",[282,298,300],{"class":299},"sj_SG","getHash",[282,302,303],{"class":288},"();\n",[282,305,307,310,312,315,317],{"class":284,"line":306},2,[282,308,309],{"class":288},"header_.accountHash ",[282,311,293],{"class":292},[282,313,314],{"class":288}," stateMap_.",[282,316,300],{"class":299},[282,318,303],{"class":288},[282,320,322,325,327,330],{"class":284,"line":321},3,[282,323,324],{"class":288},"header_.hash ",[282,326,293],{"class":292},[282,328,329],{"class":299}," calculateLedgerHash",[282,331,332],{"class":288},"(header_);\n",[22,334,335,338,339,342],{},[35,336,337],{},"Key verification points:"," When building a new ledger, hashes are computed FROM data (Ledger.cpp:327-332). When loading from database, the system verifies expected roots exist via ",[46,340,341],{},"fetchRoot()"," (Ledger.cpp:228-242). Network-acquired ledgers compare received vs expected hash (InboundLedger.cpp:811-819).",[22,344,345,348,349,352],{},[35,346,347],{},"Failures detected:"," Missing nodes → network fetch. Hash mismatch → reject ledger. Internal corruption → abort via ",[46,350,351],{},"invariants()"," check.",[14,354],{},[237,356,358],{"id":357},"layer-2-digital-signatures","Layer 2: Digital Signatures",[22,360,361],{},[35,362,363],{},"Proves authorization using ed25519\u002Fsecp256k1 signatures.",[22,365,366,369,370,373],{},[35,367,368],{},"Transaction signatures:"," Every transaction must be signed by the account holder's private key. Invalid signatures result in ",[46,371,372],{},"tefBAD_AUTH"," rejection.",[22,375,376,379,380,383,384,387],{},[35,377,378],{},"Validator signatures:"," Validators sign proposals during consensus (",[46,381,382],{},"RCLCxPeerPos",") and validations after building a ledger (",[46,385,386],{},"STValidation","). Each validation includes ledger hash, sequence, consensus hash, close time, and signature timestamp to prevent replay attacks.",[22,389,390,393],{},[35,391,392],{},"Key management:"," Validators use a two-tier system—a master key (offline, long-term identity) and ephemeral keys (online, rotated regularly). The master key signs tokens authorizing ephemeral keys; each new token invalidates previous ones (see Exercise 1: Validator Keys Setup).",[22,395,396,399],{},[35,397,398],{},"Failures:"," Invalid signatures → transaction\u002Fvalidation rejected. Revoked keys → all validations ignored. Unknown validators → not counted toward quorum.",[14,401],{},[237,403,405],{"id":404},"layer-3-consensus-validation","Layer 3: Consensus Validation",[22,407,408],{},[35,409,410],{},"Provides Byzantine fault tolerance through validator quorum.",[22,412,413,414,417],{},"A ledger requires validations from ",[46,415,416],{},"floor(trusted_validators × 0.8) + 1"," validators, tolerating up to 20% Byzantine failures.",[22,419,420,423],{},[35,421,422],{},"Process:"," Collect validations for the ledger hash, filter out validators on the Negative UNL (unreliable nodes), check if quorum is met, and verify all validators agree on the same hash (LedgerMaster.cpp:932-942).",[22,425,426,429,430,433],{},[35,427,428],{},"Byzantine detection:"," If a node builds a different ledger than the network majority, it enters ",[46,431,432],{},"wrongLedger"," mode (Consensus.h:1093), stops proposing, acquires the majority ledger from the network, and resumes consensus.",[22,435,436,438,439,441],{},[35,437,398],{}," Insufficient validations → ledger remains unvalidated. Hash disagreement → enter ",[46,440,432],{}," mode. Network partition → wait for reconnection. The 80% quorum ensures agreement even with 20% compromised validators.",[14,443],{},[237,445,447],{"id":446},"layer-4-chain-validation","Layer 4: Chain Validation",[22,449,450],{},[35,451,452],{},"Ensures temporal consistency through parent-child relationships.",[22,454,455,456,459,460,463],{},"Every ledger header references its predecessor (",[46,457,458],{},"parentHash",") and increments the sequence number (",[46,461,462],{},"seq = parent.seq + 1","). The system verifies: (1) parent exists, (2) parent hash matches, (3) sequence is continuous (LedgerMaster::checkAccept() line 922).",[22,465,466,469,470,473],{},[35,467,468],{},"Skip list:"," Maintains references at exponential distances (parent, grandparent, great-grandparent) for efficient historical lookups via ",[46,471,472],{},"Ledger::updateSkipList()",".",[22,475,476,478,479,482],{},[35,477,398],{}," Parent hash mismatch → reject ledger. Missing parent → fetch from network. Sequence gap → fetch missing ledgers. Chain fork → ",[46,480,481],{},"fixMismatch()"," repairs (LedgerMaster.cpp:841).",[22,484,485,488],{},[35,486,487],{},"Protection:"," Guarantees unbroken sequence from genesis; altering past ledgers breaks the chain and is immediately detectable.",[14,490],{},[237,492,494],{"id":493},"how-layers-work-together","How Layers Work Together",[22,496,497,498,501,502,505,506,509,510,513],{},"All four layers work sequentially during validation: ",[35,499,500],{},"Layer 1"," computes cryptographic hashes, ",[35,503,504],{},"Layer 2"," verifies signatures, ",[35,507,508],{},"Layer 3"," ensures validator agreement, and ",[35,511,512],{},"Layer 4"," confirms chain continuity. If ANY layer fails, the ledger is rejected. This defense-in-depth design means even if one layer is compromised (e.g., a stolen validator key), the other layers protect the system.",[17,515,517],{"id":516},"the-ledger-lifecycle","The Ledger Lifecycle",[22,519,520],{},[35,521,522],{},"Four Phases of Ledger Creation:",[39,524,527],{"className":525,"code":526,"language":44},[42],"┌──────────────┐     ┌──────────────┐     ┌──────────────┐     ┌──────────────┐\n│  COLLECTION  │────►│   ASSEMBLY   │────►│  CONSENSUS   │────►│  VALIDATION  │\n│              │     │              │     │              │     │              │\n│ Gather       │     │ Apply txns   │     │ Validators   │     │ Seal and     │\n│ pending      │     │ to previous  │     │ agree on     │     │ distribute   │\n│ transactions │     │ ledger state │     │ canonical    │     │ to network   │\n│              │     │              │     │ version      │     │              │\n└──────────────┘     └──────────────┘     └──────────────┘     └──────────────┘\n",[46,528,526],{"__ignoreMap":48},[22,530,531],{},[35,532,533],{},"Phase Details:",[535,536,537,553,569,585],"ol",{},[123,538,539,542],{},[35,540,541],{},"Transaction Collection",[120,543,544,547,550],{},[123,545,546],{},"Gather pending transactions from network",[123,548,549],{},"Apply transaction queue ordering rules",[123,551,552],{},"Filter invalid or expired transactions",[123,554,555,558],{},[35,556,557],{},"Ledger Assembly",[120,559,560,563,566],{},[123,561,562],{},"Apply transactions to previous ledger state",[123,564,565],{},"Calculate new account balances and states",[123,567,568],{},"Generate transaction results and metadata",[123,570,571,574],{},[35,572,573],{},"Consensus Process",[120,575,576,579,582],{},[123,577,578],{},"Validators propose their assembled ledger",[123,580,581],{},"Network reaches agreement on canonical version",[123,583,584],{},"Disputed elements resolved through voting",[123,586,587,590],{},[35,588,589],{},"Validation and Finalization",[120,591,592,595,598],{},[123,593,594],{},"Final ledger is cryptographically sealed",[123,596,597],{},"Distributed to all network participants",[123,599,600],{},"Becomes immutable part of the chain",[17,602,604],{"id":603},"state-transition-model","State Transition Model",[22,606,607],{},[35,608,609],{},"How State Changes Work:",[39,611,614],{"className":612,"code":613,"language":44},[42],"                Current State + Transactions = New State\n\n┌────────────────┐     ┌────────────────┐     ┌────────────────┐\n│   Ledger N-1   │  +  │  Transaction   │  =  │   Ledger N     │\n│                │     │     Set        │     │                │\n│ Alice: 100 XRP │     │ Alice→Bob:     │     │ Alice: 90 XRP  │\n│ Bob:   50 XRP  │     │ 10 XRP         │     │ Bob:   60 XRP  │\n└────────────────┘     └────────────────┘     └────────────────┘\n        │                                              │\n        │              Ledger N-1 remains              │\n        │                 UNCHANGED                    │\n        └──────────────────────────────────────────────┘\n",[46,615,613],{"__ignoreMap":48},[22,617,618],{},[35,619,620],{},"ACID Properties:",[55,622,623,631],{},[58,624,625],{},[61,626,627,629],{},[64,628,66],{},[64,630,69],{},[71,632,633,641,649,657],{},[61,634,635,638],{},[76,636,637],{},"Atomicity",[76,639,640],{},"All changes in a ledger succeed or fail together",[61,642,643,646],{},[76,644,645],{},"Consistency",[76,647,648],{},"State transitions follow strict rules",[61,650,651,654],{},[76,652,653],{},"Isolation",[76,655,656],{},"Concurrent operations don't interfere",[61,658,659,662],{},[76,660,661],{},"Durability",[76,663,664],{},"Committed changes are permanent",[17,666,668],{"id":667},"transaction-ordering-and-determinism","Transaction Ordering and Determinism",[22,670,671],{},[35,672,673],{},"Why Deterministic Ordering Matters:",[22,675,676],{},"All nodes must process transactions in identical order to reach the same final state.",[22,678,679],{},[35,680,681],{},"Ordering Principles:",[39,683,686],{"className":684,"code":685,"language":44},[42],"┌─────────────────────────────────────────────────────────────┐\n│              TRANSACTION ORDERING RULES                     │\n│                                                             │\n│   1. Canonical Sorting                                      │\n│      └── Transactions sorted by cryptographic hash          │\n│                                                             │\n│   2. Fee Priority                                           │\n│      └── Higher fee transactions processed first            │\n│                                                             │\n│   3. Account Sequence                                       │\n│      └── Same-account transactions in sequence order        │\n│                                                             │\n│   4. Temporal Constraints                                   │\n│      └── Respect time-based limitations                     │\n└─────────────────────────────────────────────────────────────┘\n",[46,687,685],{"__ignoreMap":48},[17,689,691],{"id":690},"multi-tier-storage-architecture","Multi-Tier Storage Architecture",[22,693,694],{},[35,695,696],{},"Storage Hierarchy:",[39,698,701],{"className":699,"code":700,"language":44},[42],"┌─────────────────────────────────────────────────────────────┐\n│                    STORAGE TIERS                            │\n│                                                             │\n│   ┌─────────────────────────────────────────────────────┐   │\n│   │  TIER 1: ACTIVE MEMORY (RAM)                        │   │\n│   │  • Current ledger state                             │   │\n│   │  • Recent transaction history                       │   │\n│   │  • Frequently accessed account data                 │   │\n│   └─────────────────────────────────────────────────────┘   │\n│                           │                                 │\n│                           ▼                                 │\n│   ┌─────────────────────────────────────────────────────┐   │\n│   │  TIER 2: FAST STORAGE (SSD)                         │   │\n│   │  • Recent ledger history (thousands of ledgers)     │   │\n│   │  • Transaction indices and metadata                 │   │\n│   │  • Account state snapshots                          │   │\n│   └─────────────────────────────────────────────────────┘   │\n│                           │                                 │\n│                           ▼                                 │\n│   ┌─────────────────────────────────────────────────────┐   │\n│   │  TIER 3: ARCHIVE STORAGE (HDD\u002FCloud)                │   │\n│   │  • Complete historical ledger data                  │   │\n│   │  • Long-term transaction records                    │   │\n│   │  • Compliance and audit trails                      │   │\n│   └─────────────────────────────────────────────────────┘   │\n└─────────────────────────────────────────────────────────────┘\n",[46,702,700],{"__ignoreMap":48},[17,704,706],{"id":705},"data-lifecycle-management","Data Lifecycle Management",[22,708,709],{},[35,710,711],{},"Retention Policies:",[55,713,714,730],{},[58,715,716],{},[61,717,718,721,724,727],{},[64,719,720],{},"Category",[64,722,723],{},"Retention",[64,725,726],{},"Access Speed",[64,728,729],{},"Contents",[71,731,732,746,760],{},[61,733,734,737,740,743],{},[76,735,736],{},"Hot Data",[76,738,739],{},"Current + ~256 ledgers",[76,741,742],{},"Immediate",[76,744,745],{},"Current state, recent txns",[61,747,748,751,754,757],{},[76,749,750],{},"Warm Data",[76,752,753],{},"~32,570 ledgers (~1 day)",[76,755,756],{},"Fast",[76,758,759],{},"Recent history",[61,761,762,765,768,771],{},[76,763,764],{},"Cold Data",[76,766,767],{},"Configurable",[76,769,770],{},"Slower",[76,772,773],{},"Full historical data",[17,775,777],{"id":776},"handling-state-conflicts","Handling State Conflicts",[22,779,780],{},[35,781,782],{},"Conflict Scenarios:",[39,784,787],{"className":785,"code":786,"language":44},[42],"┌─────────────────────────────────────────────────────────────┐\n│              CONFLICT RESOLUTION                            │\n│                                                             │\n│   Scenario 1: Insufficient Funds                            │\n│   ─────────────────────────────                             │\n│   Transaction requires more XRP than available              │\n│   → Later transactions in ledger may fail                   │\n│   → Account reserve requirements enforced                   │\n│                                                             │\n│   Scenario 2: Sequence Number Gaps                          │\n│   ────────────────────────────────                          │\n│   Transactions must be processed in order                   │\n│   → Missing sequence numbers cause rejection                │\n│   → Prevents replay attacks                                 │\n│                                                             │\n│   Scenario 3: Concurrent Modifications                      │\n│   ───────────────────────────────────                       │\n│   Multiple transactions affecting same objects              │\n│   → Deterministic ordering resolves conflicts               │\n│   → First transaction wins, others may fail                 │\n└─────────────────────────────────────────────────────────────┘\n",[46,788,786],{"__ignoreMap":48},[17,790,792],{"id":791},"ledger-vs-traditional-database","Ledger vs. Traditional Database",[22,794,795],{},[35,796,797],{},"Comparison:",[55,799,800,813],{},[58,801,802],{},[61,803,804,807,810],{},[64,805,806],{},"Aspect",[64,808,809],{},"Traditional Database",[64,811,812],{},"XRP Ledger",[71,814,815,826,837,848,859],{},[61,816,817,820,823],{},[76,818,819],{},"State Model",[76,821,822],{},"Modify in place",[76,824,825],{},"Immutable snapshots",[61,827,828,831,834],{},[76,829,830],{},"History",[76,832,833],{},"May be lost",[76,835,836],{},"Always preserved",[61,838,839,842,845],{},[76,840,841],{},"Verification",[76,843,844],{},"Trust the database",[76,846,847],{},"Cryptographic proof",[61,849,850,853,856],{},[76,851,852],{},"Recovery",[76,854,855],{},"Restore from backup",[76,857,858],{},"Rebuild from chain",[61,860,861,863,866],{},[76,862,645],{},[76,864,865],{},"Single authority",[76,867,868],{},"Distributed consensus",[17,870,872],{"id":871},"immutability-and-its-implications","Immutability and Its Implications",[22,874,875],{},[35,876,877],{},"Once a ledger is validated:",[39,879,882],{"className":880,"code":881,"language":44},[42],"┌─────────────────────────────────────────────────────────────┐\n│                IMMUTABILITY GUARANTEES                      │\n│                                                             │\n│   ✓ Data cannot be altered                                  │\n│   ✓ Hash provides unique fingerprint                        │\n│   ✓ Chain integrity is verifiable                           │\n│   ✓ Historical queries return consistent results            │\n│   ✓ Audit trail is complete and tamper-evident              │\n└─────────────────────────────────────────────────────────────┘\n",[46,883,881],{"__ignoreMap":48},[22,885,886],{},[35,887,888],{},"Code Enforcement:",[39,890,892],{"className":276,"code":891,"language":278,"meta":48,"style":48},"class Ledger {\n    bool mImmutable;\n\n    void setImmutable() {\n        mImmutable = true;\n        stateMap_.setImmutable();\n        txMap_.setImmutable();\n    }\n};\n",[46,893,894,906,914,920,932,947,958,968,974],{"__ignoreMap":48},[282,895,896,899,903],{"class":284,"line":285},[282,897,898],{"class":292},"class",[282,900,902],{"class":901},"s_sBn"," Ledger",[282,904,905],{"class":288}," {\n",[282,907,908,911],{"class":284,"line":306},[282,909,910],{"class":292},"    bool",[282,912,913],{"class":288}," mImmutable;\n",[282,915,916],{"class":284,"line":321},[282,917,919],{"emptyLinePlaceholder":918},true,"\n",[282,921,923,926,929],{"class":284,"line":922},4,[282,924,925],{"class":292},"    void",[282,927,928],{"class":299}," setImmutable",[282,930,931],{"class":288},"() {\n",[282,933,935,938,940,944],{"class":284,"line":934},5,[282,936,937],{"class":288},"        mImmutable ",[282,939,293],{"class":292},[282,941,943],{"class":942},"sCcAr"," true",[282,945,946],{"class":288},";\n",[282,948,950,953,956],{"class":284,"line":949},6,[282,951,952],{"class":288},"        stateMap_.",[282,954,955],{"class":299},"setImmutable",[282,957,303],{"class":288},[282,959,961,964,966],{"class":284,"line":960},7,[282,962,963],{"class":288},"        txMap_.",[282,965,955],{"class":299},[282,967,303],{"class":288},[282,969,971],{"class":284,"line":970},8,[282,972,973],{"class":288},"    }\n",[282,975,977],{"class":284,"line":976},9,[282,978,979],{"class":288},"};\n",[22,981,982,983,986],{},"Only immutable ledgers can be stored in a ",[46,984,985],{},"LedgerHolder"," and published to the network.",[17,988,990],{"id":989},"summary","Summary",[22,992,993],{},[35,994,995],{},"Key Architectural Concepts:",[535,997,998,1004,1010,1016,1022,1028,1034],{},[123,999,1000,1003],{},[35,1001,1002],{},"Sequential Chain",": Ledgers form a cryptographically-linked chain",[123,1005,1006,1009],{},[35,1007,1008],{},"Three-Tier Structure",": Header, transactions, and state tree",[123,1011,1012,1015],{},[35,1013,1014],{},"Merkle Trees",": Enable efficient verification and synchronization",[123,1017,1018,1021],{},[35,1019,1020],{},"State Transitions",": New ledgers created by applying transactions",[123,1023,1024,1027],{},[35,1025,1026],{},"Multi-Layer Integrity",": Hashing, signatures, consensus, and chain validation",[123,1029,1030,1033],{},[35,1031,1032],{},"Tiered Storage",": Hot, warm, and cold data with appropriate access speeds",[123,1035,1036,1039],{},[35,1037,1038],{},"Immutability",": Validated ledgers cannot be modified",[22,1041,1042],{},[35,1043,1044],{},"Design Benefits:",[55,1046,1047,1056],{},[58,1048,1049],{},[61,1050,1051,1053],{},[64,1052,176],{},[64,1054,1055],{},"How Achieved",[71,1057,1058,1066,1073,1080,1088],{},[61,1059,1060,1063],{},[76,1061,1062],{},"Auditability",[76,1064,1065],{},"Complete transaction history preserved",[61,1067,1068,1070],{},[76,1069,645],{},[76,1071,1072],{},"All nodes have identical view",[61,1074,1075,1077],{},[76,1076,852],{},[76,1078,1079],{},"Can rebuild state from any point",[61,1081,1082,1085],{},[76,1083,1084],{},"Trust",[76,1086,1087],{},"Cryptographic proof of all changes",[61,1089,1090,1093],{},[76,1091,1092],{},"Efficiency",[76,1094,1095],{},"Merkle trees minimize data transfer",[22,1097,1098],{},"In the next chapter, we'll dive into the specific data structures that implement this architecture.",[1100,1101,1102],"style",{},"html pre.shiki code .sMAXC, html code.shiki .sMAXC{--shiki-default:#F0F3F6}html pre.shiki code .sWyjQ, html code.shiki .sWyjQ{--shiki-default:#FF9492}html pre.shiki code .sj_SG, html code.shiki .sj_SG{--shiki-default:#DBB7FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .s_sBn, html code.shiki .s_sBn{--shiki-default:#FFB757}html pre.shiki code .sCcAr, html code.shiki .sCcAr{--shiki-default:#91CBFF}",{"title":48,"searchDepth":306,"depth":306,"links":1104},[1105,1106,1107,1108,1109,1116,1117,1118,1119,1120,1121,1122,1123,1124],{"id":19,"depth":306,"text":20},{"id":30,"depth":306,"text":31},{"id":137,"depth":306,"text":138},{"id":152,"depth":306,"text":153},{"id":223,"depth":306,"text":224,"children":1110},[1111,1112,1113,1114,1115],{"id":239,"depth":321,"text":240},{"id":357,"depth":321,"text":358},{"id":404,"depth":321,"text":405},{"id":446,"depth":321,"text":447},{"id":493,"depth":321,"text":494},{"id":516,"depth":306,"text":517},{"id":603,"depth":306,"text":604},{"id":667,"depth":306,"text":668},{"id":690,"depth":306,"text":691},{"id":705,"depth":306,"text":706},{"id":776,"depth":306,"text":777},{"id":791,"depth":306,"text":792},{"id":871,"depth":306,"text":872},{"id":989,"depth":306,"text":990},"Ledger Architecture for Consensus I: Node, Consensus, and Ledger Fundamentals, in the Core Dev Bootcamp: XRPL Commons docs.","md",{},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-architecture",{"title":5,"description":1125},"xrpl-trainings\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-architecture.md","docs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-architecture","G2BI-WnI5DuHRl_DKITbM28IquPAzkRvWkvwb3cpGjY",[],[1135,1177,1191,1211,1234,1626],{"title":1136,"path":1137,"children":1138,"description":1175,"pages":1176},"XRPL Basics","\u002Fdocs\u002Fxrpl-basics",[1139,1142,1145,1148,1151,1154,1157,1160,1163,1166,1169,1172],{"title":1140,"path":1141},"Getting Started","\u002Fdocs\u002Fxrpl-basics\u002Fgetting-started",{"title":1143,"path":1144},"Trustline","\u002Fdocs\u002Fxrpl-basics\u002Ftrustline",{"title":1146,"path":1147},"Payments","\u002Fdocs\u002Fxrpl-basics\u002Fpayments",{"title":1149,"path":1150},"Reading and subscribing to Transactions","\u002Fdocs\u002Fxrpl-basics\u002Freading-and-writing-memos",{"title":1152,"path":1153},"Writing and reading memos","\u002Fdocs\u002Fxrpl-basics\u002Fwriting-and-reading-memos",{"title":1155,"path":1156},"Non Fungible Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fnon-fungible-tokens",{"title":1158,"path":1159},"Multi-Purpose Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fmptoken",{"title":1161,"path":1162},"PathFinding","\u002Fdocs\u002Fxrpl-basics\u002Fpath-finding",{"title":1164,"path":1165},"Escrow","\u002Fdocs\u002Fxrpl-basics\u002Fescrow",{"title":1167,"path":1168},"Price Oracles","\u002Fdocs\u002Fxrpl-basics\u002Fprice-oracles",{"title":1170,"path":1171},"Tickets","\u002Fdocs\u002Fxrpl-basics\u002Ftickets",{"title":1173,"path":1174},"Multi-Signature","\u002Fdocs\u002Fxrpl-basics\u002Fmulti-signature","In this section we will cover some of the primary functionality of the XRPL ledger.",13,{"title":1178,"path":1179,"children":1180,"description":1190,"pages":922},"Token Issuance and Liquidity","\u002Fdocs\u002Ftoken-issuance-and-liquidity",[1181,1184,1187],{"title":1182,"path":1183},"Creating Accounts and Setup","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fcreating-accounts",{"title":1185,"path":1186},"Issuing Tokens","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fissuing-tokens",{"title":1188,"path":1189},"Creating an AMM Pool","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fcreating-an-amm-pool","This session will cover token issuance and providing liquidity for your tokens using the automatic market maker built in to the XRPL",{"title":1192,"path":1193,"children":1194,"description":1210,"pages":949},"Cyphered Chat on XRPL","\u002Fdocs\u002Fcyphered-chat-on-xrpl",[1195,1198,1201,1204,1207],{"title":1196,"path":1197},"Set up","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up",{"title":1199,"path":1200},"Set up Keys","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-keys",{"title":1202,"path":1203},"Cypher the message","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fcypher-the-message",{"title":1205,"path":1206},"Set up the memo & send the tx","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-the-memo-and-send-the-tx",{"title":1208,"path":1209},"Get the message and decypher it","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fget-the-message-and-decypher-it","Send encrypted messages over XRPL",{"title":1212,"path":1213,"children":1214,"description":1233,"pages":960},"EVM Sidechain","\u002Fdocs\u002Fevm-sidechain",[1215,1218,1221,1224,1227,1230],{"title":1216,"path":1217},"Connecting Metamask","\u002Fdocs\u002Fevm-sidechain\u002Fconnecting-metamask",{"title":1219,"path":1220},"Set up a Foundry project","\u002Fdocs\u002Fevm-sidechain\u002Fset-up-an-evm-project",{"title":1222,"path":1223},"Bridging Assets","\u002Fdocs\u002Fevm-sidechain\u002Fbridging-assets",{"title":1225,"path":1226},"Remix","\u002Fdocs\u002Fevm-sidechain\u002Fremix",{"title":1228,"path":1229},"Banking App","\u002Fdocs\u002Fevm-sidechain\u002Fbanking-app",{"title":1231,"path":1232},"Banking Contract Key Concepts","\u002Fdocs\u002Fevm-sidechain\u002Fbanking-contract-key-concepts","This workshop will walk you through deploying a smart contract and building a full app on the XRPL EVM sidechain",{"title":1235,"path":1236,"children":1237,"description":1624,"pages":1625},"Core Dev Bootcamp","\u002Fdocs\u002Fcore-dev-bootcamp",[1238,1258,1301,1351,1382,1439,1470,1486,1526,1558,1583,1599],{"title":1239,"path":1240,"children":1241},"Rippled I – Compilation, Configuration, and Launch","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01",[1242,1245,1248,1251],{"title":1243,"path":1244},"Environment & Build Toolchain","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fenvironment-build-toolchain",{"title":1246,"path":1247},"Compilation Process & Generating Binary","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fcompilation-process-generating-binary",{"title":1249,"path":1250},"Local Development & Testing","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Flocal-development-testing",{"title":1252,"path":1253,"children":1254},"Homeworks","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks",[1255],{"title":1256,"path":1257},"Homework 1: Rippled Node Setup and Mainnet Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks\u002Fhomework1",{"title":1259,"path":1260,"children":1261},"Rippled II: Deep Dive into the Protocol and Codebase","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02",[1262,1265,1268,1271,1274,1277,1280,1283,1286],{"title":1263,"path":1264},"Protocols: Communication and Interoperability","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fprotocols-communication-and-interoperability",{"title":1266,"path":1267},"Transactors: Transaction Processing Framework","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransactors-transaction-processing-framework",{"title":1269,"path":1270},"Application Layer: Central Orchestration and Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fapplication-layer-central-orchestration-and-coordination",{"title":1272,"path":1273},"Consensus Engine: XRP Ledger Consensus Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fconsensus-engine-xrp-ledger-consensus-protocol",{"title":1275,"path":1276},"Overlay Network: Peer-to-Peer Networking Layer","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Foverlay-network-peer-to-peer-networking-layer",{"title":1278,"path":1279},"Transaction Lifecycle: Complete Transaction Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransaction-lifecycle-complete-transaction-journey",{"title":1281,"path":1282},"Codebase Navigation: Efficiently Navigating the Rippled Source","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fcodebase-navigation-efficiently-navigating-the-rippled-source",{"title":1284,"path":1285},"Debugging Tools: Development and Debugging Techniques","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fdebugging-tools-development-and-debugging-techniques",{"title":1252,"path":1287,"children":1288},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks",[1289,1292,1295,1298],{"title":1290,"path":1291},"Homework 1: Transaction Flow Analysis","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework1",{"title":1293,"path":1294},"Homework 2: Transactor Code Exploration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework2",{"title":1296,"path":1297},"Homework 3: Logging and Debugging","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework3",{"title":1299,"path":1300},"Homework 4: Architecture Diagram","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework4",{"title":1302,"path":1303,"children":1304},"Anatomy of Rippled: SHAMap and NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03",[1305,1308,1311,1314,1317,1320,1323,1326,1329,1332,1335,1338],{"title":1306,"path":1307},"Foundational Concepts","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstate-management-challenges",{"title":1309,"path":1310},"Trees, Hashing, and Cryptographic Commitments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Ftree-fundamentals",{"title":1312,"path":1313},"SHAMap Architecture and Node Hierarchy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-architecture",{"title":1315,"path":1316},"Navigation, Hashing, and Merkle Properties","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-navigation-hashing",{"title":1318,"path":1319},"Traversal, Iteration, and Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-synchronization",{"title":1321,"path":1322},"The NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fnodestore-architecture",{"title":1324,"path":1325},"Storage Abstraction and Backend Implementations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstorage-backends",{"title":1327,"path":1328},"Cache Layer and Performance Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fcache-layer",{"title":1330,"path":1331},"Database Operations and Lifecycle Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fdatabase-operations",{"title":1333,"path":1334},"Cryptographic Proofs and State Reconstruction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fproofs-state-reconstruction",{"title":1336,"path":1337},"Resource Management and Performance Characteristics","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fresource-management",{"title":1339,"path":1340,"children":1341},"Appendices","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices",[1342,1345,1348],{"title":1343,"path":1344},"Appendix : Codebase Navigation Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fnavigation",{"title":1346,"path":1347},"Appendix : Configuration Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fconfiguration",{"title":1349,"path":1350},"Appendix : Debugging and Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fdebugging",{"title":1352,"path":1353,"children":1354},"Transactors: Understanding the Lifecycle of a Transaction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis",[1355,1358,1361,1364,1367,1370,1373,1376,1379],{"title":1356,"path":1357},"Transactor Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ftransactor-architecture",{"title":1359,"path":1360},"Processing Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fprocessing-pipeline",{"title":1362,"path":1363},"Fee and Sequence Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ffee-sequence-handling",{"title":1365,"path":1366},"State Modification Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fstate-modification",{"title":1368,"path":1369},"TER Result Codes","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fter-result-codes",{"title":1371,"path":1372},"Case Study: CheckCreate Transactor","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fcase-study-checkcreate",{"title":1374,"path":1375},"Homework 1: Trace a Transaction Through All Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework1",{"title":1377,"path":1378},"Homework 2: Implement a Custom Validation Check","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework2",{"title":1380,"path":1381},"Homework 3: Analyze TER Code Paths","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework3",{"title":1383,"path":1384,"children":1385},"Cryptography I: Blockchain Security and Cryptographic Foundations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04",[1386,1389,1392,1395,1398,1401,1404,1407,1410,1413,1416,1419,1422,1433],{"title":1387,"path":1388},"The Four Pillars of Security","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-four-pillars-of-security",{"title":1390,"path":1391},"The Lifecycle of a Cryptographic Key","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-lifecycle-of-a-cryptographic-key",{"title":1393,"path":1394},"Random Number Generation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation",{"title":1396,"path":1397},"Random Number Generation & Entropy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation-and-entropy",{"title":1399,"path":1400},"Key Generation Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fkey-generation-pipeline",{"title":1402,"path":1403},"Transaction Signing & Verification","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Ftransaction-signing-and-verification",{"title":1405,"path":1406},"Hash Functions in XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhash-functions-in-xrpl",{"title":1408,"path":1409},"Base58Check Encoding","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fbase58check-encoding",{"title":1411,"path":1412},"Peer Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fpeer-handshake-protocol",{"title":1414,"path":1415},"Secure Memory Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fsecure-memory-handling",{"title":1417,"path":1418},"Common Cryptographic Pitfalls","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fcommon-cryptographic-pitfalls",{"title":1420,"path":1421},"Performance & Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fperformance-and-optimization",{"title":1339,"path":1423,"children":1424},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices",[1425,1427,1430],{"title":1343,"path":1426},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fcodebase-navigation-guide",{"title":1428,"path":1429},"Appendix : Debugging & Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fdebugging-and-development-tools",{"title":1431,"path":1432},"Appendix : RFCs and Standards Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Frfcs-and-standards-reference",{"title":1252,"path":1434,"children":1435},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks",[1436],{"title":1437,"path":1438},"Homework 1: Signature Verification Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks\u002Fhomework1",{"title":1440,"path":1441,"children":1442},"Cryptography II: Protocol Extensions and Quantum Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05",[1443,1446,1449,1452,1455,1458,1464],{"title":1444,"path":1445},"Overlay Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Foverlay-architecture",{"title":1447,"path":1448},"Connection Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fconnection-lifecycle",{"title":1450,"path":1451},"Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhandshake-protocol",{"title":1453,"path":1454},"Message Relaying","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fmessage-relaying",{"title":1456,"path":1457},"Peer Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fpeer-discovery",{"title":1339,"path":1459,"children":1460},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices",[1461],{"title":1462,"path":1463},"XLS-??d Quantum-Resistant Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices\u002Fxls-d",{"title":1252,"path":1465,"children":1466},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks",[1467],{"title":1468,"path":1469},"Homework 1: Building Quantum-Resistant Signatures for XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks\u002Fhomework1",{"title":1471,"path":1472,"children":1473},"Communication I: Understanding XRPL(d) RPC Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06",[1474,1477,1480,1483],{"title":1475,"path":1476},"RPC Handler Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frpc-handler-architecture",{"title":1478,"path":1479},"Request and Response Flow","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frequest-response-flow",{"title":1481,"path":1482},"Authentication and Authorization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Fauthentication-authorization",{"title":1484,"path":1485},"Error Handling and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Ferror-handling-validation",{"title":1487,"path":1488,"children":1489},"Communication II: Building and Integrating Custom RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07",[1490,1493,1496,1499,1502,1514],{"title":1491,"path":1492},"Implementing Custom Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fimplementing-custom-handlers",{"title":1494,"path":1495},"Testing RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Ftesting-rpc-handlers",{"title":1497,"path":1498},"Advanced Features","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fadvanced-features",{"title":1500,"path":1501},"Best Practices and Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fbest-practices-patterns",{"title":1339,"path":1503,"children":1504},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices",[1505,1508,1511],{"title":1506,"path":1507},"Appendix: Handler Examples","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhandler-examples",{"title":1509,"path":1510},"Appendix: Helper Functions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhelper-functions",{"title":1512,"path":1513},"Appendix: Debugging Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fdebugging-guide",{"title":1252,"path":1515,"children":1516},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks",[1517,1520,1523],{"title":1518,"path":1519},"Homework 1: Building a Custom RPC Handler","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhomework1",{"title":1521,"path":1522},"Hints","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhints",{"title":1524,"path":1525},"Snippets","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fsnippets",{"title":1527,"path":1528,"children":1529},"Consensus I: Node, Consensus, and Ledger Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08",[1530,1533,1536,1539,1540,1543,1546,1549],{"title":1531,"path":1532},"Consensus Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-fundamentals",{"title":1534,"path":1535},"Consensus Modes and Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-modes-phases",{"title":1537,"path":1538},"Consensus Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-lifecycle",{"title":5,"path":1128},{"title":1541,"path":1542},"Ledger Data Structures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-data-structures",{"title":1544,"path":1545},"Ledger Acquisition and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-acquisition-validation",{"title":1547,"path":1548},"RPC and Peer Transaction Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Frpc-peer-tx-lifecycle",{"title":1252,"path":1550,"children":1551},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks",[1552,1555],{"title":1553,"path":1554},"Homework 1: Transaction Consensus Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework1",{"title":1556,"path":1557},"Homework 2: Consensus Dispute Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework2",{"title":1559,"path":1560,"children":1561},"Consensus II: UNLs and Ledger Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09",[1562,1565,1568,1571,1574,1577,1580],{"title":1563,"path":1564},"Transaction Ordering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Ftx-ordering",{"title":1566,"path":1567},"Consensus Validations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-validations",{"title":1569,"path":1570},"Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Famendments",{"title":1572,"path":1573},"UNL Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Funl",{"title":1575,"path":1576},"Consensus Peers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-peers",{"title":1578,"path":1579},"Homework 1: Validator Keys Setup and Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework1",{"title":1581,"path":1582},"Homework 2: Negative UNL Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework2",{"title":1584,"path":1585,"children":1586},"AMM: Automated Market Maker","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis",[1587,1590,1593,1596],{"title":1588,"path":1589},"AMM Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-architecture",{"title":1591,"path":1592},"AMM Transactions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-transactions",{"title":1594,"path":1595},"AMM Logic","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-logic",{"title":1597,"path":1598},"Pathfinding Integration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-pathfinding",{"title":1600,"path":1601,"children":1602},"Building Amendments: Lifecycle and Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10",[1603,1606,1609,1612,1615,1618,1621],{"title":1604,"path":1605},"Amendment Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-architecture",{"title":1607,"path":1608},"Amendment Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-lifecycle",{"title":1610,"path":1611},"Voting and Activation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fvoting-and-activation",{"title":1613,"path":1614},"Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fprotocol-impact",{"title":1616,"path":1617},"Network Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fnetwork-coordination",{"title":1619,"path":1620},"Monitoring and Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-monitoring",{"title":1622,"path":1623},"Homework 1: Amendment Status Analysis","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fhomework\u002Fhomework1","The XRPL Core Dev Bootcamp – Online Edition is a program designed for intermediate to advanced C++ developers looking to deepen their skills in the core of the XRP Ledger.",126,{"title":1627,"path":1628,"children":1629,"description":1636,"pages":321},"Tools","\u002Fdocs\u002Ftools",[1630,1633],{"title":1631,"path":1632},"Xaman Setup","\u002Fdocs\u002Ftools\u002Fxaman-setup",{"title":1634,"path":1635},"Metamask Setup","\u002Fdocs\u002Ftools\u002Fmetamask-setup","In this section you will find instructions on how to setup wallets and tools",1796220774659]