[{"data":1,"prerenderedAt":1888},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework2":3,"docs-kids-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework2":1385,"docs-tracks":1386},{"id":4,"title":5,"body":6,"description":1377,"extension":1378,"meta":1379,"navigation":399,"path":1380,"seo":1381,"source":1382,"stem":1383,"__hash__":1384},"docs\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework2.md","Homework 2: Negative UNL Engineering",{"type":7,"value":8,"toc":1364},"minimark",[9,13,16,21,30,36,38,42,45,50,92,97,113,115,119,122,127,335,337,341,346,858,863,1032,1034,1038,1041,1217,1219,1223,1251,1253,1257,1295,1297,1301,1304,1327,1329,1333,1360],[10,11,5],"h1",{"id":12},"homework-2-negative-unl-engineering",[14,15],"hr",{},[17,18,20],"h2",{"id":19},"objective","Objective",[22,23,24,25,29],"p",{},"This homework provides hands-on experience with ",[26,27,28],"strong",{},"XRPL's Negative UNL (Universal Node List) mechanism",". You will create test scenarios that disable and re-enable validators, observing how the network maintains consensus despite validator failures.",[22,31,32,35],{},[26,33,34],{},"Format",": Written report (PDF or Markdown) with test code, execution output, and analysis.",[14,37],{},[17,39,41],{"id":40},"background","Background",[22,43,44],{},"The Negative UNL mechanism allows the network to temporarily disable poorly performing validators without manual intervention:",[22,46,47],{},[26,48,49],{},"Key Concepts:",[51,52,53,60,71,77,86],"ul",{},[54,55,56,59],"li",{},[26,57,58],{},"Flag Ledgers",": Updates occur every 256 ledgers",[54,61,62,65,66,70],{},[26,63,64],{},"ToDisable",": Validators marked for disabling via ",[67,68,69],"code",{},"ttUNL_MODIFY"," transactions",[54,72,73,76],{},[26,74,75],{},"ToReEnable",": Disabled validators marked for re-enabling when recovered",[54,78,79,82,83],{},[26,80,81],{},"Scoring",": Validators scored based on validation participation using ",[67,84,85],{},"validationFRESHNESS",[54,87,88,91],{},[26,89,90],{},"Thresholds",": Low\u002Fhigh watermarks determine disable\u002Fre-enable actions",[22,93,94],{},[26,95,96],{},"Transaction Types:",[51,98,99,104,107,110],{},[54,100,101,103],{},[26,102,69],{},": Special transaction type for UNL modifications",[54,105,106],{},"Only one ToDisable per flag ledger",[54,108,109],{},"Only one ToReEnable per flag ledger",[54,111,112],{},"Transactions processed automatically at flag ledgers",[14,114],{},[17,116,118],{"id":117},"task","Task",[22,120,121],{},"Create a comprehensive test function that simulates the complete validator lifecycle: disable, operation while disabled, and re-enable.",[123,124,126],"h3",{"id":125},"requirements","Requirements",[128,129,130,160,193,228,260,288,313],"ol",{},[54,131,132,135],{},[26,133,134],{},"Test File Setup",[51,136,137,143,150,157],{},[54,138,139,140],{},"Navigate to ",[67,141,142],{},"rippled\u002Fsrc\u002Ftest\u002Fapp\u002F",[54,144,145,146,149],{},"Open ",[67,147,148],{},"LedgerMaster_test.cpp"," or create new test file",[54,151,152,153,156],{},"Locate the ",[67,154,155],{},"testNegativeUNL()"," function for reference (~line 100+)",[54,158,159],{},"Understand the test helper functions",[54,161,162,165,166],{},[26,163,164],{},"Phase 1: Initial Setup"," (15 minutes)",[51,167,168,174,177,184,190],{},[54,169,170,171],{},"Create test function ",[67,172,173],{},"testValidatorLifecycle()",[54,175,176],{},"Create 5 validator public keys",[54,178,179,180,183],{},"Initialize genesis ledger with ",[67,181,182],{},"featureNegativeUNL"," enabled",[54,185,186,187],{},"Create tracking structure: ",[67,188,189],{},"hash_map\u003CPublicKey, std::uint32_t> nUnlLedgerSeq",[54,191,192],{},"Add logging to track progress",[54,194,195,198,199],{},[26,196,197],{},"Phase 2: Flag Ledger Progression"," (20 minutes)",[51,200,201,204,211,218,221],{},[54,202,203],{},"Build ledgers until first flag ledger (sequence 256)",[54,205,206,207,210],{},"Verify ",[67,208,209],{},"l->isFlagLedger()"," returns true",[54,212,213,214,217],{},"Call ",[67,215,216],{},"l->updateNegativeUNL()"," on flag ledger",[54,219,220],{},"Verify initial state: empty nUNL, no ToDisable, no ToReEnable",[54,222,223,224,227],{},"Use ",[67,225,226],{},"negUnlSizeTest()"," helper for verification",[54,229,230,233,234],{},[26,231,232],{},"Phase 3: Validator Disabling"," (25 minutes)",[51,235,236,242,245,248,254,257],{},[54,237,238,239,241],{},"Create ",[67,240,69],{}," transaction for validator 0 (ToDisable)",[54,243,244],{},"Create second disable transaction for validator 1 (should fail)",[54,246,247],{},"Create re-enable transaction for validator 0 (should fail - not in nUNL yet)",[54,249,250,251],{},"Apply transactions using ",[67,252,253],{},"OpenView",[54,255,256],{},"Verify only first disable succeeds",[54,258,259],{},"Verify ToDisable field is set",[54,261,262,198,265],{},[26,263,264],{},"Phase 4: Process Disable",[51,266,267,270,273,279,282,285],{},[54,268,269],{},"Progress 256 ledgers to next flag ledger",[54,271,272],{},"Verify ToDisable persists during progression",[54,274,213,275,278],{},[67,276,277],{},"updateNegativeUNL()"," on new flag ledger",[54,280,281],{},"Verify validator 0 is now in nUNL",[54,283,284],{},"Verify ToDisable field is cleared",[54,286,287],{},"Record validator 0's disable ledger sequence",[54,289,290,198,293],{},[26,291,292],{},"Phase 5: Complex Scenarios",[51,294,295,298,301,304,307,310],{},[54,296,297],{},"Test disabling already-disabled validator (should fail)",[54,299,300],{},"Test disabling new validator 2 (should succeed)",[54,302,303],{},"Test re-enabling validator not in nUNL (should fail)",[54,305,306],{},"Test re-enabling same validator as ToDisable (should fail)",[54,308,309],{},"Test re-enabling validator 0 from nUNL (should succeed)",[54,311,312],{},"Verify final state has both ToDisable and ToReEnable set",[54,314,315,165,318],{},[26,316,317],{},"Phase 6: Complete Lifecycle",[51,319,320,323,326,329,332],{},[54,321,322],{},"Progress to next flag ledger",[54,324,325],{},"Process both ToDisable and ToReEnable",[54,327,328],{},"Verify validator 2 added to nUNL",[54,330,331],{},"Verify validator 0 removed from nUNL",[54,333,334],{},"Verify tracking map is accurate",[14,336],{},[17,338,340],{"id":339},"implementation-guide","Implementation Guide",[22,342,343],{},[26,344,345],{},"Test Function Skeleton:",[347,348,353],"pre",{"className":349,"code":350,"language":351,"meta":352,"style":352},"language-cpp shiki shiki-themes github-dark-high-contrast","void testValidatorLifecycle()\n{\n    testcase(\"Validator Lifecycle - Disable and Re-enable\");\n\n    std::cout \u003C\u003C \"=== Starting Validator Lifecycle Test ===\" \u003C\u003C std::endl;\n\n    \u002F\u002F Setup\n    jtx::Env env(*this, jtx::supported_amendments() | featureNegativeUNL);\n    std::vector\u003CPublicKey> publicKeys = createPublicKeys(5);\n\n    auto l = std::make_shared\u003CLedger>(\n        create_genesis,\n        env.app().config(),\n        std::vector\u003Cuint256>{},\n        env.app().getNodeFamily());\n\n    hash_map\u003CPublicKey, std::uint32_t> nUnlLedgerSeq;\n\n    \u002F\u002F Phase 1: Build to first flag ledger\n    std::cout \u003C\u003C \"\\n=== Building to First Flag Ledger ===\" \u003C\u003C std::endl;\n    \u002F\u002F ... your code here\n\n    \u002F\u002F Phase 2: Test disable transactions\n    std::cout \u003C\u003C \"\\n=== Testing Validator Disable ===\" \u003C\u003C std::endl;\n    \u002F\u002F ... your code here\n\n    \u002F\u002F Phase 3: Process disable\n    std::cout \u003C\u003C \"\\n=== Processing Disable ===\" \u003C\u003C std::endl;\n    \u002F\u002F ... your code here\n\n    \u002F\u002F Phase 4: Test complex scenarios\n    std::cout \u003C\u003C \"\\n=== Testing Complex Scenarios ===\" \u003C\u003C std::endl;\n    \u002F\u002F ... your code here\n\n    \u002F\u002F Phase 5: Complete lifecycle\n    std::cout \u003C\u003C \"\\n=== Completing Lifecycle ===\" \u003C\u003C std::endl;\n    \u002F\u002F ... your code here\n\n    std::cout \u003C\u003C \"\\n=== Test Complete ===\" \u003C\u003C std::endl;\n}\n","cpp","",[67,354,355,372,378,394,401,426,431,438,482,514,519,545,551,569,589,604,609,632,637,643,667,673,678,684,706,711,716,722,744,749,754,760,782,787,792,798,820,825,830,852],{"__ignoreMap":352},[356,357,360,364,368],"span",{"class":358,"line":359},"line",1,[356,361,363],{"class":362},"sWyjQ","void",[356,365,367],{"class":366},"sj_SG"," testValidatorLifecycle",[356,369,371],{"class":370},"sMAXC","()\n",[356,373,375],{"class":358,"line":374},2,[356,376,377],{"class":370},"{\n",[356,379,381,384,387,391],{"class":358,"line":380},3,[356,382,383],{"class":366},"    testcase",[356,385,386],{"class":370},"(",[356,388,390],{"class":389},"sTRMh","\"Validator Lifecycle - Disable and Re-enable\"",[356,392,393],{"class":370},");\n",[356,395,397],{"class":358,"line":396},4,[356,398,400],{"emptyLinePlaceholder":399},true,"\n",[356,402,404,408,411,414,417,420,423],{"class":358,"line":403},5,[356,405,407],{"class":406},"s_sBn","    std",[356,409,410],{"class":370},"::cout ",[356,412,413],{"class":362},"\u003C\u003C",[356,415,416],{"class":389}," \"=== Starting Validator Lifecycle Test ===\"",[356,418,419],{"class":362}," \u003C\u003C",[356,421,422],{"class":406}," std",[356,424,425],{"class":370},"::endl;\n",[356,427,429],{"class":358,"line":428},6,[356,430,400],{"emptyLinePlaceholder":399},[356,432,434],{"class":358,"line":433},7,[356,435,437],{"class":436},"sQrFR","    \u002F\u002F Setup\n",[356,439,441,444,447,450,453,455,458,462,465,468,470,473,476,479],{"class":358,"line":440},8,[356,442,443],{"class":406},"    jtx",[356,445,446],{"class":370},"::",[356,448,449],{"class":406},"Env",[356,451,452],{"class":366}," env",[356,454,386],{"class":370},[356,456,457],{"class":362},"*",[356,459,461],{"class":460},"sCcAr","this",[356,463,464],{"class":370},", ",[356,466,467],{"class":406},"jtx",[356,469,446],{"class":370},[356,471,472],{"class":366},"supported_amendments",[356,474,475],{"class":370},"() ",[356,477,478],{"class":362},"|",[356,480,481],{"class":370}," featureNegativeUNL);\n",[356,483,485,487,489,492,495,498,501,504,507,509,512],{"class":358,"line":484},9,[356,486,407],{"class":406},[356,488,446],{"class":370},[356,490,491],{"class":406},"vector",[356,493,494],{"class":370},"\u003C",[356,496,497],{"class":406},"PublicKey",[356,499,500],{"class":370},"> publicKeys ",[356,502,503],{"class":362},"=",[356,505,506],{"class":366}," createPublicKeys",[356,508,386],{"class":370},[356,510,511],{"class":460},"5",[356,513,393],{"class":370},[356,515,517],{"class":358,"line":516},10,[356,518,400],{"emptyLinePlaceholder":399},[356,520,522,525,528,530,532,534,537,539,542],{"class":358,"line":521},11,[356,523,524],{"class":362},"    auto",[356,526,527],{"class":370}," l ",[356,529,503],{"class":362},[356,531,422],{"class":406},[356,533,446],{"class":370},[356,535,536],{"class":366},"make_shared",[356,538,494],{"class":370},[356,540,541],{"class":406},"Ledger",[356,543,544],{"class":370},">(\n",[356,546,548],{"class":358,"line":547},12,[356,549,550],{"class":370},"        create_genesis,\n",[356,552,554,557,560,563,566],{"class":358,"line":553},13,[356,555,556],{"class":370},"        env.",[356,558,559],{"class":366},"app",[356,561,562],{"class":370},"().",[356,564,565],{"class":366},"config",[356,567,568],{"class":370},"(),\n",[356,570,572,575,578,580,583,586],{"class":358,"line":571},14,[356,573,574],{"class":406},"        std",[356,576,577],{"class":370},"::vector",[356,579,494],{"class":362},[356,581,582],{"class":370},"uint256",[356,584,585],{"class":362},">",[356,587,588],{"class":370},"{},\n",[356,590,592,594,596,598,601],{"class":358,"line":591},15,[356,593,556],{"class":370},[356,595,559],{"class":366},[356,597,562],{"class":370},[356,599,600],{"class":366},"getNodeFamily",[356,602,603],{"class":370},"());\n",[356,605,607],{"class":358,"line":606},16,[356,608,400],{"emptyLinePlaceholder":399},[356,610,612,615,617,619,621,624,626,629],{"class":358,"line":611},17,[356,613,614],{"class":406},"    hash_map",[356,616,494],{"class":370},[356,618,497],{"class":406},[356,620,464],{"class":370},[356,622,623],{"class":406},"std",[356,625,446],{"class":370},[356,627,628],{"class":362},"uint32_t",[356,630,631],{"class":370},"> nUnlLedgerSeq;\n",[356,633,635],{"class":358,"line":634},18,[356,636,400],{"emptyLinePlaceholder":399},[356,638,640],{"class":358,"line":639},19,[356,641,642],{"class":436},"    \u002F\u002F Phase 1: Build to first flag ledger\n",[356,644,646,648,650,652,655,658,661,663,665],{"class":358,"line":645},20,[356,647,407],{"class":406},[356,649,410],{"class":370},[356,651,413],{"class":362},[356,653,654],{"class":389}," \"",[356,656,657],{"class":362},"\\n",[356,659,660],{"class":389},"=== Building to First Flag Ledger ===\"",[356,662,419],{"class":362},[356,664,422],{"class":406},[356,666,425],{"class":370},[356,668,670],{"class":358,"line":669},21,[356,671,672],{"class":436},"    \u002F\u002F ... your code here\n",[356,674,676],{"class":358,"line":675},22,[356,677,400],{"emptyLinePlaceholder":399},[356,679,681],{"class":358,"line":680},23,[356,682,683],{"class":436},"    \u002F\u002F Phase 2: Test disable transactions\n",[356,685,687,689,691,693,695,697,700,702,704],{"class":358,"line":686},24,[356,688,407],{"class":406},[356,690,410],{"class":370},[356,692,413],{"class":362},[356,694,654],{"class":389},[356,696,657],{"class":362},[356,698,699],{"class":389},"=== Testing Validator Disable ===\"",[356,701,419],{"class":362},[356,703,422],{"class":406},[356,705,425],{"class":370},[356,707,709],{"class":358,"line":708},25,[356,710,672],{"class":436},[356,712,714],{"class":358,"line":713},26,[356,715,400],{"emptyLinePlaceholder":399},[356,717,719],{"class":358,"line":718},27,[356,720,721],{"class":436},"    \u002F\u002F Phase 3: Process disable\n",[356,723,725,727,729,731,733,735,738,740,742],{"class":358,"line":724},28,[356,726,407],{"class":406},[356,728,410],{"class":370},[356,730,413],{"class":362},[356,732,654],{"class":389},[356,734,657],{"class":362},[356,736,737],{"class":389},"=== Processing Disable ===\"",[356,739,419],{"class":362},[356,741,422],{"class":406},[356,743,425],{"class":370},[356,745,747],{"class":358,"line":746},29,[356,748,672],{"class":436},[356,750,752],{"class":358,"line":751},30,[356,753,400],{"emptyLinePlaceholder":399},[356,755,757],{"class":358,"line":756},31,[356,758,759],{"class":436},"    \u002F\u002F Phase 4: Test complex scenarios\n",[356,761,763,765,767,769,771,773,776,778,780],{"class":358,"line":762},32,[356,764,407],{"class":406},[356,766,410],{"class":370},[356,768,413],{"class":362},[356,770,654],{"class":389},[356,772,657],{"class":362},[356,774,775],{"class":389},"=== Testing Complex Scenarios ===\"",[356,777,419],{"class":362},[356,779,422],{"class":406},[356,781,425],{"class":370},[356,783,785],{"class":358,"line":784},33,[356,786,672],{"class":436},[356,788,790],{"class":358,"line":789},34,[356,791,400],{"emptyLinePlaceholder":399},[356,793,795],{"class":358,"line":794},35,[356,796,797],{"class":436},"    \u002F\u002F Phase 5: Complete lifecycle\n",[356,799,801,803,805,807,809,811,814,816,818],{"class":358,"line":800},36,[356,802,407],{"class":406},[356,804,410],{"class":370},[356,806,413],{"class":362},[356,808,654],{"class":389},[356,810,657],{"class":362},[356,812,813],{"class":389},"=== Completing Lifecycle ===\"",[356,815,419],{"class":362},[356,817,422],{"class":406},[356,819,425],{"class":370},[356,821,823],{"class":358,"line":822},37,[356,824,672],{"class":436},[356,826,828],{"class":358,"line":827},38,[356,829,400],{"emptyLinePlaceholder":399},[356,831,833,835,837,839,841,843,846,848,850],{"class":358,"line":832},39,[356,834,407],{"class":406},[356,836,410],{"class":370},[356,838,413],{"class":362},[356,840,654],{"class":389},[356,842,657],{"class":362},[356,844,845],{"class":389},"=== Test Complete ===\"",[356,847,419],{"class":362},[356,849,422],{"class":406},[356,851,425],{"class":370},[356,853,855],{"class":358,"line":854},40,[356,856,857],{"class":370},"}\n",[22,859,860],{},[26,861,862],{},"Helper Functions Available:",[347,864,866],{"className":349,"code":865,"language":351,"meta":352,"style":352},"\u002F\u002F Create disable\u002Fenable transaction\nauto tx = createTx(bool isToDisable, LedgerIndex seq, PublicKey const& key);\n\n\u002F\u002F Apply transaction and test result\nbool result = applyAndTestResult(Env& env, OpenView& view, STTx const& tx, bool shouldSucceed);\n\n\u002F\u002F Test nUNL state\nbool ok = negUnlSizeTest(Ledger const& l, size_t expectedSize, bool hasToDisable, bool hasToReEnable);\n\n\u002F\u002F Verify tracking map\nbool verified = VerifyPubKeyAndSeq(Ledger const& l, hash_map\u003CPublicKey, uint32_t> const& map);\n",[67,867,868,873,900,904,909,945,949,954,990,994,999],{"__ignoreMap":352},[356,869,870],{"class":358,"line":359},[356,871,872],{"class":436},"\u002F\u002F Create disable\u002Fenable transaction\n",[356,874,875,878,881,883,886,888,891,894,897],{"class":358,"line":374},[356,876,877],{"class":362},"auto",[356,879,880],{"class":370}," tx ",[356,882,503],{"class":362},[356,884,885],{"class":366}," createTx",[356,887,386],{"class":370},[356,889,890],{"class":362},"bool",[356,892,893],{"class":370}," isToDisable, LedgerIndex seq, PublicKey ",[356,895,896],{"class":362},"const&",[356,898,899],{"class":370}," key);\n",[356,901,902],{"class":358,"line":380},[356,903,400],{"emptyLinePlaceholder":399},[356,905,906],{"class":358,"line":396},[356,907,908],{"class":436},"\u002F\u002F Apply transaction and test result\n",[356,910,911,913,916,918,921,924,927,930,932,935,937,940,942],{"class":358,"line":403},[356,912,890],{"class":362},[356,914,915],{"class":370}," result ",[356,917,503],{"class":362},[356,919,920],{"class":366}," applyAndTestResult",[356,922,923],{"class":370},"(Env",[356,925,926],{"class":362},"&",[356,928,929],{"class":370}," env, OpenView",[356,931,926],{"class":362},[356,933,934],{"class":370}," view, STTx ",[356,936,896],{"class":362},[356,938,939],{"class":370}," tx, ",[356,941,890],{"class":362},[356,943,944],{"class":370}," shouldSucceed);\n",[356,946,947],{"class":358,"line":428},[356,948,400],{"emptyLinePlaceholder":399},[356,950,951],{"class":358,"line":433},[356,952,953],{"class":436},"\u002F\u002F Test nUNL state\n",[356,955,956,958,961,963,966,969,971,974,977,980,982,985,987],{"class":358,"line":440},[356,957,890],{"class":362},[356,959,960],{"class":370}," ok ",[356,962,503],{"class":362},[356,964,965],{"class":366}," negUnlSizeTest",[356,967,968],{"class":370},"(Ledger ",[356,970,896],{"class":362},[356,972,973],{"class":370}," l, ",[356,975,976],{"class":362},"size_t",[356,978,979],{"class":370}," expectedSize, ",[356,981,890],{"class":362},[356,983,984],{"class":370}," hasToDisable, ",[356,986,890],{"class":362},[356,988,989],{"class":370}," hasToReEnable);\n",[356,991,992],{"class":358,"line":484},[356,993,400],{"emptyLinePlaceholder":399},[356,995,996],{"class":358,"line":516},[356,997,998],{"class":436},"\u002F\u002F Verify tracking map\n",[356,1000,1001,1003,1006,1008,1011,1013,1015,1018,1020,1023,1026,1029],{"class":358,"line":521},[356,1002,890],{"class":362},[356,1004,1005],{"class":370}," verified ",[356,1007,503],{"class":362},[356,1009,1010],{"class":366}," VerifyPubKeyAndSeq",[356,1012,968],{"class":370},[356,1014,896],{"class":362},[356,1016,1017],{"class":370}," l, hash_map",[356,1019,494],{"class":362},[356,1021,1022],{"class":370},"PublicKey, ",[356,1024,1025],{"class":362},"uint32_t>",[356,1027,1028],{"class":362}," const&",[356,1030,1031],{"class":370}," map);\n",[14,1033],{},[17,1035,1037],{"id":1036},"deliverable","Deliverable",[22,1039,1040],{},"A written report containing:",[51,1042,1043,1066,1085,1192],{},[54,1044,1045,1048,1049],{},[26,1046,1047],{},"Complete Test Code",":",[51,1050,1051,1057,1060,1063],{},[54,1052,1053,1054,1056],{},"Full ",[67,1055,173],{}," function implementation",[54,1058,1059],{},"Comments explaining each phase",[54,1061,1062],{},"Proper use of helper functions",[54,1064,1065],{},"BEAST_EXPECT assertions at key points",[54,1067,1068,1048,1071],{},[26,1069,1070],{},"Test Execution Output",[51,1072,1073,1076,1079,1082],{},[54,1074,1075],{},"Console output from running your test",[54,1077,1078],{},"Show all 6 phases completing",[54,1080,1081],{},"Show success\u002Ffailure of each transaction",[54,1083,1084],{},"Show nUNL state changes",[54,1086,1087,1048,1090],{},[26,1088,1089],{},"Analysis Table",[1091,1092,1093,1113],"table",{},[1094,1095,1096],"thead",{},[1097,1098,1099,1103,1106,1109,1111],"tr",{},[1100,1101,1102],"th",{},"Ledger Sequence",[1100,1104,1105],{},"Event",[1100,1107,1108],{},"nUNL Size",[1100,1110,64],{},[1100,1112,75],{},[1114,1115,1116,1133,1148,1163,1178],"tbody",{},[1097,1117,1118,1122,1125,1128,1131],{},[1119,1120,1121],"td",{},"256 (1st flag)",[1119,1123,1124],{},"Initial",[1119,1126,1127],{},"0",[1119,1129,1130],{},"None",[1119,1132,1130],{},[1097,1134,1135,1138,1141,1143,1146],{},[1119,1136,1137],{},"256",[1119,1139,1140],{},"Disable TX",[1119,1142,1127],{},[1119,1144,1145],{},"Validator 0",[1119,1147,1130],{},[1097,1149,1150,1153,1156,1159,1161],{},[1119,1151,1152],{},"512 (2nd flag)",[1119,1154,1155],{},"Process Disable",[1119,1157,1158],{},"1",[1119,1160,1130],{},[1119,1162,1130],{},[1097,1164,1165,1168,1171,1173,1176],{},[1119,1166,1167],{},"512",[1119,1169,1170],{},"Complex TXs",[1119,1172,1158],{},[1119,1174,1175],{},"Validator 2",[1119,1177,1145],{},[1097,1179,1180,1183,1186,1188,1190],{},[1119,1181,1182],{},"768 (3rd flag)",[1119,1184,1185],{},"Complete Lifecycle",[1119,1187,1158],{},[1119,1189,1130],{},[1119,1191,1130],{},[54,1193,1194,1048,1197],{},[26,1195,1196],{},"Questions Answered",[128,1198,1199,1202,1205,1208,1211,1214],{},[54,1200,1201],{},"Why can only one ToDisable transaction be processed per flag ledger?",[54,1203,1204],{},"Why can't a validator be disabled before reaching a flag ledger?",[54,1206,1207],{},"What happens to the ToDisable field after it's processed?",[54,1209,1210],{},"Can a validator be in both ToDisable and ToReEnable simultaneously?",[54,1212,1213],{},"How does the 256-ledger interval affect network responsiveness to validator failures?",[54,1215,1216],{},"What would happen if you tried to disable all validators?",[14,1218],{},[17,1220,1222],{"id":1221},"advanced-challenges-optional","Advanced Challenges (Optional)",[128,1224,1225,1233,1239,1245],{},[54,1226,1227,1230,1231],{},[26,1228,1229],{},"Scoring System",": Implement validator scoring based on ",[67,1232,85],{},[54,1234,1235,1238],{},[26,1236,1237],{},"Automatic Disable",": Trigger automatic disable when score falls below threshold",[54,1240,1241,1244],{},[26,1242,1243],{},"Multiple Cycles",": Test disabling and re-enabling the same validator multiple times",[54,1246,1247,1250],{},[26,1248,1249],{},"Edge Cases",": Test with only 2 validators, or with all but one disabled",[14,1252],{},[17,1254,1256],{"id":1255},"tips","Tips",[51,1258,1259,1265,1272,1275,1280,1283,1289],{},[54,1260,223,1261,1264],{},[67,1262,1263],{},"std::cout"," liberally to track progress through phases",[54,1266,1267,1268,1271],{},"The ",[67,1269,1270],{},"BEAST_EXPECT()"," macro is your test assertion",[54,1273,1274],{},"Flag ledgers are at sequences 256, 512, 768, 1024, etc.",[54,1276,1277,1279],{},[67,1278,277],{}," must be called on each flag ledger",[54,1281,1282],{},"OpenView allows transaction simulation before applying to ledger",[54,1284,1285,1286,1288],{},"Read the existing ",[67,1287,155],{}," function for patterns",[54,1290,1291,1292],{},"Build and run: ",[67,1293,1294],{},"cmake --build . --target rippled --parallel 10 && .\u002Frippled --unittest=LedgerMaster",[14,1296],{},[17,1298,1300],{"id":1299},"learning-goals","Learning Goals",[22,1302,1303],{},"By completing this homework, you should be able to:",[51,1305,1306,1309,1312,1315,1318,1321,1324],{},[54,1307,1308],{},"Write consensus tests using the jtx framework",[54,1310,1311],{},"Understand the Negative UNL transaction lifecycle",[54,1313,1314],{},"Observe automatic validator management mechanisms",[54,1316,1317],{},"Explain flag ledger processing",[54,1319,1320],{},"Predict nUNL state changes based on transactions",[54,1322,1323],{},"Debug consensus test failures",[54,1325,1326],{},"Verify complex multi-phase consensus scenarios",[14,1328],{},[17,1330,1332],{"id":1331},"reference-materials","Reference Materials",[51,1334,1335,1344,1352],{},[54,1336,1337,1340,1341],{},[26,1338,1339],{},"Negative UNL Implementation",": ",[67,1342,1343],{},"rippled\u002Fsrc\u002Fxrpld\u002Fapp\u002Fmisc\u002FNegativeUNLVote.cpp",[54,1345,1346,1340,1349],{},[26,1347,1348],{},"Test Framework",[67,1350,1351],{},"rippled\u002Fsrc\u002Ftest\u002Fjtx\u002F",[54,1353,1354,1340,1357],{},[26,1355,1356],{},"Ledger Interface",[67,1358,1359],{},"rippled\u002Fsrc\u002Fxrpld\u002Fledger\u002FReadView.h",[1361,1362,1363],"style",{},"html pre.shiki code .sWyjQ, html code.shiki .sWyjQ{--shiki-default:#FF9492}html pre.shiki code .sj_SG, html code.shiki .sj_SG{--shiki-default:#DBB7FF}html pre.shiki code .sMAXC, html code.shiki .sMAXC{--shiki-default:#F0F3F6}html pre.shiki code .sTRMh, html code.shiki .sTRMh{--shiki-default:#ADDCFF}html pre.shiki code .s_sBn, html code.shiki .s_sBn{--shiki-default:#FFB757}html pre.shiki code .sQrFR, html code.shiki .sQrFR{--shiki-default:#BDC4CC}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);}",{"title":352,"searchDepth":374,"depth":374,"links":1365},[1366,1367,1368,1371,1372,1373,1374,1375,1376],{"id":19,"depth":374,"text":20},{"id":40,"depth":374,"text":41},{"id":117,"depth":374,"text":118,"children":1369},[1370],{"id":125,"depth":380,"text":126},{"id":339,"depth":374,"text":340},{"id":1036,"depth":374,"text":1037},{"id":1221,"depth":374,"text":1222},{"id":1255,"depth":374,"text":1256},{"id":1299,"depth":374,"text":1300},{"id":1331,"depth":374,"text":1332},"Homework 2: Negative UNL Engineering for Consensus II: UNLs and Ledger Amendments, in the Core Dev Bootcamp: XRPL Commons docs.","md",{},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework2",{"title":5,"description":1377},"xrpl-trainings\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework2.md","docs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework2","bFw_m6n2k0TJBwujvN8vKbjpy25ghRRl1-KdcibKXk4",[],[1387,1428,1442,1462,1485,1877],{"title":1388,"path":1389,"children":1390,"description":1427,"pages":553},"XRPL Basics","\u002Fdocs\u002Fxrpl-basics",[1391,1394,1397,1400,1403,1406,1409,1412,1415,1418,1421,1424],{"title":1392,"path":1393},"Getting Started","\u002Fdocs\u002Fxrpl-basics\u002Fgetting-started",{"title":1395,"path":1396},"Trustline","\u002Fdocs\u002Fxrpl-basics\u002Ftrustline",{"title":1398,"path":1399},"Payments","\u002Fdocs\u002Fxrpl-basics\u002Fpayments",{"title":1401,"path":1402},"Reading and subscribing to Transactions","\u002Fdocs\u002Fxrpl-basics\u002Freading-and-writing-memos",{"title":1404,"path":1405},"Writing and reading memos","\u002Fdocs\u002Fxrpl-basics\u002Fwriting-and-reading-memos",{"title":1407,"path":1408},"Non Fungible Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fnon-fungible-tokens",{"title":1410,"path":1411},"Multi-Purpose Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fmptoken",{"title":1413,"path":1414},"PathFinding","\u002Fdocs\u002Fxrpl-basics\u002Fpath-finding",{"title":1416,"path":1417},"Escrow","\u002Fdocs\u002Fxrpl-basics\u002Fescrow",{"title":1419,"path":1420},"Price Oracles","\u002Fdocs\u002Fxrpl-basics\u002Fprice-oracles",{"title":1422,"path":1423},"Tickets","\u002Fdocs\u002Fxrpl-basics\u002Ftickets",{"title":1425,"path":1426},"Multi-Signature","\u002Fdocs\u002Fxrpl-basics\u002Fmulti-signature","In this section we will cover some of the primary functionality of the XRPL ledger.",{"title":1429,"path":1430,"children":1431,"description":1441,"pages":396},"Token Issuance and Liquidity","\u002Fdocs\u002Ftoken-issuance-and-liquidity",[1432,1435,1438],{"title":1433,"path":1434},"Creating Accounts and Setup","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fcreating-accounts",{"title":1436,"path":1437},"Issuing Tokens","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fissuing-tokens",{"title":1439,"path":1440},"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":1443,"path":1444,"children":1445,"description":1461,"pages":428},"Cyphered Chat on XRPL","\u002Fdocs\u002Fcyphered-chat-on-xrpl",[1446,1449,1452,1455,1458],{"title":1447,"path":1448},"Set up","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up",{"title":1450,"path":1451},"Set up Keys","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-keys",{"title":1453,"path":1454},"Cypher the message","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fcypher-the-message",{"title":1456,"path":1457},"Set up the memo & send the tx","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-the-memo-and-send-the-tx",{"title":1459,"path":1460},"Get the message and decypher it","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fget-the-message-and-decypher-it","Send encrypted messages over XRPL",{"title":1463,"path":1464,"children":1465,"description":1484,"pages":433},"EVM Sidechain","\u002Fdocs\u002Fevm-sidechain",[1466,1469,1472,1475,1478,1481],{"title":1467,"path":1468},"Connecting Metamask","\u002Fdocs\u002Fevm-sidechain\u002Fconnecting-metamask",{"title":1470,"path":1471},"Set up a Foundry project","\u002Fdocs\u002Fevm-sidechain\u002Fset-up-an-evm-project",{"title":1473,"path":1474},"Bridging Assets","\u002Fdocs\u002Fevm-sidechain\u002Fbridging-assets",{"title":1476,"path":1477},"Remix","\u002Fdocs\u002Fevm-sidechain\u002Fremix",{"title":1479,"path":1480},"Banking App","\u002Fdocs\u002Fevm-sidechain\u002Fbanking-app",{"title":1482,"path":1483},"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":1486,"path":1487,"children":1488,"description":1875,"pages":1876},"Core Dev Bootcamp","\u002Fdocs\u002Fcore-dev-bootcamp",[1489,1509,1552,1602,1633,1690,1721,1737,1777,1811,1834,1850],{"title":1490,"path":1491,"children":1492},"Rippled I – Compilation, Configuration, and Launch","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01",[1493,1496,1499,1502],{"title":1494,"path":1495},"Environment & Build Toolchain","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fenvironment-build-toolchain",{"title":1497,"path":1498},"Compilation Process & Generating Binary","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fcompilation-process-generating-binary",{"title":1500,"path":1501},"Local Development & Testing","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Flocal-development-testing",{"title":1503,"path":1504,"children":1505},"Homeworks","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks",[1506],{"title":1507,"path":1508},"Homework 1: Rippled Node Setup and Mainnet Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks\u002Fhomework1",{"title":1510,"path":1511,"children":1512},"Rippled II: Deep Dive into the Protocol and Codebase","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02",[1513,1516,1519,1522,1525,1528,1531,1534,1537],{"title":1514,"path":1515},"Protocols: Communication and Interoperability","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fprotocols-communication-and-interoperability",{"title":1517,"path":1518},"Transactors: Transaction Processing Framework","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransactors-transaction-processing-framework",{"title":1520,"path":1521},"Application Layer: Central Orchestration and Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fapplication-layer-central-orchestration-and-coordination",{"title":1523,"path":1524},"Consensus Engine: XRP Ledger Consensus Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fconsensus-engine-xrp-ledger-consensus-protocol",{"title":1526,"path":1527},"Overlay Network: Peer-to-Peer Networking Layer","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Foverlay-network-peer-to-peer-networking-layer",{"title":1529,"path":1530},"Transaction Lifecycle: Complete Transaction Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransaction-lifecycle-complete-transaction-journey",{"title":1532,"path":1533},"Codebase Navigation: Efficiently Navigating the Rippled Source","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fcodebase-navigation-efficiently-navigating-the-rippled-source",{"title":1535,"path":1536},"Debugging Tools: Development and Debugging Techniques","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fdebugging-tools-development-and-debugging-techniques",{"title":1503,"path":1538,"children":1539},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks",[1540,1543,1546,1549],{"title":1541,"path":1542},"Homework 1: Transaction Flow Analysis","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework1",{"title":1544,"path":1545},"Homework 2: Transactor Code Exploration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework2",{"title":1547,"path":1548},"Homework 3: Logging and Debugging","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework3",{"title":1550,"path":1551},"Homework 4: Architecture Diagram","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework4",{"title":1553,"path":1554,"children":1555},"Anatomy of Rippled: SHAMap and NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03",[1556,1559,1562,1565,1568,1571,1574,1577,1580,1583,1586,1589],{"title":1557,"path":1558},"Foundational Concepts","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstate-management-challenges",{"title":1560,"path":1561},"Trees, Hashing, and Cryptographic Commitments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Ftree-fundamentals",{"title":1563,"path":1564},"SHAMap Architecture and Node Hierarchy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-architecture",{"title":1566,"path":1567},"Navigation, Hashing, and Merkle Properties","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-navigation-hashing",{"title":1569,"path":1570},"Traversal, Iteration, and Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-synchronization",{"title":1572,"path":1573},"The NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fnodestore-architecture",{"title":1575,"path":1576},"Storage Abstraction and Backend Implementations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstorage-backends",{"title":1578,"path":1579},"Cache Layer and Performance Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fcache-layer",{"title":1581,"path":1582},"Database Operations and Lifecycle Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fdatabase-operations",{"title":1584,"path":1585},"Cryptographic Proofs and State Reconstruction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fproofs-state-reconstruction",{"title":1587,"path":1588},"Resource Management and Performance Characteristics","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fresource-management",{"title":1590,"path":1591,"children":1592},"Appendices","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices",[1593,1596,1599],{"title":1594,"path":1595},"Appendix : Codebase Navigation Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fnavigation",{"title":1597,"path":1598},"Appendix : Configuration Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fconfiguration",{"title":1600,"path":1601},"Appendix : Debugging and Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fdebugging",{"title":1603,"path":1604,"children":1605},"Transactors: Understanding the Lifecycle of a Transaction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis",[1606,1609,1612,1615,1618,1621,1624,1627,1630],{"title":1607,"path":1608},"Transactor Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ftransactor-architecture",{"title":1610,"path":1611},"Processing Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fprocessing-pipeline",{"title":1613,"path":1614},"Fee and Sequence Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ffee-sequence-handling",{"title":1616,"path":1617},"State Modification Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fstate-modification",{"title":1619,"path":1620},"TER Result Codes","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fter-result-codes",{"title":1622,"path":1623},"Case Study: CheckCreate Transactor","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fcase-study-checkcreate",{"title":1625,"path":1626},"Homework 1: Trace a Transaction Through All Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework1",{"title":1628,"path":1629},"Homework 2: Implement a Custom Validation Check","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework2",{"title":1631,"path":1632},"Homework 3: Analyze TER Code Paths","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework3",{"title":1634,"path":1635,"children":1636},"Cryptography I: Blockchain Security and Cryptographic Foundations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04",[1637,1640,1643,1646,1649,1652,1655,1658,1661,1664,1667,1670,1673,1684],{"title":1638,"path":1639},"The Four Pillars of Security","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-four-pillars-of-security",{"title":1641,"path":1642},"The Lifecycle of a Cryptographic Key","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-lifecycle-of-a-cryptographic-key",{"title":1644,"path":1645},"Random Number Generation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation",{"title":1647,"path":1648},"Random Number Generation & Entropy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation-and-entropy",{"title":1650,"path":1651},"Key Generation Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fkey-generation-pipeline",{"title":1653,"path":1654},"Transaction Signing & Verification","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Ftransaction-signing-and-verification",{"title":1656,"path":1657},"Hash Functions in XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhash-functions-in-xrpl",{"title":1659,"path":1660},"Base58Check Encoding","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fbase58check-encoding",{"title":1662,"path":1663},"Peer Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fpeer-handshake-protocol",{"title":1665,"path":1666},"Secure Memory Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fsecure-memory-handling",{"title":1668,"path":1669},"Common Cryptographic Pitfalls","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fcommon-cryptographic-pitfalls",{"title":1671,"path":1672},"Performance & Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fperformance-and-optimization",{"title":1590,"path":1674,"children":1675},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices",[1676,1678,1681],{"title":1594,"path":1677},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fcodebase-navigation-guide",{"title":1679,"path":1680},"Appendix : Debugging & Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fdebugging-and-development-tools",{"title":1682,"path":1683},"Appendix : RFCs and Standards Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Frfcs-and-standards-reference",{"title":1503,"path":1685,"children":1686},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks",[1687],{"title":1688,"path":1689},"Homework 1: Signature Verification Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks\u002Fhomework1",{"title":1691,"path":1692,"children":1693},"Cryptography II: Protocol Extensions and Quantum Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05",[1694,1697,1700,1703,1706,1709,1715],{"title":1695,"path":1696},"Overlay Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Foverlay-architecture",{"title":1698,"path":1699},"Connection Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fconnection-lifecycle",{"title":1701,"path":1702},"Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhandshake-protocol",{"title":1704,"path":1705},"Message Relaying","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fmessage-relaying",{"title":1707,"path":1708},"Peer Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fpeer-discovery",{"title":1590,"path":1710,"children":1711},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices",[1712],{"title":1713,"path":1714},"XLS-??d Quantum-Resistant Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices\u002Fxls-d",{"title":1503,"path":1716,"children":1717},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks",[1718],{"title":1719,"path":1720},"Homework 1: Building Quantum-Resistant Signatures for XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks\u002Fhomework1",{"title":1722,"path":1723,"children":1724},"Communication I: Understanding XRPL(d) RPC Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06",[1725,1728,1731,1734],{"title":1726,"path":1727},"RPC Handler Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frpc-handler-architecture",{"title":1729,"path":1730},"Request and Response Flow","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frequest-response-flow",{"title":1732,"path":1733},"Authentication and Authorization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Fauthentication-authorization",{"title":1735,"path":1736},"Error Handling and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Ferror-handling-validation",{"title":1738,"path":1739,"children":1740},"Communication II: Building and Integrating Custom RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07",[1741,1744,1747,1750,1753,1765],{"title":1742,"path":1743},"Implementing Custom Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fimplementing-custom-handlers",{"title":1745,"path":1746},"Testing RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Ftesting-rpc-handlers",{"title":1748,"path":1749},"Advanced Features","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fadvanced-features",{"title":1751,"path":1752},"Best Practices and Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fbest-practices-patterns",{"title":1590,"path":1754,"children":1755},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices",[1756,1759,1762],{"title":1757,"path":1758},"Appendix: Handler Examples","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhandler-examples",{"title":1760,"path":1761},"Appendix: Helper Functions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhelper-functions",{"title":1763,"path":1764},"Appendix: Debugging Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fdebugging-guide",{"title":1503,"path":1766,"children":1767},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks",[1768,1771,1774],{"title":1769,"path":1770},"Homework 1: Building a Custom RPC Handler","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhomework1",{"title":1772,"path":1773},"Hints","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhints",{"title":1775,"path":1776},"Snippets","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fsnippets",{"title":1778,"path":1779,"children":1780},"Consensus I: Node, Consensus, and Ledger Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08",[1781,1784,1787,1790,1793,1796,1799,1802],{"title":1782,"path":1783},"Consensus Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-fundamentals",{"title":1785,"path":1786},"Consensus Modes and Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-modes-phases",{"title":1788,"path":1789},"Consensus Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-lifecycle",{"title":1791,"path":1792},"Ledger Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-architecture",{"title":1794,"path":1795},"Ledger Data Structures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-data-structures",{"title":1797,"path":1798},"Ledger Acquisition and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-acquisition-validation",{"title":1800,"path":1801},"RPC and Peer Transaction Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Frpc-peer-tx-lifecycle",{"title":1503,"path":1803,"children":1804},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks",[1805,1808],{"title":1806,"path":1807},"Homework 1: Transaction Consensus Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework1",{"title":1809,"path":1810},"Homework 2: Consensus Dispute Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework2",{"title":1812,"path":1813,"children":1814},"Consensus II: UNLs and Ledger Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09",[1815,1818,1821,1824,1827,1830,1833],{"title":1816,"path":1817},"Transaction Ordering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Ftx-ordering",{"title":1819,"path":1820},"Consensus Validations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-validations",{"title":1822,"path":1823},"Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Famendments",{"title":1825,"path":1826},"UNL Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Funl",{"title":1828,"path":1829},"Consensus Peers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-peers",{"title":1831,"path":1832},"Homework 1: Validator Keys Setup and Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework1",{"title":5,"path":1380},{"title":1835,"path":1836,"children":1837},"AMM: Automated Market Maker","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis",[1838,1841,1844,1847],{"title":1839,"path":1840},"AMM Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-architecture",{"title":1842,"path":1843},"AMM Transactions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-transactions",{"title":1845,"path":1846},"AMM Logic","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-logic",{"title":1848,"path":1849},"Pathfinding Integration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-pathfinding",{"title":1851,"path":1852,"children":1853},"Building Amendments: Lifecycle and Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10",[1854,1857,1860,1863,1866,1869,1872],{"title":1855,"path":1856},"Amendment Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-architecture",{"title":1858,"path":1859},"Amendment Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-lifecycle",{"title":1861,"path":1862},"Voting and Activation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fvoting-and-activation",{"title":1864,"path":1865},"Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fprotocol-impact",{"title":1867,"path":1868},"Network Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fnetwork-coordination",{"title":1870,"path":1871},"Monitoring and Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-monitoring",{"title":1873,"path":1874},"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":1878,"path":1879,"children":1880,"description":1887,"pages":380},"Tools","\u002Fdocs\u002Ftools",[1881,1884],{"title":1882,"path":1883},"Xaman Setup","\u002Fdocs\u002Ftools\u002Fxaman-setup",{"title":1885,"path":1886},"Metamask Setup","\u002Fdocs\u002Ftools\u002Fmetamask-setup","In this section you will find instructions on how to setup wallets and tools",1796220777915]