[{"data":1,"prerenderedAt":1903},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fpeer-discovery":3,"docs-kids-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fpeer-discovery":1400,"docs-tracks":1401},{"id":4,"title":5,"body":6,"description":1392,"extension":1393,"meta":1394,"navigation":437,"path":1395,"seo":1396,"source":1397,"stem":1398,"__hash__":1399},"docs\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fpeer-discovery.md","Peer Discovery",{"type":7,"value":8,"toc":1365},"minimark",[9,14,17,22,31,34,38,40,44,47,52,80,91,93,97,100,105,108,183,189,191,195,198,202,205,231,235,238,260,263,265,268,271,275,349,352,356,359,809,812,826,828,832,835,932,938,1002,1004,1008,1011,1015,1018,1151,1154,1157,1183,1186,1188,1192,1199,1219,1222,1233,1235,1239,1242,1248,1253,1279,1281,1285,1289,1292,1329,1333,1336,1350,1352,1356,1359,1361],[10,11,13],"h1",{"id":12},"peer-discovery-finding-and-connecting-to-the-network","Peer Discovery: Finding and Connecting to the Network",[15,16],"hr",{},[18,19,21],"h2",{"id":20},"introduction","Introduction",[23,24,25,26,30],"p",{},"Before a node can participate in the XRP Ledger network, it must discover other nodes to connect with. The ",[27,28,29],"strong",{},"PeerFinder"," subsystem manages this critical process, maintaining knowledge of available peers, allocating connection slots, and orchestrating the bootstrap process when a node first joins the network.",[23,32,33],{},"Understanding PeerFinder is essential for debugging connectivity issues, optimizing network topology, and ensuring your node maintains healthy connections to the broader network.",[35,36],"docs-video",{"url":37},"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=R0QK8g_QLHI",[15,39],{},[18,41,43],{"id":42},"peerfinder-overview","PeerFinder Overview",[23,45,46],{},"The PeerFinder subsystem serves as the overlay network's \"address book\" and connection coordinator. It tracks known endpoints, manages connection slots, and makes intelligent decisions about which peers to connect to based on various criteria.",[23,48,49],{},[27,50,51],{},"Key Responsibilities:",[53,54,55,62,68,74],"ul",{},[56,57,58,61],"li",{},[27,59,60],{},"Endpoint Discovery",": Learning about new potential peers from various sources",[56,63,64,67],{},[27,65,66],{},"Slot Management",": Allocating limited connection resources efficiently",[56,69,70,73],{},[27,71,72],{},"Bootstrapping",": Helping new nodes establish their initial connections",[56,75,76,79],{},[27,77,78],{},"Address Quality Assessment",": Evaluating the reliability and usefulness of known addresses",[81,82,87],"pre",{"className":83,"code":85,"language":86},[84],"language-text","┌─────────────────────────────────────────────────────────────┐\n│                        PeerFinder                           │\n├─────────────────────────────────────────────────────────────┤\n│                                                             │\n│  ┌─────────────┐  ┌─────────────┐  ┌─────────────────────┐  │\n│  │  Livecache  │  │  Bootcache  │  │  Fixed\u002FCluster IPs  │  │\n│  │ (ephemeral) │  │(persistent) │  │   (configured)      │  │\n│  └──────┬──────┘  └──────┬──────┘  └──────────┬──────────┘  │\n│         │                │                    │             │\n│         └────────────────┼────────────────────┘             │\n│                          │                                  │\n│                          ▼                                  │\n│              ┌───────────────────────┐                      │\n│              │   Slot Allocation     │                      │\n│              │   & Connection        │                      │\n│              │   Decisions           │                      │\n│              └───────────────────────┘                      │\n│                                                             │\n└─────────────────────────────────────────────────────────────┘\n","text",[88,89,85],"code",{"__ignoreMap":90},"",[15,92],{},[18,94,96],{"id":95},"bootstrapping-joining-the-network","Bootstrapping: Joining the Network",[23,98,99],{},"When a node starts, it needs to establish connections to become part of the overlay network. The bootstrapping process follows a specific priority order to ensure reliable connectivity.",[101,102,104],"h3",{"id":103},"bootstrapping-stages","Bootstrapping Stages",[23,106,107],{},"The connection preference order is:",[109,110,111,135,152,169],"ol",{},[56,112,113,116,117],{},[27,114,115],{},"Fixed Peers"," (Highest Priority)",[53,118,119,129,132],{},[56,120,121,122,125,126],{},"Configured in ",[88,123,124],{},"rippled.cfg"," under ",[88,127,128],{},"[ips_fixed]",[56,130,131],{},"Always-connect peers that the node prioritizes",[56,133,134],{},"Connections are maintained persistently",[56,136,137,140,141],{},[27,138,139],{},"Livecache"," (Medium Priority)",[53,142,143,146,149],{},[56,144,145],{},"Ephemeral cache of recently seen, active peers",[56,147,148],{},"Populated from peer exchange messages",[56,150,151],{},"Addresses are validated through successful connections",[56,153,154,157,158],{},[27,155,156],{},"Bootcache"," (Lower Priority)",[53,159,160,163,166],{},[56,161,162],{},"Persistent cache stored between node restarts",[56,164,165],{},"Contains addresses ranked by historical usefulness",[56,167,168],{},"Used when Livecache is insufficient",[56,170,171,174,175],{},[27,172,173],{},"Hardcoded Bootstrap Nodes"," (Fallback)",[53,176,177,180],{},[56,178,179],{},"Built-in addresses used as last resort",[56,181,182],{},"Ensures new nodes can always find the network",[81,184,187],{"className":185,"code":186,"language":86},[84],"                    Node Startup\n                         │\n                         ▼\n              ┌─────────────────────┐\n              │ Load Fixed Peers    │\n              │ from Configuration  │\n              └──────────┬──────────┘\n                         │\n                         ▼\n              ┌─────────────────────┐\n              │ Connect to Fixed    │◄─── Highest Priority\n              │ Peers First         │\n              └──────────┬──────────┘\n                         │\n                         ▼\n              ┌─────────────────────┐\n              │ Query Livecache     │◄─── Recently Active Peers\n              │ for Active Peers    │\n              └──────────┬──────────┘\n                         │\n                         ▼\n              ┌─────────────────────┐\n              │ Fall Back to        │◄─── Persistent Storage\n              │ Bootcache           │\n              └──────────┬──────────┘\n                         │\n                         ▼\n              ┌─────────────────────┐\n              │ Use Hardcoded       │◄─── Last Resort\n              │ Bootstrap Nodes     │\n              └─────────────────────┘\n",[88,188,186],{"__ignoreMap":90},[15,190],{},[18,192,194],{"id":193},"cache-management","Cache Management",[23,196,197],{},"PeerFinder maintains two distinct caches for endpoint information, each serving a different purpose.",[101,199,201],{"id":200},"livecache-ephemeral-cache","Livecache (Ephemeral Cache)",[23,203,204],{},"The Livecache stores information about peers that have been recently active and validated:",[53,206,207,213,219,225],{},[56,208,209,212],{},[27,210,211],{},"Contents",": Endpoints learned from peer exchange and successful connections",[56,214,215,218],{},[27,216,217],{},"Lifetime",": Exists only in memory; cleared on restart",[56,220,221,224],{},[27,222,223],{},"Quality",": High confidence addresses (recently verified)",[56,226,227,230],{},[27,228,229],{},"Updates",": Continuously refreshed as peers connect and exchange information",[101,232,234],{"id":233},"bootcache-persistent-cache","Bootcache (Persistent Cache)",[23,236,237],{},"The Bootcache provides persistent storage of known endpoints:",[53,239,240,245,250,255],{},[56,241,242,244],{},[27,243,211],{},": Historically useful addresses ranked by reliability",[56,246,247,249],{},[27,248,217],{},": Persisted to disk; survives restarts",[56,251,252,254],{},[27,253,223],{},": Variable; addresses may become stale",[56,256,257,259],{},[27,258,229],{},": Updated based on connection success\u002Ffailure history",[23,261,262],{},"The separation allows nodes to quickly reconnect to known-good peers (Livecache) while maintaining a fallback of historically useful addresses (Bootcache).",[15,264],{},[18,266,66],{"id":267},"slot-management",[23,269,270],{},"PeerFinder manages a finite number of connection \"slots\" to ensure resources are allocated efficiently. Different slot types serve different purposes.",[101,272,274],{"id":273},"slot-types","Slot Types",[276,277,278,294],"table",{},[279,280,281],"thead",{},[282,283,284,288,291],"tr",{},[285,286,287],"th",{},"Slot Type",[285,289,290],{},"Description",[285,292,293],{},"Counts Toward Limit",[295,296,297,311,323,336],"tbody",{},[282,298,299,305,308],{},[300,301,302],"td",{},[27,303,304],{},"Outbound",[300,306,307],{},"Connections initiated by this node",[300,309,310],{},"Yes",[282,312,313,318,321],{},[300,314,315],{},[27,316,317],{},"Inbound",[300,319,320],{},"Connections received from other nodes",[300,322,310],{},[282,324,325,330,333],{},[300,326,327],{},[27,328,329],{},"Fixed",[300,331,332],{},"Connections to configured fixed peers",[300,334,335],{},"No*",[282,337,338,343,346],{},[300,339,340],{},[27,341,342],{},"Cluster",[300,344,345],{},"Connections to cluster members",[300,347,348],{},"No",[23,350,351],{},"*Fixed peers have reserved slots that don't count against normal limits.",[101,353,355],{"id":354},"slot-allocation-process","Slot Allocation Process",[23,357,358],{},"When OverlayImpl wants to establish a connection, it requests a slot from PeerFinder:",[81,360,364],{"className":361,"code":362,"language":363,"meta":90,"style":90},"language-cpp shiki shiki-themes github-dark-high-contrast","void\nOverlayImpl::connect(beast::IP::Endpoint const& remote_endpoint)\n{\n    XRPL_ASSERT(work_, \"ripple::OverlayImpl::connect : work is set\");\n\n    auto usage = resourceManager().newOutboundEndpoint(remote_endpoint);\n    if (usage.disconnect(journal_))\n    {\n        JLOG(journal_.info()) \u003C\u003C \"Over resource limit: \" \u003C\u003C remote_endpoint;\n        return;\n    }\n\n    auto const [slot, result] = peerFinder().new_outbound_slot(remote_endpoint);\n    if (slot == nullptr)\n    {\n        JLOG(journal_.debug()) \u003C\u003C \"Connect: No slot for \" \u003C\u003C remote_endpoint\n                               \u003C\u003C \": \" \u003C\u003C to_string(result);\n        return;\n    }\n\n    auto const p = std::make_shared\u003CConnectAttempt>(\n        app_,\n        io_context_,\n        beast::IPAddressConversion::to_asio_endpoint(remote_endpoint),\n        usage,\n        setup_.context,\n        next_id_++,\n        slot,\n        app_.journal(\"Peer\"),\n        *this);\n\n    std::lock_guard lock(mutex_);\n    list_.emplace(p.get(), p);\n    p->run();\n}\n","cpp",[88,365,366,375,410,416,432,439,463,478,484,511,520,526,531,554,572,577,599,616,623,628,633,662,668,674,693,699,705,717,723,740,751,756,773,791,803],{"__ignoreMap":90},[367,368,371],"span",{"class":369,"line":370},"line",1,[367,372,374],{"class":373},"sWyjQ","void\n",[367,376,378,382,386,390,393,396,398,401,404,407],{"class":369,"line":377},2,[367,379,381],{"class":380},"s_sBn","OverlayImpl",[367,383,385],{"class":384},"sMAXC","::",[367,387,389],{"class":388},"sj_SG","connect",[367,391,392],{"class":384},"(",[367,394,395],{"class":380},"beast",[367,397,385],{"class":384},[367,399,400],{"class":380},"IP",[367,402,403],{"class":384},"::Endpoint ",[367,405,406],{"class":373},"const&",[367,408,409],{"class":384}," remote_endpoint)\n",[367,411,413],{"class":369,"line":412},3,[367,414,415],{"class":384},"{\n",[367,417,419,422,425,429],{"class":369,"line":418},4,[367,420,421],{"class":388},"    XRPL_ASSERT",[367,423,424],{"class":384},"(work_, ",[367,426,428],{"class":427},"sTRMh","\"ripple::OverlayImpl::connect : work is set\"",[367,430,431],{"class":384},");\n",[367,433,435],{"class":369,"line":434},5,[367,436,438],{"emptyLinePlaceholder":437},true,"\n",[367,440,442,445,448,451,454,457,460],{"class":369,"line":441},6,[367,443,444],{"class":373},"    auto",[367,446,447],{"class":384}," usage ",[367,449,450],{"class":373},"=",[367,452,453],{"class":388}," resourceManager",[367,455,456],{"class":384},"().",[367,458,459],{"class":388},"newOutboundEndpoint",[367,461,462],{"class":384},"(remote_endpoint);\n",[367,464,466,469,472,475],{"class":369,"line":465},7,[367,467,468],{"class":373},"    if",[367,470,471],{"class":384}," (usage.",[367,473,474],{"class":388},"disconnect",[367,476,477],{"class":384},"(journal_))\n",[367,479,481],{"class":369,"line":480},8,[367,482,483],{"class":384},"    {\n",[367,485,487,490,493,496,499,502,505,508],{"class":369,"line":486},9,[367,488,489],{"class":388},"        JLOG",[367,491,492],{"class":384},"(journal_.",[367,494,495],{"class":388},"info",[367,497,498],{"class":384},"()) ",[367,500,501],{"class":373},"\u003C\u003C",[367,503,504],{"class":427}," \"Over resource limit: \"",[367,506,507],{"class":373}," \u003C\u003C",[367,509,510],{"class":384}," remote_endpoint;\n",[367,512,514,517],{"class":369,"line":513},10,[367,515,516],{"class":373},"        return",[367,518,519],{"class":384},";\n",[367,521,523],{"class":369,"line":522},11,[367,524,525],{"class":384},"    }\n",[367,527,529],{"class":369,"line":528},12,[367,530,438],{"emptyLinePlaceholder":437},[367,532,534,536,539,542,544,547,549,552],{"class":369,"line":533},13,[367,535,444],{"class":373},[367,537,538],{"class":373}," const",[367,540,541],{"class":384}," [slot, result] ",[367,543,450],{"class":373},[367,545,546],{"class":388}," peerFinder",[367,548,456],{"class":384},[367,550,551],{"class":388},"new_outbound_slot",[367,553,462],{"class":384},[367,555,557,559,562,565,569],{"class":369,"line":556},14,[367,558,468],{"class":373},[367,560,561],{"class":384}," (slot ",[367,563,564],{"class":373},"==",[367,566,568],{"class":567},"sCcAr"," nullptr",[367,570,571],{"class":384},")\n",[367,573,575],{"class":369,"line":574},15,[367,576,483],{"class":384},[367,578,580,582,584,587,589,591,594,596],{"class":369,"line":579},16,[367,581,489],{"class":388},[367,583,492],{"class":384},[367,585,586],{"class":388},"debug",[367,588,498],{"class":384},[367,590,501],{"class":373},[367,592,593],{"class":427}," \"Connect: No slot for \"",[367,595,507],{"class":373},[367,597,598],{"class":384}," remote_endpoint\n",[367,600,602,605,608,610,613],{"class":369,"line":601},17,[367,603,604],{"class":373},"                               \u003C\u003C",[367,606,607],{"class":427}," \": \"",[367,609,507],{"class":373},[367,611,612],{"class":388}," to_string",[367,614,615],{"class":384},"(result);\n",[367,617,619,621],{"class":369,"line":618},18,[367,620,516],{"class":373},[367,622,519],{"class":384},[367,624,626],{"class":369,"line":625},19,[367,627,525],{"class":384},[367,629,631],{"class":369,"line":630},20,[367,632,438],{"emptyLinePlaceholder":437},[367,634,636,638,640,643,645,648,650,653,656,659],{"class":369,"line":635},21,[367,637,444],{"class":373},[367,639,538],{"class":373},[367,641,642],{"class":384}," p ",[367,644,450],{"class":373},[367,646,647],{"class":380}," std",[367,649,385],{"class":384},[367,651,652],{"class":388},"make_shared",[367,654,655],{"class":384},"\u003C",[367,657,658],{"class":380},"ConnectAttempt",[367,660,661],{"class":384},">(\n",[367,663,665],{"class":369,"line":664},22,[367,666,667],{"class":384},"        app_,\n",[367,669,671],{"class":369,"line":670},23,[367,672,673],{"class":384},"        io_context_,\n",[367,675,677,680,682,685,687,690],{"class":369,"line":676},24,[367,678,679],{"class":380},"        beast",[367,681,385],{"class":384},[367,683,684],{"class":380},"IPAddressConversion",[367,686,385],{"class":384},[367,688,689],{"class":388},"to_asio_endpoint",[367,691,692],{"class":384},"(remote_endpoint),\n",[367,694,696],{"class":369,"line":695},25,[367,697,698],{"class":384},"        usage,\n",[367,700,702],{"class":369,"line":701},26,[367,703,704],{"class":384},"        setup_.context,\n",[367,706,708,711,714],{"class":369,"line":707},27,[367,709,710],{"class":384},"        next_id_",[367,712,713],{"class":373},"++",[367,715,716],{"class":384},",\n",[367,718,720],{"class":369,"line":719},28,[367,721,722],{"class":384},"        slot,\n",[367,724,726,729,732,734,737],{"class":369,"line":725},29,[367,727,728],{"class":384},"        app_.",[367,730,731],{"class":388},"journal",[367,733,392],{"class":384},[367,735,736],{"class":427},"\"Peer\"",[367,738,739],{"class":384},"),\n",[367,741,743,746,749],{"class":369,"line":742},30,[367,744,745],{"class":373},"        *",[367,747,748],{"class":567},"this",[367,750,431],{"class":384},[367,752,754],{"class":369,"line":753},31,[367,755,438],{"emptyLinePlaceholder":437},[367,757,759,762,764,767,770],{"class":369,"line":758},32,[367,760,761],{"class":380},"    std",[367,763,385],{"class":384},[367,765,766],{"class":380},"lock_guard",[367,768,769],{"class":388}," lock",[367,771,772],{"class":384},"(mutex_);\n",[367,774,776,779,782,785,788],{"class":369,"line":775},33,[367,777,778],{"class":384},"    list_.",[367,780,781],{"class":388},"emplace",[367,783,784],{"class":384},"(p.",[367,786,787],{"class":388},"get",[367,789,790],{"class":384},"(), p);\n",[367,792,794,797,800],{"class":369,"line":793},34,[367,795,796],{"class":384},"    p->",[367,798,799],{"class":388},"run",[367,801,802],{"class":384},"();\n",[367,804,806],{"class":369,"line":805},35,[367,807,808],{"class":384},"}\n",[23,810,811],{},"PeerFinder evaluates:",[53,813,814,817,820,823],{},[56,815,816],{},"Current slot utilization",[56,818,819],{},"Endpoint reputation",[56,821,822],{},"Connection diversity goals",[56,824,825],{},"Configuration limits",[15,827],{},[18,829,831],{"id":830},"configuration-options","Configuration Options",[23,833,834],{},"PeerFinder behavior is controlled through several configuration parameters:",[276,836,837,849],{},[279,838,839],{},[282,840,841,844,846],{},[285,842,843],{},"Parameter",[285,845,290],{},[285,847,848],{},"Default",[295,850,851,866,880,893,906,919],{},[282,852,853,858,861],{},[300,854,855],{},[88,856,857],{},"autoConnect",[300,859,860],{},"Automatically connect to discovered peers",[300,862,863],{},[88,864,865],{},"true",[282,867,868,873,876],{},[300,869,870],{},[88,871,872],{},"wantIncoming",[300,874,875],{},"Accept incoming connections",[300,877,878],{},[88,879,865],{},[282,881,882,887,890],{},[300,883,884],{},[88,885,886],{},"maxPeers",[300,888,889],{},"Maximum total peer connections",[300,891,892],{},"21",[282,894,895,900,903],{},[300,896,897],{},[88,898,899],{},"outPeers",[300,901,902],{},"Target number of outbound connections",[300,904,905],{},"varies",[282,907,908,913,916],{},[300,909,910],{},[88,911,912],{},"listeningPort",[300,914,915],{},"Port for incoming connections",[300,917,918],{},"51235",[282,920,921,926,929],{},[300,922,923],{},[88,924,925],{},"ipLimit",[300,927,928],{},"Max connections per IP address",[300,930,931],{},"2",[23,933,934,935,937],{},"Configuration in ",[88,936,124],{},":",[81,939,943],{"className":940,"code":941,"language":942,"meta":90,"style":90},"language-ini shiki shiki-themes github-dark-high-contrast","[peers_max]\n21\n\n[peer_private]\n0\n\n[ips_fixed]\nvalidator1.example.com 51235\nvalidator2.example.com 51235\n\n[ips]\nr.ripple.com 51235\n","ini",[88,944,945,950,955,959,964,969,973,978,983,988,992,997],{"__ignoreMap":90},[367,946,947],{"class":369,"line":370},[367,948,949],{"class":380},"[peers_max]\n",[367,951,952],{"class":369,"line":377},[367,953,954],{"class":384},"21\n",[367,956,957],{"class":369,"line":412},[367,958,438],{"emptyLinePlaceholder":437},[367,960,961],{"class":369,"line":418},[367,962,963],{"class":380},"[peer_private]\n",[367,965,966],{"class":369,"line":434},[367,967,968],{"class":384},"0\n",[367,970,971],{"class":369,"line":441},[367,972,438],{"emptyLinePlaceholder":437},[367,974,975],{"class":369,"line":465},[367,976,977],{"class":380},"[ips_fixed]\n",[367,979,980],{"class":369,"line":480},[367,981,982],{"class":384},"validator1.example.com 51235\n",[367,984,985],{"class":369,"line":486},[367,986,987],{"class":384},"validator2.example.com 51235\n",[367,989,990],{"class":369,"line":513},[367,991,438],{"emptyLinePlaceholder":437},[367,993,994],{"class":369,"line":522},[367,995,996],{"class":380},"[ips]\n",[367,998,999],{"class":369,"line":528},[367,1000,1001],{"class":384},"r.ripple.com 51235\n",[15,1003],{},[18,1005,1007],{"id":1006},"endpoint-message-handling","Endpoint Message Handling",[23,1009,1010],{},"Peers exchange endpoint information through protocol messages, helping the network maintain connectivity.",[101,1012,1014],{"id":1013},"receiving-endpoint-information","Receiving Endpoint Information",[23,1016,1017],{},"When a peer sends endpoint messages (e.g., in response to HTTP 503 with alternatives), PeerFinder processes them:",[81,1019,1021],{"className":361,"code":1020,"language":363,"meta":90,"style":90},"\u002F\u002F From ConnectAttempt::processResponse\nif (response_.result() == boost::beast::http::status::service_unavailable)\n{\n    \u002F\u002F Parse \"peer-ips\" header for alternative addresses\n    auto const ips = parse_peer_ips(response_[\"peer-ips\"]);\n    \n    if (!ips.empty())\n    {\n        \u002F\u002F Inform PeerFinder about alternative endpoints\n        peerFinder().onRedirects(slot, ips);\n    }\n}\n",[88,1022,1023,1029,1065,1069,1074,1097,1102,1121,1125,1130,1143,1147],{"__ignoreMap":90},[367,1024,1025],{"class":369,"line":370},[367,1026,1028],{"class":1027},"sQrFR","\u002F\u002F From ConnectAttempt::processResponse\n",[367,1030,1031,1034,1037,1040,1043,1045,1048,1050,1052,1054,1057,1059,1062],{"class":369,"line":377},[367,1032,1033],{"class":373},"if",[367,1035,1036],{"class":384}," (response_.",[367,1038,1039],{"class":388},"result",[367,1041,1042],{"class":384},"() ",[367,1044,564],{"class":373},[367,1046,1047],{"class":380}," boost",[367,1049,385],{"class":384},[367,1051,395],{"class":380},[367,1053,385],{"class":384},[367,1055,1056],{"class":380},"http",[367,1058,385],{"class":384},[367,1060,1061],{"class":380},"status",[367,1063,1064],{"class":384},"::service_unavailable)\n",[367,1066,1067],{"class":369,"line":412},[367,1068,415],{"class":384},[367,1070,1071],{"class":369,"line":418},[367,1072,1073],{"class":1027},"    \u002F\u002F Parse \"peer-ips\" header for alternative addresses\n",[367,1075,1076,1078,1080,1083,1085,1088,1091,1094],{"class":369,"line":434},[367,1077,444],{"class":373},[367,1079,538],{"class":373},[367,1081,1082],{"class":384}," ips ",[367,1084,450],{"class":373},[367,1086,1087],{"class":388}," parse_peer_ips",[367,1089,1090],{"class":384},"(response_[",[367,1092,1093],{"class":427},"\"peer-ips\"",[367,1095,1096],{"class":384},"]);\n",[367,1098,1099],{"class":369,"line":441},[367,1100,1101],{"class":384},"    \n",[367,1103,1104,1106,1109,1112,1115,1118],{"class":369,"line":465},[367,1105,468],{"class":373},[367,1107,1108],{"class":384}," (",[367,1110,1111],{"class":373},"!",[367,1113,1114],{"class":384},"ips.",[367,1116,1117],{"class":388},"empty",[367,1119,1120],{"class":384},"())\n",[367,1122,1123],{"class":369,"line":480},[367,1124,483],{"class":384},[367,1126,1127],{"class":369,"line":486},[367,1128,1129],{"class":1027},"        \u002F\u002F Inform PeerFinder about alternative endpoints\n",[367,1131,1132,1135,1137,1140],{"class":369,"line":513},[367,1133,1134],{"class":388},"        peerFinder",[367,1136,456],{"class":384},[367,1138,1139],{"class":388},"onRedirects",[367,1141,1142],{"class":384},"(slot, ips);\n",[367,1144,1145],{"class":369,"line":522},[367,1146,525],{"class":384},[367,1148,1149],{"class":369,"line":528},[367,1150,808],{"class":384},[101,1152,78],{"id":1153},"address-quality-assessment",[23,1155,1156],{},"Not all received addresses are equally trustworthy. PeerFinder assesses quality by:",[109,1158,1159,1165,1171,1177],{},[56,1160,1161,1164],{},[27,1162,1163],{},"Source Reliability",": Addresses from established peers rank higher",[56,1166,1167,1170],{},[27,1168,1169],{},"Connection Success",": Successfully connected addresses are promoted",[56,1172,1173,1176],{},[27,1174,1175],{},"Recency",": Recently validated addresses are preferred",[56,1178,1179,1182],{},[27,1180,1181],{},"Diversity",": Addresses providing network diversity are valued",[23,1184,1185],{},"When an inbound connection succeeds, it validates that the connecting peer's advertised address is reachable, improving address quality assessment.",[15,1187],{},[18,1189,1191],{"id":1190},"peer-reservation-system","Peer Reservation System",[23,1193,1194,1195,1198],{},"The ",[27,1196,1197],{},"PeerReservationTable"," allows operators to reserve connection slots for specific trusted nodes:",[53,1200,1201,1207,1213],{},[56,1202,1203,1206],{},[27,1204,1205],{},"Purpose",": Ensure critical peers (validators, monitoring nodes) can always connect",[56,1208,1209,1212],{},[27,1210,1211],{},"Configuration",": Specified by public key in configuration",[56,1214,1215,1218],{},[27,1216,1217],{},"Behavior",": Reserved slots bypass normal connection limits",[23,1220,1221],{},"This is particularly useful for:",[53,1223,1224,1227,1230],{},[56,1225,1226],{},"Ensuring validator connectivity",[56,1228,1229],{},"Maintaining cluster coherence",[56,1231,1232],{},"Supporting monitoring infrastructure",[15,1234],{},[18,1236,1238],{"id":1237},"integration-with-overlay","Integration with Overlay",[23,1240,1241],{},"PeerFinder integrates tightly with the Overlay subsystem:",[81,1243,1246],{"className":1244,"code":1245,"language":86},[84],"┌─────────────────┐         ┌─────────────────┐\n│   OverlayImpl   │◄───────►│   PeerFinder    │\n├─────────────────┤         ├─────────────────┤\n│                 │         │                 │\n│ • connect()     │────────►│ • new_outbound_ │\n│                 │         │   slot()        │\n│                 │         │                 │\n│ • onHandoff()   │────────►│ • new_inbound_  │\n│                 │         │   slot()        │\n│                 │         │                 │\n│ • onPeer        │────────►│ • on_closed()   │\n│   Deactivate()  │         │                 │\n│                 │         │                 │\n│ • Timer tick    │────────►│ • autoconnect() │\n│                 │         │                 │\n└─────────────────┘         └─────────────────┘\n",[88,1247,1245],{"__ignoreMap":90},[23,1249,1250],{},[27,1251,1252],{},"Key Integration Points:",[53,1254,1255,1261,1267,1273],{},[56,1256,1257,1260],{},[27,1258,1259],{},"Connection Initiation",": Overlay requests slots before connecting",[56,1262,1263,1266],{},[27,1264,1265],{},"Slot Release",": Overlay notifies PeerFinder when connections close",[56,1268,1269,1272],{},[27,1270,1271],{},"Auto-connect",": PeerFinder periodically suggests new connections",[56,1274,1275,1278],{},[27,1276,1277],{},"Endpoint Updates",": Overlay forwards received endpoint information",[15,1280],{},[18,1282,1284],{"id":1283},"practical-considerations","Practical Considerations",[101,1286,1288],{"id":1287},"debugging-connectivity-issues","Debugging Connectivity Issues",[23,1290,1291],{},"When troubleshooting peer discovery:",[109,1293,1294,1307,1317,1323],{},[56,1295,1296,1299,1300,1302,1303,1306],{},[27,1297,1298],{},"Check Configuration",": Verify ",[88,1301,128],{}," and ",[88,1304,1305],{},"[ips]"," sections",[56,1308,1309,1312,1313,1316],{},[27,1310,1311],{},"Monitor Slot Usage",": Use ",[88,1314,1315],{},"peers"," command to see current connections",[56,1318,1319,1322],{},[27,1320,1321],{},"Review Logs",": PeerFinder logs connection attempts and failures",[56,1324,1325,1328],{},[27,1326,1327],{},"Verify Network",": Ensure firewall allows port 51235 (or configured port)",[101,1330,1332],{"id":1331},"optimizing-network-position","Optimizing Network Position",[23,1334,1335],{},"For better network connectivity:",[53,1337,1338,1341,1344,1347],{},[56,1339,1340],{},"Configure diverse fixed peers across different geographic regions",[56,1342,1343],{},"Ensure your node accepts incoming connections if possible",[56,1345,1346],{},"Monitor and maintain good peer relationships",[56,1348,1349],{},"Consider running a public node to contribute to network health",[15,1351],{},[18,1353,1355],{"id":1354},"conclusion","Conclusion",[23,1357,1358],{},"PeerFinder is the intelligence behind XRP Ledger's peer-to-peer connectivity. By managing endpoint discovery, slot allocation, and bootstrapping, it ensures nodes can reliably join and maintain connections to the network. Understanding PeerFinder helps you configure nodes optimally, debug connectivity issues, and contribute to overall network health.",[15,1360],{},[1362,1363,1364],"style",{},"html pre.shiki code .sWyjQ, html code.shiki .sWyjQ{--shiki-default:#FF9492}html pre.shiki code .s_sBn, html code.shiki .s_sBn{--shiki-default:#FFB757}html pre.shiki code .sMAXC, html code.shiki .sMAXC{--shiki-default:#F0F3F6}html pre.shiki code .sj_SG, html code.shiki .sj_SG{--shiki-default:#DBB7FF}html pre.shiki code .sTRMh, html code.shiki .sTRMh{--shiki-default:#ADDCFF}html pre.shiki code .sCcAr, html code.shiki .sCcAr{--shiki-default:#91CBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .sQrFR, html code.shiki .sQrFR{--shiki-default:#BDC4CC}",{"title":90,"searchDepth":377,"depth":377,"links":1366},[1367,1368,1369,1372,1376,1380,1381,1385,1386,1387,1391],{"id":20,"depth":377,"text":21},{"id":42,"depth":377,"text":43},{"id":95,"depth":377,"text":96,"children":1370},[1371],{"id":103,"depth":412,"text":104},{"id":193,"depth":377,"text":194,"children":1373},[1374,1375],{"id":200,"depth":412,"text":201},{"id":233,"depth":412,"text":234},{"id":267,"depth":377,"text":66,"children":1377},[1378,1379],{"id":273,"depth":412,"text":274},{"id":354,"depth":412,"text":355},{"id":830,"depth":377,"text":831},{"id":1006,"depth":377,"text":1007,"children":1382},[1383,1384],{"id":1013,"depth":412,"text":1014},{"id":1153,"depth":412,"text":78},{"id":1190,"depth":377,"text":1191},{"id":1237,"depth":377,"text":1238},{"id":1283,"depth":377,"text":1284,"children":1388},[1389,1390],{"id":1287,"depth":412,"text":1288},{"id":1331,"depth":412,"text":1332},{"id":1354,"depth":377,"text":1355},"Peer Discovery for Cryptography II: Protocol Extensions and Quantum Signatures, in the Core Dev Bootcamp: XRPL Commons docs.","md",{},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fpeer-discovery",{"title":5,"description":1392},"xrpl-trainings\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fpeer-discovery.md","docs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fpeer-discovery","CBprP3R2vD1uSPc3WQutrUkTrCmTjJn_Dz0h2XJBUqU",[],[1402,1443,1457,1477,1500,1892],{"title":1403,"path":1404,"children":1405,"description":1442,"pages":533},"XRPL Basics","\u002Fdocs\u002Fxrpl-basics",[1406,1409,1412,1415,1418,1421,1424,1427,1430,1433,1436,1439],{"title":1407,"path":1408},"Getting Started","\u002Fdocs\u002Fxrpl-basics\u002Fgetting-started",{"title":1410,"path":1411},"Trustline","\u002Fdocs\u002Fxrpl-basics\u002Ftrustline",{"title":1413,"path":1414},"Payments","\u002Fdocs\u002Fxrpl-basics\u002Fpayments",{"title":1416,"path":1417},"Reading and subscribing to Transactions","\u002Fdocs\u002Fxrpl-basics\u002Freading-and-writing-memos",{"title":1419,"path":1420},"Writing and reading memos","\u002Fdocs\u002Fxrpl-basics\u002Fwriting-and-reading-memos",{"title":1422,"path":1423},"Non Fungible Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fnon-fungible-tokens",{"title":1425,"path":1426},"Multi-Purpose Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fmptoken",{"title":1428,"path":1429},"PathFinding","\u002Fdocs\u002Fxrpl-basics\u002Fpath-finding",{"title":1431,"path":1432},"Escrow","\u002Fdocs\u002Fxrpl-basics\u002Fescrow",{"title":1434,"path":1435},"Price Oracles","\u002Fdocs\u002Fxrpl-basics\u002Fprice-oracles",{"title":1437,"path":1438},"Tickets","\u002Fdocs\u002Fxrpl-basics\u002Ftickets",{"title":1440,"path":1441},"Multi-Signature","\u002Fdocs\u002Fxrpl-basics\u002Fmulti-signature","In this section we will cover some of the primary functionality of the XRPL ledger.",{"title":1444,"path":1445,"children":1446,"description":1456,"pages":418},"Token Issuance and Liquidity","\u002Fdocs\u002Ftoken-issuance-and-liquidity",[1447,1450,1453],{"title":1448,"path":1449},"Creating Accounts and Setup","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fcreating-accounts",{"title":1451,"path":1452},"Issuing Tokens","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fissuing-tokens",{"title":1454,"path":1455},"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":1458,"path":1459,"children":1460,"description":1476,"pages":441},"Cyphered Chat on XRPL","\u002Fdocs\u002Fcyphered-chat-on-xrpl",[1461,1464,1467,1470,1473],{"title":1462,"path":1463},"Set up","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up",{"title":1465,"path":1466},"Set up Keys","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-keys",{"title":1468,"path":1469},"Cypher the message","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fcypher-the-message",{"title":1471,"path":1472},"Set up the memo & send the tx","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-the-memo-and-send-the-tx",{"title":1474,"path":1475},"Get the message and decypher it","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fget-the-message-and-decypher-it","Send encrypted messages over XRPL",{"title":1478,"path":1479,"children":1480,"description":1499,"pages":465},"EVM Sidechain","\u002Fdocs\u002Fevm-sidechain",[1481,1484,1487,1490,1493,1496],{"title":1482,"path":1483},"Connecting Metamask","\u002Fdocs\u002Fevm-sidechain\u002Fconnecting-metamask",{"title":1485,"path":1486},"Set up a Foundry project","\u002Fdocs\u002Fevm-sidechain\u002Fset-up-an-evm-project",{"title":1488,"path":1489},"Bridging Assets","\u002Fdocs\u002Fevm-sidechain\u002Fbridging-assets",{"title":1491,"path":1492},"Remix","\u002Fdocs\u002Fevm-sidechain\u002Fremix",{"title":1494,"path":1495},"Banking App","\u002Fdocs\u002Fevm-sidechain\u002Fbanking-app",{"title":1497,"path":1498},"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":1501,"path":1502,"children":1503,"description":1890,"pages":1891},"Core Dev Bootcamp","\u002Fdocs\u002Fcore-dev-bootcamp",[1504,1524,1567,1617,1648,1705,1734,1750,1790,1824,1849,1865],{"title":1505,"path":1506,"children":1507},"Rippled I – Compilation, Configuration, and Launch","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01",[1508,1511,1514,1517],{"title":1509,"path":1510},"Environment & Build Toolchain","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fenvironment-build-toolchain",{"title":1512,"path":1513},"Compilation Process & Generating Binary","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fcompilation-process-generating-binary",{"title":1515,"path":1516},"Local Development & Testing","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Flocal-development-testing",{"title":1518,"path":1519,"children":1520},"Homeworks","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks",[1521],{"title":1522,"path":1523},"Homework 1: Rippled Node Setup and Mainnet Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks\u002Fhomework1",{"title":1525,"path":1526,"children":1527},"Rippled II: Deep Dive into the Protocol and Codebase","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02",[1528,1531,1534,1537,1540,1543,1546,1549,1552],{"title":1529,"path":1530},"Protocols: Communication and Interoperability","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fprotocols-communication-and-interoperability",{"title":1532,"path":1533},"Transactors: Transaction Processing Framework","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransactors-transaction-processing-framework",{"title":1535,"path":1536},"Application Layer: Central Orchestration and Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fapplication-layer-central-orchestration-and-coordination",{"title":1538,"path":1539},"Consensus Engine: XRP Ledger Consensus Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fconsensus-engine-xrp-ledger-consensus-protocol",{"title":1541,"path":1542},"Overlay Network: Peer-to-Peer Networking Layer","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Foverlay-network-peer-to-peer-networking-layer",{"title":1544,"path":1545},"Transaction Lifecycle: Complete Transaction Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransaction-lifecycle-complete-transaction-journey",{"title":1547,"path":1548},"Codebase Navigation: Efficiently Navigating the Rippled Source","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fcodebase-navigation-efficiently-navigating-the-rippled-source",{"title":1550,"path":1551},"Debugging Tools: Development and Debugging Techniques","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fdebugging-tools-development-and-debugging-techniques",{"title":1518,"path":1553,"children":1554},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks",[1555,1558,1561,1564],{"title":1556,"path":1557},"Homework 1: Transaction Flow Analysis","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework1",{"title":1559,"path":1560},"Homework 2: Transactor Code Exploration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework2",{"title":1562,"path":1563},"Homework 3: Logging and Debugging","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework3",{"title":1565,"path":1566},"Homework 4: Architecture Diagram","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework4",{"title":1568,"path":1569,"children":1570},"Anatomy of Rippled: SHAMap and NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03",[1571,1574,1577,1580,1583,1586,1589,1592,1595,1598,1601,1604],{"title":1572,"path":1573},"Foundational Concepts","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstate-management-challenges",{"title":1575,"path":1576},"Trees, Hashing, and Cryptographic Commitments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Ftree-fundamentals",{"title":1578,"path":1579},"SHAMap Architecture and Node Hierarchy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-architecture",{"title":1581,"path":1582},"Navigation, Hashing, and Merkle Properties","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-navigation-hashing",{"title":1584,"path":1585},"Traversal, Iteration, and Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-synchronization",{"title":1587,"path":1588},"The NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fnodestore-architecture",{"title":1590,"path":1591},"Storage Abstraction and Backend Implementations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstorage-backends",{"title":1593,"path":1594},"Cache Layer and Performance Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fcache-layer",{"title":1596,"path":1597},"Database Operations and Lifecycle Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fdatabase-operations",{"title":1599,"path":1600},"Cryptographic Proofs and State Reconstruction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fproofs-state-reconstruction",{"title":1602,"path":1603},"Resource Management and Performance Characteristics","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fresource-management",{"title":1605,"path":1606,"children":1607},"Appendices","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices",[1608,1611,1614],{"title":1609,"path":1610},"Appendix : Codebase Navigation Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fnavigation",{"title":1612,"path":1613},"Appendix : Configuration Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fconfiguration",{"title":1615,"path":1616},"Appendix : Debugging and Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fdebugging",{"title":1618,"path":1619,"children":1620},"Transactors: Understanding the Lifecycle of a Transaction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis",[1621,1624,1627,1630,1633,1636,1639,1642,1645],{"title":1622,"path":1623},"Transactor Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ftransactor-architecture",{"title":1625,"path":1626},"Processing Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fprocessing-pipeline",{"title":1628,"path":1629},"Fee and Sequence Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ffee-sequence-handling",{"title":1631,"path":1632},"State Modification Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fstate-modification",{"title":1634,"path":1635},"TER Result Codes","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fter-result-codes",{"title":1637,"path":1638},"Case Study: CheckCreate Transactor","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fcase-study-checkcreate",{"title":1640,"path":1641},"Homework 1: Trace a Transaction Through All Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework1",{"title":1643,"path":1644},"Homework 2: Implement a Custom Validation Check","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework2",{"title":1646,"path":1647},"Homework 3: Analyze TER Code Paths","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework3",{"title":1649,"path":1650,"children":1651},"Cryptography I: Blockchain Security and Cryptographic Foundations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04",[1652,1655,1658,1661,1664,1667,1670,1673,1676,1679,1682,1685,1688,1699],{"title":1653,"path":1654},"The Four Pillars of Security","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-four-pillars-of-security",{"title":1656,"path":1657},"The Lifecycle of a Cryptographic Key","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-lifecycle-of-a-cryptographic-key",{"title":1659,"path":1660},"Random Number Generation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation",{"title":1662,"path":1663},"Random Number Generation & Entropy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation-and-entropy",{"title":1665,"path":1666},"Key Generation Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fkey-generation-pipeline",{"title":1668,"path":1669},"Transaction Signing & Verification","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Ftransaction-signing-and-verification",{"title":1671,"path":1672},"Hash Functions in XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhash-functions-in-xrpl",{"title":1674,"path":1675},"Base58Check Encoding","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fbase58check-encoding",{"title":1677,"path":1678},"Peer Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fpeer-handshake-protocol",{"title":1680,"path":1681},"Secure Memory Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fsecure-memory-handling",{"title":1683,"path":1684},"Common Cryptographic Pitfalls","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fcommon-cryptographic-pitfalls",{"title":1686,"path":1687},"Performance & Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fperformance-and-optimization",{"title":1605,"path":1689,"children":1690},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices",[1691,1693,1696],{"title":1609,"path":1692},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fcodebase-navigation-guide",{"title":1694,"path":1695},"Appendix : Debugging & Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fdebugging-and-development-tools",{"title":1697,"path":1698},"Appendix : RFCs and Standards Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Frfcs-and-standards-reference",{"title":1518,"path":1700,"children":1701},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks",[1702],{"title":1703,"path":1704},"Homework 1: Signature Verification Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks\u002Fhomework1",{"title":1706,"path":1707,"children":1708},"Cryptography II: Protocol Extensions and Quantum Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05",[1709,1712,1715,1718,1721,1722,1728],{"title":1710,"path":1711},"Overlay Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Foverlay-architecture",{"title":1713,"path":1714},"Connection Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fconnection-lifecycle",{"title":1716,"path":1717},"Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhandshake-protocol",{"title":1719,"path":1720},"Message Relaying","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fmessage-relaying",{"title":5,"path":1395},{"title":1605,"path":1723,"children":1724},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices",[1725],{"title":1726,"path":1727},"XLS-??d Quantum-Resistant Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices\u002Fxls-d",{"title":1518,"path":1729,"children":1730},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks",[1731],{"title":1732,"path":1733},"Homework 1: Building Quantum-Resistant Signatures for XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks\u002Fhomework1",{"title":1735,"path":1736,"children":1737},"Communication I: Understanding XRPL(d) RPC Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06",[1738,1741,1744,1747],{"title":1739,"path":1740},"RPC Handler Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frpc-handler-architecture",{"title":1742,"path":1743},"Request and Response Flow","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frequest-response-flow",{"title":1745,"path":1746},"Authentication and Authorization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Fauthentication-authorization",{"title":1748,"path":1749},"Error Handling and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Ferror-handling-validation",{"title":1751,"path":1752,"children":1753},"Communication II: Building and Integrating Custom RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07",[1754,1757,1760,1763,1766,1778],{"title":1755,"path":1756},"Implementing Custom Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fimplementing-custom-handlers",{"title":1758,"path":1759},"Testing RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Ftesting-rpc-handlers",{"title":1761,"path":1762},"Advanced Features","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fadvanced-features",{"title":1764,"path":1765},"Best Practices and Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fbest-practices-patterns",{"title":1605,"path":1767,"children":1768},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices",[1769,1772,1775],{"title":1770,"path":1771},"Appendix: Handler Examples","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhandler-examples",{"title":1773,"path":1774},"Appendix: Helper Functions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhelper-functions",{"title":1776,"path":1777},"Appendix: Debugging Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fdebugging-guide",{"title":1518,"path":1779,"children":1780},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks",[1781,1784,1787],{"title":1782,"path":1783},"Homework 1: Building a Custom RPC Handler","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhomework1",{"title":1785,"path":1786},"Hints","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhints",{"title":1788,"path":1789},"Snippets","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fsnippets",{"title":1791,"path":1792,"children":1793},"Consensus I: Node, Consensus, and Ledger Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08",[1794,1797,1800,1803,1806,1809,1812,1815],{"title":1795,"path":1796},"Consensus Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-fundamentals",{"title":1798,"path":1799},"Consensus Modes and Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-modes-phases",{"title":1801,"path":1802},"Consensus Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-lifecycle",{"title":1804,"path":1805},"Ledger Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-architecture",{"title":1807,"path":1808},"Ledger Data Structures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-data-structures",{"title":1810,"path":1811},"Ledger Acquisition and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-acquisition-validation",{"title":1813,"path":1814},"RPC and Peer Transaction Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Frpc-peer-tx-lifecycle",{"title":1518,"path":1816,"children":1817},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks",[1818,1821],{"title":1819,"path":1820},"Homework 1: Transaction Consensus Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework1",{"title":1822,"path":1823},"Homework 2: Consensus Dispute Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework2",{"title":1825,"path":1826,"children":1827},"Consensus II: UNLs and Ledger Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09",[1828,1831,1834,1837,1840,1843,1846],{"title":1829,"path":1830},"Transaction Ordering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Ftx-ordering",{"title":1832,"path":1833},"Consensus Validations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-validations",{"title":1835,"path":1836},"Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Famendments",{"title":1838,"path":1839},"UNL Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Funl",{"title":1841,"path":1842},"Consensus Peers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-peers",{"title":1844,"path":1845},"Homework 1: Validator Keys Setup and Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework1",{"title":1847,"path":1848},"Homework 2: Negative UNL Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework2",{"title":1850,"path":1851,"children":1852},"AMM: Automated Market Maker","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis",[1853,1856,1859,1862],{"title":1854,"path":1855},"AMM Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-architecture",{"title":1857,"path":1858},"AMM Transactions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-transactions",{"title":1860,"path":1861},"AMM Logic","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-logic",{"title":1863,"path":1864},"Pathfinding Integration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-pathfinding",{"title":1866,"path":1867,"children":1868},"Building Amendments: Lifecycle and Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10",[1869,1872,1875,1878,1881,1884,1887],{"title":1870,"path":1871},"Amendment Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-architecture",{"title":1873,"path":1874},"Amendment Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-lifecycle",{"title":1876,"path":1877},"Voting and Activation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fvoting-and-activation",{"title":1879,"path":1880},"Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fprotocol-impact",{"title":1882,"path":1883},"Network Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fnetwork-coordination",{"title":1885,"path":1886},"Monitoring and Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-monitoring",{"title":1888,"path":1889},"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":1893,"path":1894,"children":1895,"description":1902,"pages":412},"Tools","\u002Fdocs\u002Ftools",[1896,1899],{"title":1897,"path":1898},"Xaman Setup","\u002Fdocs\u002Ftools\u002Fxaman-setup",{"title":1900,"path":1901},"Metamask Setup","\u002Fdocs\u002Ftools\u002Fmetamask-setup","In this section you will find instructions on how to setup wallets and tools",1796220773077]