[{"data":1,"prerenderedAt":3633},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fprotocol-impact":3,"docs-kids-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fprotocol-impact":3130,"docs-tracks":3131},{"id":4,"title":5,"body":6,"description":3122,"extension":3123,"meta":3124,"navigation":127,"path":3125,"seo":3126,"source":3127,"stem":3128,"__hash__":3129},"docs\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fprotocol-impact.md","Core Protocol Impact",{"type":7,"value":8,"toc":3081},"minimark",[9,14,17,22,26,34,37,39,43,48,56,62,314,327,510,514,517,522,645,650,709,714,792,794,798,802,805,811,1012,1018,1234,1240,1423,1427,1441,1447,1457,1459,1463,1467,1470,1493,1499,1503,1510,1525,1531,1533,1537,1541,1544,1689,1693,1696,1702,1790,1796,1807,1810,1821,1826,1937,1941,1948,1954,2194,2196,2200,2204,2210,2216,2241,2245,2248,2254,2291,2297,2357,2363,2404,2406,2410,2414,2417,2422,2510,2514,2517,2579,2584,2597,2600,2611,2613,2617,2621,2624,2630,2694,2700,2740,2744,2747,2752,2763,2768,2776,2780,2783,2789,2795,2797,2801,2805,2811,2817,2822,2828,2836,2842,2850,2856,2861,2865,2868,2874,2880,2886,2888,2892,2896,2899,2915,2943,2949,2953,2963,3077],[10,11,13],"h1",{"id":12},"impact-on-core-protocol","Impact on Core Protocol",[15,16],"hr",{},[18,19,21],"h2",{"id":20},"introduction","Introduction",[23,24,25],"p",{},"The activation of an amendment has profound consequences on the XRPL protocol. Unlike simple software updates, an amendment modifies the fundamental rules that govern consensus, transaction validation, and ledger structure. These changes are irreversible and must be applied uniformly by all nodes on the network.",[23,27,28,29,33],{},"In this section, we will analyze the impact that an amendment like ",[30,31,32],"strong",{},"Subscriptions"," (XLS-0078) has on the core protocol: modifications to consensus rules, changes in transaction validation, compatibility considerations, and management of nodes that do not support an enabled amendment.",[23,35,36],{},"Understanding this impact is crucial for assessing the risks associated with an amendment and for planning deployment and migration strategies.",[15,38],{},[18,40,42],{"id":41},"modification-of-consensus-rules","Modification of Consensus Rules",[44,45,47],"h3",{"id":46},"the-rules-object","The Rules Object",[23,49,50,51,55],{},"The XRPL protocol encapsulates the set of active rules in a ",[52,53,54],"code",{},"Rules"," object that is constructed for each ledger based on enabled amendments.",[23,57,58,61],{},[30,59,60],{},"Conceptual structure",":",[63,64,69],"pre",{"className":65,"code":66,"language":67,"meta":68,"style":68},"language-cpp shiki shiki-themes github-dark-high-contrast","class Rules {\nprivate:\n    \u002F\u002F Set of all enabled amendments\n    std::set\u003Cuint256> enabledAmendments_;\n\n    \u002F\u002F Pre-calculation of commonly used rules\n    bool fixQualityUpperBound_;\n    bool fixTrustLinesToSelf_;\n    bool flowCross_;\n    bool ownerPaysFee_;\n    \u002F\u002F ... etc for each impacting amendment\n\npublic:\n    \u002F\u002F Check if an amendment is enabled\n    bool enabled(uint256 const& amendment) const {\n        return enabledAmendments_.count(amendment) > 0;\n    }\n\n    \u002F\u002F Quick accessors for specific rules\n    bool fixQualityUpperBound() const { return fixQualityUpperBound_; }\n    bool flowCross() const { return flowCross_; }\n    \u002F\u002F ... etc\n};\n","cpp","",[52,70,71,88,94,101,122,129,135,144,152,160,168,174,179,185,191,219,244,250,255,261,283,302,308],{"__ignoreMap":68},[72,73,76,80,84],"span",{"class":74,"line":75},"line",1,[72,77,79],{"class":78},"sWyjQ","class",[72,81,83],{"class":82},"s_sBn"," Rules",[72,85,87],{"class":86},"sMAXC"," {\n",[72,89,91],{"class":74,"line":90},2,[72,92,93],{"class":78},"private:\n",[72,95,97],{"class":74,"line":96},3,[72,98,100],{"class":99},"sQrFR","    \u002F\u002F Set of all enabled amendments\n",[72,102,104,107,110,113,116,119],{"class":74,"line":103},4,[72,105,106],{"class":82},"    std",[72,108,109],{"class":86},"::",[72,111,112],{"class":82},"set",[72,114,115],{"class":86},"\u003C",[72,117,118],{"class":82},"uint256",[72,120,121],{"class":86},"> enabledAmendments_;\n",[72,123,125],{"class":74,"line":124},5,[72,126,128],{"emptyLinePlaceholder":127},true,"\n",[72,130,132],{"class":74,"line":131},6,[72,133,134],{"class":99},"    \u002F\u002F Pre-calculation of commonly used rules\n",[72,136,138,141],{"class":74,"line":137},7,[72,139,140],{"class":78},"    bool",[72,142,143],{"class":86}," fixQualityUpperBound_;\n",[72,145,147,149],{"class":74,"line":146},8,[72,148,140],{"class":78},[72,150,151],{"class":86}," fixTrustLinesToSelf_;\n",[72,153,155,157],{"class":74,"line":154},9,[72,156,140],{"class":78},[72,158,159],{"class":86}," flowCross_;\n",[72,161,163,165],{"class":74,"line":162},10,[72,164,140],{"class":78},[72,166,167],{"class":86}," ownerPaysFee_;\n",[72,169,171],{"class":74,"line":170},11,[72,172,173],{"class":99},"    \u002F\u002F ... etc for each impacting amendment\n",[72,175,177],{"class":74,"line":176},12,[72,178,128],{"emptyLinePlaceholder":127},[72,180,182],{"class":74,"line":181},13,[72,183,184],{"class":78},"public:\n",[72,186,188],{"class":74,"line":187},14,[72,189,190],{"class":99},"    \u002F\u002F Check if an amendment is enabled\n",[72,192,194,196,200,203,205,208,211,214,217],{"class":74,"line":193},15,[72,195,140],{"class":78},[72,197,199],{"class":198},"sj_SG"," enabled",[72,201,202],{"class":86},"(",[72,204,118],{"class":82},[72,206,207],{"class":78}," const&",[72,209,210],{"class":82}," amendment",[72,212,213],{"class":86},") ",[72,215,216],{"class":78},"const",[72,218,87],{"class":86},[72,220,222,225,228,231,234,237,241],{"class":74,"line":221},16,[72,223,224],{"class":78},"        return",[72,226,227],{"class":86}," enabledAmendments_.",[72,229,230],{"class":198},"count",[72,232,233],{"class":86},"(amendment) ",[72,235,236],{"class":78},">",[72,238,240],{"class":239},"sCcAr"," 0",[72,242,243],{"class":86},";\n",[72,245,247],{"class":74,"line":246},17,[72,248,249],{"class":86},"    }\n",[72,251,253],{"class":74,"line":252},18,[72,254,128],{"emptyLinePlaceholder":127},[72,256,258],{"class":74,"line":257},19,[72,259,260],{"class":99},"    \u002F\u002F Quick accessors for specific rules\n",[72,262,264,266,269,272,274,277,280],{"class":74,"line":263},20,[72,265,140],{"class":78},[72,267,268],{"class":198}," fixQualityUpperBound",[72,270,271],{"class":86},"() ",[72,273,216],{"class":78},[72,275,276],{"class":86}," { ",[72,278,279],{"class":78},"return",[72,281,282],{"class":86}," fixQualityUpperBound_; }\n",[72,284,286,288,291,293,295,297,299],{"class":74,"line":285},21,[72,287,140],{"class":78},[72,289,290],{"class":198}," flowCross",[72,292,271],{"class":86},[72,294,216],{"class":78},[72,296,276],{"class":86},[72,298,279],{"class":78},[72,300,301],{"class":86}," flowCross_; }\n",[72,303,305],{"class":74,"line":304},22,[72,306,307],{"class":99},"    \u002F\u002F ... etc\n",[72,309,311],{"class":74,"line":310},23,[72,312,313],{"class":86},"};\n",[23,315,316,319,320,322,323,326],{},[30,317,318],{},"Construction",": The ",[52,321,54],{}," object is constructed from the ",[52,324,325],{},"sfAmendments"," field of the ledger:",[63,328,330],{"className":65,"code":329,"language":67,"meta":68,"style":68},"Rules makeRules(std::shared_ptr\u003CReadView const> const& ledger) {\n    \u002F\u002F Read amendments from ledger\n    auto const amendments = ledger->read(keylet::amendments());\n\n    std::set\u003Cuint256> enabled;\n    if (amendments && amendments->isFieldPresent(sfAmendments)) {\n        auto const& vec = amendments->getFieldV256(sfAmendments);\n        enabled.insert(vec.begin(), vec.end());\n    }\n\n    return Rules(enabled);\n}\n",[52,331,332,369,374,406,410,425,445,465,487,491,495,505],{"__ignoreMap":68},[72,333,334,336,339,341,344,346,349,351,354,357,360,363,366],{"class":74,"line":75},[72,335,54],{"class":82},[72,337,338],{"class":198}," makeRules",[72,340,202],{"class":86},[72,342,343],{"class":82},"std",[72,345,109],{"class":86},[72,347,348],{"class":82},"shared_ptr",[72,350,115],{"class":86},[72,352,353],{"class":82},"ReadView",[72,355,356],{"class":78}," const",[72,358,359],{"class":86},"> ",[72,361,362],{"class":78},"const&",[72,364,365],{"class":82}," ledger",[72,367,368],{"class":86},") {\n",[72,370,371],{"class":74,"line":90},[72,372,373],{"class":99},"    \u002F\u002F Read amendments from ledger\n",[72,375,376,379,381,384,387,390,393,395,398,400,403],{"class":74,"line":96},[72,377,378],{"class":78},"    auto",[72,380,356],{"class":78},[72,382,383],{"class":86}," amendments ",[72,385,386],{"class":78},"=",[72,388,389],{"class":86}," ledger->",[72,391,392],{"class":198},"read",[72,394,202],{"class":86},[72,396,397],{"class":82},"keylet",[72,399,109],{"class":86},[72,401,402],{"class":198},"amendments",[72,404,405],{"class":86},"());\n",[72,407,408],{"class":74,"line":103},[72,409,128],{"emptyLinePlaceholder":127},[72,411,412,414,416,418,420,422],{"class":74,"line":124},[72,413,106],{"class":82},[72,415,109],{"class":86},[72,417,112],{"class":82},[72,419,115],{"class":86},[72,421,118],{"class":82},[72,423,424],{"class":86},"> enabled;\n",[72,426,427,430,433,436,439,442],{"class":74,"line":131},[72,428,429],{"class":78},"    if",[72,431,432],{"class":86}," (amendments ",[72,434,435],{"class":78},"&&",[72,437,438],{"class":86}," amendments->",[72,440,441],{"class":198},"isFieldPresent",[72,443,444],{"class":86},"(sfAmendments)) {\n",[72,446,447,450,452,455,457,459,462],{"class":74,"line":137},[72,448,449],{"class":78},"        auto",[72,451,207],{"class":78},[72,453,454],{"class":86}," vec ",[72,456,386],{"class":78},[72,458,438],{"class":86},[72,460,461],{"class":198},"getFieldV256",[72,463,464],{"class":86},"(sfAmendments);\n",[72,466,467,470,473,476,479,482,485],{"class":74,"line":146},[72,468,469],{"class":86},"        enabled.",[72,471,472],{"class":198},"insert",[72,474,475],{"class":86},"(vec.",[72,477,478],{"class":198},"begin",[72,480,481],{"class":86},"(), vec.",[72,483,484],{"class":198},"end",[72,486,405],{"class":86},[72,488,489],{"class":74,"line":154},[72,490,249],{"class":86},[72,492,493],{"class":74,"line":162},[72,494,128],{"emptyLinePlaceholder":127},[72,496,497,500,502],{"class":74,"line":170},[72,498,499],{"class":78},"    return",[72,501,83],{"class":198},[72,503,504],{"class":86},"(enabled);\n",[72,506,507],{"class":74,"line":176},[72,508,509],{"class":86},"}\n",[44,511,513],{"id":512},"impact-of-subscriptions-on-rules","Impact of Subscriptions on Rules",[23,515,516],{},"When Subscriptions is enabled, several aspects of the protocol change:",[23,518,519,61],{},[30,520,521],{},"1. New transaction types",[63,523,525],{"className":65,"code":524,"language":67,"meta":68,"style":68},"\u002F\u002F In Transactor::preflight()\nNotTEC checkTransactionType(TxType type, Rules const& rules) {\n    if (type == ttSUBSCRIPTION_SET ||\n        type == ttSUBSCRIPTION_CLAIM ||\n        type == ttSUBSCRIPTION_CANCEL)\n    {\n        if (!rules.enabled(featureSubscriptions))\n            return temDISABLED;\n    }\n    return tesSUCCESS;\n}\n",[52,526,527,532,560,576,588,597,602,622,630,634,641],{"__ignoreMap":68},[72,528,529],{"class":74,"line":75},[72,530,531],{"class":99},"\u002F\u002F In Transactor::preflight()\n",[72,533,534,537,540,542,545,548,551,553,555,558],{"class":74,"line":90},[72,535,536],{"class":82},"NotTEC",[72,538,539],{"class":198}," checkTransactionType",[72,541,202],{"class":86},[72,543,544],{"class":82},"TxType",[72,546,547],{"class":82}," type",[72,549,550],{"class":86},", ",[72,552,54],{"class":82},[72,554,207],{"class":78},[72,556,557],{"class":82}," rules",[72,559,368],{"class":86},[72,561,562,564,567,570,573],{"class":74,"line":96},[72,563,429],{"class":78},[72,565,566],{"class":86}," (type ",[72,568,569],{"class":78},"==",[72,571,572],{"class":86}," ttSUBSCRIPTION_SET ",[72,574,575],{"class":78},"||\n",[72,577,578,581,583,586],{"class":74,"line":103},[72,579,580],{"class":86},"        type ",[72,582,569],{"class":78},[72,584,585],{"class":86}," ttSUBSCRIPTION_CLAIM ",[72,587,575],{"class":78},[72,589,590,592,594],{"class":74,"line":124},[72,591,580],{"class":86},[72,593,569],{"class":78},[72,595,596],{"class":86}," ttSUBSCRIPTION_CANCEL)\n",[72,598,599],{"class":74,"line":131},[72,600,601],{"class":86},"    {\n",[72,603,604,607,610,613,616,619],{"class":74,"line":137},[72,605,606],{"class":78},"        if",[72,608,609],{"class":86}," (",[72,611,612],{"class":78},"!",[72,614,615],{"class":86},"rules.",[72,617,618],{"class":198},"enabled",[72,620,621],{"class":86},"(featureSubscriptions))\n",[72,623,624,627],{"class":74,"line":146},[72,625,626],{"class":78},"            return",[72,628,629],{"class":86}," temDISABLED;\n",[72,631,632],{"class":74,"line":154},[72,633,249],{"class":86},[72,635,636,638],{"class":74,"line":162},[72,637,499],{"class":78},[72,639,640],{"class":86}," tesSUCCESS;\n",[72,642,643],{"class":74,"line":170},[72,644,509],{"class":86},[23,646,647,61],{},[30,648,649],{},"2. New ledger entry types",[63,651,653],{"className":65,"code":652,"language":67,"meta":68,"style":68},"\u002F\u002F In View::read()\nif (entry->getType() == ltSUBSCRIPTION) {\n    if (!rules.enabled(featureSubscriptions))\n        return nullptr;  \u002F\u002F Ignore if amendment not enabled\n}\n",[52,654,655,660,678,692,705],{"__ignoreMap":68},[72,656,657],{"class":74,"line":75},[72,658,659],{"class":99},"\u002F\u002F In View::read()\n",[72,661,662,665,668,671,673,675],{"class":74,"line":90},[72,663,664],{"class":78},"if",[72,666,667],{"class":86}," (entry->",[72,669,670],{"class":198},"getType",[72,672,271],{"class":86},[72,674,569],{"class":78},[72,676,677],{"class":86}," ltSUBSCRIPTION) {\n",[72,679,680,682,684,686,688,690],{"class":74,"line":96},[72,681,429],{"class":78},[72,683,609],{"class":86},[72,685,612],{"class":78},[72,687,615],{"class":86},[72,689,618],{"class":198},[72,691,621],{"class":86},[72,693,694,696,699,702],{"class":74,"line":103},[72,695,224],{"class":78},[72,697,698],{"class":239}," nullptr",[72,700,701],{"class":86},";",[72,703,704],{"class":99},"  \u002F\u002F Ignore if amendment not enabled\n",[72,706,707],{"class":74,"line":124},[72,708,509],{"class":86},[23,710,711,61],{},[30,712,713],{},"3. New validation logic",[63,715,717],{"className":65,"code":716,"language":67,"meta":68,"style":68},"\u002F\u002F In SubscriptionClaim::doApply()\nTER SubscriptionClaim::doApply() {\n    \u002F\u002F This function can only be called if\n    \u002F\u002F featureSubscriptions is enabled\n    assert(ctx_.view().rules().enabled(featureSubscriptions));\n\n    \u002F\u002F Logic specific to recurring subscriptions\n    \u002F\u002F ...\n}\n",[52,718,719,724,740,745,750,774,778,783,788],{"__ignoreMap":68},[72,720,721],{"class":74,"line":75},[72,722,723],{"class":99},"\u002F\u002F In SubscriptionClaim::doApply()\n",[72,725,726,729,732,734,737],{"class":74,"line":90},[72,727,728],{"class":82},"TER",[72,730,731],{"class":82}," SubscriptionClaim",[72,733,109],{"class":86},[72,735,736],{"class":198},"doApply",[72,738,739],{"class":86},"() {\n",[72,741,742],{"class":74,"line":96},[72,743,744],{"class":99},"    \u002F\u002F This function can only be called if\n",[72,746,747],{"class":74,"line":103},[72,748,749],{"class":99},"    \u002F\u002F featureSubscriptions is enabled\n",[72,751,752,755,758,761,764,767,769,771],{"class":74,"line":124},[72,753,754],{"class":198},"    assert",[72,756,757],{"class":86},"(ctx_.",[72,759,760],{"class":198},"view",[72,762,763],{"class":86},"().",[72,765,766],{"class":198},"rules",[72,768,763],{"class":86},[72,770,618],{"class":198},[72,772,773],{"class":86},"(featureSubscriptions));\n",[72,775,776],{"class":74,"line":131},[72,777,128],{"emptyLinePlaceholder":127},[72,779,780],{"class":74,"line":137},[72,781,782],{"class":99},"    \u002F\u002F Logic specific to recurring subscriptions\n",[72,784,785],{"class":74,"line":146},[72,786,787],{"class":99},"    \u002F\u002F ...\n",[72,789,790],{"class":74,"line":154},[72,791,509],{"class":86},[15,793],{},[18,795,797],{"id":796},"changes-in-transaction-validation","Changes in Transaction Validation",[44,799,801],{"id":800},"validation-phases","Validation Phases",[23,803,804],{},"Every XRPL transaction goes through several validation phases. Amendments can affect each of these phases.",[23,806,807,810],{},[30,808,809],{},"1. Preflight",": Basic syntactic validation (before applying to ledger)",[63,812,814],{"className":65,"code":813,"language":67,"meta":68,"style":68},"NotTEC SubscriptionSet::preflight(PreflightContext const& ctx) {\n    \u002F\u002F Check that the amendment is enabled\n    if (!ctx.rules.enabled(featureSubscriptions))\n        return temDISABLED;\n\n    \u002F\u002F Syntactic validation\n    if (!ctx.tx.isFieldPresent(sfDestination))\n        return temMALFORMED;\n\n    if (!ctx.tx.isFieldPresent(sfAmount))\n        return temMALFORMED;\n\n    if (!ctx.tx.isFieldPresent(sfFrequency))\n        return temMALFORMED;\n\n    \u002F\u002F Basic preflight validation\n    auto const ret = preflight1(ctx);\n    if (!isTesSuccess(ret))\n        return ret;\n\n    return preflight2(ctx);\n}\n",[52,815,816,840,845,860,866,870,875,891,898,902,917,923,927,942,948,952,957,974,988,995,999,1008],{"__ignoreMap":68},[72,817,818,820,823,825,828,830,833,835,838],{"class":74,"line":75},[72,819,536],{"class":82},[72,821,822],{"class":82}," SubscriptionSet",[72,824,109],{"class":86},[72,826,827],{"class":198},"preflight",[72,829,202],{"class":86},[72,831,832],{"class":82},"PreflightContext",[72,834,207],{"class":78},[72,836,837],{"class":82}," ctx",[72,839,368],{"class":86},[72,841,842],{"class":74,"line":90},[72,843,844],{"class":99},"    \u002F\u002F Check that the amendment is enabled\n",[72,846,847,849,851,853,856,858],{"class":74,"line":96},[72,848,429],{"class":78},[72,850,609],{"class":86},[72,852,612],{"class":78},[72,854,855],{"class":86},"ctx.rules.",[72,857,618],{"class":198},[72,859,621],{"class":86},[72,861,862,864],{"class":74,"line":103},[72,863,224],{"class":78},[72,865,629],{"class":86},[72,867,868],{"class":74,"line":124},[72,869,128],{"emptyLinePlaceholder":127},[72,871,872],{"class":74,"line":131},[72,873,874],{"class":99},"    \u002F\u002F Syntactic validation\n",[72,876,877,879,881,883,886,888],{"class":74,"line":137},[72,878,429],{"class":78},[72,880,609],{"class":86},[72,882,612],{"class":78},[72,884,885],{"class":86},"ctx.tx.",[72,887,441],{"class":198},[72,889,890],{"class":86},"(sfDestination))\n",[72,892,893,895],{"class":74,"line":146},[72,894,224],{"class":78},[72,896,897],{"class":86}," temMALFORMED;\n",[72,899,900],{"class":74,"line":154},[72,901,128],{"emptyLinePlaceholder":127},[72,903,904,906,908,910,912,914],{"class":74,"line":162},[72,905,429],{"class":78},[72,907,609],{"class":86},[72,909,612],{"class":78},[72,911,885],{"class":86},[72,913,441],{"class":198},[72,915,916],{"class":86},"(sfAmount))\n",[72,918,919,921],{"class":74,"line":170},[72,920,224],{"class":78},[72,922,897],{"class":86},[72,924,925],{"class":74,"line":176},[72,926,128],{"emptyLinePlaceholder":127},[72,928,929,931,933,935,937,939],{"class":74,"line":181},[72,930,429],{"class":78},[72,932,609],{"class":86},[72,934,612],{"class":78},[72,936,885],{"class":86},[72,938,441],{"class":198},[72,940,941],{"class":86},"(sfFrequency))\n",[72,943,944,946],{"class":74,"line":187},[72,945,224],{"class":78},[72,947,897],{"class":86},[72,949,950],{"class":74,"line":193},[72,951,128],{"emptyLinePlaceholder":127},[72,953,954],{"class":74,"line":221},[72,955,956],{"class":99},"    \u002F\u002F Basic preflight validation\n",[72,958,959,961,963,966,968,971],{"class":74,"line":246},[72,960,378],{"class":78},[72,962,356],{"class":78},[72,964,965],{"class":86}," ret ",[72,967,386],{"class":78},[72,969,970],{"class":198}," preflight1",[72,972,973],{"class":86},"(ctx);\n",[72,975,976,978,980,982,985],{"class":74,"line":252},[72,977,429],{"class":78},[72,979,609],{"class":86},[72,981,612],{"class":78},[72,983,984],{"class":198},"isTesSuccess",[72,986,987],{"class":86},"(ret))\n",[72,989,990,992],{"class":74,"line":257},[72,991,224],{"class":78},[72,993,994],{"class":86}," ret;\n",[72,996,997],{"class":74,"line":263},[72,998,128],{"emptyLinePlaceholder":127},[72,1000,1001,1003,1006],{"class":74,"line":285},[72,1002,499],{"class":78},[72,1004,1005],{"class":198}," preflight2",[72,1007,973],{"class":86},[72,1009,1010],{"class":74,"line":304},[72,1011,509],{"class":86},[23,1013,1014,1017],{},[30,1015,1016],{},"2. Preclaim",": Contextual validation (with ledger access but without modifying it)",[63,1019,1021],{"className":65,"code":1020,"language":67,"meta":68,"style":68},"TER SubscriptionSet::preclaim(PreclaimContext const& ctx) {\n    \u002F\u002F Check that source account exists\n    auto const account = ctx.view.read(keylet::account(ctx.tx[sfAccount]));\n    if (!account)\n        return terNO_ACCOUNT;\n\n    \u002F\u002F Check that destination account exists\n    auto const dest = ctx.view.read(keylet::account(ctx.tx[sfDestination]));\n    if (!dest)\n        return tecNO_DST;\n\n    \u002F\u002F Check sufficient funds (approximate)\n    auto const balance = (*account)[sfBalance];\n    auto const amount = ctx.tx[sfAmount].xrp();\n\n    if (balance \u003C amount)\n        return tecUNFUNDED;\n\n    return tesSUCCESS;\n}\n",[52,1022,1023,1045,1050,1078,1089,1096,1100,1105,1131,1142,1149,1153,1158,1177,1197,1201,1213,1220,1224,1230],{"__ignoreMap":68},[72,1024,1025,1027,1029,1031,1034,1036,1039,1041,1043],{"class":74,"line":75},[72,1026,728],{"class":82},[72,1028,822],{"class":82},[72,1030,109],{"class":86},[72,1032,1033],{"class":198},"preclaim",[72,1035,202],{"class":86},[72,1037,1038],{"class":82},"PreclaimContext",[72,1040,207],{"class":78},[72,1042,837],{"class":82},[72,1044,368],{"class":86},[72,1046,1047],{"class":74,"line":90},[72,1048,1049],{"class":99},"    \u002F\u002F Check that source account exists\n",[72,1051,1052,1054,1056,1059,1061,1064,1066,1068,1070,1072,1075],{"class":74,"line":96},[72,1053,378],{"class":78},[72,1055,356],{"class":78},[72,1057,1058],{"class":86}," account ",[72,1060,386],{"class":78},[72,1062,1063],{"class":86}," ctx.view.",[72,1065,392],{"class":198},[72,1067,202],{"class":86},[72,1069,397],{"class":82},[72,1071,109],{"class":86},[72,1073,1074],{"class":198},"account",[72,1076,1077],{"class":86},"(ctx.tx[sfAccount]));\n",[72,1079,1080,1082,1084,1086],{"class":74,"line":103},[72,1081,429],{"class":78},[72,1083,609],{"class":86},[72,1085,612],{"class":78},[72,1087,1088],{"class":86},"account)\n",[72,1090,1091,1093],{"class":74,"line":124},[72,1092,224],{"class":78},[72,1094,1095],{"class":86}," terNO_ACCOUNT;\n",[72,1097,1098],{"class":74,"line":131},[72,1099,128],{"emptyLinePlaceholder":127},[72,1101,1102],{"class":74,"line":137},[72,1103,1104],{"class":99},"    \u002F\u002F Check that destination account exists\n",[72,1106,1107,1109,1111,1114,1116,1118,1120,1122,1124,1126,1128],{"class":74,"line":146},[72,1108,378],{"class":78},[72,1110,356],{"class":78},[72,1112,1113],{"class":86}," dest ",[72,1115,386],{"class":78},[72,1117,1063],{"class":86},[72,1119,392],{"class":198},[72,1121,202],{"class":86},[72,1123,397],{"class":82},[72,1125,109],{"class":86},[72,1127,1074],{"class":198},[72,1129,1130],{"class":86},"(ctx.tx[sfDestination]));\n",[72,1132,1133,1135,1137,1139],{"class":74,"line":154},[72,1134,429],{"class":78},[72,1136,609],{"class":86},[72,1138,612],{"class":78},[72,1140,1141],{"class":86},"dest)\n",[72,1143,1144,1146],{"class":74,"line":162},[72,1145,224],{"class":78},[72,1147,1148],{"class":86}," tecNO_DST;\n",[72,1150,1151],{"class":74,"line":170},[72,1152,128],{"emptyLinePlaceholder":127},[72,1154,1155],{"class":74,"line":176},[72,1156,1157],{"class":99},"    \u002F\u002F Check sufficient funds (approximate)\n",[72,1159,1160,1162,1164,1167,1169,1171,1174],{"class":74,"line":181},[72,1161,378],{"class":78},[72,1163,356],{"class":78},[72,1165,1166],{"class":86}," balance ",[72,1168,386],{"class":78},[72,1170,609],{"class":86},[72,1172,1173],{"class":78},"*",[72,1175,1176],{"class":86},"account)[sfBalance];\n",[72,1178,1179,1181,1183,1186,1188,1191,1194],{"class":74,"line":187},[72,1180,378],{"class":78},[72,1182,356],{"class":78},[72,1184,1185],{"class":86}," amount ",[72,1187,386],{"class":78},[72,1189,1190],{"class":86}," ctx.tx[sfAmount].",[72,1192,1193],{"class":198},"xrp",[72,1195,1196],{"class":86},"();\n",[72,1198,1199],{"class":74,"line":193},[72,1200,128],{"emptyLinePlaceholder":127},[72,1202,1203,1205,1208,1210],{"class":74,"line":221},[72,1204,429],{"class":78},[72,1206,1207],{"class":86}," (balance ",[72,1209,115],{"class":78},[72,1211,1212],{"class":86}," amount)\n",[72,1214,1215,1217],{"class":74,"line":246},[72,1216,224],{"class":78},[72,1218,1219],{"class":86}," tecUNFUNDED;\n",[72,1221,1222],{"class":74,"line":252},[72,1223,128],{"emptyLinePlaceholder":127},[72,1225,1226,1228],{"class":74,"line":257},[72,1227,499],{"class":78},[72,1229,640],{"class":86},[72,1231,1232],{"class":74,"line":263},[72,1233,509],{"class":86},[23,1235,1236,1239],{},[30,1237,1238],{},"3. DoApply",": Actual application to ledger",[63,1241,1243],{"className":65,"code":1242,"language":67,"meta":68,"style":68},"TER SubscriptionSet::doApply() {\n    \u002F\u002F Create subscription entry\n    auto const subKey = keylet::subscription(\n        ctx_.tx[sfAccount],\n        ctx_.tx[sfSubscriptionID]);\n\n    auto sub = std::make_shared\u003CSLE>(subKey);\n    sub->setAccountID(sfAccount, ctx_.tx[sfAccount]);\n    sub->setAccountID(sfDestination, ctx_.tx[sfDestination]);\n    sub->setFieldAmount(sfAmount, ctx_.tx[sfAmount]);\n    sub->setFieldU32(sfFrequency, ctx_.tx[sfFrequency]);\n    sub->setFieldU32(sfNextPaymentTime, view().info().closeTime + frequency);\n\n    \u002F\u002F Add to ledger\n    view().insert(sub);\n\n    return tesSUCCESS;\n}\n",[52,1244,1245,1257,1262,1284,1289,1294,1298,1323,1334,1343,1353,1363,1388,1392,1397,1409,1413,1419],{"__ignoreMap":68},[72,1246,1247,1249,1251,1253,1255],{"class":74,"line":75},[72,1248,728],{"class":82},[72,1250,822],{"class":82},[72,1252,109],{"class":86},[72,1254,736],{"class":198},[72,1256,739],{"class":86},[72,1258,1259],{"class":74,"line":90},[72,1260,1261],{"class":99},"    \u002F\u002F Create subscription entry\n",[72,1263,1264,1266,1268,1271,1273,1276,1278,1281],{"class":74,"line":96},[72,1265,378],{"class":78},[72,1267,356],{"class":78},[72,1269,1270],{"class":86}," subKey ",[72,1272,386],{"class":78},[72,1274,1275],{"class":82}," keylet",[72,1277,109],{"class":86},[72,1279,1280],{"class":198},"subscription",[72,1282,1283],{"class":86},"(\n",[72,1285,1286],{"class":74,"line":103},[72,1287,1288],{"class":86},"        ctx_.tx[sfAccount],\n",[72,1290,1291],{"class":74,"line":124},[72,1292,1293],{"class":86},"        ctx_.tx[sfSubscriptionID]);\n",[72,1295,1296],{"class":74,"line":131},[72,1297,128],{"emptyLinePlaceholder":127},[72,1299,1300,1302,1305,1307,1310,1312,1315,1317,1320],{"class":74,"line":137},[72,1301,378],{"class":78},[72,1303,1304],{"class":86}," sub ",[72,1306,386],{"class":78},[72,1308,1309],{"class":82}," std",[72,1311,109],{"class":86},[72,1313,1314],{"class":198},"make_shared",[72,1316,115],{"class":86},[72,1318,1319],{"class":82},"SLE",[72,1321,1322],{"class":86},">(subKey);\n",[72,1324,1325,1328,1331],{"class":74,"line":146},[72,1326,1327],{"class":86},"    sub->",[72,1329,1330],{"class":198},"setAccountID",[72,1332,1333],{"class":86},"(sfAccount, ctx_.tx[sfAccount]);\n",[72,1335,1336,1338,1340],{"class":74,"line":154},[72,1337,1327],{"class":86},[72,1339,1330],{"class":198},[72,1341,1342],{"class":86},"(sfDestination, ctx_.tx[sfDestination]);\n",[72,1344,1345,1347,1350],{"class":74,"line":162},[72,1346,1327],{"class":86},[72,1348,1349],{"class":198},"setFieldAmount",[72,1351,1352],{"class":86},"(sfAmount, ctx_.tx[sfAmount]);\n",[72,1354,1355,1357,1360],{"class":74,"line":170},[72,1356,1327],{"class":86},[72,1358,1359],{"class":198},"setFieldU32",[72,1361,1362],{"class":86},"(sfFrequency, ctx_.tx[sfFrequency]);\n",[72,1364,1365,1367,1369,1372,1374,1376,1379,1382,1385],{"class":74,"line":176},[72,1366,1327],{"class":86},[72,1368,1359],{"class":198},[72,1370,1371],{"class":86},"(sfNextPaymentTime, ",[72,1373,760],{"class":198},[72,1375,763],{"class":86},[72,1377,1378],{"class":198},"info",[72,1380,1381],{"class":86},"().closeTime ",[72,1383,1384],{"class":78},"+",[72,1386,1387],{"class":86}," frequency);\n",[72,1389,1390],{"class":74,"line":181},[72,1391,128],{"emptyLinePlaceholder":127},[72,1393,1394],{"class":74,"line":187},[72,1395,1396],{"class":99},"    \u002F\u002F Add to ledger\n",[72,1398,1399,1402,1404,1406],{"class":74,"line":193},[72,1400,1401],{"class":198},"    view",[72,1403,763],{"class":86},[72,1405,472],{"class":198},[72,1407,1408],{"class":86},"(sub);\n",[72,1410,1411],{"class":74,"line":221},[72,1412,128],{"emptyLinePlaceholder":127},[72,1414,1415,1417],{"class":74,"line":246},[72,1416,499],{"class":78},[72,1418,640],{"class":86},[72,1420,1421],{"class":74,"line":252},[72,1422,509],{"class":86},[44,1424,1426],{"id":1425},"backward-compatibility","Backward Compatibility",[23,1428,1429,1432,1433,1436,1437,1440],{},[30,1430,1431],{},"Before activation",": ",[52,1434,1435],{},"ttSUBSCRIPTION_SET"," transactions submitted before Subscriptions activation are rejected with ",[52,1438,1439],{},"temDISABLED",".",[23,1442,1443,1446],{},[30,1444,1445],{},"After activation",": These transactions become valid and can be processed.",[23,1448,1449,1452,1453,1456],{},[30,1450,1451],{},"No backward compatibility for ledgers",": A ledger built after activation potentially contains ",[52,1454,1455],{},"ltSUBSCRIPTION"," objects that would not exist in a pre-activation ledger. A node that does not support Subscriptions cannot correctly validate such a ledger.",[15,1458],{},[18,1460,1462],{"id":1461},"impact-on-consensus","Impact on Consensus",[44,1464,1466],{"id":1465},"ledgerhash-calculation","LedgerHash Calculation",[23,1468,1469],{},"The hash of a ledger is calculated from all its components, including:",[1471,1472,1473,1477,1480,1483],"ul",{},[1474,1475,1476],"li",{},"The root hash of the accounts SHAMap",[1474,1478,1479],{},"The root hash of the transactions SHAMap",[1474,1481,1482],{},"The ledger index, close time, parent hash",[1474,1484,1485,1486,1488,1489,1492],{},"The ",[52,1487,325],{}," and ",[52,1490,1491],{},"sfMajorities"," fields",[23,1494,1495,1498],{},[30,1496,1497],{},"Importance",": If two nodes apply different rules (one with Subscriptions, the other without), they will build different ledgers with different hashes, which will prevent consensus.",[44,1500,1502],{"id":1501},"consensus-on-rules","Consensus on Rules",[23,1504,1505,1506,1509],{},"XRPL consensus is not only about which transactions to include, but also about the ",[30,1507,1508],{},"rules to apply",". All nodes must:",[1511,1512,1513,1516,1519],"ol",{},[1474,1514,1515],{},"Agree on the parent ledger",[1474,1517,1518],{},"Agree on transactions to include",[1474,1520,1521,1524],{},[30,1522,1523],{},"Agree on enabled amendments"," (rules to apply)",[23,1526,1527,1530],{},[30,1528,1529],{},"Protection mechanism",": If a node does not support an enabled amendment, it enters \"amendment blocked\" mode and ceases to participate in consensus, thus avoiding building an invalid ledger.",[15,1532],{},[18,1534,1536],{"id":1535},"management-of-unsupported-amendments","Management of Unsupported Amendments",[44,1538,1540],{"id":1539},"detection-of-unsupported-amendment","Detection of Unsupported Amendment",[23,1542,1543],{},"When an amendment is enabled, the system immediately checks if the node supports it:",[63,1545,1547],{"className":65,"code":1546,"language":67,"meta":68,"style":68},"\u002F\u002F In Change::applyAmendment()\nif (!ctx.app.getAmendmentTable().isSupported(amendment)) {\n    JLOG(ctx.journal.fatal())\n        \u003C\u003C \"Unsupported amendment \" \u003C\u003C amendment\n        \u003C\u003C \" (\" \u003C\u003C amendmentName \u003C\u003C \") activated!\";\n\n    \u002F\u002F Block the server\n    ctx.app.getOPs().setAmendmentBlocked();\n\n    \u002F\u002F Record expected moment\n    ctx.app.getAmendmentTable().recordFirstUnsupported(\n        ctx.view().info().closeTime);\n}\n",[52,1548,1549,1554,1576,1590,1605,1625,1629,1634,1649,1653,1658,1671,1685],{"__ignoreMap":68},[72,1550,1551],{"class":74,"line":75},[72,1552,1553],{"class":99},"\u002F\u002F In Change::applyAmendment()\n",[72,1555,1556,1558,1560,1562,1565,1568,1570,1573],{"class":74,"line":90},[72,1557,664],{"class":78},[72,1559,609],{"class":86},[72,1561,612],{"class":78},[72,1563,1564],{"class":86},"ctx.app.",[72,1566,1567],{"class":198},"getAmendmentTable",[72,1569,763],{"class":86},[72,1571,1572],{"class":198},"isSupported",[72,1574,1575],{"class":86},"(amendment)) {\n",[72,1577,1578,1581,1584,1587],{"class":74,"line":96},[72,1579,1580],{"class":198},"    JLOG",[72,1582,1583],{"class":86},"(ctx.journal.",[72,1585,1586],{"class":198},"fatal",[72,1588,1589],{"class":86},"())\n",[72,1591,1592,1595,1599,1602],{"class":74,"line":103},[72,1593,1594],{"class":78},"        \u003C\u003C",[72,1596,1598],{"class":1597},"sTRMh"," \"Unsupported amendment \"",[72,1600,1601],{"class":78}," \u003C\u003C",[72,1603,1604],{"class":86}," amendment\n",[72,1606,1607,1609,1612,1614,1617,1620,1623],{"class":74,"line":124},[72,1608,1594],{"class":78},[72,1610,1611],{"class":1597}," \" (\"",[72,1613,1601],{"class":78},[72,1615,1616],{"class":86}," amendmentName ",[72,1618,1619],{"class":78},"\u003C\u003C",[72,1621,1622],{"class":1597}," \") activated!\"",[72,1624,243],{"class":86},[72,1626,1627],{"class":74,"line":131},[72,1628,128],{"emptyLinePlaceholder":127},[72,1630,1631],{"class":74,"line":137},[72,1632,1633],{"class":99},"    \u002F\u002F Block the server\n",[72,1635,1636,1639,1642,1644,1647],{"class":74,"line":146},[72,1637,1638],{"class":86},"    ctx.app.",[72,1640,1641],{"class":198},"getOPs",[72,1643,763],{"class":86},[72,1645,1646],{"class":198},"setAmendmentBlocked",[72,1648,1196],{"class":86},[72,1650,1651],{"class":74,"line":154},[72,1652,128],{"emptyLinePlaceholder":127},[72,1654,1655],{"class":74,"line":162},[72,1656,1657],{"class":99},"    \u002F\u002F Record expected moment\n",[72,1659,1660,1662,1664,1666,1669],{"class":74,"line":170},[72,1661,1638],{"class":86},[72,1663,1567],{"class":198},[72,1665,763],{"class":86},[72,1667,1668],{"class":198},"recordFirstUnsupported",[72,1670,1283],{"class":86},[72,1672,1673,1676,1678,1680,1682],{"class":74,"line":176},[72,1674,1675],{"class":86},"        ctx.",[72,1677,760],{"class":198},[72,1679,763],{"class":86},[72,1681,1378],{"class":198},[72,1683,1684],{"class":86},"().closeTime);\n",[72,1686,1687],{"class":74,"line":181},[72,1688,509],{"class":86},[44,1690,1692],{"id":1691},"amendment-blocked-mode","Amendment Blocked Mode",[23,1694,1695],{},"When a node enters \"amendment blocked\" mode:",[23,1697,1698,1701],{},[30,1699,1700],{},"Consensus stopped",": The node ceases to propose and validate ledgers",[63,1703,1705],{"className":65,"code":1704,"language":67,"meta":68,"style":68},"void NetworkOPsImp::setAmendmentBlocked() {\n    amendmentBlocked_ = true;\n\n    \u002F\u002F Stop participating in consensus\n    setMode(OperatingMode::DISCONNECTED);\n\n    JLOG(j_.fatal())\n        \u003C\u003C \"Server is amendment blocked. \"\n        \u003C\u003C \"Please upgrade to a newer version.\";\n}\n",[52,1706,1707,1721,1733,1737,1742,1755,1759,1770,1777,1786],{"__ignoreMap":68},[72,1708,1709,1712,1715,1717,1719],{"class":74,"line":75},[72,1710,1711],{"class":78},"void",[72,1713,1714],{"class":82}," NetworkOPsImp",[72,1716,109],{"class":86},[72,1718,1646],{"class":198},[72,1720,739],{"class":86},[72,1722,1723,1726,1728,1731],{"class":74,"line":90},[72,1724,1725],{"class":86},"    amendmentBlocked_ ",[72,1727,386],{"class":78},[72,1729,1730],{"class":239}," true",[72,1732,243],{"class":86},[72,1734,1735],{"class":74,"line":96},[72,1736,128],{"emptyLinePlaceholder":127},[72,1738,1739],{"class":74,"line":103},[72,1740,1741],{"class":99},"    \u002F\u002F Stop participating in consensus\n",[72,1743,1744,1747,1749,1752],{"class":74,"line":124},[72,1745,1746],{"class":198},"    setMode",[72,1748,202],{"class":86},[72,1750,1751],{"class":82},"OperatingMode",[72,1753,1754],{"class":86},"::DISCONNECTED);\n",[72,1756,1757],{"class":74,"line":131},[72,1758,128],{"emptyLinePlaceholder":127},[72,1760,1761,1763,1766,1768],{"class":74,"line":137},[72,1762,1580],{"class":198},[72,1764,1765],{"class":86},"(j_.",[72,1767,1586],{"class":198},[72,1769,1589],{"class":86},[72,1771,1772,1774],{"class":74,"line":146},[72,1773,1594],{"class":78},[72,1775,1776],{"class":1597}," \"Server is amendment blocked. \"\n",[72,1778,1779,1781,1784],{"class":74,"line":154},[72,1780,1594],{"class":78},[72,1782,1783],{"class":1597}," \"Please upgrade to a newer version.\"",[72,1785,243],{"class":86},[72,1787,1788],{"class":74,"line":162},[72,1789,509],{"class":86},[23,1791,1792,1795],{},[30,1793,1794],{},"API still functional",": The node can still:",[1471,1797,1798,1801,1804],{},[1474,1799,1800],{},"Respond to RPC queries",[1474,1802,1803],{},"Synchronize ledgers from peers",[1474,1805,1806],{},"Provide historical data",[23,1808,1809],{},"But it cannot:",[1471,1811,1812,1815,1818],{},[1474,1813,1814],{},"Propose new ledgers",[1474,1816,1817],{},"Validate peer proposals",[1474,1819,1820],{},"Submit new transactions to the network",[23,1822,1823,61],{},[30,1824,1825],{},"Signaling via server_info",[63,1827,1831],{"className":1828,"code":1829,"language":1830,"meta":68,"style":68},"language-json shiki shiki-themes github-dark-high-contrast","{\n  \"result\": {\n    \"info\": {\n      \"amendment_blocked\": true,\n      \"build_version\": \"1.11.0\",\n      \"server_state\": \"amendment_blocked\",\n      \"validated_ledger\": {\n        \"seq\": 86652345\n      }\n    },\n    \"status\": \"success\"\n  }\n}\n","json",[52,1832,1833,1838,1847,1854,1867,1879,1891,1898,1908,1913,1918,1928,1933],{"__ignoreMap":68},[72,1834,1835],{"class":74,"line":75},[72,1836,1837],{"class":86},"{\n",[72,1839,1840,1844],{"class":74,"line":90},[72,1841,1843],{"class":1842},"sKpQp","  \"result\"",[72,1845,1846],{"class":86},": {\n",[72,1848,1849,1852],{"class":74,"line":96},[72,1850,1851],{"class":1842},"    \"info\"",[72,1853,1846],{"class":86},[72,1855,1856,1859,1861,1864],{"class":74,"line":103},[72,1857,1858],{"class":1842},"      \"amendment_blocked\"",[72,1860,1432],{"class":86},[72,1862,1863],{"class":239},"true",[72,1865,1866],{"class":86},",\n",[72,1868,1869,1872,1874,1877],{"class":74,"line":124},[72,1870,1871],{"class":1842},"      \"build_version\"",[72,1873,1432],{"class":86},[72,1875,1876],{"class":1597},"\"1.11.0\"",[72,1878,1866],{"class":86},[72,1880,1881,1884,1886,1889],{"class":74,"line":131},[72,1882,1883],{"class":1842},"      \"server_state\"",[72,1885,1432],{"class":86},[72,1887,1888],{"class":1597},"\"amendment_blocked\"",[72,1890,1866],{"class":86},[72,1892,1893,1896],{"class":74,"line":137},[72,1894,1895],{"class":1842},"      \"validated_ledger\"",[72,1897,1846],{"class":86},[72,1899,1900,1903,1905],{"class":74,"line":146},[72,1901,1902],{"class":1842},"        \"seq\"",[72,1904,1432],{"class":86},[72,1906,1907],{"class":239},"86652345\n",[72,1909,1910],{"class":74,"line":154},[72,1911,1912],{"class":86},"      }\n",[72,1914,1915],{"class":74,"line":162},[72,1916,1917],{"class":86},"    },\n",[72,1919,1920,1923,1925],{"class":74,"line":170},[72,1921,1922],{"class":1842},"    \"status\"",[72,1924,1432],{"class":86},[72,1926,1927],{"class":1597},"\"success\"\n",[72,1929,1930],{"class":74,"line":176},[72,1931,1932],{"class":86},"  }\n",[72,1934,1935],{"class":74,"line":181},[72,1936,509],{"class":86},[44,1938,1940],{"id":1939},"prior-warnings","Prior Warnings",[23,1942,1943,1944,1947],{},"The system warns operators ",[30,1945,1946],{},"before"," an unsupported amendment is activated:",[23,1949,1950,1953],{},[30,1951,1952],{},"firstUnsupportedExpected",": If an unsupported amendment has reached majority, the system calculates when it will be activated and emits warnings.",[63,1955,1957],{"className":65,"code":1956,"language":67,"meta":68,"style":68},"auto const expected = app.getAmendmentTable().firstUnsupportedExpected();\n\nif (expected) {\n    auto const timeUntil = *expected - now();\n\n    if (timeUntil \u003C 24h) {\n        JLOG(j_.fatal())\n            \u003C\u003C \"Unsupported amendment will activate in \"\n            \u003C\u003C std::chrono::duration_cast\u003Cstd::chrono::hours>(timeUntil).count()\n            \u003C\u003C \" hours. Please upgrade immediately!\";\n    }\n    else if (timeUntil \u003C 7days) {\n        JLOG(j_.error())\n            \u003C\u003C \"Unsupported amendment will activate in \"\n            \u003C\u003C std::chrono::duration_cast\u003Cstd::chrono::days>(timeUntil).count()\n            \u003C\u003C \" days. Please upgrade soon.\";\n    }\n}\n",[52,1958,1959,1982,1986,1993,2018,2022,2039,2050,2058,2095,2104,2108,2128,2139,2145,2177,2186,2190],{"__ignoreMap":68},[72,1960,1961,1964,1966,1969,1971,1974,1976,1978,1980],{"class":74,"line":75},[72,1962,1963],{"class":78},"auto",[72,1965,356],{"class":78},[72,1967,1968],{"class":86}," expected ",[72,1970,386],{"class":78},[72,1972,1973],{"class":86}," app.",[72,1975,1567],{"class":198},[72,1977,763],{"class":86},[72,1979,1952],{"class":198},[72,1981,1196],{"class":86},[72,1983,1984],{"class":74,"line":90},[72,1985,128],{"emptyLinePlaceholder":127},[72,1987,1988,1990],{"class":74,"line":96},[72,1989,664],{"class":78},[72,1991,1992],{"class":86}," (expected) {\n",[72,1994,1995,1997,1999,2002,2004,2007,2010,2013,2016],{"class":74,"line":103},[72,1996,378],{"class":78},[72,1998,356],{"class":78},[72,2000,2001],{"class":86}," timeUntil ",[72,2003,386],{"class":78},[72,2005,2006],{"class":78}," *",[72,2008,2009],{"class":86},"expected ",[72,2011,2012],{"class":78},"-",[72,2014,2015],{"class":198}," now",[72,2017,1196],{"class":86},[72,2019,2020],{"class":74,"line":124},[72,2021,128],{"emptyLinePlaceholder":127},[72,2023,2024,2026,2029,2031,2034,2037],{"class":74,"line":131},[72,2025,429],{"class":78},[72,2027,2028],{"class":86}," (timeUntil ",[72,2030,115],{"class":78},[72,2032,2033],{"class":239}," 24",[72,2035,2036],{"class":78},"h",[72,2038,368],{"class":86},[72,2040,2041,2044,2046,2048],{"class":74,"line":137},[72,2042,2043],{"class":198},"        JLOG",[72,2045,1765],{"class":86},[72,2047,1586],{"class":198},[72,2049,1589],{"class":86},[72,2051,2052,2055],{"class":74,"line":146},[72,2053,2054],{"class":78},"            \u003C\u003C",[72,2056,2057],{"class":1597}," \"Unsupported amendment will activate in \"\n",[72,2059,2060,2062,2064,2066,2069,2071,2074,2076,2078,2080,2082,2084,2087,2090,2092],{"class":74,"line":154},[72,2061,2054],{"class":78},[72,2063,1309],{"class":82},[72,2065,109],{"class":86},[72,2067,2068],{"class":82},"chrono",[72,2070,109],{"class":86},[72,2072,2073],{"class":198},"duration_cast",[72,2075,115],{"class":86},[72,2077,343],{"class":82},[72,2079,109],{"class":86},[72,2081,2068],{"class":82},[72,2083,109],{"class":86},[72,2085,2086],{"class":82},"hours",[72,2088,2089],{"class":86},">(timeUntil).",[72,2091,230],{"class":198},[72,2093,2094],{"class":86},"()\n",[72,2096,2097,2099,2102],{"class":74,"line":162},[72,2098,2054],{"class":78},[72,2100,2101],{"class":1597}," \" hours. Please upgrade immediately!\"",[72,2103,243],{"class":86},[72,2105,2106],{"class":74,"line":170},[72,2107,249],{"class":86},[72,2109,2110,2113,2116,2118,2120,2123,2126],{"class":74,"line":176},[72,2111,2112],{"class":78},"    else",[72,2114,2115],{"class":78}," if",[72,2117,2028],{"class":86},[72,2119,115],{"class":78},[72,2121,2122],{"class":239}," 7",[72,2124,2125],{"class":78},"days",[72,2127,368],{"class":86},[72,2129,2130,2132,2134,2137],{"class":74,"line":181},[72,2131,2043],{"class":198},[72,2133,1765],{"class":86},[72,2135,2136],{"class":198},"error",[72,2138,1589],{"class":86},[72,2140,2141,2143],{"class":74,"line":187},[72,2142,2054],{"class":78},[72,2144,2057],{"class":1597},[72,2146,2147,2149,2151,2153,2155,2157,2159,2161,2163,2165,2167,2169,2171,2173,2175],{"class":74,"line":193},[72,2148,2054],{"class":78},[72,2150,1309],{"class":82},[72,2152,109],{"class":86},[72,2154,2068],{"class":82},[72,2156,109],{"class":86},[72,2158,2073],{"class":198},[72,2160,115],{"class":86},[72,2162,343],{"class":82},[72,2164,109],{"class":86},[72,2166,2068],{"class":82},[72,2168,109],{"class":86},[72,2170,2125],{"class":82},[72,2172,2089],{"class":86},[72,2174,230],{"class":198},[72,2176,2094],{"class":86},[72,2178,2179,2181,2184],{"class":74,"line":221},[72,2180,2054],{"class":78},[72,2182,2183],{"class":1597}," \" days. Please upgrade soon.\"",[72,2185,243],{"class":86},[72,2187,2188],{"class":74,"line":246},[72,2189,249],{"class":86},[72,2191,2192],{"class":74,"line":252},[72,2193,509],{"class":86},[15,2195],{},[18,2197,2199],{"id":2198},"forward-compatibility-anticipating-changes","Forward Compatibility: Anticipating Changes",[44,2201,2203],{"id":2202},"unsupported-vs-obsolete","Unsupported vs Obsolete",[23,2205,2206,2209],{},[30,2207,2208],{},"Unsupported",": An amendment that this node does not recognize or for which it does not have implementation code.",[23,2211,2212,2215],{},[30,2213,2214],{},"Obsolete",": A historical amendment that is no longer relevant but must remain in the code in case it was activated on a historical ledger.",[63,2217,2219],{"className":65,"code":2218,"language":67,"meta":68,"style":68},"XRPL_FEATURE(Tickets, Supported::yes, VoteBehavior::Obsolete)\n",[52,2220,2221],{"__ignoreMap":68},[72,2222,2223,2226,2229,2232,2235,2238],{"class":74,"line":75},[72,2224,2225],{"class":198},"XRPL_FEATURE",[72,2227,2228],{"class":86},"(Tickets, ",[72,2230,2231],{"class":82},"Supported",[72,2233,2234],{"class":86},"::yes, ",[72,2236,2237],{"class":82},"VoteBehavior",[72,2239,2240],{"class":86},"::Obsolete)\n",[44,2242,2244],{"id":2243},"design-for-forward-compatibility","Design for Forward Compatibility",[23,2246,2247],{},"rippled developers design code to anticipate future changes:",[23,2249,2250,2253],{},[30,2251,2252],{},"1. Tolerant parsing",": Data structures ignore unknown fields rather than rejecting",[63,2255,2257],{"className":65,"code":2256,"language":67,"meta":68,"style":68},"\u002F\u002F If a new field is added by a future amendment\nSTObject obj = parseTransaction(data);\n\n\u002F\u002F Unknown fields are ignored, no error\n\u002F\u002F Allows old nodes to read new data\n",[52,2258,2259,2264,2277,2281,2286],{"__ignoreMap":68},[72,2260,2261],{"class":74,"line":75},[72,2262,2263],{"class":99},"\u002F\u002F If a new field is added by a future amendment\n",[72,2265,2266,2269,2271,2274],{"class":74,"line":90},[72,2267,2268],{"class":86},"STObject obj ",[72,2270,386],{"class":78},[72,2272,2273],{"class":198}," parseTransaction",[72,2275,2276],{"class":86},"(data);\n",[72,2278,2279],{"class":74,"line":96},[72,2280,128],{"emptyLinePlaceholder":127},[72,2282,2283],{"class":74,"line":103},[72,2284,2285],{"class":99},"\u002F\u002F Unknown fields are ignored, no error\n",[72,2287,2288],{"class":74,"line":124},[72,2289,2290],{"class":99},"\u002F\u002F Allows old nodes to read new data\n",[23,2292,2293,2296],{},[30,2294,2295],{},"2. Structure versioning",": Some structures include version fields",[63,2298,2300],{"className":65,"code":2299,"language":67,"meta":68,"style":68},"if (obj.isFieldPresent(sfVersion)) {\n    auto version = obj.getFieldU32(sfVersion);\n    if (version > SUPPORTED_VERSION) {\n        \u002F\u002F Handle with caution or reject\n    }\n}\n",[52,2301,2302,2314,2332,2344,2349,2353],{"__ignoreMap":68},[72,2303,2304,2306,2309,2311],{"class":74,"line":75},[72,2305,664],{"class":78},[72,2307,2308],{"class":86}," (obj.",[72,2310,441],{"class":198},[72,2312,2313],{"class":86},"(sfVersion)) {\n",[72,2315,2316,2318,2321,2323,2326,2329],{"class":74,"line":90},[72,2317,378],{"class":78},[72,2319,2320],{"class":86}," version ",[72,2322,386],{"class":78},[72,2324,2325],{"class":86}," obj.",[72,2327,2328],{"class":198},"getFieldU32",[72,2330,2331],{"class":86},"(sfVersion);\n",[72,2333,2334,2336,2339,2341],{"class":74,"line":96},[72,2335,429],{"class":78},[72,2337,2338],{"class":86}," (version ",[72,2340,236],{"class":78},[72,2342,2343],{"class":86}," SUPPORTED_VERSION) {\n",[72,2345,2346],{"class":74,"line":103},[72,2347,2348],{"class":99},"        \u002F\u002F Handle with caution or reject\n",[72,2350,2351],{"class":74,"line":124},[72,2352,249],{"class":86},[72,2354,2355],{"class":74,"line":131},[72,2356,509],{"class":86},[23,2358,2359,2362],{},[30,2360,2361],{},"3. Feature flags everywhere",": Each new code explicitly checks amendments",[63,2364,2366],{"className":65,"code":2365,"language":67,"meta":68,"style":68},"if (rules.enabled(featureNewFeature)) {\n    \u002F\u002F New logic\n} else {\n    \u002F\u002F Old logic\n}\n",[52,2367,2368,2380,2385,2395,2400],{"__ignoreMap":68},[72,2369,2370,2372,2375,2377],{"class":74,"line":75},[72,2371,664],{"class":78},[72,2373,2374],{"class":86}," (rules.",[72,2376,618],{"class":198},[72,2378,2379],{"class":86},"(featureNewFeature)) {\n",[72,2381,2382],{"class":74,"line":90},[72,2383,2384],{"class":99},"    \u002F\u002F New logic\n",[72,2386,2387,2390,2393],{"class":74,"line":96},[72,2388,2389],{"class":86},"} ",[72,2391,2392],{"class":78},"else",[72,2394,87],{"class":86},[72,2396,2397],{"class":74,"line":103},[72,2398,2399],{"class":99},"    \u002F\u002F Old logic\n",[72,2401,2402],{"class":74,"line":124},[72,2403,509],{"class":86},[15,2405],{},[18,2407,2409],{"id":2408},"backward-compatibility-supporting-old-ledgers","Backward Compatibility: Supporting Old Ledgers",[44,2411,2413],{"id":2412},"historical-rules","Historical Rules",[23,2415,2416],{},"Even after an amendment is enabled, nodes must be able to validate historical ledgers that date from before activation.",[23,2418,2419,61],{},[30,2420,2421],{},"Reconstruction of historical Rules",[63,2423,2425],{"className":65,"code":2424,"language":67,"meta":68,"style":68},"\u002F\u002F To validate ledger 86000000 (before Subscriptions)\nRules historicalRules = makeRules(ledger86000000);\n\n\u002F\u002F Subscriptions is not enabled in these rules\nassert(!historicalRules.enabled(featureSubscriptions));\n\n\u002F\u002F Apply transactions with old rules\nfor (auto const& tx : ledger86000000->txs()) {\n    applyTransaction(tx, historicalRules);\n}\n",[52,2426,2427,2432,2444,2448,2453,2469,2473,2478,2498,2506],{"__ignoreMap":68},[72,2428,2429],{"class":74,"line":75},[72,2430,2431],{"class":99},"\u002F\u002F To validate ledger 86000000 (before Subscriptions)\n",[72,2433,2434,2437,2439,2441],{"class":74,"line":90},[72,2435,2436],{"class":86},"Rules historicalRules ",[72,2438,386],{"class":78},[72,2440,338],{"class":198},[72,2442,2443],{"class":86},"(ledger86000000);\n",[72,2445,2446],{"class":74,"line":96},[72,2447,128],{"emptyLinePlaceholder":127},[72,2449,2450],{"class":74,"line":103},[72,2451,2452],{"class":99},"\u002F\u002F Subscriptions is not enabled in these rules\n",[72,2454,2455,2458,2460,2462,2465,2467],{"class":74,"line":124},[72,2456,2457],{"class":198},"assert",[72,2459,202],{"class":86},[72,2461,612],{"class":78},[72,2463,2464],{"class":86},"historicalRules.",[72,2466,618],{"class":198},[72,2468,773],{"class":86},[72,2470,2471],{"class":74,"line":131},[72,2472,128],{"emptyLinePlaceholder":127},[72,2474,2475],{"class":74,"line":137},[72,2476,2477],{"class":99},"\u002F\u002F Apply transactions with old rules\n",[72,2479,2480,2483,2485,2487,2489,2492,2495],{"class":74,"line":146},[72,2481,2482],{"class":78},"for",[72,2484,609],{"class":86},[72,2486,1963],{"class":78},[72,2488,207],{"class":78},[72,2490,2491],{"class":86}," tx : ledger86000000->",[72,2493,2494],{"class":198},"txs",[72,2496,2497],{"class":86},"()) {\n",[72,2499,2500,2503],{"class":74,"line":154},[72,2501,2502],{"class":198},"    applyTransaction",[72,2504,2505],{"class":86},"(tx, historicalRules);\n",[72,2507,2508],{"class":74,"line":162},[72,2509,509],{"class":86},[44,2511,2513],{"id":2512},"retired-amendments","Retired Amendments",[23,2515,2516],{},"After an amendment has been active for at least 2 years, the pre-amendment code can be removed:",[63,2518,2520],{"className":65,"code":2519,"language":67,"meta":68,"style":68},"\u002F\u002F Before retirement\nif (rules.enabled(featureMultiSign)) {\n    \u002F\u002F New multi-signature logic\n} else {\n    \u002F\u002F Old logic (can be removed after 2 years)\n}\n\n\u002F\u002F After retirement\n\u002F\u002F Always assume MultiSign is enabled\n\u002F\u002F No more conditional branch\n",[52,2521,2522,2527,2538,2543,2551,2556,2560,2564,2569,2574],{"__ignoreMap":68},[72,2523,2524],{"class":74,"line":75},[72,2525,2526],{"class":99},"\u002F\u002F Before retirement\n",[72,2528,2529,2531,2533,2535],{"class":74,"line":90},[72,2530,664],{"class":78},[72,2532,2374],{"class":86},[72,2534,618],{"class":198},[72,2536,2537],{"class":86},"(featureMultiSign)) {\n",[72,2539,2540],{"class":74,"line":96},[72,2541,2542],{"class":99},"    \u002F\u002F New multi-signature logic\n",[72,2544,2545,2547,2549],{"class":74,"line":103},[72,2546,2389],{"class":86},[72,2548,2392],{"class":78},[72,2550,87],{"class":86},[72,2552,2553],{"class":74,"line":124},[72,2554,2555],{"class":99},"    \u002F\u002F Old logic (can be removed after 2 years)\n",[72,2557,2558],{"class":74,"line":131},[72,2559,509],{"class":86},[72,2561,2562],{"class":74,"line":137},[72,2563,128],{"emptyLinePlaceholder":127},[72,2565,2566],{"class":74,"line":146},[72,2567,2568],{"class":99},"\u002F\u002F After retirement\n",[72,2570,2571],{"class":74,"line":154},[72,2572,2573],{"class":99},"\u002F\u002F Always assume MultiSign is enabled\n",[72,2575,2576],{"class":74,"line":162},[72,2577,2578],{"class":99},"\u002F\u002F No more conditional branch\n",[23,2580,2581,61],{},[30,2582,2583],{},"Marking in features.macro",[63,2585,2587],{"className":65,"code":2586,"language":67,"meta":68,"style":68},"XRPL_RETIRE(MultiSign)\n",[52,2588,2589],{"__ignoreMap":68},[72,2590,2591,2594],{"class":74,"line":75},[72,2592,2593],{"class":198},"XRPL_RETIRE",[72,2595,2596],{"class":86},"(MultiSign)\n",[23,2598,2599],{},"This indicates that:",[1471,2601,2602,2605,2608],{},[1474,2603,2604],{},"Pre-amendment code has been removed",[1474,2606,2607],{},"The identifier is deprecated",[1474,2609,2610],{},"New ledgers always assume the amendment is active",[15,2612],{},[18,2614,2616],{"id":2615},"special-cases-and-edge-cases","Special Cases and Edge Cases",[44,2618,2620],{"id":2619},"simultaneous-activation-of-multiple-amendments","Simultaneous Activation of Multiple Amendments",[23,2622,2623],{},"It is possible that multiple amendments reach their activation period at the same flag ledger.",[23,2625,2626,2629],{},[30,2627,2628],{},"Application order",": Pseudo-transactions are ordered deterministically by amendment hash:",[63,2631,2633],{"className":65,"code":2632,"language":67,"meta":68,"style":68},"std::map\u003Cuint256, std::uint32_t> actions;  \u002F\u002F Map sorted by key\n\nfor (auto const& [hash, action] : actions) {\n    \u002F\u002F Amendments are activated in hash order\n    applyAmendmentTransaction(hash, action);\n}\n",[52,2634,2635,2660,2664,2677,2682,2690],{"__ignoreMap":68},[72,2636,2637,2639,2642,2644,2647,2649,2651,2654,2657],{"class":74,"line":75},[72,2638,343],{"class":82},[72,2640,2641],{"class":86},"::map",[72,2643,115],{"class":78},[72,2645,2646],{"class":86},"uint256, ",[72,2648,343],{"class":82},[72,2650,109],{"class":86},[72,2652,2653],{"class":78},"uint32_t>",[72,2655,2656],{"class":86}," actions;",[72,2658,2659],{"class":99},"  \u002F\u002F Map sorted by key\n",[72,2661,2662],{"class":74,"line":90},[72,2663,128],{"emptyLinePlaceholder":127},[72,2665,2666,2668,2670,2672,2674],{"class":74,"line":96},[72,2667,2482],{"class":78},[72,2669,609],{"class":86},[72,2671,1963],{"class":78},[72,2673,207],{"class":78},[72,2675,2676],{"class":86}," [hash, action] : actions) {\n",[72,2678,2679],{"class":74,"line":103},[72,2680,2681],{"class":99},"    \u002F\u002F Amendments are activated in hash order\n",[72,2683,2684,2687],{"class":74,"line":124},[72,2685,2686],{"class":198},"    applyAmendmentTransaction",[72,2688,2689],{"class":86},"(hash, action);\n",[72,2691,2692],{"class":74,"line":131},[72,2693,509],{"class":86},[23,2695,2696,2699],{},[30,2697,2698],{},"Dependencies between amendments",": Some amendments may depend on others. Code must manage these dependencies:",[63,2701,2703],{"className":65,"code":2702,"language":67,"meta":68,"style":68},"\u002F\u002F featureB depends on featureA\nif (rules.enabled(featureB)) {\n    assert(rules.enabled(featureA));  \u002F\u002F Must be true\n}\n",[52,2704,2705,2710,2721,2736],{"__ignoreMap":68},[72,2706,2707],{"class":74,"line":75},[72,2708,2709],{"class":99},"\u002F\u002F featureB depends on featureA\n",[72,2711,2712,2714,2716,2718],{"class":74,"line":90},[72,2713,664],{"class":78},[72,2715,2374],{"class":86},[72,2717,618],{"class":198},[72,2719,2720],{"class":86},"(featureB)) {\n",[72,2722,2723,2725,2728,2730,2733],{"class":74,"line":96},[72,2724,754],{"class":198},[72,2726,2727],{"class":86},"(rules.",[72,2729,618],{"class":198},[72,2731,2732],{"class":86},"(featureA));",[72,2734,2735],{"class":99},"  \u002F\u002F Must be true\n",[72,2737,2738],{"class":74,"line":103},[72,2739,509],{"class":86},[44,2741,2743],{"id":2742},"conflicting-amendments","Conflicting Amendments",[23,2745,2746],{},"It is theoretically possible to create two amendments that modify the same logic in incompatible ways.",[23,2748,2749,61],{},[30,2750,2751],{},"Prevention strategy",[1471,2753,2754,2757,2760],{},[1474,2755,2756],{},"Rigorous code review before release",[1474,2758,2759],{},"Integration tests with all amendments enabled",[1474,2761,2762],{},"Coordination between development teams",[23,2764,2765,61],{},[30,2766,2767],{},"Management if conflict detected",[1471,2769,2770,2773],{},[1474,2771,2772],{},"Validators must withdraw their vote for one of the conflicting amendments",[1474,2774,2775],{},"Or a third corrective amendment must be developed",[44,2777,2779],{"id":2778},"network-partition-during-activation","Network Partition During Activation",[23,2781,2782],{},"If the network partitions at the moment of amendment activation, two scenarios are possible:",[23,2784,2785,2788],{},[30,2786,2787],{},"1. Both partitions activate the amendment",": No problem, they will converge when the partition is resolved.",[23,2790,2791,2794],{},[30,2792,2793],{},"2. One partition activates, the other doesn't",": Partitions will build incompatible ledgers. When the partition is resolved, the minority partition must abandon its chain and adopt the majority partition's chain (normal consensus).",[15,2796],{},[18,2798,2800],{"id":2799},"migration-strategies","Migration Strategies",[44,2802,2804],{"id":2803},"progressive-deployment","Progressive Deployment",[23,2806,2807,2808,2810],{},"Node operators can update their software ",[30,2809,1946],{}," an amendment is activated:",[23,2812,2813,2816],{},[30,2814,2815],{},"Phase 1",": Code release with the new amendment (e.g., rippled 1.12.0 with Subscriptions)",[1471,2818,2819],{},[1474,2820,2821],{},"Nodes update but the amendment is not yet voted on",[23,2823,2824,2827],{},[30,2825,2826],{},"Phase 2",": Validators begin voting",[1471,2829,2830,2833],{},[1474,2831,2832],{},"Amendment is supported but not yet enabled",[1474,2834,2835],{},"Nodes not updated can still function",[23,2837,2838,2841],{},[30,2839,2840],{},"Phase 3",": Amendment exceeds 80% and enters majority",[1471,2843,2844],{},[1474,2845,2846,2849],{},[30,2847,2848],{},"2 weeks notice"," for the last nodes not updated",[23,2851,2852,2855],{},[30,2853,2854],{},"Phase 4",": Amendment activation",[1471,2857,2858],{},[1474,2859,2860],{},"Nodes not updated are blocked",[44,2862,2864],{"id":2863},"read-only-mode-nodes","Read-Only Mode Nodes",[23,2866,2867],{},"Nodes that are not validators (simple fullhistory or API nodes) can choose to:",[23,2869,2870,2873],{},[30,2871,2872],{},"1. Update quickly",": To continue following the network in real-time",[23,2875,2876,2879],{},[30,2877,2878],{},"2. Stay in historical mode",": Serve only data up to the ledger preceding activation, and synchronize from other nodes for following ledgers without applying the rules themselves",[23,2881,2882,2885],{},[30,2883,2884],{},"3. Depend on other nodes",": Relay requests to updated nodes",[15,2887],{},[18,2889,2891],{"id":2890},"impact-on-third-party-applications","Impact on Third-Party Applications",[44,2893,2895],{"id":2894},"wallets-and-exchanges","Wallets and Exchanges",[23,2897,2898],{},"Applications that interact with XRPL must adapt their code when an amendment is activated:",[23,2900,2901,2904,2905,550,2907,2910,2911,2914],{},[30,2902,2903],{},"New transactions",": Support for ",[52,2906,1435],{},[52,2908,2909],{},"ttSUBSCRIPTION_CLAIM",", and ",[52,2912,2913],{},"ttSUBSCRIPTION_CANCEL"," in the UI",[23,2916,2917,2920,2921,550,2924,550,2927,550,2930,550,2933,550,2936,550,2939,2942],{},[30,2918,2919],{},"New fields",": Parsing of fields ",[52,2922,2923],{},"sfAccount",[52,2925,2926],{},"sfDestination",[52,2928,2929],{},"sfDestinationTag",[52,2931,2932],{},"sfAmount",[52,2934,2935],{},"sfFrequency",[52,2937,2938],{},"sfNextPaymentTime",[52,2940,2941],{},"sfExpiration",", etc.",[23,2944,2945,2948],{},[30,2946,2947],{},"New business logic",": Management of recurring subscriptions (display, cancellation, claim, monitoring)",[44,2950,2952],{"id":2951},"apis-and-libraries","APIs and Libraries",[23,2954,2955,2956,550,2959,2962],{},"Libraries like ",[52,2957,2958],{},"xrpl.js",[52,2960,2961],{},"xrpl-py"," must be updated to support new features:",[63,2964,2968],{"className":2965,"code":2966,"language":2967,"meta":68,"style":68},"language-javascript shiki shiki-themes github-dark-high-contrast","\u002F\u002F xrpl.js after Subscriptions\nconst tx = {\n  TransactionType: 'SubscriptionSet',\n  Account: 'rN7n7otQDd6FczFgLdlqtyMVrn3M1tXB7V',\n  Destination: 'rLHzPsX6oXkzU9rFYvT1EZUcqPFiSv5xdJ',\n  Amount: '100000000',  \u002F\u002F 100 XRP max per period\n  Frequency: 2592000,  \u002F\u002F 30 days in seconds\n  StartTime: 711232800  \u002F\u002F Optional\n};\n\nawait client.submit(tx);\n","javascript",[52,2969,2970,2975,2987,2997,3007,3017,3031,3044,3055,3059,3063],{"__ignoreMap":68},[72,2971,2972],{"class":74,"line":75},[72,2973,2974],{"class":99},"\u002F\u002F xrpl.js after Subscriptions\n",[72,2976,2977,2979,2982,2985],{"class":74,"line":90},[72,2978,216],{"class":78},[72,2980,2981],{"class":239}," tx",[72,2983,2984],{"class":78}," =",[72,2986,87],{"class":86},[72,2988,2989,2992,2995],{"class":74,"line":96},[72,2990,2991],{"class":86},"  TransactionType: ",[72,2993,2994],{"class":1597},"'SubscriptionSet'",[72,2996,1866],{"class":86},[72,2998,2999,3002,3005],{"class":74,"line":103},[72,3000,3001],{"class":86},"  Account: ",[72,3003,3004],{"class":1597},"'rN7n7otQDd6FczFgLdlqtyMVrn3M1tXB7V'",[72,3006,1866],{"class":86},[72,3008,3009,3012,3015],{"class":74,"line":124},[72,3010,3011],{"class":86},"  Destination: ",[72,3013,3014],{"class":1597},"'rLHzPsX6oXkzU9rFYvT1EZUcqPFiSv5xdJ'",[72,3016,1866],{"class":86},[72,3018,3019,3022,3025,3028],{"class":74,"line":131},[72,3020,3021],{"class":86},"  Amount: ",[72,3023,3024],{"class":1597},"'100000000'",[72,3026,3027],{"class":86},",  ",[72,3029,3030],{"class":99},"\u002F\u002F 100 XRP max per period\n",[72,3032,3033,3036,3039,3041],{"class":74,"line":137},[72,3034,3035],{"class":86},"  Frequency: ",[72,3037,3038],{"class":239},"2592000",[72,3040,3027],{"class":86},[72,3042,3043],{"class":99},"\u002F\u002F 30 days in seconds\n",[72,3045,3046,3049,3052],{"class":74,"line":146},[72,3047,3048],{"class":86},"  StartTime: ",[72,3050,3051],{"class":239},"711232800",[72,3053,3054],{"class":99},"  \u002F\u002F Optional\n",[72,3056,3057],{"class":74,"line":154},[72,3058,313],{"class":86},[72,3060,3061],{"class":74,"line":162},[72,3062,128],{"emptyLinePlaceholder":127},[72,3064,3065,3068,3071,3074],{"class":74,"line":170},[72,3066,3067],{"class":78},"await",[72,3069,3070],{"class":86}," client.",[72,3072,3073],{"class":198},"submit",[72,3075,3076],{"class":86},"(tx);\n",[3078,3079,3080],"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 pre.shiki code .sj_SG, html code.shiki .sj_SG{--shiki-default:#DBB7FF}html pre.shiki code .sCcAr, html code.shiki .sCcAr{--shiki-default:#91CBFF}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 .sTRMh, html code.shiki .sTRMh{--shiki-default:#ADDCFF}html pre.shiki code .sKpQp, html code.shiki .sKpQp{--shiki-default:#72F088}",{"title":68,"searchDepth":90,"depth":90,"links":3082},[3083,3084,3088,3092,3096,3101,3105,3109,3114,3118],{"id":20,"depth":90,"text":21},{"id":41,"depth":90,"text":42,"children":3085},[3086,3087],{"id":46,"depth":96,"text":47},{"id":512,"depth":96,"text":513},{"id":796,"depth":90,"text":797,"children":3089},[3090,3091],{"id":800,"depth":96,"text":801},{"id":1425,"depth":96,"text":1426},{"id":1461,"depth":90,"text":1462,"children":3093},[3094,3095],{"id":1465,"depth":96,"text":1466},{"id":1501,"depth":96,"text":1502},{"id":1535,"depth":90,"text":1536,"children":3097},[3098,3099,3100],{"id":1539,"depth":96,"text":1540},{"id":1691,"depth":96,"text":1692},{"id":1939,"depth":96,"text":1940},{"id":2198,"depth":90,"text":2199,"children":3102},[3103,3104],{"id":2202,"depth":96,"text":2203},{"id":2243,"depth":96,"text":2244},{"id":2408,"depth":90,"text":2409,"children":3106},[3107,3108],{"id":2412,"depth":96,"text":2413},{"id":2512,"depth":96,"text":2513},{"id":2615,"depth":90,"text":2616,"children":3110},[3111,3112,3113],{"id":2619,"depth":96,"text":2620},{"id":2742,"depth":96,"text":2743},{"id":2778,"depth":96,"text":2779},{"id":2799,"depth":90,"text":2800,"children":3115},[3116,3117],{"id":2803,"depth":96,"text":2804},{"id":2863,"depth":96,"text":2864},{"id":2890,"depth":90,"text":2891,"children":3119},[3120,3121],{"id":2894,"depth":96,"text":2895},{"id":2951,"depth":96,"text":2952},"Core Protocol Impact for Building Amendments: Lifecycle and Core Protocol Impact, in the Core Dev Bootcamp: XRPL Commons docs.","md",{},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fprotocol-impact",{"title":5,"description":3122},"xrpl-trainings\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fprotocol-impact.md","docs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fprotocol-impact","0Z2jf58S-iQ_rXR4eCc5Vh22tIjw0CTZfLc1kaoYSCM",[],[3132,3173,3187,3207,3230,3622],{"title":3133,"path":3134,"children":3135,"description":3172,"pages":181},"XRPL Basics","\u002Fdocs\u002Fxrpl-basics",[3136,3139,3142,3145,3148,3151,3154,3157,3160,3163,3166,3169],{"title":3137,"path":3138},"Getting Started","\u002Fdocs\u002Fxrpl-basics\u002Fgetting-started",{"title":3140,"path":3141},"Trustline","\u002Fdocs\u002Fxrpl-basics\u002Ftrustline",{"title":3143,"path":3144},"Payments","\u002Fdocs\u002Fxrpl-basics\u002Fpayments",{"title":3146,"path":3147},"Reading and subscribing to Transactions","\u002Fdocs\u002Fxrpl-basics\u002Freading-and-writing-memos",{"title":3149,"path":3150},"Writing and reading memos","\u002Fdocs\u002Fxrpl-basics\u002Fwriting-and-reading-memos",{"title":3152,"path":3153},"Non Fungible Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fnon-fungible-tokens",{"title":3155,"path":3156},"Multi-Purpose Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fmptoken",{"title":3158,"path":3159},"PathFinding","\u002Fdocs\u002Fxrpl-basics\u002Fpath-finding",{"title":3161,"path":3162},"Escrow","\u002Fdocs\u002Fxrpl-basics\u002Fescrow",{"title":3164,"path":3165},"Price Oracles","\u002Fdocs\u002Fxrpl-basics\u002Fprice-oracles",{"title":3167,"path":3168},"Tickets","\u002Fdocs\u002Fxrpl-basics\u002Ftickets",{"title":3170,"path":3171},"Multi-Signature","\u002Fdocs\u002Fxrpl-basics\u002Fmulti-signature","In this section we will cover some of the primary functionality of the XRPL ledger.",{"title":3174,"path":3175,"children":3176,"description":3186,"pages":103},"Token Issuance and Liquidity","\u002Fdocs\u002Ftoken-issuance-and-liquidity",[3177,3180,3183],{"title":3178,"path":3179},"Creating Accounts and Setup","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fcreating-accounts",{"title":3181,"path":3182},"Issuing Tokens","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fissuing-tokens",{"title":3184,"path":3185},"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":3188,"path":3189,"children":3190,"description":3206,"pages":131},"Cyphered Chat on XRPL","\u002Fdocs\u002Fcyphered-chat-on-xrpl",[3191,3194,3197,3200,3203],{"title":3192,"path":3193},"Set up","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up",{"title":3195,"path":3196},"Set up Keys","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-keys",{"title":3198,"path":3199},"Cypher the message","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fcypher-the-message",{"title":3201,"path":3202},"Set up the memo & send the tx","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-the-memo-and-send-the-tx",{"title":3204,"path":3205},"Get the message and decypher it","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fget-the-message-and-decypher-it","Send encrypted messages over XRPL",{"title":3208,"path":3209,"children":3210,"description":3229,"pages":137},"EVM Sidechain","\u002Fdocs\u002Fevm-sidechain",[3211,3214,3217,3220,3223,3226],{"title":3212,"path":3213},"Connecting Metamask","\u002Fdocs\u002Fevm-sidechain\u002Fconnecting-metamask",{"title":3215,"path":3216},"Set up a Foundry project","\u002Fdocs\u002Fevm-sidechain\u002Fset-up-an-evm-project",{"title":3218,"path":3219},"Bridging Assets","\u002Fdocs\u002Fevm-sidechain\u002Fbridging-assets",{"title":3221,"path":3222},"Remix","\u002Fdocs\u002Fevm-sidechain\u002Fremix",{"title":3224,"path":3225},"Banking App","\u002Fdocs\u002Fevm-sidechain\u002Fbanking-app",{"title":3227,"path":3228},"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":3231,"path":3232,"children":3233,"description":3620,"pages":3621},"Core Dev Bootcamp","\u002Fdocs\u002Fcore-dev-bootcamp",[3234,3254,3297,3347,3378,3435,3466,3482,3522,3556,3581,3597],{"title":3235,"path":3236,"children":3237},"Rippled I – Compilation, Configuration, and Launch","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01",[3238,3241,3244,3247],{"title":3239,"path":3240},"Environment & Build Toolchain","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fenvironment-build-toolchain",{"title":3242,"path":3243},"Compilation Process & Generating Binary","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fcompilation-process-generating-binary",{"title":3245,"path":3246},"Local Development & Testing","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Flocal-development-testing",{"title":3248,"path":3249,"children":3250},"Homeworks","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks",[3251],{"title":3252,"path":3253},"Homework 1: Rippled Node Setup and Mainnet Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks\u002Fhomework1",{"title":3255,"path":3256,"children":3257},"Rippled II: Deep Dive into the Protocol and Codebase","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02",[3258,3261,3264,3267,3270,3273,3276,3279,3282],{"title":3259,"path":3260},"Protocols: Communication and Interoperability","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fprotocols-communication-and-interoperability",{"title":3262,"path":3263},"Transactors: Transaction Processing Framework","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransactors-transaction-processing-framework",{"title":3265,"path":3266},"Application Layer: Central Orchestration and Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fapplication-layer-central-orchestration-and-coordination",{"title":3268,"path":3269},"Consensus Engine: XRP Ledger Consensus Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fconsensus-engine-xrp-ledger-consensus-protocol",{"title":3271,"path":3272},"Overlay Network: Peer-to-Peer Networking Layer","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Foverlay-network-peer-to-peer-networking-layer",{"title":3274,"path":3275},"Transaction Lifecycle: Complete Transaction Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransaction-lifecycle-complete-transaction-journey",{"title":3277,"path":3278},"Codebase Navigation: Efficiently Navigating the Rippled Source","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fcodebase-navigation-efficiently-navigating-the-rippled-source",{"title":3280,"path":3281},"Debugging Tools: Development and Debugging Techniques","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fdebugging-tools-development-and-debugging-techniques",{"title":3248,"path":3283,"children":3284},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks",[3285,3288,3291,3294],{"title":3286,"path":3287},"Homework 1: Transaction Flow Analysis","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework1",{"title":3289,"path":3290},"Homework 2: Transactor Code Exploration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework2",{"title":3292,"path":3293},"Homework 3: Logging and Debugging","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework3",{"title":3295,"path":3296},"Homework 4: Architecture Diagram","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework4",{"title":3298,"path":3299,"children":3300},"Anatomy of Rippled: SHAMap and NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03",[3301,3304,3307,3310,3313,3316,3319,3322,3325,3328,3331,3334],{"title":3302,"path":3303},"Foundational Concepts","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstate-management-challenges",{"title":3305,"path":3306},"Trees, Hashing, and Cryptographic Commitments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Ftree-fundamentals",{"title":3308,"path":3309},"SHAMap Architecture and Node Hierarchy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-architecture",{"title":3311,"path":3312},"Navigation, Hashing, and Merkle Properties","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-navigation-hashing",{"title":3314,"path":3315},"Traversal, Iteration, and Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-synchronization",{"title":3317,"path":3318},"The NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fnodestore-architecture",{"title":3320,"path":3321},"Storage Abstraction and Backend Implementations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstorage-backends",{"title":3323,"path":3324},"Cache Layer and Performance Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fcache-layer",{"title":3326,"path":3327},"Database Operations and Lifecycle Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fdatabase-operations",{"title":3329,"path":3330},"Cryptographic Proofs and State Reconstruction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fproofs-state-reconstruction",{"title":3332,"path":3333},"Resource Management and Performance Characteristics","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fresource-management",{"title":3335,"path":3336,"children":3337},"Appendices","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices",[3338,3341,3344],{"title":3339,"path":3340},"Appendix : Codebase Navigation Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fnavigation",{"title":3342,"path":3343},"Appendix : Configuration Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fconfiguration",{"title":3345,"path":3346},"Appendix : Debugging and Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fdebugging",{"title":3348,"path":3349,"children":3350},"Transactors: Understanding the Lifecycle of a Transaction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis",[3351,3354,3357,3360,3363,3366,3369,3372,3375],{"title":3352,"path":3353},"Transactor Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ftransactor-architecture",{"title":3355,"path":3356},"Processing Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fprocessing-pipeline",{"title":3358,"path":3359},"Fee and Sequence Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ffee-sequence-handling",{"title":3361,"path":3362},"State Modification Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fstate-modification",{"title":3364,"path":3365},"TER Result Codes","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fter-result-codes",{"title":3367,"path":3368},"Case Study: CheckCreate Transactor","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fcase-study-checkcreate",{"title":3370,"path":3371},"Homework 1: Trace a Transaction Through All Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework1",{"title":3373,"path":3374},"Homework 2: Implement a Custom Validation Check","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework2",{"title":3376,"path":3377},"Homework 3: Analyze TER Code Paths","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework3",{"title":3379,"path":3380,"children":3381},"Cryptography I: Blockchain Security and Cryptographic Foundations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04",[3382,3385,3388,3391,3394,3397,3400,3403,3406,3409,3412,3415,3418,3429],{"title":3383,"path":3384},"The Four Pillars of Security","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-four-pillars-of-security",{"title":3386,"path":3387},"The Lifecycle of a Cryptographic Key","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-lifecycle-of-a-cryptographic-key",{"title":3389,"path":3390},"Random Number Generation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation",{"title":3392,"path":3393},"Random Number Generation & Entropy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation-and-entropy",{"title":3395,"path":3396},"Key Generation Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fkey-generation-pipeline",{"title":3398,"path":3399},"Transaction Signing & Verification","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Ftransaction-signing-and-verification",{"title":3401,"path":3402},"Hash Functions in XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhash-functions-in-xrpl",{"title":3404,"path":3405},"Base58Check Encoding","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fbase58check-encoding",{"title":3407,"path":3408},"Peer Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fpeer-handshake-protocol",{"title":3410,"path":3411},"Secure Memory Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fsecure-memory-handling",{"title":3413,"path":3414},"Common Cryptographic Pitfalls","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fcommon-cryptographic-pitfalls",{"title":3416,"path":3417},"Performance & Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fperformance-and-optimization",{"title":3335,"path":3419,"children":3420},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices",[3421,3423,3426],{"title":3339,"path":3422},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fcodebase-navigation-guide",{"title":3424,"path":3425},"Appendix : Debugging & Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fdebugging-and-development-tools",{"title":3427,"path":3428},"Appendix : RFCs and Standards Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Frfcs-and-standards-reference",{"title":3248,"path":3430,"children":3431},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks",[3432],{"title":3433,"path":3434},"Homework 1: Signature Verification Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks\u002Fhomework1",{"title":3436,"path":3437,"children":3438},"Cryptography II: Protocol Extensions and Quantum Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05",[3439,3442,3445,3448,3451,3454,3460],{"title":3440,"path":3441},"Overlay Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Foverlay-architecture",{"title":3443,"path":3444},"Connection Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fconnection-lifecycle",{"title":3446,"path":3447},"Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhandshake-protocol",{"title":3449,"path":3450},"Message Relaying","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fmessage-relaying",{"title":3452,"path":3453},"Peer Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fpeer-discovery",{"title":3335,"path":3455,"children":3456},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices",[3457],{"title":3458,"path":3459},"XLS-??d Quantum-Resistant Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices\u002Fxls-d",{"title":3248,"path":3461,"children":3462},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks",[3463],{"title":3464,"path":3465},"Homework 1: Building Quantum-Resistant Signatures for XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks\u002Fhomework1",{"title":3467,"path":3468,"children":3469},"Communication I: Understanding XRPL(d) RPC Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06",[3470,3473,3476,3479],{"title":3471,"path":3472},"RPC Handler Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frpc-handler-architecture",{"title":3474,"path":3475},"Request and Response Flow","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frequest-response-flow",{"title":3477,"path":3478},"Authentication and Authorization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Fauthentication-authorization",{"title":3480,"path":3481},"Error Handling and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Ferror-handling-validation",{"title":3483,"path":3484,"children":3485},"Communication II: Building and Integrating Custom RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07",[3486,3489,3492,3495,3498,3510],{"title":3487,"path":3488},"Implementing Custom Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fimplementing-custom-handlers",{"title":3490,"path":3491},"Testing RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Ftesting-rpc-handlers",{"title":3493,"path":3494},"Advanced Features","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fadvanced-features",{"title":3496,"path":3497},"Best Practices and Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fbest-practices-patterns",{"title":3335,"path":3499,"children":3500},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices",[3501,3504,3507],{"title":3502,"path":3503},"Appendix: Handler Examples","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhandler-examples",{"title":3505,"path":3506},"Appendix: Helper Functions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhelper-functions",{"title":3508,"path":3509},"Appendix: Debugging Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fdebugging-guide",{"title":3248,"path":3511,"children":3512},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks",[3513,3516,3519],{"title":3514,"path":3515},"Homework 1: Building a Custom RPC Handler","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhomework1",{"title":3517,"path":3518},"Hints","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhints",{"title":3520,"path":3521},"Snippets","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fsnippets",{"title":3523,"path":3524,"children":3525},"Consensus I: Node, Consensus, and Ledger Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08",[3526,3529,3532,3535,3538,3541,3544,3547],{"title":3527,"path":3528},"Consensus Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-fundamentals",{"title":3530,"path":3531},"Consensus Modes and Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-modes-phases",{"title":3533,"path":3534},"Consensus Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-lifecycle",{"title":3536,"path":3537},"Ledger Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-architecture",{"title":3539,"path":3540},"Ledger Data Structures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-data-structures",{"title":3542,"path":3543},"Ledger Acquisition and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-acquisition-validation",{"title":3545,"path":3546},"RPC and Peer Transaction Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Frpc-peer-tx-lifecycle",{"title":3248,"path":3548,"children":3549},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks",[3550,3553],{"title":3551,"path":3552},"Homework 1: Transaction Consensus Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework1",{"title":3554,"path":3555},"Homework 2: Consensus Dispute Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework2",{"title":3557,"path":3558,"children":3559},"Consensus II: UNLs and Ledger Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09",[3560,3563,3566,3569,3572,3575,3578],{"title":3561,"path":3562},"Transaction Ordering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Ftx-ordering",{"title":3564,"path":3565},"Consensus Validations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-validations",{"title":3567,"path":3568},"Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Famendments",{"title":3570,"path":3571},"UNL Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Funl",{"title":3573,"path":3574},"Consensus Peers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-peers",{"title":3576,"path":3577},"Homework 1: Validator Keys Setup and Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework1",{"title":3579,"path":3580},"Homework 2: Negative UNL Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework2",{"title":3582,"path":3583,"children":3584},"AMM: Automated Market Maker","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis",[3585,3588,3591,3594],{"title":3586,"path":3587},"AMM Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-architecture",{"title":3589,"path":3590},"AMM Transactions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-transactions",{"title":3592,"path":3593},"AMM Logic","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-logic",{"title":3595,"path":3596},"Pathfinding Integration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-pathfinding",{"title":3598,"path":3599,"children":3600},"Building Amendments: Lifecycle and Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10",[3601,3604,3607,3610,3611,3614,3617],{"title":3602,"path":3603},"Amendment Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-architecture",{"title":3605,"path":3606},"Amendment Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-lifecycle",{"title":3608,"path":3609},"Voting and Activation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fvoting-and-activation",{"title":5,"path":3125},{"title":3612,"path":3613},"Network Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fnetwork-coordination",{"title":3615,"path":3616},"Monitoring and Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-monitoring",{"title":3618,"path":3619},"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":3623,"path":3624,"children":3625,"description":3632,"pages":96},"Tools","\u002Fdocs\u002Ftools",[3626,3629],{"title":3627,"path":3628},"Xaman Setup","\u002Fdocs\u002Ftools\u002Fxaman-setup",{"title":3630,"path":3631},"Metamask Setup","\u002Fdocs\u002Ftools\u002Fmetamask-setup","In this section you will find instructions on how to setup wallets and tools",1796220776169]