[{"data":1,"prerenderedAt":2326},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-architecture":3,"docs-kids-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-architecture":1823,"docs-tracks":1824},{"id":4,"title":5,"body":6,"description":1815,"extension":1816,"meta":1817,"navigation":187,"path":1818,"seo":1819,"source":1820,"stem":1821,"__hash__":1822},"docs\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-architecture.md","SHAMap Architecture and Node Hierarchy",{"type":7,"value":8,"toc":1802},"minimark",[9,13,16,21,25,28,47,50,54,58,61,67,70,81,84,89,92,98,101,106,109,115,118,122,125,130,265,270,290,294,297,302,308,322,327,333,347,352,358,369,373,376,381,567,572,599,604,607,613,619,622,628,634,637,642,645,651,655,658,663,736,741,797,802,805,811,825,831,845,851,865,870,963,966,970,973,978,1033,1038,1041,1047,1052,1058,1121,1127,1172,1175,1179,1182,1187,1218,1239,1244,1274,1291,1296,1312,1326,1331,1337,1341,1344,1349,1352,1464,1469,1475,1480,1518,1522,1525,1530,1533,1618,1623,1626,1710,1713,1724,1728,1733,1773,1778,1795,1798],[10,11,5],"h1",{"id":12},"shamap-architecture-and-node-hierarchy",[14,15],"hr",{},[17,18,20],"h2",{"id":19},"introduction","Introduction",[22,23,24],"p",{},"Now that you understand the mathematical foundations of Merkle-Patricia tries, let's explore how XRPL actually implements them in the SHAMap data structure.",[22,26,27],{},"The SHAMap is responsible for:",[29,30,31,35,38,41,44],"ul",{},[32,33,34],"li",{},"Maintaining account and transaction state in a cryptographically-verified Merkle tree",[32,36,37],{},"Computing root hashes that represent entire ledger state",[32,39,40],{},"Enabling efficient navigation through key-based lookups",[32,42,43],{},"Supporting snapshots and immutability for historical ledgers",[32,45,46],{},"Providing proof generation for trustless state verification",[22,48,49],{},"This chapter covers the architectural overview and node types. Later chapters dive into specific algorithms for navigation, hashing, and synchronization.",[51,52],"docs-video",{"url":53},"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=ZZFZUq-LI8Q",[17,55,57],{"id":56},"core-design-principles","Core Design Principles",[22,59,60],{},"The SHAMap architecture achieves three critical properties:",[22,62,63],{},[64,65,66],"strong",{},"1. Cryptographic Integrity",[22,68,69],{},"Every change to data propagates through hashes up to the root:",[71,72,77],"pre",{"className":73,"code":75,"language":76},[74],"language-text","Modify Account0 data:\n  Account0 hash changes\n  Parent hash changes (incorporates new Account0 hash)\n  Grandparent hash changes\n  ... up to root\n\nNew root hash is deterministically different from old root hash\n","text",[78,79,75],"code",{"__ignoreMap":80},"",[22,82,83],{},"This ensures that no data can be modified undetected. Changing even one bit in an account's balance changes the root hash.",[22,85,86],{},[64,87,88],{},"2. Efficient Navigation",[22,90,91],{},"The Patricia trie structure uses account identifiers as navigation guides:",[71,93,96],{"className":94,"code":95,"language":76},[74],"Account hash: 0x3A7F2E1B4C9D...\nTree navigation:\n  Level 0: Extract digit 3 → go to child 3\n  Level 1: Extract digit A → go to child A\n  Level 2: Extract digit 7 → go to child 7\n  ... follow 4-bit chunks down the tree\n",[78,97,95],{"__ignoreMap":80},[22,99,100],{},"No binary search needed. The path is directly encoded in the key.",[22,102,103],{},[64,104,105],{},"3. Optimized Synchronization",[22,107,108],{},"Hash-based comparison eliminates unnecessary data transfer:",[71,110,113],{"className":111,"code":112,"language":76},[74],"Peer A claims: \"Root is 0xABCD\"\nPeer B claims: \"Root is 0xXYZW\"\n\nIf 0xABCD == 0xXYZW:\n  Both have identical ledger state\n  No synchronization needed\n\nIf different:\n  Compare children's hashes\n  Identify exactly which subtrees differ\n  Request only those subtrees\n",[78,114,112],{"__ignoreMap":80},[22,116,117],{},"This allows new nodes to synchronize full ledgers from peers in minutes.",[17,119,121],{"id":120},"the-shamap-instance","The SHAMap Instance",[22,123,124],{},"A SHAMap instance represents a complete tree of ledger state:",[22,126,127],{},[64,128,129],{},"Core Data:",[71,131,135],{"className":132,"code":133,"language":134,"meta":80,"style":80},"language-cpp shiki shiki-themes github-dark-high-contrast","class SHAMap {\n    \u002F\u002F The root node (always an inner node)\n    std::shared_ptr\u003CSHAMapInnerNode> mRoot;\n\n    \u002F\u002F Tree state (Immutable, Mutable, or Synching)\n    State mState;\n\n    \u002F\u002F For mutable trees: unique identifier\n    std::uint32_t mCowID;  \u002F\u002F Copy-on-write identifier\n\n    \u002F\u002F For navigating to nodes\n    std::shared_ptr\u003CFamily> mFamily;\n};\n","cpp",[78,136,137,154,161,182,189,195,204,209,215,231,236,242,259],{"__ignoreMap":80},[138,139,142,146,150],"span",{"class":140,"line":141},"line",1,[138,143,145],{"class":144},"sWyjQ","class",[138,147,149],{"class":148},"s_sBn"," SHAMap",[138,151,153],{"class":152},"sMAXC"," {\n",[138,155,157],{"class":140,"line":156},2,[138,158,160],{"class":159},"sQrFR","    \u002F\u002F The root node (always an inner node)\n",[138,162,164,167,170,173,176,179],{"class":140,"line":163},3,[138,165,166],{"class":148},"    std",[138,168,169],{"class":152},"::",[138,171,172],{"class":148},"shared_ptr",[138,174,175],{"class":152},"\u003C",[138,177,178],{"class":148},"SHAMapInnerNode",[138,180,181],{"class":152},"> mRoot;\n",[138,183,185],{"class":140,"line":184},4,[138,186,188],{"emptyLinePlaceholder":187},true,"\n",[138,190,192],{"class":140,"line":191},5,[138,193,194],{"class":159},"    \u002F\u002F Tree state (Immutable, Mutable, or Synching)\n",[138,196,198,201],{"class":140,"line":197},6,[138,199,200],{"class":148},"    State",[138,202,203],{"class":152}," mState;\n",[138,205,207],{"class":140,"line":206},7,[138,208,188],{"emptyLinePlaceholder":187},[138,210,212],{"class":140,"line":211},8,[138,213,214],{"class":159},"    \u002F\u002F For mutable trees: unique identifier\n",[138,216,218,220,222,225,228],{"class":140,"line":217},9,[138,219,166],{"class":148},[138,221,169],{"class":152},[138,223,224],{"class":144},"uint32_t",[138,226,227],{"class":152}," mCowID;",[138,229,230],{"class":159},"  \u002F\u002F Copy-on-write identifier\n",[138,232,234],{"class":140,"line":233},10,[138,235,188],{"emptyLinePlaceholder":187},[138,237,239],{"class":140,"line":238},11,[138,240,241],{"class":159},"    \u002F\u002F For navigating to nodes\n",[138,243,245,247,249,251,253,256],{"class":140,"line":244},12,[138,246,166],{"class":148},[138,248,169],{"class":152},[138,250,172],{"class":148},[138,252,175],{"class":152},[138,254,255],{"class":148},"Family",[138,257,258],{"class":152},"> mFamily;\n",[138,260,262],{"class":140,"line":261},13,[138,263,264],{"class":152},"};\n",[22,266,267],{},[64,268,269],{},"Key Properties:",[29,271,272,278,284],{},[32,273,274,277],{},[64,275,276],{},"Root Node",": Always an inner node, never a leaf (even if only one account, still has inner structure)",[32,279,280,283],{},[64,281,282],{},"Depth",": Exactly 64 levels (256-bit keys ÷ 4 bits per level)",[32,285,286,289],{},[64,287,288],{},"Navigation Determinism",": Any key uniquely determines its path from root to leaf",[17,291,293],{"id":292},"node-hierarchy","Node Hierarchy",[22,295,296],{},"The SHAMap consists of three conceptual layers:",[22,298,299],{},[64,300,301],{},"Layer 1: Root",[71,303,306],{"className":304,"code":305,"language":76},[74],"              [Inner Node - Root]\n              (hashes all state)\n",[78,307,305],{"__ignoreMap":80},[29,309,310,313,316,319],{},[32,311,312],{},"Always present",[32,314,315],{},"Always an inner node",[32,317,318],{},"Contains the root hash representing entire tree",[32,320,321],{},"Can have up to 16 children (one for each hex digit 0-F)",[22,323,324],{},[64,325,326],{},"Layer 2: Internal Structure",[71,328,331],{"className":329,"code":330,"language":76},[74],"              [Inner Node - Root]\n             \u002F    |    \\    ...    \\\n       [Inner]  [Inner] [Inner] ... [Inner]\n       \u002F | \\    \u002F | \\\n   [Inner][Inner][Inner]\n",[78,332,330],{"__ignoreMap":80},[29,334,335,338,341,344],{},[32,336,337],{},"Inner nodes serve as branch points",[32,339,340],{},"Each can have 0-16 children",[32,342,343],{},"Store only hashes of children, not actual data",[32,345,346],{},"No data items in inner nodes",[22,348,349],{},[64,350,351],{},"Layer 3: Leaf Nodes",[71,353,356],{"className":354,"code":355,"language":76},[74],"           [Inner Node]\n           \u002F | \\ ... \\\n       [Leaf][Leaf][Leaf]\n        |     |     |\n    Account Account Account\n     State    State   State\n",[78,357,355],{"__ignoreMap":80},[29,359,360,363,366],{},[32,361,362],{},"Terminal nodes containing actual data items",[32,364,365],{},"Types: Account state, Transaction, Transaction+Metadata",[32,367,368],{},"All leaves in a SHAMap tree are homogeneous (same type)",[17,370,372],{"id":371},"inner-nodes","Inner Nodes",[22,374,375],{},"Inner nodes form the branching structure:",[22,377,378],{},[64,379,380],{},"Structure:",[71,382,384],{"className":132,"code":383,"language":134,"meta":80,"style":80},"class SHAMapInnerNode {\n    \u002F\u002F Up to 16 child slots (indexed 0-F)\n    std::array\u003CBranch, 16> mBranches;\n\n    \u002F\u002F Cryptographic hash of this node\n    uint256 mHash;\n\n    \u002F\u002F Bitset: which children exist\n    std::uint16_t mChildBits;\n\n    \u002F\u002F For copy-on-write: which SHAMap owns this node\n    std::uint32_t mCowID;\n\n    \u002F\u002F Synchronization optimization: generation marker\n    std::uint32_t mFullBelow;\n};\n\n\u002F\u002F Each branch slot contains:\nstruct Branch {\n    std::shared_ptr\u003CSHAMapTreeNode> mNode;  \u002F\u002F nullptr if empty\n    uint256 mHash;  \u002F\u002F Hash of child (or empty)\n};\n",[78,385,386,395,400,424,428,433,441,445,450,462,466,471,482,486,492,504,509,514,520,531,551,562],{"__ignoreMap":80},[138,387,388,390,393],{"class":140,"line":141},[138,389,145],{"class":144},[138,391,392],{"class":148}," SHAMapInnerNode",[138,394,153],{"class":152},[138,396,397],{"class":140,"line":156},[138,398,399],{"class":159},"    \u002F\u002F Up to 16 child slots (indexed 0-F)\n",[138,401,402,404,406,409,411,414,417,421],{"class":140,"line":163},[138,403,166],{"class":148},[138,405,169],{"class":152},[138,407,408],{"class":148},"array",[138,410,175],{"class":152},[138,412,413],{"class":148},"Branch",[138,415,416],{"class":152},", ",[138,418,420],{"class":419},"sCcAr","16",[138,422,423],{"class":152},"> mBranches;\n",[138,425,426],{"class":140,"line":184},[138,427,188],{"emptyLinePlaceholder":187},[138,429,430],{"class":140,"line":191},[138,431,432],{"class":159},"    \u002F\u002F Cryptographic hash of this node\n",[138,434,435,438],{"class":140,"line":197},[138,436,437],{"class":148},"    uint256",[138,439,440],{"class":152}," mHash;\n",[138,442,443],{"class":140,"line":206},[138,444,188],{"emptyLinePlaceholder":187},[138,446,447],{"class":140,"line":211},[138,448,449],{"class":159},"    \u002F\u002F Bitset: which children exist\n",[138,451,452,454,456,459],{"class":140,"line":217},[138,453,166],{"class":148},[138,455,169],{"class":152},[138,457,458],{"class":144},"uint16_t",[138,460,461],{"class":152}," mChildBits;\n",[138,463,464],{"class":140,"line":233},[138,465,188],{"emptyLinePlaceholder":187},[138,467,468],{"class":140,"line":238},[138,469,470],{"class":159},"    \u002F\u002F For copy-on-write: which SHAMap owns this node\n",[138,472,473,475,477,479],{"class":140,"line":244},[138,474,166],{"class":148},[138,476,169],{"class":152},[138,478,224],{"class":144},[138,480,481],{"class":152}," mCowID;\n",[138,483,484],{"class":140,"line":261},[138,485,188],{"emptyLinePlaceholder":187},[138,487,489],{"class":140,"line":488},14,[138,490,491],{"class":159},"    \u002F\u002F Synchronization optimization: generation marker\n",[138,493,495,497,499,501],{"class":140,"line":494},15,[138,496,166],{"class":148},[138,498,169],{"class":152},[138,500,224],{"class":144},[138,502,503],{"class":152}," mFullBelow;\n",[138,505,507],{"class":140,"line":506},16,[138,508,264],{"class":152},[138,510,512],{"class":140,"line":511},17,[138,513,188],{"emptyLinePlaceholder":187},[138,515,517],{"class":140,"line":516},18,[138,518,519],{"class":159},"\u002F\u002F Each branch slot contains:\n",[138,521,523,526,529],{"class":140,"line":522},19,[138,524,525],{"class":144},"struct",[138,527,528],{"class":148}," Branch",[138,530,153],{"class":152},[138,532,534,536,538,540,542,545,548],{"class":140,"line":533},20,[138,535,166],{"class":148},[138,537,169],{"class":152},[138,539,172],{"class":148},[138,541,175],{"class":152},[138,543,544],{"class":148},"SHAMapTreeNode",[138,546,547],{"class":152},"> mNode;",[138,549,550],{"class":159},"  \u002F\u002F nullptr if empty\n",[138,552,554,556,559],{"class":140,"line":553},21,[138,555,437],{"class":148},[138,557,558],{"class":152}," mHash;",[138,560,561],{"class":159},"  \u002F\u002F Hash of child (or empty)\n",[138,563,565],{"class":140,"line":564},22,[138,566,264],{"class":152},[22,568,569],{},[64,570,571],{},"Key Characteristics:",[573,574,575,581,587,593],"ol",{},[32,576,577,580],{},[64,578,579],{},"Do not store data items directly"," - Only hashing information",[32,582,583,586],{},[64,584,585],{},"Maintain cryptographic commitments"," through child hashes",[32,588,589,592],{},[64,590,591],{},"Variable occupancy"," - Not all 16 children present",[32,594,595,598],{},[64,596,597],{},"Support both serialization formats"," - Compressed and full",[22,600,601],{},[64,602,603],{},"Serialization Formats:",[22,605,606],{},"Inner nodes support two wire formats:",[22,608,609,612],{},[64,610,611],{},"Compressed Format"," (used when most slots are empty):",[71,614,617],{"className":615,"code":616,"language":76},[74],"Header: \"Inner (compressed)\"\nBitmap: Which branches exist\nFor each existing branch:\n  Branch index\n  Child hash\n",[78,618,616],{"__ignoreMap":80},[22,620,621],{},"Saves space by omitting empty branches.",[22,623,624,627],{},[64,625,626],{},"Full Format"," (used when most slots are occupied):",[71,629,632],{"className":630,"code":631,"language":76},[74],"Header: \"Inner (full)\"\nFor each of 16 branches:\n  Child hash (or empty marker)\n",[78,633,631],{"__ignoreMap":80},[22,635,636],{},"Simpler structure despite larger size.",[22,638,639],{},[64,640,641],{},"Format Selection Algorithm:",[22,643,644],{},"XRPL automatically chooses format based on branch count:",[71,646,649],{"className":647,"code":648,"language":76},[74],"Branch count:\n  0-8:   Use compressed (saves ~40 bytes)\n  9+:    Use full (simpler, fewer bytes overall)\n",[78,650,648],{"__ignoreMap":80},[17,652,654],{"id":653},"leaf-nodes","Leaf Nodes",[22,656,657],{},"Leaf nodes store the actual blockchain data:",[22,659,660],{},[64,661,662],{},"Base Properties:",[71,664,666],{"className":132,"code":665,"language":134,"meta":80,"style":80},"class SHAMapLeafNode {\n    \u002F\u002F The data contained in this leaf\n    std::shared_ptr\u003CSHAMapItem> mItem;\n\n    \u002F\u002F Cryptographic hash\n    uint256 mHash;\n\n    \u002F\u002F For copy-on-write\n    std::uint32_t mCowID;\n};\n",[78,667,668,677,682,698,702,707,713,717,722,732],{"__ignoreMap":80},[138,669,670,672,675],{"class":140,"line":141},[138,671,145],{"class":144},[138,673,674],{"class":148}," SHAMapLeafNode",[138,676,153],{"class":152},[138,678,679],{"class":140,"line":156},[138,680,681],{"class":159},"    \u002F\u002F The data contained in this leaf\n",[138,683,684,686,688,690,692,695],{"class":140,"line":163},[138,685,166],{"class":148},[138,687,169],{"class":152},[138,689,172],{"class":148},[138,691,175],{"class":152},[138,693,694],{"class":148},"SHAMapItem",[138,696,697],{"class":152},"> mItem;\n",[138,699,700],{"class":140,"line":184},[138,701,188],{"emptyLinePlaceholder":187},[138,703,704],{"class":140,"line":191},[138,705,706],{"class":159},"    \u002F\u002F Cryptographic hash\n",[138,708,709,711],{"class":140,"line":197},[138,710,437],{"class":148},[138,712,440],{"class":152},[138,714,715],{"class":140,"line":206},[138,716,188],{"emptyLinePlaceholder":187},[138,718,719],{"class":140,"line":211},[138,720,721],{"class":159},"    \u002F\u002F For copy-on-write\n",[138,723,724,726,728,730],{"class":140,"line":217},[138,725,166],{"class":148},[138,727,169],{"class":152},[138,729,224],{"class":144},[138,731,481],{"class":152},[138,733,734],{"class":140,"line":233},[138,735,264],{"class":152},[22,737,738],{},[64,739,740],{},"SHAMapItem Structure:",[71,742,744],{"className":132,"code":743,"language":134,"meta":80,"style":80},"class SHAMapItem {\n    \u002F\u002F 256-bit unique identifier (determines tree position)\n    uint256 mTag;\n\n    \u002F\u002F Variable-length data (transaction, account state, etc.)\n    Blob mData;\n\n    \u002F\u002F Memory management: intrusive reference counting\n};\n",[78,745,746,755,760,767,771,776,784,788,793],{"__ignoreMap":80},[138,747,748,750,753],{"class":140,"line":141},[138,749,145],{"class":144},[138,751,752],{"class":148}," SHAMapItem",[138,754,153],{"class":152},[138,756,757],{"class":140,"line":156},[138,758,759],{"class":159},"    \u002F\u002F 256-bit unique identifier (determines tree position)\n",[138,761,762,764],{"class":140,"line":163},[138,763,437],{"class":148},[138,765,766],{"class":152}," mTag;\n",[138,768,769],{"class":140,"line":184},[138,770,188],{"emptyLinePlaceholder":187},[138,772,773],{"class":140,"line":191},[138,774,775],{"class":159},"    \u002F\u002F Variable-length data (transaction, account state, etc.)\n",[138,777,778,781],{"class":140,"line":197},[138,779,780],{"class":148},"    Blob",[138,782,783],{"class":152}," mData;\n",[138,785,786],{"class":140,"line":206},[138,787,188],{"emptyLinePlaceholder":187},[138,789,790],{"class":140,"line":211},[138,791,792],{"class":159},"    \u002F\u002F Memory management: intrusive reference counting\n",[138,794,795],{"class":140,"line":217},[138,796,264],{"class":152},[22,798,799],{},[64,800,801],{},"Leaf Node Specializations:",[22,803,804],{},"Three distinct leaf node types exist, each with unique hashing:",[22,806,807,810],{},[64,808,809],{},"1. Account State Leaves"," (hotACCOUNT_NODE)",[29,812,813,816,819,822],{},[32,814,815],{},"Store account information",[32,817,818],{},"Include balances, settings, owned objects, trust lines",[32,820,821],{},"Type prefix during hashing prevents collision with other types",[32,823,824],{},"Updated when transactions affect accounts",[22,826,827,830],{},[64,828,829],{},"2. Transaction Leaves"," (hotTRANSACTION_NODE)",[29,832,833,836,839,842],{},[32,834,835],{},"Store transaction data",[32,837,838],{},"Do not include execution metadata",[32,840,841],{},"Immutable once added to ledger",[32,843,844],{},"Enable verification of transaction history",[22,846,847,850],{},[64,848,849],{},"3. Transaction+Metadata Leaves"," (hotTRANSACTION_LEDGER_ENTRY)",[29,852,853,856,859,862],{},[32,854,855],{},"Store transactions with execution metadata",[32,857,858],{},"Include results (success\u002Ffailure, ledger entries modified)",[32,860,861],{},"Complete information for replaying or auditing",[32,863,864],{},"Support full transaction reconstruction",[22,866,867],{},[64,868,869],{},"Why Multiple Types?",[71,871,873],{"className":132,"code":872,"language":134,"meta":80,"style":80},"\u002F\u002F Type prefix prevents collisions\n\nuint256 hash_account_state = SHA512Half(\n    PREFIX_ACCOUNT || key || data);\n\nuint256 hash_transaction = SHA512Half(\n    PREFIX_TRANSACTION || key || data);\n\n\u002F\u002F Even with identical (key, data), hashes differ\nhash_account_state != hash_transaction\n",[78,874,875,880,884,899,915,919,930,943,947,952],{"__ignoreMap":80},[138,876,877],{"class":140,"line":141},[138,878,879],{"class":159},"\u002F\u002F Type prefix prevents collisions\n",[138,881,882],{"class":140,"line":156},[138,883,188],{"emptyLinePlaceholder":187},[138,885,886,889,892,896],{"class":140,"line":163},[138,887,888],{"class":152},"uint256 hash_account_state ",[138,890,891],{"class":144},"=",[138,893,895],{"class":894},"sj_SG"," SHA512Half",[138,897,898],{"class":152},"(\n",[138,900,901,904,907,910,912],{"class":140,"line":184},[138,902,903],{"class":152},"    PREFIX_ACCOUNT ",[138,905,906],{"class":144},"||",[138,908,909],{"class":152}," key ",[138,911,906],{"class":144},[138,913,914],{"class":152}," data);\n",[138,916,917],{"class":140,"line":191},[138,918,188],{"emptyLinePlaceholder":187},[138,920,921,924,926,928],{"class":140,"line":197},[138,922,923],{"class":152},"uint256 hash_transaction ",[138,925,891],{"class":144},[138,927,895],{"class":894},[138,929,898],{"class":152},[138,931,932,935,937,939,941],{"class":140,"line":206},[138,933,934],{"class":152},"    PREFIX_TRANSACTION ",[138,936,906],{"class":144},[138,938,909],{"class":152},[138,940,906],{"class":144},[138,942,914],{"class":152},[138,944,945],{"class":140,"line":211},[138,946,188],{"emptyLinePlaceholder":187},[138,948,949],{"class":140,"line":217},[138,950,951],{"class":159},"\u002F\u002F Even with identical (key, data), hashes differ\n",[138,953,954,957,960],{"class":140,"line":233},[138,955,956],{"class":152},"hash_account_state ",[138,958,959],{"class":144},"!=",[138,961,962],{"class":152}," hash_transaction\n",[22,964,965],{},"Ensures that moving data between leaves would be immediately detected as invalid.",[17,967,969],{"id":968},"shamapnodeid-node-identification","SHAMapNodeID: Node Identification",[22,971,972],{},"Every node in the tree is uniquely identified by its position:",[22,974,975],{},[64,976,977],{},"Components:",[71,979,981],{"className":132,"code":980,"language":134,"meta":80,"style":80},"class SHAMapNodeID {\n    \u002F\u002F Distance from root (0 = root)\n    std::uint32_t mDepth;\n\n    \u002F\u002F Path from root to this node\n    \u002F\u002F Packed as 4-bit nibbles in a uint256\n    uint256 mNodeID;\n};\n",[78,982,983,992,997,1008,1012,1017,1022,1029],{"__ignoreMap":80},[138,984,985,987,990],{"class":140,"line":141},[138,986,145],{"class":144},[138,988,989],{"class":148}," SHAMapNodeID",[138,991,153],{"class":152},[138,993,994],{"class":140,"line":156},[138,995,996],{"class":159},"    \u002F\u002F Distance from root (0 = root)\n",[138,998,999,1001,1003,1005],{"class":140,"line":163},[138,1000,166],{"class":148},[138,1002,169],{"class":152},[138,1004,224],{"class":144},[138,1006,1007],{"class":152}," mDepth;\n",[138,1009,1010],{"class":140,"line":184},[138,1011,188],{"emptyLinePlaceholder":187},[138,1013,1014],{"class":140,"line":191},[138,1015,1016],{"class":159},"    \u002F\u002F Path from root to this node\n",[138,1018,1019],{"class":140,"line":197},[138,1020,1021],{"class":159},"    \u002F\u002F Packed as 4-bit nibbles in a uint256\n",[138,1023,1024,1026],{"class":140,"line":206},[138,1025,437],{"class":148},[138,1027,1028],{"class":152}," mNodeID;\n",[138,1030,1031],{"class":140,"line":211},[138,1032,264],{"class":152},[22,1034,1035],{},[64,1036,1037],{},"Path Encoding:",[22,1039,1040],{},"The path is encoded as 4-bit chunks (nibbles) in a uint256:",[71,1042,1045],{"className":1043,"code":1044,"language":76},[74],"Node at depth 3, path [3, A, 7]:\n\nmNodeID = 0x3A7000...000\n          ^^^     (significant nibbles)\n            ^^^^^^ (zero padding for remaining levels)\n\nDepth 0 (root):     mNodeID = 0x0000...000\nDepth 1:            mNodeID = 0x3000...000\nDepth 2:            mNodeID = 0x3A00...000\nDepth 3:            mNodeID = 0x3A70...000\n...\nDepth 64:           mNodeID = complete (all 64 nibbles filled)\n",[78,1046,1044],{"__ignoreMap":80},[22,1048,1049],{},[64,1050,1051],{},"Key Operations:",[22,1053,1054,1057],{},[64,1055,1056],{},"getChildNodeID(branch)"," - Compute child position:",[71,1059,1061],{"className":132,"code":1060,"language":134,"meta":80,"style":80},"SHAMapNodeID parent(depth=2, nodeID=0x3A00...);\nSHAMapNodeID child = parent.getChildNodeID(7);\n\u002F\u002F Result: depth=3, nodeID=0x3A70...\n",[78,1062,1063,1096,1116],{"__ignoreMap":80},[138,1064,1065,1068,1071,1074,1077,1079,1082,1084,1087,1089,1093],{"class":140,"line":141},[138,1066,1067],{"class":148},"SHAMapNodeID",[138,1069,1070],{"class":894}," parent",[138,1072,1073],{"class":152},"(",[138,1075,1076],{"class":148},"depth",[138,1078,891],{"class":144},[138,1080,1081],{"class":419},"2",[138,1083,416],{"class":152},[138,1085,1086],{"class":148},"nodeID",[138,1088,891],{"class":144},[138,1090,1092],{"class":1091},"szH_Z","0x3A00...",[138,1094,1095],{"class":152},");\n",[138,1097,1098,1101,1103,1106,1109,1111,1114],{"class":140,"line":156},[138,1099,1100],{"class":152},"SHAMapNodeID child ",[138,1102,891],{"class":144},[138,1104,1105],{"class":152}," parent.",[138,1107,1108],{"class":894},"getChildNodeID",[138,1110,1073],{"class":152},[138,1112,1113],{"class":419},"7",[138,1115,1095],{"class":152},[138,1117,1118],{"class":140,"line":163},[138,1119,1120],{"class":159},"\u002F\u002F Result: depth=3, nodeID=0x3A70...\n",[22,1122,1123,1126],{},[64,1124,1125],{},"selectBranch(nodeID, key)"," - Determine which branch to follow:",[71,1128,1130],{"className":132,"code":1129,"language":134,"meta":80,"style":80},"uint256 key = 0x3A7F2E1B4C9D...;\nint branch = key.nthNibble(depth);  \u002F\u002F Extract nth 4-bit chunk\n\u002F\u002F For depth=2: branch = 7 (extract bits 8-11)\n",[78,1131,1132,1145,1167],{"__ignoreMap":80},[138,1133,1134,1137,1139,1142],{"class":140,"line":141},[138,1135,1136],{"class":152},"uint256 key ",[138,1138,891],{"class":144},[138,1140,1141],{"class":1091}," 0x3A7F2E1B4C9D...",[138,1143,1144],{"class":152},";\n",[138,1146,1147,1150,1153,1155,1158,1161,1164],{"class":140,"line":156},[138,1148,1149],{"class":144},"int",[138,1151,1152],{"class":152}," branch ",[138,1154,891],{"class":144},[138,1156,1157],{"class":152}," key.",[138,1159,1160],{"class":894},"nthNibble",[138,1162,1163],{"class":152},"(depth);",[138,1165,1166],{"class":159},"  \u002F\u002F Extract nth 4-bit chunk\n",[138,1168,1169],{"class":140,"line":163},[138,1170,1171],{"class":159},"\u002F\u002F For depth=2: branch = 7 (extract bits 8-11)\n",[22,1173,1174],{},"This deterministic navigation ensures every key has exactly one path through the tree.",[17,1176,1178],{"id":1177},"state-management","State Management",[22,1180,1181],{},"SHAMaps exist in different states reflecting their role in the system:",[22,1183,1184],{},[64,1185,1186],{},"Immutable State",[71,1188,1190],{"className":132,"code":1189,"language":134,"meta":80,"style":80},"mState == State::Immutable;\nmCowID == 0;\n",[78,1191,1192,1206],{"__ignoreMap":80},[138,1193,1194,1197,1200,1203],{"class":140,"line":141},[138,1195,1196],{"class":152},"mState ",[138,1198,1199],{"class":144},"==",[138,1201,1202],{"class":148}," State",[138,1204,1205],{"class":152},"::Immutable;\n",[138,1207,1208,1211,1213,1216],{"class":140,"line":156},[138,1209,1210],{"class":152},"mCowID ",[138,1212,1199],{"class":144},[138,1214,1215],{"class":419}," 0",[138,1217,1144],{"class":152},[29,1219,1220,1223,1226,1229,1236],{},[32,1221,1222],{},"Represents a finalized, historical ledger",[32,1224,1225],{},"Nodes cannot be modified",[32,1227,1228],{},"Multiple readers can access simultaneously",[32,1230,1231,1232,1235],{},"Critical limitation: ",[64,1233,1234],{},"cannot be trimmed"," (nodes loaded stay in memory)",[32,1237,1238],{},"Used for consensus history",[22,1240,1241],{},[64,1242,1243],{},"Mutable State",[71,1245,1247],{"className":132,"code":1246,"language":134,"meta":80,"style":80},"mState == State::Modifying;\nmCowID != 0;  \u002F\u002F Unique identifier for this tree\n",[78,1248,1249,1260],{"__ignoreMap":80},[138,1250,1251,1253,1255,1257],{"class":140,"line":141},[138,1252,1196],{"class":152},[138,1254,1199],{"class":144},[138,1256,1202],{"class":148},[138,1258,1259],{"class":152},"::Modifying;\n",[138,1261,1262,1264,1266,1268,1271],{"class":140,"line":156},[138,1263,1210],{"class":152},[138,1265,959],{"class":144},[138,1267,1215],{"class":419},[138,1269,1270],{"class":152},";",[138,1272,1273],{"class":159},"  \u002F\u002F Unique identifier for this tree\n",[29,1275,1276,1279,1282,1285,1288],{},[32,1277,1278],{},"Represents work-in-progress ledger state",[32,1280,1281],{},"Nodes can be modified through copy-on-write",[32,1283,1284],{},"Safe mutations without affecting other SHAMap instances",[32,1286,1287],{},"Single writer (typically), multiple readers possible",[32,1289,1290],{},"Used for constructing new ledger",[22,1292,1293],{},[64,1294,1295],{},"Synching State",[71,1297,1299],{"className":132,"code":1298,"language":134,"meta":80,"style":80},"mState == State::Synching;\n",[78,1300,1301],{"__ignoreMap":80},[138,1302,1303,1305,1307,1309],{"class":140,"line":141},[138,1304,1196],{"class":152},[138,1306,1199],{"class":144},[138,1308,1202],{"class":148},[138,1310,1311],{"class":152},"::Synching;\n",[29,1313,1314,1317,1320,1323],{},[32,1315,1316],{},"Transitional state during network synchronization",[32,1318,1319],{},"Allows incremental tree construction",[32,1321,1322],{},"Transitions to Immutable or Modifying when complete",[32,1324,1325],{},"Used when receiving missing nodes from peers",[22,1327,1328],{},[64,1329,1330],{},"State Transitions:",[71,1332,1335],{"className":1333,"code":1334,"language":76},[74],"        New Tree\n          |\n          v\n    [Synching] \u003C-- Receiving nodes from peers\n          |\n          +--> [Immutable] \u003C-- Finalized ledger\n          |\n          +--> [Modifying] \u003C-- New transactions incoming\n",[78,1336,1334],{"__ignoreMap":80},[17,1338,1340],{"id":1339},"copy-on-write-mechanism","Copy-on-Write Mechanism",[22,1342,1343],{},"The copy-on-write system enables safe node sharing and snapshots:",[22,1345,1346],{},[64,1347,1348],{},"Principle:",[22,1350,1351],{},"Nodes are shared between SHAMaps using shared pointers. When a mutable SHAMap needs to modify a shared node, it creates a copy:",[71,1353,1355],{"className":132,"code":1354,"language":134,"meta":80,"style":80},"\u002F\u002F Check if node is owned by this SHAMap\nif (node->getCowID() != mCowID) {\n    \u002F\u002F Node is shared or immutable\n    \u002F\u002F Create a copy\n    auto newNode = node->clone();\n    newNode->setCowID(mCowID);  \u002F\u002F Mark as owned by this tree\n    return newNode;\n} else {\n    \u002F\u002F Node already owned by this tree\n    \u002F\u002F Safe to modify in place\n    return node;\n}\n",[78,1356,1357,1362,1381,1386,1391,1410,1424,1432,1442,1447,1452,1459],{"__ignoreMap":80},[138,1358,1359],{"class":140,"line":141},[138,1360,1361],{"class":159},"\u002F\u002F Check if node is owned by this SHAMap\n",[138,1363,1364,1367,1370,1373,1376,1378],{"class":140,"line":156},[138,1365,1366],{"class":144},"if",[138,1368,1369],{"class":152}," (node->",[138,1371,1372],{"class":894},"getCowID",[138,1374,1375],{"class":152},"() ",[138,1377,959],{"class":144},[138,1379,1380],{"class":152}," mCowID) {\n",[138,1382,1383],{"class":140,"line":163},[138,1384,1385],{"class":159},"    \u002F\u002F Node is shared or immutable\n",[138,1387,1388],{"class":140,"line":184},[138,1389,1390],{"class":159},"    \u002F\u002F Create a copy\n",[138,1392,1393,1396,1399,1401,1404,1407],{"class":140,"line":191},[138,1394,1395],{"class":144},"    auto",[138,1397,1398],{"class":152}," newNode ",[138,1400,891],{"class":144},[138,1402,1403],{"class":152}," node->",[138,1405,1406],{"class":894},"clone",[138,1408,1409],{"class":152},"();\n",[138,1411,1412,1415,1418,1421],{"class":140,"line":197},[138,1413,1414],{"class":152},"    newNode->",[138,1416,1417],{"class":894},"setCowID",[138,1419,1420],{"class":152},"(mCowID);",[138,1422,1423],{"class":159},"  \u002F\u002F Mark as owned by this tree\n",[138,1425,1426,1429],{"class":140,"line":206},[138,1427,1428],{"class":144},"    return",[138,1430,1431],{"class":152}," newNode;\n",[138,1433,1434,1437,1440],{"class":140,"line":211},[138,1435,1436],{"class":152},"} ",[138,1438,1439],{"class":144},"else",[138,1441,153],{"class":152},[138,1443,1444],{"class":140,"line":217},[138,1445,1446],{"class":159},"    \u002F\u002F Node already owned by this tree\n",[138,1448,1449],{"class":140,"line":233},[138,1450,1451],{"class":159},"    \u002F\u002F Safe to modify in place\n",[138,1453,1454,1456],{"class":140,"line":238},[138,1455,1428],{"class":144},[138,1457,1458],{"class":152}," node;\n",[138,1460,1461],{"class":140,"line":244},[138,1462,1463],{"class":152},"}\n",[22,1465,1466],{},[64,1467,1468],{},"Node Sharing Rules:",[71,1470,1473],{"className":1471,"code":1472,"language":76},[74],"cowID == 0:           Immutable (shared by all)\ncowID == tree.mCowID: Owned by this tree (safe to modify)\ncowID != tree.mCowID: Owned by another tree (must copy before modifying)\n",[78,1474,1472],{"__ignoreMap":80},[22,1476,1477],{},[64,1478,1479],{},"Benefits:",[573,1481,1482,1494,1506],{},[32,1483,1484,1487,1488],{},[64,1485,1486],{},"Efficient Snapshots",": New SHAMap instances share unmodified subtrees",[71,1489,1492],{"className":1490,"code":1491,"language":76},[74],"Create snapshot before ledger close:\n  New immutable SHAMap shares root and all unchanged nodes\n  No deep copy required\n",[78,1493,1491],{"__ignoreMap":80},[32,1495,1496,1499,1500],{},[64,1497,1498],{},"Safe Concurrent Access",": Modifications don't affect other instances",[71,1501,1504],{"className":1502,"code":1503,"language":76},[74],"SHAMap A modifies Account1:\n  Clones nodes along path to Account1\n  Leaves rest of tree shared\nSHAMap B (different ledger) unaffected\n",[78,1505,1503],{"__ignoreMap":80},[32,1507,1508,1511,1512],{},[64,1509,1510],{},"Memory Efficiency",": Identical subtrees stored once",[71,1513,1516],{"className":1514,"code":1515,"language":76},[74],"100 ledgers share 99% of tree structure\nOnly 1% of data duplicated for different accounts\n",[78,1517,1515],{"__ignoreMap":80},[17,1519,1521],{"id":1520},"integration-with-nodestore","Integration with NodeStore",[22,1523,1524],{},"SHAMap is designed for in-memory operation, but nodes can be persisted:",[22,1526,1527],{},[64,1528,1529],{},"Persistent Nodes:",[22,1531,1532],{},"Some nodes are marked as \"backed\" - they exist in NodeStore:",[71,1534,1536],{"className":132,"code":1535,"language":134,"meta":80,"style":80},"\u002F\u002F Node came from persistent storage\nmNode->setBacked();\n\n\u002F\u002F When synchronizing, try to retrieve from storage\nstd::shared_ptr\u003CSHAMapTreeNode> node = nodestore.fetch(hash);\nif (node) {\n    \u002F\u002F Add to tree\n    canonicalizeNode(node);  \u002F\u002F Ensure uniqueness\n}\n",[78,1537,1538,1543,1553,1557,1562,1591,1598,1603,1614],{"__ignoreMap":80},[138,1539,1540],{"class":140,"line":141},[138,1541,1542],{"class":159},"\u002F\u002F Node came from persistent storage\n",[138,1544,1545,1548,1551],{"class":140,"line":156},[138,1546,1547],{"class":152},"mNode->",[138,1549,1550],{"class":894},"setBacked",[138,1552,1409],{"class":152},[138,1554,1555],{"class":140,"line":163},[138,1556,188],{"emptyLinePlaceholder":187},[138,1558,1559],{"class":140,"line":184},[138,1560,1561],{"class":159},"\u002F\u002F When synchronizing, try to retrieve from storage\n",[138,1563,1564,1567,1570,1572,1574,1577,1580,1582,1585,1588],{"class":140,"line":191},[138,1565,1566],{"class":148},"std",[138,1568,1569],{"class":152},"::shared_ptr",[138,1571,175],{"class":144},[138,1573,544],{"class":152},[138,1575,1576],{"class":144},">",[138,1578,1579],{"class":152}," node ",[138,1581,891],{"class":144},[138,1583,1584],{"class":152}," nodestore.",[138,1586,1587],{"class":894},"fetch",[138,1589,1590],{"class":152},"(hash);\n",[138,1592,1593,1595],{"class":140,"line":197},[138,1594,1366],{"class":144},[138,1596,1597],{"class":152}," (node) {\n",[138,1599,1600],{"class":140,"line":206},[138,1601,1602],{"class":159},"    \u002F\u002F Add to tree\n",[138,1604,1605,1608,1611],{"class":140,"line":211},[138,1606,1607],{"class":894},"    canonicalizeNode",[138,1609,1610],{"class":152},"(node);",[138,1612,1613],{"class":159},"  \u002F\u002F Ensure uniqueness\n",[138,1615,1616],{"class":140,"line":217},[138,1617,1463],{"class":152},[22,1619,1620],{},[64,1621,1622],{},"Canonicalization:",[22,1624,1625],{},"Ensures nodes are unique in memory:",[71,1627,1629],{"className":132,"code":1628,"language":134,"meta":80,"style":80},"\u002F\u002F Check cache for existing node with same hash\nstd::shared_ptr\u003CSHAMapTreeNode> cached = cache.get(hash);\nif (cached) {\n    return cached;  \u002F\u002F Use existing node\n} else {\n    cache.insert(hash, newNode);  \u002F\u002F Cache new node\n    return newNode;\n}\n",[78,1630,1631,1636,1661,1668,1678,1686,1700,1706],{"__ignoreMap":80},[138,1632,1633],{"class":140,"line":141},[138,1634,1635],{"class":159},"\u002F\u002F Check cache for existing node with same hash\n",[138,1637,1638,1640,1642,1644,1646,1648,1651,1653,1656,1659],{"class":140,"line":156},[138,1639,1566],{"class":148},[138,1641,1569],{"class":152},[138,1643,175],{"class":144},[138,1645,544],{"class":152},[138,1647,1576],{"class":144},[138,1649,1650],{"class":152}," cached ",[138,1652,891],{"class":144},[138,1654,1655],{"class":152}," cache.",[138,1657,1658],{"class":894},"get",[138,1660,1590],{"class":152},[138,1662,1663,1665],{"class":140,"line":163},[138,1664,1366],{"class":144},[138,1666,1667],{"class":152}," (cached) {\n",[138,1669,1670,1672,1675],{"class":140,"line":184},[138,1671,1428],{"class":144},[138,1673,1674],{"class":152}," cached;",[138,1676,1677],{"class":159},"  \u002F\u002F Use existing node\n",[138,1679,1680,1682,1684],{"class":140,"line":191},[138,1681,1436],{"class":152},[138,1683,1439],{"class":144},[138,1685,153],{"class":152},[138,1687,1688,1691,1694,1697],{"class":140,"line":197},[138,1689,1690],{"class":152},"    cache.",[138,1692,1693],{"class":894},"insert",[138,1695,1696],{"class":152},"(hash, newNode);",[138,1698,1699],{"class":159},"  \u002F\u002F Cache new node\n",[138,1701,1702,1704],{"class":140,"line":206},[138,1703,1428],{"class":144},[138,1705,1431],{"class":152},[138,1707,1708],{"class":140,"line":211},[138,1709,1463],{"class":152},[22,1711,1712],{},"This enables:",[29,1714,1715,1718,1721],{},[32,1716,1717],{},"Safe node sharing across multiple SHAMap instances",[32,1719,1720],{},"Fast equality checking (compare pointers, not content)",[32,1722,1723],{},"Memory efficiency (identical nodes stored once)",[17,1725,1727],{"id":1726},"summary","Summary",[22,1729,1730],{},[64,1731,1732],{},"Key Architectural Elements:",[573,1734,1735,1741,1746,1751,1756,1761,1767],{},[32,1736,1737,1740],{},[64,1738,1739],{},"SHAMap Instance",": Complete tree representing one ledger version",[32,1742,1743,1745],{},[64,1744,372],{},": Branching structure with 0-16 children, storing hashes",[32,1747,1748,1750],{},[64,1749,654],{},": Terminal nodes containing account or transaction data",[32,1752,1753,1755],{},[64,1754,1067],{},": Identifies node position through depth and path",[32,1757,1758,1760],{},[64,1759,1178],{},": Immutable (historical), Mutable (work-in-progress), Synching (incomplete)",[32,1762,1763,1766],{},[64,1764,1765],{},"Copy-on-Write",": Enables snapshots and safe sharing",[32,1768,1769,1772],{},[64,1770,1771],{},"NodeStore Integration",": Persistent layer for large datasets",[22,1774,1775],{},[64,1776,1777],{},"Design Properties:",[29,1779,1780,1783,1786,1789,1792],{},[32,1781,1782],{},"Perfect balance: All leaves at approximately same depth (log_16 of account count)",[32,1784,1785],{},"Deterministic navigation: Key uniquely determines path",[32,1787,1788],{},"Immutable persistence: Historical ledgers safe from modification",[32,1790,1791],{},"Efficient sharing: Snapshots require minimal additional memory",[32,1793,1794],{},"Scalable: Handles millions of accounts with logarithmic operations",[22,1796,1797],{},"In the next chapter, we'll explore how nodes are navigated, hashes are computed, and the tree structure is maintained.",[1799,1800,1801],"style",{},"html pre.shiki code .sWyjQ, html code.shiki .sWyjQ{--shiki-default:#FF9492}html pre.shiki code .s_sBn, html code.shiki .s_sBn{--shiki-default:#FFB757}html pre.shiki code .sMAXC, html code.shiki .sMAXC{--shiki-default:#F0F3F6}html pre.shiki code .sQrFR, html code.shiki .sQrFR{--shiki-default:#BDC4CC}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 .sCcAr, html code.shiki .sCcAr{--shiki-default:#91CBFF}html pre.shiki code .sj_SG, html code.shiki .sj_SG{--shiki-default:#DBB7FF}html pre.shiki code .szH_Z, html code.shiki .szH_Z{--shiki-default:#FFB1AF;--shiki-default-font-style:italic}",{"title":80,"searchDepth":156,"depth":156,"links":1803},[1804,1805,1806,1807,1808,1809,1810,1811,1812,1813,1814],{"id":19,"depth":156,"text":20},{"id":56,"depth":156,"text":57},{"id":120,"depth":156,"text":121},{"id":292,"depth":156,"text":293},{"id":371,"depth":156,"text":372},{"id":653,"depth":156,"text":654},{"id":968,"depth":156,"text":969},{"id":1177,"depth":156,"text":1178},{"id":1339,"depth":156,"text":1340},{"id":1520,"depth":156,"text":1521},{"id":1726,"depth":156,"text":1727},"SHAMap Architecture and Node Hierarchy for Anatomy of Rippled: SHAMap and NodeStore, in the Core Dev Bootcamp: XRPL Commons docs.","md",{},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-architecture",{"title":5,"description":1815},"xrpl-trainings\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-architecture.md","docs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-architecture","etVH33A40vAh27rBpaUNGB3YXAw9wWFoz4dezTvedCo",[],[1825,1866,1880,1900,1923,2315],{"title":1826,"path":1827,"children":1828,"description":1865,"pages":261},"XRPL Basics","\u002Fdocs\u002Fxrpl-basics",[1829,1832,1835,1838,1841,1844,1847,1850,1853,1856,1859,1862],{"title":1830,"path":1831},"Getting Started","\u002Fdocs\u002Fxrpl-basics\u002Fgetting-started",{"title":1833,"path":1834},"Trustline","\u002Fdocs\u002Fxrpl-basics\u002Ftrustline",{"title":1836,"path":1837},"Payments","\u002Fdocs\u002Fxrpl-basics\u002Fpayments",{"title":1839,"path":1840},"Reading and subscribing to Transactions","\u002Fdocs\u002Fxrpl-basics\u002Freading-and-writing-memos",{"title":1842,"path":1843},"Writing and reading memos","\u002Fdocs\u002Fxrpl-basics\u002Fwriting-and-reading-memos",{"title":1845,"path":1846},"Non Fungible Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fnon-fungible-tokens",{"title":1848,"path":1849},"Multi-Purpose Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fmptoken",{"title":1851,"path":1852},"PathFinding","\u002Fdocs\u002Fxrpl-basics\u002Fpath-finding",{"title":1854,"path":1855},"Escrow","\u002Fdocs\u002Fxrpl-basics\u002Fescrow",{"title":1857,"path":1858},"Price Oracles","\u002Fdocs\u002Fxrpl-basics\u002Fprice-oracles",{"title":1860,"path":1861},"Tickets","\u002Fdocs\u002Fxrpl-basics\u002Ftickets",{"title":1863,"path":1864},"Multi-Signature","\u002Fdocs\u002Fxrpl-basics\u002Fmulti-signature","In this section we will cover some of the primary functionality of the XRPL ledger.",{"title":1867,"path":1868,"children":1869,"description":1879,"pages":184},"Token Issuance and Liquidity","\u002Fdocs\u002Ftoken-issuance-and-liquidity",[1870,1873,1876],{"title":1871,"path":1872},"Creating Accounts and Setup","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fcreating-accounts",{"title":1874,"path":1875},"Issuing Tokens","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fissuing-tokens",{"title":1877,"path":1878},"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":1881,"path":1882,"children":1883,"description":1899,"pages":197},"Cyphered Chat on XRPL","\u002Fdocs\u002Fcyphered-chat-on-xrpl",[1884,1887,1890,1893,1896],{"title":1885,"path":1886},"Set up","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up",{"title":1888,"path":1889},"Set up Keys","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-keys",{"title":1891,"path":1892},"Cypher the message","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fcypher-the-message",{"title":1894,"path":1895},"Set up the memo & send the tx","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-the-memo-and-send-the-tx",{"title":1897,"path":1898},"Get the message and decypher it","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fget-the-message-and-decypher-it","Send encrypted messages over XRPL",{"title":1901,"path":1902,"children":1903,"description":1922,"pages":206},"EVM Sidechain","\u002Fdocs\u002Fevm-sidechain",[1904,1907,1910,1913,1916,1919],{"title":1905,"path":1906},"Connecting Metamask","\u002Fdocs\u002Fevm-sidechain\u002Fconnecting-metamask",{"title":1908,"path":1909},"Set up a Foundry project","\u002Fdocs\u002Fevm-sidechain\u002Fset-up-an-evm-project",{"title":1911,"path":1912},"Bridging Assets","\u002Fdocs\u002Fevm-sidechain\u002Fbridging-assets",{"title":1914,"path":1915},"Remix","\u002Fdocs\u002Fevm-sidechain\u002Fremix",{"title":1917,"path":1918},"Banking App","\u002Fdocs\u002Fevm-sidechain\u002Fbanking-app",{"title":1920,"path":1921},"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":1924,"path":1925,"children":1926,"description":2313,"pages":2314},"Core Dev Bootcamp","\u002Fdocs\u002Fcore-dev-bootcamp",[1927,1947,1990,2038,2069,2126,2157,2173,2213,2247,2272,2288],{"title":1928,"path":1929,"children":1930},"Rippled I – Compilation, Configuration, and Launch","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01",[1931,1934,1937,1940],{"title":1932,"path":1933},"Environment & Build Toolchain","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fenvironment-build-toolchain",{"title":1935,"path":1936},"Compilation Process & Generating Binary","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fcompilation-process-generating-binary",{"title":1938,"path":1939},"Local Development & Testing","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Flocal-development-testing",{"title":1941,"path":1942,"children":1943},"Homeworks","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks",[1944],{"title":1945,"path":1946},"Homework 1: Rippled Node Setup and Mainnet Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks\u002Fhomework1",{"title":1948,"path":1949,"children":1950},"Rippled II: Deep Dive into the Protocol and Codebase","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02",[1951,1954,1957,1960,1963,1966,1969,1972,1975],{"title":1952,"path":1953},"Protocols: Communication and Interoperability","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fprotocols-communication-and-interoperability",{"title":1955,"path":1956},"Transactors: Transaction Processing Framework","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransactors-transaction-processing-framework",{"title":1958,"path":1959},"Application Layer: Central Orchestration and Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fapplication-layer-central-orchestration-and-coordination",{"title":1961,"path":1962},"Consensus Engine: XRP Ledger Consensus Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fconsensus-engine-xrp-ledger-consensus-protocol",{"title":1964,"path":1965},"Overlay Network: Peer-to-Peer Networking Layer","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Foverlay-network-peer-to-peer-networking-layer",{"title":1967,"path":1968},"Transaction Lifecycle: Complete Transaction Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransaction-lifecycle-complete-transaction-journey",{"title":1970,"path":1971},"Codebase Navigation: Efficiently Navigating the Rippled Source","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fcodebase-navigation-efficiently-navigating-the-rippled-source",{"title":1973,"path":1974},"Debugging Tools: Development and Debugging Techniques","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fdebugging-tools-development-and-debugging-techniques",{"title":1941,"path":1976,"children":1977},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks",[1978,1981,1984,1987],{"title":1979,"path":1980},"Homework 1: Transaction Flow Analysis","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework1",{"title":1982,"path":1983},"Homework 2: Transactor Code Exploration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework2",{"title":1985,"path":1986},"Homework 3: Logging and Debugging","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework3",{"title":1988,"path":1989},"Homework 4: Architecture Diagram","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework4",{"title":1991,"path":1992,"children":1993},"Anatomy of Rippled: SHAMap and NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03",[1994,1997,2000,2001,2004,2007,2010,2013,2016,2019,2022,2025],{"title":1995,"path":1996},"Foundational Concepts","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstate-management-challenges",{"title":1998,"path":1999},"Trees, Hashing, and Cryptographic Commitments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Ftree-fundamentals",{"title":5,"path":1818},{"title":2002,"path":2003},"Navigation, Hashing, and Merkle Properties","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-navigation-hashing",{"title":2005,"path":2006},"Traversal, Iteration, and Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-synchronization",{"title":2008,"path":2009},"The NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fnodestore-architecture",{"title":2011,"path":2012},"Storage Abstraction and Backend Implementations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstorage-backends",{"title":2014,"path":2015},"Cache Layer and Performance Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fcache-layer",{"title":2017,"path":2018},"Database Operations and Lifecycle Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fdatabase-operations",{"title":2020,"path":2021},"Cryptographic Proofs and State Reconstruction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fproofs-state-reconstruction",{"title":2023,"path":2024},"Resource Management and Performance Characteristics","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fresource-management",{"title":2026,"path":2027,"children":2028},"Appendices","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices",[2029,2032,2035],{"title":2030,"path":2031},"Appendix : Codebase Navigation Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fnavigation",{"title":2033,"path":2034},"Appendix : Configuration Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fconfiguration",{"title":2036,"path":2037},"Appendix : Debugging and Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fdebugging",{"title":2039,"path":2040,"children":2041},"Transactors: Understanding the Lifecycle of a Transaction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis",[2042,2045,2048,2051,2054,2057,2060,2063,2066],{"title":2043,"path":2044},"Transactor Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ftransactor-architecture",{"title":2046,"path":2047},"Processing Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fprocessing-pipeline",{"title":2049,"path":2050},"Fee and Sequence Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ffee-sequence-handling",{"title":2052,"path":2053},"State Modification Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fstate-modification",{"title":2055,"path":2056},"TER Result Codes","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fter-result-codes",{"title":2058,"path":2059},"Case Study: CheckCreate Transactor","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fcase-study-checkcreate",{"title":2061,"path":2062},"Homework 1: Trace a Transaction Through All Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework1",{"title":2064,"path":2065},"Homework 2: Implement a Custom Validation Check","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework2",{"title":2067,"path":2068},"Homework 3: Analyze TER Code Paths","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework3",{"title":2070,"path":2071,"children":2072},"Cryptography I: Blockchain Security and Cryptographic Foundations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04",[2073,2076,2079,2082,2085,2088,2091,2094,2097,2100,2103,2106,2109,2120],{"title":2074,"path":2075},"The Four Pillars of Security","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-four-pillars-of-security",{"title":2077,"path":2078},"The Lifecycle of a Cryptographic Key","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-lifecycle-of-a-cryptographic-key",{"title":2080,"path":2081},"Random Number Generation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation",{"title":2083,"path":2084},"Random Number Generation & Entropy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation-and-entropy",{"title":2086,"path":2087},"Key Generation Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fkey-generation-pipeline",{"title":2089,"path":2090},"Transaction Signing & Verification","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Ftransaction-signing-and-verification",{"title":2092,"path":2093},"Hash Functions in XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhash-functions-in-xrpl",{"title":2095,"path":2096},"Base58Check Encoding","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fbase58check-encoding",{"title":2098,"path":2099},"Peer Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fpeer-handshake-protocol",{"title":2101,"path":2102},"Secure Memory Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fsecure-memory-handling",{"title":2104,"path":2105},"Common Cryptographic Pitfalls","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fcommon-cryptographic-pitfalls",{"title":2107,"path":2108},"Performance & Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fperformance-and-optimization",{"title":2026,"path":2110,"children":2111},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices",[2112,2114,2117],{"title":2030,"path":2113},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fcodebase-navigation-guide",{"title":2115,"path":2116},"Appendix : Debugging & Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fdebugging-and-development-tools",{"title":2118,"path":2119},"Appendix : RFCs and Standards Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Frfcs-and-standards-reference",{"title":1941,"path":2121,"children":2122},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks",[2123],{"title":2124,"path":2125},"Homework 1: Signature Verification Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks\u002Fhomework1",{"title":2127,"path":2128,"children":2129},"Cryptography II: Protocol Extensions and Quantum Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05",[2130,2133,2136,2139,2142,2145,2151],{"title":2131,"path":2132},"Overlay Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Foverlay-architecture",{"title":2134,"path":2135},"Connection Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fconnection-lifecycle",{"title":2137,"path":2138},"Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhandshake-protocol",{"title":2140,"path":2141},"Message Relaying","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fmessage-relaying",{"title":2143,"path":2144},"Peer Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fpeer-discovery",{"title":2026,"path":2146,"children":2147},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices",[2148],{"title":2149,"path":2150},"XLS-??d Quantum-Resistant Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices\u002Fxls-d",{"title":1941,"path":2152,"children":2153},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks",[2154],{"title":2155,"path":2156},"Homework 1: Building Quantum-Resistant Signatures for XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks\u002Fhomework1",{"title":2158,"path":2159,"children":2160},"Communication I: Understanding XRPL(d) RPC Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06",[2161,2164,2167,2170],{"title":2162,"path":2163},"RPC Handler Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frpc-handler-architecture",{"title":2165,"path":2166},"Request and Response Flow","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frequest-response-flow",{"title":2168,"path":2169},"Authentication and Authorization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Fauthentication-authorization",{"title":2171,"path":2172},"Error Handling and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Ferror-handling-validation",{"title":2174,"path":2175,"children":2176},"Communication II: Building and Integrating Custom RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07",[2177,2180,2183,2186,2189,2201],{"title":2178,"path":2179},"Implementing Custom Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fimplementing-custom-handlers",{"title":2181,"path":2182},"Testing RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Ftesting-rpc-handlers",{"title":2184,"path":2185},"Advanced Features","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fadvanced-features",{"title":2187,"path":2188},"Best Practices and Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fbest-practices-patterns",{"title":2026,"path":2190,"children":2191},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices",[2192,2195,2198],{"title":2193,"path":2194},"Appendix: Handler Examples","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhandler-examples",{"title":2196,"path":2197},"Appendix: Helper Functions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhelper-functions",{"title":2199,"path":2200},"Appendix: Debugging Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fdebugging-guide",{"title":1941,"path":2202,"children":2203},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks",[2204,2207,2210],{"title":2205,"path":2206},"Homework 1: Building a Custom RPC Handler","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhomework1",{"title":2208,"path":2209},"Hints","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhints",{"title":2211,"path":2212},"Snippets","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fsnippets",{"title":2214,"path":2215,"children":2216},"Consensus I: Node, Consensus, and Ledger Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08",[2217,2220,2223,2226,2229,2232,2235,2238],{"title":2218,"path":2219},"Consensus Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-fundamentals",{"title":2221,"path":2222},"Consensus Modes and Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-modes-phases",{"title":2224,"path":2225},"Consensus Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-lifecycle",{"title":2227,"path":2228},"Ledger Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-architecture",{"title":2230,"path":2231},"Ledger Data Structures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-data-structures",{"title":2233,"path":2234},"Ledger Acquisition and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-acquisition-validation",{"title":2236,"path":2237},"RPC and Peer Transaction Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Frpc-peer-tx-lifecycle",{"title":1941,"path":2239,"children":2240},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks",[2241,2244],{"title":2242,"path":2243},"Homework 1: Transaction Consensus Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework1",{"title":2245,"path":2246},"Homework 2: Consensus Dispute Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework2",{"title":2248,"path":2249,"children":2250},"Consensus II: UNLs and Ledger Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09",[2251,2254,2257,2260,2263,2266,2269],{"title":2252,"path":2253},"Transaction Ordering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Ftx-ordering",{"title":2255,"path":2256},"Consensus Validations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-validations",{"title":2258,"path":2259},"Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Famendments",{"title":2261,"path":2262},"UNL Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Funl",{"title":2264,"path":2265},"Consensus Peers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-peers",{"title":2267,"path":2268},"Homework 1: Validator Keys Setup and Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework1",{"title":2270,"path":2271},"Homework 2: Negative UNL Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework2",{"title":2273,"path":2274,"children":2275},"AMM: Automated Market Maker","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis",[2276,2279,2282,2285],{"title":2277,"path":2278},"AMM Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-architecture",{"title":2280,"path":2281},"AMM Transactions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-transactions",{"title":2283,"path":2284},"AMM Logic","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-logic",{"title":2286,"path":2287},"Pathfinding Integration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-pathfinding",{"title":2289,"path":2290,"children":2291},"Building Amendments: Lifecycle and Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10",[2292,2295,2298,2301,2304,2307,2310],{"title":2293,"path":2294},"Amendment Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-architecture",{"title":2296,"path":2297},"Amendment Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-lifecycle",{"title":2299,"path":2300},"Voting and Activation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fvoting-and-activation",{"title":2302,"path":2303},"Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fprotocol-impact",{"title":2305,"path":2306},"Network Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fnetwork-coordination",{"title":2308,"path":2309},"Monitoring and Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-monitoring",{"title":2311,"path":2312},"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":2316,"path":2317,"children":2318,"description":2325,"pages":163},"Tools","\u002Fdocs\u002Ftools",[2319,2322],{"title":2320,"path":2321},"Xaman Setup","\u002Fdocs\u002Ftools\u002Fxaman-setup",{"title":2323,"path":2324},"Metamask Setup","\u002Fdocs\u002Ftools\u002Fmetamask-setup","In this section you will find instructions on how to setup wallets and tools",1796220771081]