[{"data":1,"prerenderedAt":1136},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstate-management-challenges":3,"docs-kids-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstate-management-challenges":628,"docs-tracks":629},{"id":4,"title":5,"body":6,"description":619,"extension":620,"meta":621,"navigation":622,"path":623,"seo":624,"source":625,"stem":626,"__hash__":627},"docs\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstate-management-challenges.md","Foundational Concepts",{"type":7,"value":8,"toc":607},"minimark",[9,14,17,22,26,45,53,56,60,63,68,79,84,101,106,109,115,120,123,137,141,148,168,171,204,207,210,215,218,233,237,244,247,253,259,267,272,275,292,295,299,306,309,323,333,339,342,353,357,360,366,369,386,389,403,408,411,437,440,466,470,475,489,494,508,513,516,522,525,542,546,549,581,584,588,591,603],[10,11,13],"h1",{"id":12},"blockchain-state-management-challenges","Blockchain State Management Challenges",[15,16],"hr",{},[18,19,21],"h2",{"id":20},"introduction","Introduction",[23,24,25],"p",{},"Imagine you're building a bank's ledger. Every day, thousands of transactions modify account balances. You need to:",[27,28,29,33,36,39,42],"ol",{},[30,31,32],"li",{},"Store the current state (who owns what)",[30,34,35],{},"Retrieve state quickly (show me Alice's balance)",[30,37,38],{},"Detect changes efficiently (what changed since yesterday?)",[30,40,41],{},"Synchronize across branches (all offices must agree on state)",[30,43,44],{},"Recover from crashes (no data loss)",[23,46,47,48,52],{},"A traditional database handles all this. But blockchain adds a critical constraint: ",[49,50,51],"strong",{},"no trusted central authority",". Every node must independently verify that state is correct, and thousands of nodes must reach consensus on a single shared state.",[23,54,55],{},"This chapter explores why naive approaches fail and what makes XRPL's SHAMap and NodeStore necessary.",[18,57,59],{"id":58},"the-naive-approach-what-fails","The Naive Approach: What Fails",[23,61,62],{},"Let's consider what happens if you store blockchain state like a simple key-value database:",[23,64,65],{},[49,66,67],{},"State Storage:",[69,70,75],"pre",{"className":71,"code":73,"language":74},[72],"language-text","accounts = {\n  \"rN7n7otQDd6FczFgLdlqtyMVrn3LNU8B4C\": { balance: 100 XRP, ... },\n  \"rLHzPsX6oXkzU2qL12kHCH8G8cnZv1rBJh\": { balance: 50 XRP, ... },\n  \"r3kmLJN5D28dHuH8vZvVrDjiV5sNSiUQXD\": { balance: 75 XRP, ... },\n  ...\n}\n","text",[76,77,73],"code",{"__ignoreMap":78},"",[23,80,81],{},[49,82,83],{},"Transaction Processing:",[27,85,86,89,92,95,98],{},[30,87,88],{},"Validator receives transaction: send 10 XRP from Alice to Bob",[30,90,91],{},"Validator checks Alice's balance (100 XRP available)",[30,93,94],{},"Validator updates Alice's balance to 90 XRP",[30,96,97],{},"Validator updates Bob's balance to 60 XRP",[30,99,100],{},"State is now modified",[23,102,103],{},[49,104,105],{},"The Problem: No Verification",[23,107,108],{},"Without a cryptographic commitment to the state, any node can claim any state is correct:",[69,110,113],{"className":111,"code":112,"language":74},[72],"Alice broadcasts: \"My balance is 1,000,000 XRP\"\nBob broadcasts: \"My balance is 1,000,000 XRP\"\nCharlie broadcasts: \"Everyone's balance is 0 XRP\"\n\nWhich is correct? Without a central authority, there's no way to know.\n",[76,114,112],{"__ignoreMap":78},[23,116,117],{},[49,118,119],{},"The Problem: Expensive Synchronization",[23,121,122],{},"A new node joining the network needs to learn the current state. With naive storage:",[27,124,125,128,131,134],{},[30,126,127],{},"New node requests: \"Send me all account state\"",[30,129,130],{},"Network sends millions of accounts, gigabytes of data",[30,132,133],{},"New node has no way to verify this data is correct",[30,135,136],{},"Process takes hours or days",[18,138,140],{"id":139},"the-requirement-cryptographic-commitment","The Requirement: Cryptographic Commitment",[23,142,143,144,147],{},"Blockchain state needs a ",[49,145,146],{},"cryptographic commitment",": a single value that guarantees:",[27,149,150,156,162],{},[30,151,152,155],{},[49,153,154],{},"Authenticity",": The value commits to the actual state (not a forgery)",[30,157,158,161],{},[49,159,160],{},"Completeness",": All accounts are included (not cherry-picked)",[30,163,164,167],{},[49,165,166],{},"Uniqueness",": Only one commitment can represent a given state",[23,169,170],{},"This is what cryptographic hashes provide:",[69,172,176],{"className":173,"code":174,"language":175,"meta":78,"style":78},"language-cpp shiki shiki-themes github-dark-high-contrast","uint256 stateHash = hashFunction(serializeAllState());\n","cpp",[76,177,178],{"__ignoreMap":78},[179,180,183,187,191,195,198,201],"span",{"class":181,"line":182},"line",1,[179,184,186],{"class":185},"sMAXC","uint256 stateHash ",[179,188,190],{"class":189},"sWyjQ","=",[179,192,194],{"class":193},"sj_SG"," hashFunction",[179,196,197],{"class":185},"(",[179,199,200],{"class":193},"serializeAllState",[179,202,203],{"class":185},"());\n",[23,205,206],{},"Now a validator can broadcast: \"The current state root is 0xAB12EF...\"",[23,208,209],{},"Other nodes can verify this is correct by computing the same hash. If someone tries to cheat with different state, the hash will be different.",[23,211,212],{},[49,213,214],{},"The Trade-off Problem:",[23,216,217],{},"But hashing all state from scratch has a terrible cost:",[219,220,221,224,227,230],"ul",{},[30,222,223],{},"Every account lookup requires computing the hash of all million accounts",[30,225,226],{},"Synchronizing with a peer requires hashing millions of accounts multiple times",[30,228,229],{},"A single account change requires rehashing everything",[30,231,232],{},"Performance becomes prohibitive",[18,234,236],{"id":235},"the-shamap-solution-merkle-trees","The SHAMap Solution: Merkle Trees",[23,238,239,240,243],{},"XRPL solves the cryptographic commitment problem with a ",[49,241,242],{},"Merkle tree",":",[23,245,246],{},"Instead of hashing all accounts together, organize them in a tree structure:",[69,248,251],{"className":249,"code":250,"language":74},[72],"                      Root (hash of all state)\n                     \u002F                    \\\n              Hash(Accounts 0-500k)    Hash(Accounts 500k-1M)\n              \u002F            \\            \u002F            \\\n        Hash(0-250k)  Hash(250-500k)  ...\n        \u002F        \\      \u002F        \\\n    Hash(0-125k) ...\n    \u002F        \\\n  Hash(Account0) Hash(Account1)\n        |              |\n     Account0      Account1\n",[76,252,250],{"__ignoreMap":78},[23,254,255,258],{},[49,256,257],{},"Key Insight:"," Each node's hash depends only on its descendants, not the entire tree:",[219,260,261,264],{},[30,262,263],{},"Change Account0 → rehash 4 nodes (path from leaf to root)",[30,265,266],{},"Not millions of nodes",[23,268,269],{},[49,270,271],{},"Synchronization Benefit:",[23,273,274],{},"When syncing with a peer:",[27,276,277,280,283,286,289],{},[30,278,279],{},"Compare root hashes",[30,281,282],{},"If they match: entire state is identical (no need to compare anything else)",[30,284,285],{},"If they differ: identify which subtree diverges",[30,287,288],{},"Only synchronize the different parts",[30,290,291],{},"Recursive process: compare child hashes, descend into differences",[23,293,294],{},"A tree of 1 million accounts becomes synchronizable in a few thousand comparisons instead of millions.",[18,296,298],{"id":297},"the-patricia-trie-optimization","The Patricia Trie Optimization",[23,300,301,302,305],{},"A simple binary tree has a problem: ",[49,303,304],{},"unbalanced growth",". If accounts are added sequentially, the tree becomes a linked list, losing logarithmic properties.",[23,307,308],{},"Patricia tries (Radix N tries) solve this:",[219,310,311,314,317,320],{},[30,312,313],{},"Use the account identifier (a 256-bit hash) as a navigation guide",[30,315,316],{},"Each level of the tree represents 4 bits (one hex digit) of the account hash",[30,318,319],{},"This produces a balanced, predictable tree structure",[30,321,322],{},"Tree depth is always ~64 levels (256 bits \u002F 4 bits per level)",[23,324,325,328,329,332],{},[49,326,327],{},"XRPL's Choice:"," Patricia trie with ",[49,330,331],{},"radix 16"," (hex digits):",[69,334,337],{"className":335,"code":336,"language":74},[72],"Level 0 (root): Evaluate first hex digit of account hash (0-F)\n  → Child 0, 1, 2, ... or F\n\nLevel 1: Evaluate second hex digit\n  → One of 16 children\n\n... and so on\n",[76,338,336],{"__ignoreMap":78},[23,340,341],{},"This gives a balanced tree with:",[219,343,344,347,350],{},[30,345,346],{},"Depth: 64 levels (one per hex digit of 256-bit key)",[30,348,349],{},"Branching: Up to 16 children per node",[30,351,352],{},"Perfect for accounts identified by 160-bit hashes",[18,354,356],{"id":355},"nodestore-from-memory-to-disk","NodeStore: From Memory to Disk",[23,358,359],{},"Now we have SHAMap: an elegant in-memory data structure for cryptographically-committed state.",[23,361,362,365],{},[49,363,364],{},"But there's a problem:"," When the validator crashes, all in-memory state vanishes.",[23,367,368],{},"The next startup:",[27,370,371,374,377,380],{},[30,372,373],{},"Reads the ledger blockchain from disk",[30,375,376],{},"Replays every transaction from genesis",[30,378,379],{},"Reconstructs the current state",[30,381,382,383],{},"For mainnet: ",[49,384,385],{},"this takes weeks",[23,387,388],{},"NodeStore solves this by making SHAMap persistent:",[219,390,391,394,397,400],{},[30,392,393],{},"Every node in the SHAMap is serialized to storage",[30,395,396],{},"Identified by its cryptographic hash",[30,398,399],{},"Retrievable by any peer that needs it",[30,401,402],{},"On startup, state is reconstructed from disk in minutes, not weeks",[23,404,405],{},[49,406,407],{},"The Storage Challenge:",[23,409,410],{},"But persistence introduces new challenges:",[27,412,413,419,425,431],{},[30,414,415,418],{},[49,416,417],{},"Database Size",": A mature XRPL ledger creates millions of nodes. Storage can be terabytes.",[30,420,421,424],{},[49,422,423],{},"Lookup Performance",": Database queries are 1000x slower than memory access",[30,426,427,430],{},[49,428,429],{},"Write Efficiency",": Persisting every state change is I\u002FO intensive",[30,432,433,436],{},[49,434,435],{},"Backend Flexibility",": Different operators need different storage engines (RocksDB, NuDB, SQLite)",[23,438,439],{},"NodeStore addresses each:",[219,441,442,448,454,460],{},[30,443,444,447],{},[49,445,446],{},"Caching",": Keep hot data in memory, query disk only when needed",[30,449,450,453],{},[49,451,452],{},"Abstraction",": Support multiple database backends with identical logic",[30,455,456,459],{},[49,457,458],{},"Batch Operations",": Write multiple nodes atomically",[30,461,462,465],{},[49,463,464],{},"Online Deletion",": Rotate databases to manage disk space without downtime",[18,467,469],{"id":468},"the-complete-picture","The Complete Picture",[23,471,472],{},[49,473,474],{},"SHAMap's Role:",[219,476,477,480,483,486],{},[30,478,479],{},"Maintains blockchain state in a Merkle tree structure",[30,481,482],{},"Provides cryptographic commitment through root hash",[30,484,485],{},"Enables efficient synchronization through hash comparison",[30,487,488],{},"Supports proof generation for trustless verification",[23,490,491],{},[49,492,493],{},"NodeStore's Role:",[219,495,496,499,502,505],{},[30,497,498],{},"Persists SHAMap nodes to durable storage",[30,500,501],{},"Provides on-demand node retrieval",[30,503,504],{},"Implements intelligent caching to minimize I\u002FO",[30,506,507],{},"Abstracts database implementation details",[23,509,510],{},[49,511,512],{},"Together:",[23,514,515],{},"They solve the complete blockchain state management problem:",[69,517,520],{"className":518,"code":519,"language":74},[72],"Application → SHAMap (in-memory, verified)\n           ↓\n           NodeStore (persisted, indexed by hash)\n           ↓\n           Database (RocksDB, NuDB, etc.)\n           ↓\n           Disk\n",[76,521,519],{"__ignoreMap":78},[23,523,524],{},"A validator can:",[219,526,527,530,533,536,539],{},[30,528,529],{},"Process transactions at microsecond latencies (SHAMap is in-memory)",[30,531,532],{},"Know state is persisted safely (NodeStore writes atomically)",[30,534,535],{},"Sync new peers in minutes (hash-based comparison finds differences)",[30,537,538],{},"Recover from crashes without replaying genesis (state reconstructed from disk)",[30,540,541],{},"Switch database backends without changing application logic",[18,543,545],{"id":544},"why-this-matters","Why This Matters",[23,547,548],{},"Understanding SHAMap and NodeStore is essential because:",[27,550,551,557,563,569,575],{},[30,552,553,556],{},[49,554,555],{},"Consensus Correctness",": The root hash is what validators vote on. You cannot understand consensus without understanding how that hash is computed.",[30,558,559,562],{},[49,560,561],{},"Synchronization Performance",": Why can a new node catch up to the network in minutes? Because hash-based tree comparison eliminates redundant data transfer.",[30,564,565,568],{},[49,566,567],{},"API Performance",": Why do account lookups return in milliseconds? Because careful caching keeps hot nodes in memory.",[30,570,571,574],{},[49,572,573],{},"Operational Reliability",": Why can validators safely delete old data? Because the rotating database enables online deletion without service interruption.",[30,576,577,580],{},[49,578,579],{},"Scalability Limits",": Why does XRPL have practical limits on transaction volume? Because synchronizing and storing the ever-growing tree hits physical limits of disk I\u002FO and memory.",[23,582,583],{},"These aren't just implementation details—they're fundamental to what XRPL is and how it works.",[18,585,587],{"id":586},"looking-ahead","Looking Ahead",[23,589,590],{},"In the next chapter, we'll explore the mathematical foundations: Merkle trees, Patricia tries, and cryptographic hashing. Then we'll dive deep into the SHAMap implementation, followed by the NodeStore persistence layer.",[23,592,593,594,598,599,602],{},"By the end of this module, you'll understand not just ",[595,596,597],"em",{},"what"," SHAMap and NodeStore do, but ",[595,600,601],{},"why"," they're architected the way they are, and how to reason about their correctness, performance, and limitations.",[604,605,606],"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);}",{"title":78,"searchDepth":608,"depth":608,"links":609},2,[610,611,612,613,614,615,616,617,618],{"id":20,"depth":608,"text":21},{"id":58,"depth":608,"text":59},{"id":139,"depth":608,"text":140},{"id":235,"depth":608,"text":236},{"id":297,"depth":608,"text":298},{"id":355,"depth":608,"text":356},{"id":468,"depth":608,"text":469},{"id":544,"depth":608,"text":545},{"id":586,"depth":608,"text":587},"Foundational Concepts for Anatomy of Rippled: SHAMap and NodeStore, in the Core Dev Bootcamp: XRPL Commons docs.","md",{},true,"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstate-management-challenges",{"title":5,"description":619},"xrpl-trainings\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstate-management-challenges.md","docs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstate-management-challenges","fO6KTlxbuTCMPvl9-AT85wDli65VzS2V0zUuv7LVDr4",[],[630,672,687,708,732,1124],{"title":631,"path":632,"children":633,"description":670,"pages":671},"XRPL Basics","\u002Fdocs\u002Fxrpl-basics",[634,637,640,643,646,649,652,655,658,661,664,667],{"title":635,"path":636},"Getting Started","\u002Fdocs\u002Fxrpl-basics\u002Fgetting-started",{"title":638,"path":639},"Trustline","\u002Fdocs\u002Fxrpl-basics\u002Ftrustline",{"title":641,"path":642},"Payments","\u002Fdocs\u002Fxrpl-basics\u002Fpayments",{"title":644,"path":645},"Reading and subscribing to Transactions","\u002Fdocs\u002Fxrpl-basics\u002Freading-and-writing-memos",{"title":647,"path":648},"Writing and reading memos","\u002Fdocs\u002Fxrpl-basics\u002Fwriting-and-reading-memos",{"title":650,"path":651},"Non Fungible Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fnon-fungible-tokens",{"title":653,"path":654},"Multi-Purpose Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fmptoken",{"title":656,"path":657},"PathFinding","\u002Fdocs\u002Fxrpl-basics\u002Fpath-finding",{"title":659,"path":660},"Escrow","\u002Fdocs\u002Fxrpl-basics\u002Fescrow",{"title":662,"path":663},"Price Oracles","\u002Fdocs\u002Fxrpl-basics\u002Fprice-oracles",{"title":665,"path":666},"Tickets","\u002Fdocs\u002Fxrpl-basics\u002Ftickets",{"title":668,"path":669},"Multi-Signature","\u002Fdocs\u002Fxrpl-basics\u002Fmulti-signature","In this section we will cover some of the primary functionality of the XRPL ledger.",13,{"title":673,"path":674,"children":675,"description":685,"pages":686},"Token Issuance and Liquidity","\u002Fdocs\u002Ftoken-issuance-and-liquidity",[676,679,682],{"title":677,"path":678},"Creating Accounts and Setup","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fcreating-accounts",{"title":680,"path":681},"Issuing Tokens","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fissuing-tokens",{"title":683,"path":684},"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",4,{"title":688,"path":689,"children":690,"description":706,"pages":707},"Cyphered Chat on XRPL","\u002Fdocs\u002Fcyphered-chat-on-xrpl",[691,694,697,700,703],{"title":692,"path":693},"Set up","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up",{"title":695,"path":696},"Set up Keys","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-keys",{"title":698,"path":699},"Cypher the message","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fcypher-the-message",{"title":701,"path":702},"Set up the memo & send the tx","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-the-memo-and-send-the-tx",{"title":704,"path":705},"Get the message and decypher it","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fget-the-message-and-decypher-it","Send encrypted messages over XRPL",6,{"title":709,"path":710,"children":711,"description":730,"pages":731},"EVM Sidechain","\u002Fdocs\u002Fevm-sidechain",[712,715,718,721,724,727],{"title":713,"path":714},"Connecting Metamask","\u002Fdocs\u002Fevm-sidechain\u002Fconnecting-metamask",{"title":716,"path":717},"Set up a Foundry project","\u002Fdocs\u002Fevm-sidechain\u002Fset-up-an-evm-project",{"title":719,"path":720},"Bridging Assets","\u002Fdocs\u002Fevm-sidechain\u002Fbridging-assets",{"title":722,"path":723},"Remix","\u002Fdocs\u002Fevm-sidechain\u002Fremix",{"title":725,"path":726},"Banking App","\u002Fdocs\u002Fevm-sidechain\u002Fbanking-app",{"title":728,"path":729},"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",7,{"title":733,"path":734,"children":735,"description":1122,"pages":1123},"Core Dev Bootcamp","\u002Fdocs\u002Fcore-dev-bootcamp",[736,756,799,847,878,935,966,982,1022,1056,1081,1097],{"title":737,"path":738,"children":739},"Rippled I – Compilation, Configuration, and Launch","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01",[740,743,746,749],{"title":741,"path":742},"Environment & Build Toolchain","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fenvironment-build-toolchain",{"title":744,"path":745},"Compilation Process & Generating Binary","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fcompilation-process-generating-binary",{"title":747,"path":748},"Local Development & Testing","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Flocal-development-testing",{"title":750,"path":751,"children":752},"Homeworks","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks",[753],{"title":754,"path":755},"Homework 1: Rippled Node Setup and Mainnet Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks\u002Fhomework1",{"title":757,"path":758,"children":759},"Rippled II: Deep Dive into the Protocol and Codebase","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02",[760,763,766,769,772,775,778,781,784],{"title":761,"path":762},"Protocols: Communication and Interoperability","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fprotocols-communication-and-interoperability",{"title":764,"path":765},"Transactors: Transaction Processing Framework","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransactors-transaction-processing-framework",{"title":767,"path":768},"Application Layer: Central Orchestration and Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fapplication-layer-central-orchestration-and-coordination",{"title":770,"path":771},"Consensus Engine: XRP Ledger Consensus Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fconsensus-engine-xrp-ledger-consensus-protocol",{"title":773,"path":774},"Overlay Network: Peer-to-Peer Networking Layer","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Foverlay-network-peer-to-peer-networking-layer",{"title":776,"path":777},"Transaction Lifecycle: Complete Transaction Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransaction-lifecycle-complete-transaction-journey",{"title":779,"path":780},"Codebase Navigation: Efficiently Navigating the Rippled Source","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fcodebase-navigation-efficiently-navigating-the-rippled-source",{"title":782,"path":783},"Debugging Tools: Development and Debugging Techniques","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fdebugging-tools-development-and-debugging-techniques",{"title":750,"path":785,"children":786},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks",[787,790,793,796],{"title":788,"path":789},"Homework 1: Transaction Flow Analysis","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework1",{"title":791,"path":792},"Homework 2: Transactor Code Exploration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework2",{"title":794,"path":795},"Homework 3: Logging and Debugging","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework3",{"title":797,"path":798},"Homework 4: Architecture Diagram","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework4",{"title":800,"path":801,"children":802},"Anatomy of Rippled: SHAMap and NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03",[803,804,807,810,813,816,819,822,825,828,831,834],{"title":5,"path":623},{"title":805,"path":806},"Trees, Hashing, and Cryptographic Commitments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Ftree-fundamentals",{"title":808,"path":809},"SHAMap Architecture and Node Hierarchy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-architecture",{"title":811,"path":812},"Navigation, Hashing, and Merkle Properties","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-navigation-hashing",{"title":814,"path":815},"Traversal, Iteration, and Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-synchronization",{"title":817,"path":818},"The NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fnodestore-architecture",{"title":820,"path":821},"Storage Abstraction and Backend Implementations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstorage-backends",{"title":823,"path":824},"Cache Layer and Performance Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fcache-layer",{"title":826,"path":827},"Database Operations and Lifecycle Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fdatabase-operations",{"title":829,"path":830},"Cryptographic Proofs and State Reconstruction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fproofs-state-reconstruction",{"title":832,"path":833},"Resource Management and Performance Characteristics","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fresource-management",{"title":835,"path":836,"children":837},"Appendices","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices",[838,841,844],{"title":839,"path":840},"Appendix : Codebase Navigation Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fnavigation",{"title":842,"path":843},"Appendix : Configuration Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fconfiguration",{"title":845,"path":846},"Appendix : Debugging and Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fdebugging",{"title":848,"path":849,"children":850},"Transactors: Understanding the Lifecycle of a Transaction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis",[851,854,857,860,863,866,869,872,875],{"title":852,"path":853},"Transactor Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ftransactor-architecture",{"title":855,"path":856},"Processing Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fprocessing-pipeline",{"title":858,"path":859},"Fee and Sequence Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ffee-sequence-handling",{"title":861,"path":862},"State Modification Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fstate-modification",{"title":864,"path":865},"TER Result Codes","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fter-result-codes",{"title":867,"path":868},"Case Study: CheckCreate Transactor","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fcase-study-checkcreate",{"title":870,"path":871},"Homework 1: Trace a Transaction Through All Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework1",{"title":873,"path":874},"Homework 2: Implement a Custom Validation Check","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework2",{"title":876,"path":877},"Homework 3: Analyze TER Code Paths","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework3",{"title":879,"path":880,"children":881},"Cryptography I: Blockchain Security and Cryptographic Foundations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04",[882,885,888,891,894,897,900,903,906,909,912,915,918,929],{"title":883,"path":884},"The Four Pillars of Security","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-four-pillars-of-security",{"title":886,"path":887},"The Lifecycle of a Cryptographic Key","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-lifecycle-of-a-cryptographic-key",{"title":889,"path":890},"Random Number Generation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation",{"title":892,"path":893},"Random Number Generation & Entropy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation-and-entropy",{"title":895,"path":896},"Key Generation Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fkey-generation-pipeline",{"title":898,"path":899},"Transaction Signing & Verification","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Ftransaction-signing-and-verification",{"title":901,"path":902},"Hash Functions in XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhash-functions-in-xrpl",{"title":904,"path":905},"Base58Check Encoding","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fbase58check-encoding",{"title":907,"path":908},"Peer Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fpeer-handshake-protocol",{"title":910,"path":911},"Secure Memory Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fsecure-memory-handling",{"title":913,"path":914},"Common Cryptographic Pitfalls","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fcommon-cryptographic-pitfalls",{"title":916,"path":917},"Performance & Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fperformance-and-optimization",{"title":835,"path":919,"children":920},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices",[921,923,926],{"title":839,"path":922},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fcodebase-navigation-guide",{"title":924,"path":925},"Appendix : Debugging & Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fdebugging-and-development-tools",{"title":927,"path":928},"Appendix : RFCs and Standards Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Frfcs-and-standards-reference",{"title":750,"path":930,"children":931},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks",[932],{"title":933,"path":934},"Homework 1: Signature Verification Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks\u002Fhomework1",{"title":936,"path":937,"children":938},"Cryptography II: Protocol Extensions and Quantum Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05",[939,942,945,948,951,954,960],{"title":940,"path":941},"Overlay Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Foverlay-architecture",{"title":943,"path":944},"Connection Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fconnection-lifecycle",{"title":946,"path":947},"Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhandshake-protocol",{"title":949,"path":950},"Message Relaying","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fmessage-relaying",{"title":952,"path":953},"Peer Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fpeer-discovery",{"title":835,"path":955,"children":956},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices",[957],{"title":958,"path":959},"XLS-??d Quantum-Resistant Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices\u002Fxls-d",{"title":750,"path":961,"children":962},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks",[963],{"title":964,"path":965},"Homework 1: Building Quantum-Resistant Signatures for XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks\u002Fhomework1",{"title":967,"path":968,"children":969},"Communication I: Understanding XRPL(d) RPC Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06",[970,973,976,979],{"title":971,"path":972},"RPC Handler Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frpc-handler-architecture",{"title":974,"path":975},"Request and Response Flow","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frequest-response-flow",{"title":977,"path":978},"Authentication and Authorization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Fauthentication-authorization",{"title":980,"path":981},"Error Handling and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Ferror-handling-validation",{"title":983,"path":984,"children":985},"Communication II: Building and Integrating Custom RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07",[986,989,992,995,998,1010],{"title":987,"path":988},"Implementing Custom Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fimplementing-custom-handlers",{"title":990,"path":991},"Testing RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Ftesting-rpc-handlers",{"title":993,"path":994},"Advanced Features","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fadvanced-features",{"title":996,"path":997},"Best Practices and Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fbest-practices-patterns",{"title":835,"path":999,"children":1000},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices",[1001,1004,1007],{"title":1002,"path":1003},"Appendix: Handler Examples","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhandler-examples",{"title":1005,"path":1006},"Appendix: Helper Functions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhelper-functions",{"title":1008,"path":1009},"Appendix: Debugging Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fdebugging-guide",{"title":750,"path":1011,"children":1012},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks",[1013,1016,1019],{"title":1014,"path":1015},"Homework 1: Building a Custom RPC Handler","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhomework1",{"title":1017,"path":1018},"Hints","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhints",{"title":1020,"path":1021},"Snippets","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fsnippets",{"title":1023,"path":1024,"children":1025},"Consensus I: Node, Consensus, and Ledger Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08",[1026,1029,1032,1035,1038,1041,1044,1047],{"title":1027,"path":1028},"Consensus Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-fundamentals",{"title":1030,"path":1031},"Consensus Modes and Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-modes-phases",{"title":1033,"path":1034},"Consensus Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-lifecycle",{"title":1036,"path":1037},"Ledger Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-architecture",{"title":1039,"path":1040},"Ledger Data Structures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-data-structures",{"title":1042,"path":1043},"Ledger Acquisition and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-acquisition-validation",{"title":1045,"path":1046},"RPC and Peer Transaction Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Frpc-peer-tx-lifecycle",{"title":750,"path":1048,"children":1049},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks",[1050,1053],{"title":1051,"path":1052},"Homework 1: Transaction Consensus Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework1",{"title":1054,"path":1055},"Homework 2: Consensus Dispute Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework2",{"title":1057,"path":1058,"children":1059},"Consensus II: UNLs and Ledger Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09",[1060,1063,1066,1069,1072,1075,1078],{"title":1061,"path":1062},"Transaction Ordering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Ftx-ordering",{"title":1064,"path":1065},"Consensus Validations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-validations",{"title":1067,"path":1068},"Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Famendments",{"title":1070,"path":1071},"UNL Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Funl",{"title":1073,"path":1074},"Consensus Peers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-peers",{"title":1076,"path":1077},"Homework 1: Validator Keys Setup and Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework1",{"title":1079,"path":1080},"Homework 2: Negative UNL Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework2",{"title":1082,"path":1083,"children":1084},"AMM: Automated Market Maker","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis",[1085,1088,1091,1094],{"title":1086,"path":1087},"AMM Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-architecture",{"title":1089,"path":1090},"AMM Transactions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-transactions",{"title":1092,"path":1093},"AMM Logic","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-logic",{"title":1095,"path":1096},"Pathfinding Integration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-pathfinding",{"title":1098,"path":1099,"children":1100},"Building Amendments: Lifecycle and Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10",[1101,1104,1107,1110,1113,1116,1119],{"title":1102,"path":1103},"Amendment Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-architecture",{"title":1105,"path":1106},"Amendment Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-lifecycle",{"title":1108,"path":1109},"Voting and Activation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fvoting-and-activation",{"title":1111,"path":1112},"Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fprotocol-impact",{"title":1114,"path":1115},"Network Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fnetwork-coordination",{"title":1117,"path":1118},"Monitoring and Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-monitoring",{"title":1120,"path":1121},"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":1125,"path":1126,"children":1127,"description":1134,"pages":1135},"Tools","\u002Fdocs\u002Ftools",[1128,1131],{"title":1129,"path":1130},"Xaman Setup","\u002Fdocs\u002Ftools\u002Fxaman-setup",{"title":1132,"path":1133},"Metamask Setup","\u002Fdocs\u002Ftools\u002Fmetamask-setup","In this section you will find instructions on how to setup wallets and tools",3,1796220771152]