[{"data":1,"prerenderedAt":1806},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-architecture":3,"docs-kids-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-architecture":1303,"docs-tracks":1304},{"id":4,"title":5,"body":6,"description":1295,"extension":1296,"meta":1297,"navigation":255,"path":1298,"seo":1299,"source":1300,"stem":1301,"__hash__":1302},"docs\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-architecture.md","Amendment Architecture",{"type":7,"value":8,"toc":1259},"minimark",[9,13,16,21,25,28,30,34,37,44,50,61,67,69,73,78,89,95,123,128,148,153,173,178,192,196,207,212,400,406,408,412,419,509,513,519,545,549,552,564,572,574,578,585,589,688,692,706,715,723,727,730,758,760,764,770,843,847,850,858,864,866,870,873,877,884,888,895,906,910,916,930,934,944,946,950,953,957,963,1041,1046,1072,1076,1084,1092,1094,1098,1102,1105,1146,1149,1153,1156,1160,1163,1165,1169,1172,1177,1189,1194,1212,1217,1236,1241,1255],[10,11,5],"h1",{"id":12},"amendment-architecture",[14,15],"hr",{},[17,18,20],"h2",{"id":19},"introduction","Introduction",[22,23,24],"p",{},"The amendment system is one of the most sophisticated architectural components of rippled. It allows the XRPL network to evolve in a decentralized manner by introducing new features and bug fixes while maintaining network consistency. Unlike traditional blockchain systems that require coordinated hard forks, XRPL uses a distributed consensus mechanism to activate protocol changes.",[22,26,27],{},"In this section, we will explore the internal architecture of the amendment system: the fundamental components, data structures, and integration with the consensus engine. We will see how rippled manages the list of amendments, tracks their state, and coordinates their activation across the network.",[14,29],{},[17,31,33],{"id":32},"amendment-system-overview","Amendment System Overview",[22,35,36],{},"The amendment system in XRPL is based on several key principles:",[22,38,39,43],{},[40,41,42],"strong",{},"Distributed consensus",": Amendments can only be activated if more than 80% of the UNL validators vote in their favor for a minimum period of two weeks. This ensures that no single entity can impose changes on the network.",[22,45,46,49],{},[40,47,48],{},"Stability period",": The two-week period after the 80% threshold is exceeded allows node operators to prepare for upcoming changes. This critical window provides the necessary time to update software, test integrations, and coordinate.",[22,51,52,55,56,60],{},[40,53,54],{},"Automatic activation",": Once consensus is reached and the stability period has elapsed, the amendment is automatically activated via an ",[57,58,59],"code",{},"EnableAmendment"," pseudo-transaction injected into the ledger by the network itself.",[22,62,63,66],{},[40,64,65],{},"Network protection",": If a node does not support an activated amendment, it automatically enters \"amendment blocked\" mode and stops participating in consensus until it is updated. This protects network integrity by preventing an outdated node from applying incorrect rules.",[14,68],{},[17,70,72],{"id":71},"amendmenttable-the-central-manager","AmendmentTable: The Central Manager",[74,75,77],"h3",{"id":76},"amendmenttable-interface","AmendmentTable Interface",[22,79,80,81,84,85,88],{},"The ",[57,82,83],{},"AmendmentTable"," class is the public interface of the amendment system. It is defined in ",[57,86,87],{},"src\u002Fxrpld\u002Fapp\u002Fmisc\u002FAmendmentTable.h"," and provides essential methods for:",[22,90,91,94],{},[40,92,93],{},"Amendment management",":",[96,97,98,105,111,117],"ul",{},[99,100,101,104],"li",{},[57,102,103],{},"find(uint256 const& amendment)",": Search for an amendment by its hash",[99,106,107,110],{},[57,108,109],{},"enable(uint256 const& amendment)",": Activate an amendment locally",[99,112,113,116],{},[57,114,115],{},"isEnabled(uint256 const& amendment)",": Check if an amendment is enabled",[99,118,119,122],{},[57,120,121],{},"isSupported(uint256 const& amendment)",": Check if the node supports an amendment",[22,124,125,94],{},[40,126,127],{},"Voting and validation",[96,129,130,136,142],{},[99,131,132,135],{},[57,133,134],{},"doVoting(NetClock::time_point closeTime, ...)",": Execute voting logic for a consensus round",[99,137,138,141],{},[57,139,140],{},"doValidation(std::set\u003Cuint256> const& enabledAmendments)",": Determine which amendments to announce in validations",[99,143,144,147],{},[57,145,146],{},"getDesired()",": Return all amendments that the node wishes to see enabled",[22,149,150,94],{},[40,151,152],{},"Ledger synchronization",[96,154,155,161,167],{},[99,156,157,160],{},[57,158,159],{},"doValidatedLedger(std::shared_ptr\u003CReadView const> const& ledger)",": Synchronize amendment state after ledger validation",[99,162,163,166],{},[57,164,165],{},"hasUnsupportedEnabled()",": Check if unsupported amendments are enabled",[99,168,169,172],{},[57,170,171],{},"firstUnsupportedExpected()",": Return when the first unsupported amendment is expected to activate",[22,174,175,94],{},[40,176,177],{},"Monitoring and inspection",[96,179,180,186],{},[99,181,182,185],{},[57,183,184],{},"getJson()",": Generate a JSON representation of all amendment states",[99,187,188,191],{},[57,189,190],{},"trustChanged(hash_set\u003CPublicKey> const& added, ...)",": Notify changes in the trusted validator list",[74,193,195],{"id":194},"amendmenttableimpl-the-implementation","AmendmentTableImpl: The Implementation",[22,197,198,199,202,203,206],{},"The concrete implementation ",[57,200,201],{},"AmendmentTableImpl"," (in ",[57,204,205],{},"src\u002Fxrpld\u002Fapp\u002Fmisc\u002Fdetail\u002FAmendmentTable.cpp",") manages the complete internal state of the amendment system.",[22,208,209,94],{},[40,210,211],{},"Key data structures",[213,214,219],"pre",{"className":215,"code":216,"language":217,"meta":218,"style":218},"language-cpp shiki shiki-themes github-dark-high-contrast","\u002F\u002F Map of all known amendments with their state\nhash_map\u003Cuint256, AmendmentState> amendmentMap_;\n\n\u002F\u002F Votes from trusted validators\nTrustedVotes previousTrustedVotes_;\n\n\u002F\u002F Last vote issued by this node\nstd::unique_ptr\u003CAmendmentSet> lastVote_;\n\n\u002F\u002F Indicator if an unsupported amendment is enabled\nbool unsupportedEnabled_;\n\n\u002F\u002F Time when the first unsupported amendment should activate\nstd::optional\u003CNetClock::time_point> firstUnsupportedExpected_;\n\n\u002F\u002F Database connection for persistence\nDatabaseCon& db_;\n\n\u002F\u002F Mutex for thread safety\nstd::mutex mutable mutex_;\n","cpp","",[57,220,221,230,250,257,263,269,274,280,300,305,311,320,325,331,352,357,363,375,380,386],{"__ignoreMap":218},[222,223,226],"span",{"class":224,"line":225},"line",1,[222,227,229],{"class":228},"sQrFR","\u002F\u002F Map of all known amendments with their state\n",[222,231,233,237,241,244,247],{"class":224,"line":232},2,[222,234,236],{"class":235},"sMAXC","hash_map",[222,238,240],{"class":239},"sWyjQ","\u003C",[222,242,243],{"class":235},"uint256, AmendmentState",[222,245,246],{"class":239},">",[222,248,249],{"class":235}," amendmentMap_;\n",[222,251,253],{"class":224,"line":252},3,[222,254,256],{"emptyLinePlaceholder":255},true,"\n",[222,258,260],{"class":224,"line":259},4,[222,261,262],{"class":228},"\u002F\u002F Votes from trusted validators\n",[222,264,266],{"class":224,"line":265},5,[222,267,268],{"class":235},"TrustedVotes previousTrustedVotes_;\n",[222,270,272],{"class":224,"line":271},6,[222,273,256],{"emptyLinePlaceholder":255},[222,275,277],{"class":224,"line":276},7,[222,278,279],{"class":228},"\u002F\u002F Last vote issued by this node\n",[222,281,283,287,290,292,295,297],{"class":224,"line":282},8,[222,284,286],{"class":285},"s_sBn","std",[222,288,289],{"class":235},"::unique_ptr",[222,291,240],{"class":239},[222,293,294],{"class":235},"AmendmentSet",[222,296,246],{"class":239},[222,298,299],{"class":235}," lastVote_;\n",[222,301,303],{"class":224,"line":302},9,[222,304,256],{"emptyLinePlaceholder":255},[222,306,308],{"class":224,"line":307},10,[222,309,310],{"class":228},"\u002F\u002F Indicator if an unsupported amendment is enabled\n",[222,312,314,317],{"class":224,"line":313},11,[222,315,316],{"class":239},"bool",[222,318,319],{"class":235}," unsupportedEnabled_;\n",[222,321,323],{"class":224,"line":322},12,[222,324,256],{"emptyLinePlaceholder":255},[222,326,328],{"class":224,"line":327},13,[222,329,330],{"class":228},"\u002F\u002F Time when the first unsupported amendment should activate\n",[222,332,334,336,339,341,344,347,349],{"class":224,"line":333},14,[222,335,286],{"class":285},[222,337,338],{"class":235},"::optional",[222,340,240],{"class":239},[222,342,343],{"class":285},"NetClock",[222,345,346],{"class":235},"::time_point",[222,348,246],{"class":239},[222,350,351],{"class":235}," firstUnsupportedExpected_;\n",[222,353,355],{"class":224,"line":354},15,[222,356,256],{"emptyLinePlaceholder":255},[222,358,360],{"class":224,"line":359},16,[222,361,362],{"class":228},"\u002F\u002F Database connection for persistence\n",[222,364,366,369,372],{"class":224,"line":365},17,[222,367,368],{"class":235},"DatabaseCon",[222,370,371],{"class":239},"&",[222,373,374],{"class":235}," db_;\n",[222,376,378],{"class":224,"line":377},18,[222,379,256],{"emptyLinePlaceholder":255},[222,381,383],{"class":224,"line":382},19,[222,384,385],{"class":228},"\u002F\u002F Mutex for thread safety\n",[222,387,389,391,394,397],{"class":224,"line":388},20,[222,390,286],{"class":285},[222,392,393],{"class":235},"::mutex ",[222,395,396],{"class":239},"mutable",[222,398,399],{"class":235}," mutex_;\n",[22,401,402,405],{},[40,403,404],{},"Thread safety",": All operations on amendment state are protected by a mutex. The amendment system can be queried from multiple threads simultaneously (network thread, consensus thread, RPC thread), so synchronization is critical.",[14,407],{},[17,409,411],{"id":410},"amendmentstate-the-state-of-an-amendment","AmendmentState: The State of an Amendment",[22,413,414,415,418],{},"Each amendment in the system is represented by an ",[57,416,417],{},"AmendmentState"," structure that captures its complete state:",[213,420,422],{"className":215,"code":421,"language":217,"meta":218,"style":218},"struct AmendmentState {\n    \u002F\u002F Local node's vote (up, down, obsolete)\n    AmendmentVote vote;\n\n    \u002F\u002F Is the amendment enabled in the ledger?\n    bool enabled;\n\n    \u002F\u002F Does the node support this amendment?\n    bool supported;\n\n    \u002F\u002F Human-readable name of the amendment\n    std::string name;\n};\n",[57,423,424,435,440,448,452,457,465,469,474,481,485,490,504],{"__ignoreMap":218},[222,425,426,429,432],{"class":224,"line":225},[222,427,428],{"class":239},"struct",[222,430,431],{"class":285}," AmendmentState",[222,433,434],{"class":235}," {\n",[222,436,437],{"class":224,"line":232},[222,438,439],{"class":228},"    \u002F\u002F Local node's vote (up, down, obsolete)\n",[222,441,442,445],{"class":224,"line":252},[222,443,444],{"class":285},"    AmendmentVote",[222,446,447],{"class":235}," vote;\n",[222,449,450],{"class":224,"line":259},[222,451,256],{"emptyLinePlaceholder":255},[222,453,454],{"class":224,"line":265},[222,455,456],{"class":228},"    \u002F\u002F Is the amendment enabled in the ledger?\n",[222,458,459,462],{"class":224,"line":271},[222,460,461],{"class":239},"    bool",[222,463,464],{"class":235}," enabled;\n",[222,466,467],{"class":224,"line":276},[222,468,256],{"emptyLinePlaceholder":255},[222,470,471],{"class":224,"line":282},[222,472,473],{"class":228},"    \u002F\u002F Does the node support this amendment?\n",[222,475,476,478],{"class":224,"line":302},[222,477,461],{"class":239},[222,479,480],{"class":235}," supported;\n",[222,482,483],{"class":224,"line":307},[222,484,256],{"emptyLinePlaceholder":255},[222,486,487],{"class":224,"line":313},[222,488,489],{"class":228},"    \u002F\u002F Human-readable name of the amendment\n",[222,491,492,495,498,501],{"class":224,"line":322},[222,493,494],{"class":285},"    std",[222,496,497],{"class":235},"::",[222,499,500],{"class":285},"string",[222,502,503],{"class":235}," name;\n",[222,505,506],{"class":224,"line":327},[222,507,508],{"class":235},"};\n",[74,510,512],{"id":511},"amendmentvote-vote-types","AmendmentVote: Vote Types",[22,514,80,515,518],{},[57,516,517],{},"AmendmentVote"," type represents the local node's position:",[96,520,521,529,537],{},[99,522,523,528],{},[40,524,525],{},[57,526,527],{},"up",": The node votes to activate the amendment",[99,530,531,536],{},[40,532,533],{},[57,534,535],{},"down",": The node votes against the amendment (or has no opinion)",[99,538,539,544],{},[40,540,541],{},[57,542,543],{},"obsolete",": The amendment is marked as obsolete and should no longer be voted on",[74,546,548],{"id":547},"enabled-vs-supported","Enabled vs Supported",[22,550,551],{},"It is crucial to understand the distinction between these two states:",[22,553,554,559,560,563],{},[40,555,556],{},[57,557,558],{},"enabled",": The amendment is activated on the network (present in the ledger in the ",[57,561,562],{},"sfAmendments"," field). All nodes must apply the rules of this amendment, whether they support it or not.",[22,565,566,571],{},[40,567,568],{},[57,569,570],{},"supported",": The local node has the necessary code to apply the rules of this amendment. If a node does not support an enabled amendment, it will block (amendment blocked).",[14,573],{},[17,575,577],{"id":576},"amendment-registry-featuresmacro","Amendment Registry: features.macro",[22,579,580,581,584],{},"All known amendments are defined in the macro file ",[57,582,583],{},"include\u002Fxrpl\u002Fprotocol\u002Fdetail\u002Ffeatures.macro",". This file uses preprocessor macros to automatically generate the necessary code.",[74,586,588],{"id":587},"declaration-format","Declaration Format",[213,590,592],{"className":215,"code":591,"language":217,"meta":218,"style":218},"\u002F\u002F Supported amendment, does not vote by default\nXRPL_FEATURE(Subscriptions, Supported::yes, VoteBehavior::DefaultNo)\n\n\u002F\u002F Bug fix, voted by default\nXRPL_FIX(fixAmendmentMajorityCalc, Supported::yes, VoteBehavior::DefaultYes)\n\n\u002F\u002F Retired amendment (active for more than 2 years)\nXRPL_RETIRE(MultiSign)\n\n\u002F\u002F Obsolete amendment (should no longer be voted on)\nXRPL_FEATURE(Tickets, Supported::yes, VoteBehavior::Obsolete)\n",[57,593,594,599,620,624,629,646,650,655,663,667,672],{"__ignoreMap":218},[222,595,596],{"class":224,"line":225},[222,597,598],{"class":228},"\u002F\u002F Supported amendment, does not vote by default\n",[222,600,601,605,608,611,614,617],{"class":224,"line":232},[222,602,604],{"class":603},"sj_SG","XRPL_FEATURE",[222,606,607],{"class":235},"(Subscriptions, ",[222,609,610],{"class":285},"Supported",[222,612,613],{"class":235},"::yes, ",[222,615,616],{"class":285},"VoteBehavior",[222,618,619],{"class":235},"::DefaultNo)\n",[222,621,622],{"class":224,"line":252},[222,623,256],{"emptyLinePlaceholder":255},[222,625,626],{"class":224,"line":259},[222,627,628],{"class":228},"\u002F\u002F Bug fix, voted by default\n",[222,630,631,634,637,639,641,643],{"class":224,"line":265},[222,632,633],{"class":603},"XRPL_FIX",[222,635,636],{"class":235},"(fixAmendmentMajorityCalc, ",[222,638,610],{"class":285},[222,640,613],{"class":235},[222,642,616],{"class":285},[222,644,645],{"class":235},"::DefaultYes)\n",[222,647,648],{"class":224,"line":271},[222,649,256],{"emptyLinePlaceholder":255},[222,651,652],{"class":224,"line":276},[222,653,654],{"class":228},"\u002F\u002F Retired amendment (active for more than 2 years)\n",[222,656,657,660],{"class":224,"line":282},[222,658,659],{"class":603},"XRPL_RETIRE",[222,661,662],{"class":235},"(MultiSign)\n",[222,664,665],{"class":224,"line":302},[222,666,256],{"emptyLinePlaceholder":255},[222,668,669],{"class":224,"line":307},[222,670,671],{"class":228},"\u002F\u002F Obsolete amendment (should no longer be voted on)\n",[222,673,674,676,679,681,683,685],{"class":224,"line":313},[222,675,604],{"class":603},[222,677,678],{"class":235},"(Tickets, ",[222,680,610],{"class":285},[222,682,613],{"class":235},[222,684,616],{"class":285},[222,686,687],{"class":235},"::Obsolete)\n",[74,689,691],{"id":690},"amendment-categories","Amendment Categories",[22,693,694,697,698,701,702,705],{},[40,695,696],{},"Supported Amendments",": Amendments for which the node has implementation code. They are listed in ",[57,699,700],{},"features.macro"," with ",[57,703,704],{},"Supported::yes",".",[22,707,708,711,712,705],{},[40,709,710],{},"Obsolete Amendments",": Historical amendments that are no longer relevant but must remain in the code in case they are activated. Marked with ",[57,713,714],{},"VoteBehavior::Obsolete",[22,716,717,720,721,705],{},[40,718,719],{},"Retired Amendments",": Amendments that have been active for at least two years, whose pre-amendment code has been removed, and whose identifiers are deprecated. Marked with ",[57,722,659],{},[74,724,726],{"id":725},"registration-process","Registration Process",[22,728,729],{},"To register a new amendment in the system:",[731,732,733,745,755],"ol",{},[99,734,735,736,738,739,741,742,744],{},"Add the entry in ",[57,737,700],{}," with the appropriate macro (",[57,740,604],{}," or ",[57,743,633],{},")",[99,746,747,748,751,752],{},"Increment ",[57,749,750],{},"numFeatures"," in ",[57,753,754],{},"include\u002Fxrpl\u002Fprotocol\u002FFeature.h",[99,756,757],{},"The amendment will be automatically included in the feature registry and available for voting",[14,759],{},[17,761,763],{"id":762},"featureinfo-amendment-metadata","FeatureInfo: Amendment Metadata",[22,765,80,766,769],{},[57,767,768],{},"FeatureInfo"," structure encapsulates amendment metadata:",[213,771,773],{"className":215,"code":772,"language":217,"meta":218,"style":218},"struct FeatureInfo {\n    \u002F\u002F Human-readable name of the amendment\n    std::string const name;\n\n    \u002F\u002F SHA-512Half hash of the name (unique identifier)\n    uint256 const feature;\n\n    \u002F\u002F Default voting behavior\n    VoteBehavior const vote;\n};\n",[57,774,775,784,788,801,805,810,821,825,830,839],{"__ignoreMap":218},[222,776,777,779,782],{"class":224,"line":225},[222,778,428],{"class":239},[222,780,781],{"class":285}," FeatureInfo",[222,783,434],{"class":235},[222,785,786],{"class":224,"line":232},[222,787,489],{"class":228},[222,789,790,792,794,796,799],{"class":224,"line":252},[222,791,494],{"class":285},[222,793,497],{"class":235},[222,795,500],{"class":235},[222,797,798],{"class":239}," const",[222,800,503],{"class":235},[222,802,803],{"class":224,"line":259},[222,804,256],{"emptyLinePlaceholder":255},[222,806,807],{"class":224,"line":265},[222,808,809],{"class":228},"    \u002F\u002F SHA-512Half hash of the name (unique identifier)\n",[222,811,812,815,818],{"class":224,"line":271},[222,813,814],{"class":235},"    uint256 ",[222,816,817],{"class":239},"const",[222,819,820],{"class":235}," feature;\n",[222,822,823],{"class":224,"line":276},[222,824,256],{"emptyLinePlaceholder":255},[222,826,827],{"class":224,"line":282},[222,828,829],{"class":228},"    \u002F\u002F Default voting behavior\n",[222,831,832,835,837],{"class":224,"line":302},[222,833,834],{"class":235},"    VoteBehavior ",[222,836,817],{"class":239},[222,838,447],{"class":235},[222,840,841],{"class":224,"line":307},[222,842,508],{"class":235},[74,844,846],{"id":845},"amendment-hash-calculation","Amendment Hash Calculation",[22,848,849],{},"The hash of an amendment is calculated by taking the SHA-512Half of the amendment name. For example:",[213,851,856],{"className":852,"code":854,"language":855},[853],"language-text","Name: \"Subscriptions\"\nHash: 7B73B9E8D8E6E8E8A8B8C8D8E8F8A8B8C8D8E8F8A8B8C8D8E8F8A8B8C8D8E8F8\n","text",[57,857,854],{"__ignoreMap":218},[22,859,860,861,863],{},"This hash is used as a unique identifier throughout the system: in validations, in EnableAmendment transactions, and in the ledger's ",[57,862,562],{}," field.",[14,865],{},[17,867,869],{"id":868},"integration-with-consensus","Integration with Consensus",[22,871,872],{},"The amendment system is tightly integrated with XRPL's consensus engine. This integration occurs at several levels:",[74,874,876],{"id":875},"validation-phase","Validation Phase",[22,878,879,880,883],{},"When a validator creates a validation for a ledger, it includes the list of amendments it supports and wishes to see activated. This list is generated by ",[57,881,882],{},"doValidation()"," and included in the validation message broadcast to the network.",[74,885,887],{"id":886},"vote-collection","Vote Collection",[22,889,890,891,894],{},"During each consensus round, the validations received from other validators are analyzed to extract their amendment votes. These votes are aggregated into the ",[57,892,893],{},"TrustedVotes"," structure which maintains:",[96,896,897,900,903],{},[99,898,899],{},"The total number of trusted validations received",[99,901,902],{},"The number of votes for each specific amendment",[99,904,905],{},"A timeout mechanism to expire old votes",[74,907,909],{"id":908},"threshold-calculation","Threshold Calculation",[22,911,912,913,915],{},"The system calculates whether an amendment has exceeded the required threshold (more than 80% of UNL validators) using the ",[57,914,294],{}," class which:",[731,917,918,921,924,927],{},[99,919,920],{},"Aggregates all collected votes",[99,922,923],{},"Calculates the threshold based on the number of trusted validators",[99,925,926],{},"Determines which amendments pass the threshold",[99,928,929],{},"Generates the necessary actions (tfGotMajority, tfLostMajority, or activation)",[74,931,933],{"id":932},"application-to-ledger","Application to Ledger",[22,935,936,937,940,941,943],{},"Amendment decisions (got majority, lost majority, or enable) are applied to the ledger via pseudo-transactions that modify the ",[57,938,939],{},"sfMajorities"," and ",[57,942,562],{}," fields of the global ledger object.",[14,945],{},[17,947,949],{"id":948},"database-persistence","Database Persistence",[22,951,952],{},"The amendment system persists critical data in the node's database.",[74,954,956],{"id":955},"featurevotes-table","FeatureVotes Table",[22,958,80,959,962],{},[57,960,961],{},"FeatureVotes"," table stores the local node's votes:",[213,964,968],{"className":965,"code":966,"language":967,"meta":218,"style":218},"language-sql shiki shiki-themes github-dark-high-contrast","CREATE TABLE FeatureVotes (\n    Hash        CHAR(64) PRIMARY KEY,\n    Name        TEXT,\n    Vote        INTEGER,\n    VoteTime    INTEGER\n);\n","sql",[57,969,970,984,1008,1018,1028,1036],{"__ignoreMap":218},[222,971,972,975,978,981],{"class":224,"line":225},[222,973,974],{"class":239},"CREATE",[222,976,977],{"class":239}," TABLE",[222,979,980],{"class":603}," FeatureVotes",[222,982,983],{"class":235}," (\n",[222,985,986,989,992,995,999,1002,1005],{"class":224,"line":232},[222,987,988],{"class":239},"    Hash",[222,990,991],{"class":239},"        CHAR",[222,993,994],{"class":235},"(",[222,996,998],{"class":997},"sCcAr","64",[222,1000,1001],{"class":235},") ",[222,1003,1004],{"class":239},"PRIMARY KEY",[222,1006,1007],{"class":235},",\n",[222,1009,1010,1013,1016],{"class":224,"line":252},[222,1011,1012],{"class":239},"    Name",[222,1014,1015],{"class":239},"        TEXT",[222,1017,1007],{"class":235},[222,1019,1020,1023,1026],{"class":224,"line":259},[222,1021,1022],{"class":235},"    Vote        ",[222,1024,1025],{"class":239},"INTEGER",[222,1027,1007],{"class":235},[222,1029,1030,1033],{"class":224,"line":265},[222,1031,1032],{"class":235},"    VoteTime    ",[222,1034,1035],{"class":239},"INTEGER\n",[222,1037,1038],{"class":224,"line":271},[222,1039,1040],{"class":235},");\n",[22,1042,1043,94],{},[40,1044,1045],{},"Fields",[96,1047,1048,1054,1060,1066],{},[99,1049,1050,1053],{},[57,1051,1052],{},"Hash",": The amendment hash (in hexadecimal)",[99,1055,1056,1059],{},[57,1057,1058],{},"Name",": The human-readable name of the amendment",[99,1061,1062,1065],{},[57,1063,1064],{},"Vote",": The vote value (0=down, 1=up, 2=obsolete)",[99,1067,1068,1071],{},[57,1069,1070],{},"VoteTime",": Timestamp of the vote (for history)",[74,1073,1075],{"id":1074},"persistence-operations","Persistence Operations",[22,1077,1078,1083],{},[40,1079,1080],{},[57,1081,1082],{},"persistVote()",": Records the current vote of an amendment in the database. This function is called when an administrator changes the vote via RPC or when the node initializes its votes at startup.",[22,1085,1086,1091],{},[40,1087,1088],{},[57,1089,1090],{},"readAmendments()",": Reads previously recorded votes from the database at node startup. Uses a SQL window function to retrieve only the most recent vote for each amendment.",[14,1093],{},[17,1095,1097],{"id":1096},"special-cases-and-edge-cases","Special Cases and Edge Cases",[74,1099,1101],{"id":1100},"low-number-of-validators","Low Number of Validators",[22,1103,1104],{},"If the network has very few UNL validators, the threshold calculation ensures that at least 1 vote is required. The threshold is calculated as:",[213,1106,1108],{"className":215,"code":1107,"language":217,"meta":218,"style":218},"threshold = max(1, (trustedValidations * 80) \u002F 100)\n",[57,1109,1110],{"__ignoreMap":218},[222,1111,1112,1115,1118,1121,1123,1126,1129,1132,1135,1137,1140,1143],{"class":224,"line":225},[222,1113,1114],{"class":235},"threshold ",[222,1116,1117],{"class":239},"=",[222,1119,1120],{"class":603}," max",[222,1122,994],{"class":235},[222,1124,1125],{"class":997},"1",[222,1127,1128],{"class":235},", (trustedValidations ",[222,1130,1131],{"class":239},"*",[222,1133,1134],{"class":997}," 80",[222,1136,1001],{"class":235},[222,1138,1139],{"class":239},"\u002F",[222,1141,1142],{"class":997}," 100",[222,1144,1145],{"class":235},")\n",[22,1147,1148],{},"This avoids situations where a single validator could activate an amendment in a test network with a single validator.",[74,1150,1152],{"id":1151},"network-partition","Network Partition",[22,1154,1155],{},"In case of network partition, amendments may not reach the required threshold if validators are divided. The normal consensus process handles these cases by not activating the amendment until consensus is restored.",[74,1157,1159],{"id":1158},"standalone-mode","Standalone Mode",[22,1161,1162],{},"In standalone mode (a single node without network), the node can still execute voting logic, but since there are no other validators, no amendment will ever be activated by consensus. Amendments can be manually enabled via admin commands for testing.",[14,1164],{},[17,1166,1168],{"id":1167},"source-code-references","Source Code References",[22,1170,1171],{},"The amendment system components are distributed across multiple files:",[22,1173,1174,94],{},[40,1175,1176],{},"Interface and implementation",[96,1178,1179,1184],{},[99,1180,1181,1183],{},[57,1182,87],{}," - Public interface",[99,1185,1186,1188],{},[57,1187,205],{}," - Complete implementation",[22,1190,1191,94],{},[40,1192,1193],{},"Feature registry",[96,1195,1196,1201,1206],{},[99,1197,1198,1200],{},[57,1199,583],{}," - Definitions of all amendments",[99,1202,1203,1205],{},[57,1204,754],{}," - Declarations and constants",[99,1207,1208,1211],{},[57,1209,1210],{},"src\u002Flibxrpl\u002Fprotocol\u002FFeature.cpp"," - Code generated from macros",[22,1213,1214,94],{},[40,1215,1216],{},"Persistence",[96,1218,1219,1230],{},[99,1220,1221,1224,1225,940,1228],{},[57,1222,1223],{},"src\u002Fxrpld\u002Fapp\u002Frdb\u002Fdetail\u002FWallet.cpp"," - Functions ",[57,1226,1227],{},"voteAmendment()",[57,1229,1090],{},[99,1231,1232,1235],{},[57,1233,1234],{},"src\u002Fxrpld\u002Fapp\u002Frdb\u002FWallet.h"," - Declarations of persistence functions",[22,1237,1238,94],{},[40,1239,1240],{},"Consensus integration",[96,1242,1243,1249],{},[99,1244,1245,1248],{},[57,1246,1247],{},"src\u002Fxrpld\u002Fapp\u002Fconsensus\u002FRCLConsensus.cpp"," - Integration with consensus",[99,1250,1251,1254],{},[57,1252,1253],{},"src\u002Fxrpld\u002Fconsensus\u002FConsensus.h"," - Generic consensus engine",[1256,1257,1258],"style",{},"html pre.shiki code .sQrFR, html code.shiki .sQrFR{--shiki-default:#BDC4CC}html pre.shiki code .sMAXC, html code.shiki .sMAXC{--shiki-default:#F0F3F6}html pre.shiki code .sWyjQ, html code.shiki .sWyjQ{--shiki-default:#FF9492}html pre.shiki code .s_sBn, html code.shiki .s_sBn{--shiki-default:#FFB757}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 .sj_SG, html code.shiki .sj_SG{--shiki-default:#DBB7FF}html pre.shiki code .sCcAr, html code.shiki .sCcAr{--shiki-default:#91CBFF}",{"title":218,"searchDepth":232,"depth":232,"links":1260},[1261,1262,1263,1267,1271,1276,1279,1285,1289,1294],{"id":19,"depth":232,"text":20},{"id":32,"depth":232,"text":33},{"id":71,"depth":232,"text":72,"children":1264},[1265,1266],{"id":76,"depth":252,"text":77},{"id":194,"depth":252,"text":195},{"id":410,"depth":232,"text":411,"children":1268},[1269,1270],{"id":511,"depth":252,"text":512},{"id":547,"depth":252,"text":548},{"id":576,"depth":232,"text":577,"children":1272},[1273,1274,1275],{"id":587,"depth":252,"text":588},{"id":690,"depth":252,"text":691},{"id":725,"depth":252,"text":726},{"id":762,"depth":232,"text":763,"children":1277},[1278],{"id":845,"depth":252,"text":846},{"id":868,"depth":232,"text":869,"children":1280},[1281,1282,1283,1284],{"id":875,"depth":252,"text":876},{"id":886,"depth":252,"text":887},{"id":908,"depth":252,"text":909},{"id":932,"depth":252,"text":933},{"id":948,"depth":232,"text":949,"children":1286},[1287,1288],{"id":955,"depth":252,"text":956},{"id":1074,"depth":252,"text":1075},{"id":1096,"depth":232,"text":1097,"children":1290},[1291,1292,1293],{"id":1100,"depth":252,"text":1101},{"id":1151,"depth":252,"text":1152},{"id":1158,"depth":252,"text":1159},{"id":1167,"depth":232,"text":1168},"Amendment Architecture for Building Amendments: Lifecycle and Core Protocol Impact, in the Core Dev Bootcamp: XRPL Commons docs.","md",{},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-architecture",{"title":5,"description":1295},"xrpl-trainings\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-architecture.md","docs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-architecture","CBVXuO4ZUkGPach9S6_M5owSsZlnv1n4FGGie0CgaYA",[],[1305,1346,1360,1380,1403,1795],{"title":1306,"path":1307,"children":1308,"description":1345,"pages":327},"XRPL Basics","\u002Fdocs\u002Fxrpl-basics",[1309,1312,1315,1318,1321,1324,1327,1330,1333,1336,1339,1342],{"title":1310,"path":1311},"Getting Started","\u002Fdocs\u002Fxrpl-basics\u002Fgetting-started",{"title":1313,"path":1314},"Trustline","\u002Fdocs\u002Fxrpl-basics\u002Ftrustline",{"title":1316,"path":1317},"Payments","\u002Fdocs\u002Fxrpl-basics\u002Fpayments",{"title":1319,"path":1320},"Reading and subscribing to Transactions","\u002Fdocs\u002Fxrpl-basics\u002Freading-and-writing-memos",{"title":1322,"path":1323},"Writing and reading memos","\u002Fdocs\u002Fxrpl-basics\u002Fwriting-and-reading-memos",{"title":1325,"path":1326},"Non Fungible Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fnon-fungible-tokens",{"title":1328,"path":1329},"Multi-Purpose Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fmptoken",{"title":1331,"path":1332},"PathFinding","\u002Fdocs\u002Fxrpl-basics\u002Fpath-finding",{"title":1334,"path":1335},"Escrow","\u002Fdocs\u002Fxrpl-basics\u002Fescrow",{"title":1337,"path":1338},"Price Oracles","\u002Fdocs\u002Fxrpl-basics\u002Fprice-oracles",{"title":1340,"path":1341},"Tickets","\u002Fdocs\u002Fxrpl-basics\u002Ftickets",{"title":1343,"path":1344},"Multi-Signature","\u002Fdocs\u002Fxrpl-basics\u002Fmulti-signature","In this section we will cover some of the primary functionality of the XRPL ledger.",{"title":1347,"path":1348,"children":1349,"description":1359,"pages":259},"Token Issuance and Liquidity","\u002Fdocs\u002Ftoken-issuance-and-liquidity",[1350,1353,1356],{"title":1351,"path":1352},"Creating Accounts and Setup","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fcreating-accounts",{"title":1354,"path":1355},"Issuing Tokens","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fissuing-tokens",{"title":1357,"path":1358},"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":1361,"path":1362,"children":1363,"description":1379,"pages":271},"Cyphered Chat on XRPL","\u002Fdocs\u002Fcyphered-chat-on-xrpl",[1364,1367,1370,1373,1376],{"title":1365,"path":1366},"Set up","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up",{"title":1368,"path":1369},"Set up Keys","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-keys",{"title":1371,"path":1372},"Cypher the message","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fcypher-the-message",{"title":1374,"path":1375},"Set up the memo & send the tx","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-the-memo-and-send-the-tx",{"title":1377,"path":1378},"Get the message and decypher it","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fget-the-message-and-decypher-it","Send encrypted messages over XRPL",{"title":1381,"path":1382,"children":1383,"description":1402,"pages":276},"EVM Sidechain","\u002Fdocs\u002Fevm-sidechain",[1384,1387,1390,1393,1396,1399],{"title":1385,"path":1386},"Connecting Metamask","\u002Fdocs\u002Fevm-sidechain\u002Fconnecting-metamask",{"title":1388,"path":1389},"Set up a Foundry project","\u002Fdocs\u002Fevm-sidechain\u002Fset-up-an-evm-project",{"title":1391,"path":1392},"Bridging Assets","\u002Fdocs\u002Fevm-sidechain\u002Fbridging-assets",{"title":1394,"path":1395},"Remix","\u002Fdocs\u002Fevm-sidechain\u002Fremix",{"title":1397,"path":1398},"Banking App","\u002Fdocs\u002Fevm-sidechain\u002Fbanking-app",{"title":1400,"path":1401},"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":1404,"path":1405,"children":1406,"description":1793,"pages":1794},"Core Dev Bootcamp","\u002Fdocs\u002Fcore-dev-bootcamp",[1407,1427,1470,1520,1551,1608,1639,1655,1695,1729,1754,1770],{"title":1408,"path":1409,"children":1410},"Rippled I – Compilation, Configuration, and Launch","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01",[1411,1414,1417,1420],{"title":1412,"path":1413},"Environment & Build Toolchain","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fenvironment-build-toolchain",{"title":1415,"path":1416},"Compilation Process & Generating Binary","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fcompilation-process-generating-binary",{"title":1418,"path":1419},"Local Development & Testing","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Flocal-development-testing",{"title":1421,"path":1422,"children":1423},"Homeworks","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks",[1424],{"title":1425,"path":1426},"Homework 1: Rippled Node Setup and Mainnet Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks\u002Fhomework1",{"title":1428,"path":1429,"children":1430},"Rippled II: Deep Dive into the Protocol and Codebase","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02",[1431,1434,1437,1440,1443,1446,1449,1452,1455],{"title":1432,"path":1433},"Protocols: Communication and Interoperability","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fprotocols-communication-and-interoperability",{"title":1435,"path":1436},"Transactors: Transaction Processing Framework","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransactors-transaction-processing-framework",{"title":1438,"path":1439},"Application Layer: Central Orchestration and Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fapplication-layer-central-orchestration-and-coordination",{"title":1441,"path":1442},"Consensus Engine: XRP Ledger Consensus Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fconsensus-engine-xrp-ledger-consensus-protocol",{"title":1444,"path":1445},"Overlay Network: Peer-to-Peer Networking Layer","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Foverlay-network-peer-to-peer-networking-layer",{"title":1447,"path":1448},"Transaction Lifecycle: Complete Transaction Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransaction-lifecycle-complete-transaction-journey",{"title":1450,"path":1451},"Codebase Navigation: Efficiently Navigating the Rippled Source","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fcodebase-navigation-efficiently-navigating-the-rippled-source",{"title":1453,"path":1454},"Debugging Tools: Development and Debugging Techniques","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fdebugging-tools-development-and-debugging-techniques",{"title":1421,"path":1456,"children":1457},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks",[1458,1461,1464,1467],{"title":1459,"path":1460},"Homework 1: Transaction Flow Analysis","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework1",{"title":1462,"path":1463},"Homework 2: Transactor Code Exploration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework2",{"title":1465,"path":1466},"Homework 3: Logging and Debugging","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework3",{"title":1468,"path":1469},"Homework 4: Architecture Diagram","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework4",{"title":1471,"path":1472,"children":1473},"Anatomy of Rippled: SHAMap and NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03",[1474,1477,1480,1483,1486,1489,1492,1495,1498,1501,1504,1507],{"title":1475,"path":1476},"Foundational Concepts","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstate-management-challenges",{"title":1478,"path":1479},"Trees, Hashing, and Cryptographic Commitments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Ftree-fundamentals",{"title":1481,"path":1482},"SHAMap Architecture and Node Hierarchy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-architecture",{"title":1484,"path":1485},"Navigation, Hashing, and Merkle Properties","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-navigation-hashing",{"title":1487,"path":1488},"Traversal, Iteration, and Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-synchronization",{"title":1490,"path":1491},"The NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fnodestore-architecture",{"title":1493,"path":1494},"Storage Abstraction and Backend Implementations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstorage-backends",{"title":1496,"path":1497},"Cache Layer and Performance Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fcache-layer",{"title":1499,"path":1500},"Database Operations and Lifecycle Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fdatabase-operations",{"title":1502,"path":1503},"Cryptographic Proofs and State Reconstruction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fproofs-state-reconstruction",{"title":1505,"path":1506},"Resource Management and Performance Characteristics","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fresource-management",{"title":1508,"path":1509,"children":1510},"Appendices","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices",[1511,1514,1517],{"title":1512,"path":1513},"Appendix : Codebase Navigation Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fnavigation",{"title":1515,"path":1516},"Appendix : Configuration Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fconfiguration",{"title":1518,"path":1519},"Appendix : Debugging and Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fdebugging",{"title":1521,"path":1522,"children":1523},"Transactors: Understanding the Lifecycle of a Transaction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis",[1524,1527,1530,1533,1536,1539,1542,1545,1548],{"title":1525,"path":1526},"Transactor Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ftransactor-architecture",{"title":1528,"path":1529},"Processing Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fprocessing-pipeline",{"title":1531,"path":1532},"Fee and Sequence Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ffee-sequence-handling",{"title":1534,"path":1535},"State Modification Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fstate-modification",{"title":1537,"path":1538},"TER Result Codes","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fter-result-codes",{"title":1540,"path":1541},"Case Study: CheckCreate Transactor","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fcase-study-checkcreate",{"title":1543,"path":1544},"Homework 1: Trace a Transaction Through All Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework1",{"title":1546,"path":1547},"Homework 2: Implement a Custom Validation Check","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework2",{"title":1549,"path":1550},"Homework 3: Analyze TER Code Paths","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework3",{"title":1552,"path":1553,"children":1554},"Cryptography I: Blockchain Security and Cryptographic Foundations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04",[1555,1558,1561,1564,1567,1570,1573,1576,1579,1582,1585,1588,1591,1602],{"title":1556,"path":1557},"The Four Pillars of Security","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-four-pillars-of-security",{"title":1559,"path":1560},"The Lifecycle of a Cryptographic Key","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-lifecycle-of-a-cryptographic-key",{"title":1562,"path":1563},"Random Number Generation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation",{"title":1565,"path":1566},"Random Number Generation & Entropy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation-and-entropy",{"title":1568,"path":1569},"Key Generation Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fkey-generation-pipeline",{"title":1571,"path":1572},"Transaction Signing & Verification","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Ftransaction-signing-and-verification",{"title":1574,"path":1575},"Hash Functions in XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhash-functions-in-xrpl",{"title":1577,"path":1578},"Base58Check Encoding","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fbase58check-encoding",{"title":1580,"path":1581},"Peer Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fpeer-handshake-protocol",{"title":1583,"path":1584},"Secure Memory Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fsecure-memory-handling",{"title":1586,"path":1587},"Common Cryptographic Pitfalls","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fcommon-cryptographic-pitfalls",{"title":1589,"path":1590},"Performance & Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fperformance-and-optimization",{"title":1508,"path":1592,"children":1593},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices",[1594,1596,1599],{"title":1512,"path":1595},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fcodebase-navigation-guide",{"title":1597,"path":1598},"Appendix : Debugging & Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fdebugging-and-development-tools",{"title":1600,"path":1601},"Appendix : RFCs and Standards Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Frfcs-and-standards-reference",{"title":1421,"path":1603,"children":1604},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks",[1605],{"title":1606,"path":1607},"Homework 1: Signature Verification Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks\u002Fhomework1",{"title":1609,"path":1610,"children":1611},"Cryptography II: Protocol Extensions and Quantum Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05",[1612,1615,1618,1621,1624,1627,1633],{"title":1613,"path":1614},"Overlay Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Foverlay-architecture",{"title":1616,"path":1617},"Connection Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fconnection-lifecycle",{"title":1619,"path":1620},"Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhandshake-protocol",{"title":1622,"path":1623},"Message Relaying","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fmessage-relaying",{"title":1625,"path":1626},"Peer Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fpeer-discovery",{"title":1508,"path":1628,"children":1629},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices",[1630],{"title":1631,"path":1632},"XLS-??d Quantum-Resistant Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices\u002Fxls-d",{"title":1421,"path":1634,"children":1635},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks",[1636],{"title":1637,"path":1638},"Homework 1: Building Quantum-Resistant Signatures for XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks\u002Fhomework1",{"title":1640,"path":1641,"children":1642},"Communication I: Understanding XRPL(d) RPC Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06",[1643,1646,1649,1652],{"title":1644,"path":1645},"RPC Handler Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frpc-handler-architecture",{"title":1647,"path":1648},"Request and Response Flow","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frequest-response-flow",{"title":1650,"path":1651},"Authentication and Authorization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Fauthentication-authorization",{"title":1653,"path":1654},"Error Handling and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Ferror-handling-validation",{"title":1656,"path":1657,"children":1658},"Communication II: Building and Integrating Custom RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07",[1659,1662,1665,1668,1671,1683],{"title":1660,"path":1661},"Implementing Custom Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fimplementing-custom-handlers",{"title":1663,"path":1664},"Testing RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Ftesting-rpc-handlers",{"title":1666,"path":1667},"Advanced Features","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fadvanced-features",{"title":1669,"path":1670},"Best Practices and Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fbest-practices-patterns",{"title":1508,"path":1672,"children":1673},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices",[1674,1677,1680],{"title":1675,"path":1676},"Appendix: Handler Examples","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhandler-examples",{"title":1678,"path":1679},"Appendix: Helper Functions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhelper-functions",{"title":1681,"path":1682},"Appendix: Debugging Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fdebugging-guide",{"title":1421,"path":1684,"children":1685},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks",[1686,1689,1692],{"title":1687,"path":1688},"Homework 1: Building a Custom RPC Handler","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhomework1",{"title":1690,"path":1691},"Hints","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhints",{"title":1693,"path":1694},"Snippets","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fsnippets",{"title":1696,"path":1697,"children":1698},"Consensus I: Node, Consensus, and Ledger Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08",[1699,1702,1705,1708,1711,1714,1717,1720],{"title":1700,"path":1701},"Consensus Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-fundamentals",{"title":1703,"path":1704},"Consensus Modes and Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-modes-phases",{"title":1706,"path":1707},"Consensus Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-lifecycle",{"title":1709,"path":1710},"Ledger Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-architecture",{"title":1712,"path":1713},"Ledger Data Structures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-data-structures",{"title":1715,"path":1716},"Ledger Acquisition and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-acquisition-validation",{"title":1718,"path":1719},"RPC and Peer Transaction Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Frpc-peer-tx-lifecycle",{"title":1421,"path":1721,"children":1722},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks",[1723,1726],{"title":1724,"path":1725},"Homework 1: Transaction Consensus Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework1",{"title":1727,"path":1728},"Homework 2: Consensus Dispute Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework2",{"title":1730,"path":1731,"children":1732},"Consensus II: UNLs and Ledger Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09",[1733,1736,1739,1742,1745,1748,1751],{"title":1734,"path":1735},"Transaction Ordering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Ftx-ordering",{"title":1737,"path":1738},"Consensus Validations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-validations",{"title":1740,"path":1741},"Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Famendments",{"title":1743,"path":1744},"UNL Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Funl",{"title":1746,"path":1747},"Consensus Peers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-peers",{"title":1749,"path":1750},"Homework 1: Validator Keys Setup and Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework1",{"title":1752,"path":1753},"Homework 2: Negative UNL Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework2",{"title":1755,"path":1756,"children":1757},"AMM: Automated Market Maker","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis",[1758,1761,1764,1767],{"title":1759,"path":1760},"AMM Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-architecture",{"title":1762,"path":1763},"AMM Transactions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-transactions",{"title":1765,"path":1766},"AMM Logic","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-logic",{"title":1768,"path":1769},"Pathfinding Integration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-pathfinding",{"title":1771,"path":1772,"children":1773},"Building Amendments: Lifecycle and Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10",[1774,1775,1778,1781,1784,1787,1790],{"title":5,"path":1298},{"title":1776,"path":1777},"Amendment Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-lifecycle",{"title":1779,"path":1780},"Voting and Activation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fvoting-and-activation",{"title":1782,"path":1783},"Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fprotocol-impact",{"title":1785,"path":1786},"Network Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fnetwork-coordination",{"title":1788,"path":1789},"Monitoring and Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-monitoring",{"title":1791,"path":1792},"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":1796,"path":1797,"children":1798,"description":1805,"pages":252},"Tools","\u002Fdocs\u002Ftools",[1799,1802],{"title":1800,"path":1801},"Xaman Setup","\u002Fdocs\u002Ftools\u002Fxaman-setup",{"title":1803,"path":1804},"Metamask Setup","\u002Fdocs\u002Ftools\u002Fmetamask-setup","In this section you will find instructions on how to setup wallets and tools",1796220775563]