[{"data":1,"prerenderedAt":2880},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fprotocols-communication-and-interoperability":3,"docs-kids-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fprotocols-communication-and-interoperability":2381,"docs-tracks":2382},{"id":4,"title":5,"body":6,"description":2373,"extension":2374,"meta":2375,"navigation":1834,"path":2376,"seo":2377,"source":2378,"stem":2379,"__hash__":2380},"docs\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fprotocols-communication-and-interoperability.md","Protocols: Communication and Interoperability",{"type":7,"value":8,"toc":2321},"minimark",[9,13,16,21,25,28,32,34,38,43,55,58,86,90,93,98,106,143,146,151,154,168,173,176,190,193,197,200,206,212,226,232,238,240,244,248,255,261,267,273,279,285,289,296,302,382,385,399,401,405,408,412,418,421,426,440,445,456,460,465,471,475,489,494,505,509,514,517,521,538,543,561,565,570,573,577,594,599,616,620,625,628,633,644,649,660,665,679,683,688,691,695,707,709,713,717,720,724,729,735,741,747,752,757,762,767,778,783,788,793,804,809,814,819,824,835,840,848,853,861,865,868,876,879,881,885,889,892,896,969,973,1047,1051,1054,1172,1176,1179,1185,1189,1192,1197,1205,1210,1221,1226,1234,1239,1247,1251,1257,1268,1274,1285,1289,1295,1297,1301,1305,1312,1317,1324,1335,1346,1360,1367,1378,1387,1398,1405,1416,1423,1434,1438,1443,1592,1597,1676,1681,1750,1752,1756,1760,1766,1771,1777,1801,1804,1810,1850,1856,1862,1876,1881,1920,1925,1931,1934,1948,1954,1983,1986,2002,2008,2025,2028,2039,2044,2047,2117,2121,2124,2138,2140,2144,2148,2155,2161,2167,2173,2179,2185,2189,2197,2203,2209,2215,2217,2221,2225,2260,2264,2288,2292,2315,2317],[10,11,5],"h1",{"id":12},"protocols-communication-and-interoperability",[14,15],"hr",{},[17,18,20],"h2",{"id":19},"introduction","Introduction",[22,23,24],"p",{},"Understanding protocols is fundamental to grasping how the XRP Ledger operates as a distributed system. This deep dive explores how Rippled nodes discover each other, communicate, and synchronize ledger state across the decentralized network without any central authority.",[22,26,27],{},"The protocol layer is the foundation that enables the XRP Ledger to function as a truly decentralized system, where nodes around the world coordinate to maintain a consistent, validated ledger without relying on a single trusted entity.",[29,30],"docs-video",{"url":31},"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=T72U5Ls9OMI",[14,33],{},[17,35,37],{"id":36},"peer-to-peer-networking-fundamentals","Peer-to-Peer Networking Fundamentals",[39,40,42],"h3",{"id":41},"the-overlay-network-architecture","The Overlay Network Architecture",[22,44,45,46,50,51,54],{},"The XRP Ledger operates as a ",[47,48,49],"strong",{},"decentralized network"," of Rippled servers (nodes) that communicate through peer-to-peer connections. Each node maintains connections with multiple peers, forming an ",[47,52,53],{},"overlay network"," on top of the internet infrastructure. This architecture ensures no single point of failure and enables the network to remain operational even if individual nodes go offline.",[22,56,57],{},"Unlike traditional client-server architectures where clients connect to centralized servers, the XRP Ledger uses a mesh topology where every node can communicate with multiple other nodes. This design provides:",[59,60,61,68,74,80],"ul",{},[62,63,64,67],"li",{},[47,65,66],{},"Resilience",": No single point of failure",[62,69,70,73],{},[47,71,72],{},"Scalability",": Network can grow organically as new nodes join",[62,75,76,79],{},[47,77,78],{},"Censorship Resistance",": No central authority can block transactions",[62,81,82,85],{},[47,83,84],{},"Redundancy",": Multiple paths exist for information propagation",[39,87,89],{"id":88},"peer-discovery-mechanisms","Peer Discovery Mechanisms",[22,91,92],{},"Nodes discover peers through several complementary mechanisms, ensuring robust network connectivity:",[22,94,95],{},[47,96,97],{},"1. Configured Peer Lists",[22,99,100,101,105],{},"Administrators can specify fixed peers in the ",[102,103,104],"code",{},"rippled.cfg"," configuration file:",[107,108,113],"pre",{"className":109,"code":110,"language":111,"meta":112,"style":112},"language-ini shiki shiki-themes github-dark-high-contrast","[ips_fixed]\nr.ripple.com 51235\ns1.ripple.com 51235\ns2.ripple.com 51235\n","ini","",[102,114,115,124,131,137],{"__ignoreMap":112},[116,117,120],"span",{"class":118,"line":119},"line",1,[116,121,123],{"class":122},"s_sBn","[ips_fixed]\n",[116,125,127],{"class":118,"line":126},2,[116,128,130],{"class":129},"sMAXC","r.ripple.com 51235\n",[116,132,134],{"class":118,"line":133},3,[116,135,136],{"class":129},"s1.ripple.com 51235\n",[116,138,140],{"class":118,"line":139},4,[116,141,142],{"class":129},"s2.ripple.com 51235\n",[22,144,145],{},"These peers are trusted connections that the node will always attempt to maintain. Fixed peers are particularly important for validators and high-availability servers.",[22,147,148],{},[47,149,150],{},"2. DNS Seeds",[22,152,153],{},"Rippled uses DNS to discover bootstrap nodes:",[59,155,156,159,162,165],{},[62,157,158],{},"DNS seeds provide a list of currently active nodes",[62,160,161],{},"Useful for initial network entry",[62,163,164],{},"Regularly updated to reflect network state",[62,166,167],{},"Multiple DNS providers ensure availability",[22,169,170],{},[47,171,172],{},"3. Peer Gossip",[22,174,175],{},"Once connected, nodes share information about other available peers:",[59,177,178,181,184,187],{},[62,179,180],{},"Nodes exchange lists of known peers",[62,182,183],{},"Information about peer quality and reliability is shared",[62,185,186],{},"Network topology naturally adapts to node availability",[62,188,189],{},"Helps discover new nodes joining the network",[22,191,192],{},"This multi-layered approach ensures that even if some discovery mechanisms fail, nodes can still find and connect to peers, maintaining network connectivity.",[39,194,196],{"id":195},"connection-management","Connection Management",[22,198,199],{},"Each Rippled node actively manages its peer connections:",[22,201,202,205],{},[47,203,204],{},"Connection Limits",": Nodes maintain a configured number of active connections (typically 10-20 peers) to balance network visibility with resource usage.",[22,207,208,211],{},[47,209,210],{},"Peer Quality Assessment",": Nodes continuously evaluate peer behavior:",[59,213,214,217,220,223],{},[62,215,216],{},"Response times",[62,218,219],{},"Message accuracy",[62,221,222],{},"Protocol compliance",[62,224,225],{},"Uptime and reliability",[22,227,228,231],{},[47,229,230],{},"Connection Pruning",": Poor-quality peers are disconnected and replaced with better alternatives.",[22,233,234,237],{},[47,235,236],{},"Connection Diversity",": Nodes prefer geographically and administratively diverse peers to improve network resilience.",[14,239],{},[17,241,243],{"id":242},"protocol-messages","Protocol Messages",[39,245,247],{"id":246},"protocol-buffers-protobuf","Protocol Buffers (Protobuf)",[22,249,250,251,254],{},"Rippled uses ",[47,252,253],{},"Protocol Buffers"," (protobuf) for efficient binary serialization of messages exchanged between nodes. This choice provides several advantages:",[22,256,257,260],{},[47,258,259],{},"Compact Message Sizes",": Binary encoding is more efficient than text-based formats like JSON, reducing bandwidth usage.",[22,262,263,266],{},[47,264,265],{},"Fast Serialization",": Protobuf libraries provide high-performance encoding and decoding, critical for high-throughput systems.",[22,268,269,272],{},[47,270,271],{},"Forward\u002FBackward Compatibility",": Protocol Buffers support schema evolution, allowing the protocol to evolve without breaking existing nodes.",[22,274,275,278],{},[47,276,277],{},"Strong Typing",": Protocol definitions provide clear contracts for message formats, reducing errors.",[22,280,281,284],{},[47,282,283],{},"Cross-Language Support",": Protobuf supports multiple languages, facilitating development of diverse XRPL tools.",[39,286,288],{"id":287},"message-definition","Message Definition",[22,290,291,292,295],{},"Protocol messages are defined in ",[102,293,294],{},".proto"," files located in the Rippled codebase. These definitions are compiled into C++ classes used throughout the application.",[22,297,298,301],{},[47,299,300],{},"Example Structure",":",[107,303,307],{"className":304,"code":305,"language":306,"meta":112,"style":112},"language-protobuf shiki shiki-themes github-dark-high-contrast","message TMTransaction {\n    required bytes raw_transaction = 1;\n    required uint32 status = 2;\n    optional bytes signature = 3;\n}\n","protobuf",[102,308,309,321,342,359,376],{"__ignoreMap":112},[116,310,311,315,318],{"class":118,"line":119},[116,312,314],{"class":313},"sWyjQ","message",[116,316,317],{"class":122}," TMTransaction",[116,319,320],{"class":129}," {\n",[116,322,323,326,329,332,335,339],{"class":118,"line":126},[116,324,325],{"class":313},"    required",[116,327,328],{"class":313}," bytes",[116,330,331],{"class":129}," raw_transaction ",[116,333,334],{"class":313},"=",[116,336,338],{"class":337},"sCcAr"," 1",[116,340,341],{"class":129},";\n",[116,343,344,346,349,352,354,357],{"class":118,"line":133},[116,345,325],{"class":313},[116,347,348],{"class":313}," uint32",[116,350,351],{"class":129}," status ",[116,353,334],{"class":313},[116,355,356],{"class":337}," 2",[116,358,341],{"class":129},[116,360,361,364,366,369,371,374],{"class":118,"line":139},[116,362,363],{"class":313},"    optional",[116,365,328],{"class":313},[116,367,368],{"class":129}," signature ",[116,370,334],{"class":313},[116,372,373],{"class":337}," 3",[116,375,341],{"class":129},[116,377,379],{"class":118,"line":378},5,[116,380,381],{"class":129},"}\n",[22,383,384],{},"The compiled classes provide methods for:",[59,386,387,390,393,396],{},[62,388,389],{},"Creating messages",[62,391,392],{},"Serializing to binary",[62,394,395],{},"Deserializing from binary",[62,397,398],{},"Accessing fields with type safety",[14,400],{},[17,402,404],{"id":403},"critical-message-types","Critical Message Types",[22,406,407],{},"Understanding message types is essential for debugging network issues and implementing protocol improvements. Each message type serves a specific purpose in maintaining network consensus and ledger synchronization.",[39,409,411],{"id":410},"tmmanifests","tmMANIFESTS",[22,413,414,417],{},[47,415,416],{},"Purpose",": Validator key rotation and identity verification",[22,419,420],{},"Validators use manifests to announce their identity and key rotation information. This allows validators to change their signing keys without losing their identity, improving security by enabling regular key rotation.",[22,422,423,301],{},[47,424,425],{},"Key Information",[59,427,428,431,434,437],{},[62,429,430],{},"Validator's master public key (long-term identity)",[62,432,433],{},"Current ephemeral signing key (used for validations)",[62,435,436],{},"Key rotation sequence number",[62,438,439],{},"Signature proving authorization",[22,441,442,301],{},[47,443,444],{},"When Sent",[59,446,447,450,453],{},[62,448,449],{},"When a validator starts up",[62,451,452],{},"When a validator rotates keys",[62,454,455],{},"Periodically to ensure all peers have current information",[39,457,459],{"id":458},"tmtransaction","tmTRANSACTION",[22,461,462,464],{},[47,463,416],{},": Transaction propagation across the network",[22,466,467,468,470],{},"When a transaction is submitted to any node, it needs to reach all validators to be considered for inclusion in the next ledger. The ",[102,469,459],{}," message broadcasts transactions throughout the network.",[22,472,473,301],{},[47,474,425],{},[59,476,477,480,483,486],{},[62,478,479],{},"Serialized transaction data",[62,481,482],{},"Transaction signature",[62,484,485],{},"Account information",[62,487,488],{},"Fee and sequence number",[22,490,491,301],{},[47,492,493],{},"Routing Logic",[59,495,496,499,502],{},[62,497,498],{},"Nodes verify transaction validity before relaying",[62,500,501],{},"Already-seen transactions are not re-broadcast (deduplication)",[62,503,504],{},"Invalid transactions are dropped without propagation",[39,506,508],{"id":507},"tmpropose_ledger","tmPROPOSE_LEDGER",[22,510,511,513],{},[47,512,416],{},": Consensus proposals from validators",[22,515,516],{},"During the consensus process, validators broadcast their proposed transaction sets. These proposals inform other validators about which transactions should be included in the next ledger.",[22,518,519,301],{},[47,520,425],{},[59,522,523,526,529,532,535],{},[62,524,525],{},"Validator's public key",[62,527,528],{},"Proposed ledger close time",[62,530,531],{},"Transaction set hash",[62,533,534],{},"Previous ledger hash",[62,536,537],{},"Validation signature",[22,539,540,301],{},[47,541,542],{},"Consensus Flow",[544,545,546,549,552,555,558],"ol",{},[62,547,548],{},"Validators collect transactions from the open ledger",[62,550,551],{},"Each validator creates a proposal of transactions to include",[62,553,554],{},"Proposals are broadcast to other validators",[62,556,557],{},"Validators adjust their proposals based on what others propose",[62,559,560],{},"Consensus converges on a common transaction set",[39,562,564],{"id":563},"tmvalidation","tmVALIDATION",[22,566,567,569],{},[47,568,416],{},": Ledger validations signaling agreement",[22,571,572],{},"After a ledger closes, validators broadcast validations confirming their agreement on the ledger state. A ledger becomes fully validated when it receives validations from a supermajority of trusted validators.",[22,574,575,301],{},[47,576,425],{},[59,578,579,582,585,588,591],{},[62,580,581],{},"Ledger hash being validated",[62,583,584],{},"Ledger sequence number",[62,586,587],{},"Ledger close time",[62,589,590],{},"Validator's signature",[62,592,593],{},"Flag indicating full\u002Fpartial validation",[22,595,596,301],{},[47,597,598],{},"Validation Process",[544,600,601,604,607,610,613],{},[62,602,603],{},"Validator applies consensus transaction set",[62,605,606],{},"Computes resulting ledger hash",[62,608,609],{},"Broadcasts validation message",[62,611,612],{},"Other nodes collect validations",[62,614,615],{},"Ledger is considered validated when quorum is reached",[39,617,619],{"id":618},"tmget_ledger-tmledger_data","tmGET_LEDGER \u002F tmLEDGER_DATA",[22,621,622,624],{},[47,623,416],{},": Request and response for ledger synchronization",[22,626,627],{},"When a node is behind or missing ledger data, it requests information from peers. These messages enable ledger history synchronization.",[22,629,630,301],{},[47,631,632],{},"tmGET_LEDGER Fields",[59,634,635,638,641],{},[62,636,637],{},"Ledger hash or sequence number",[62,639,640],{},"Type of data requested (transactions, state tree, etc.)",[62,642,643],{},"Specific nodes or ranges requested",[22,645,646,301],{},[47,647,648],{},"tmLEDGER_DATA Fields",[59,650,651,654,657],{},[62,652,653],{},"Requested ledger data",[62,655,656],{},"Merkle proofs for verification",[62,658,659],{},"Metadata about the ledger",[22,661,662,301],{},[47,663,664],{},"Use Cases",[59,666,667,670,673,676],{},[62,668,669],{},"Node startup (catching up to current ledger)",[62,671,672],{},"Network partition recovery",[62,674,675],{},"Historical ledger retrieval",[62,677,678],{},"Filling gaps in ledger history",[39,680,682],{"id":681},"tmstatus_change","tmSTATUS_CHANGE",[22,684,685,687],{},[47,686,416],{},": Notifications about ledger close events",[22,689,690],{},"Nodes broadcast status changes to inform peers about important events, particularly ledger closures. This helps the network stay synchronized on the current ledger state.",[22,692,693,301],{},[47,694,425],{},[59,696,697,700,702,705],{},[62,698,699],{},"New ledger sequence number",[62,701,587],{},[62,703,704],{},"Flags indicating network status",[62,706,534],{},[14,708],{},[17,710,712],{"id":711},"message-propagation-and-routing","Message Propagation and Routing",[39,714,716],{"id":715},"intelligent-message-routing","Intelligent Message Routing",[22,718,719],{},"When a node receives a message, it must decide whether to relay it to other peers. Rippled implements intelligent routing to prevent message flooding while ensuring necessary information reaches all relevant nodes.",[39,721,723],{"id":722},"routing-techniques","Routing Techniques",[22,725,726],{},[47,727,728],{},"1. Squelch (Echo Prevention)",[22,730,731,734],{},[47,732,733],{},"Problem",": Without squelch, messages would bounce back to their sender, creating infinite loops.",[22,736,737,740],{},[47,738,739],{},"Solution",": When node A sends a message to node B, node B remembers that A already has this message and won't send it back to A.",[22,742,743,746],{},[47,744,745],{},"Implementation",": Each message carries an originator identifier, and nodes track which peers already have which messages.",[22,748,749],{},[47,750,751],{},"2. Deduplication",[22,753,754,756],{},[47,755,733],{},": The same message might arrive from multiple peers, wasting processing resources.",[22,758,759,761],{},[47,760,739],{},": Nodes track recently seen messages using a hash-based cache. If a message hash is already in the cache, it's discarded without reprocessing.",[22,763,764,301],{},[47,765,766],{},"Cache Management",[59,768,769,772,775],{},[62,770,771],{},"Time-based expiration (messages older than X seconds are removed)",[62,773,774],{},"Size limits (oldest entries removed when cache is full)",[62,776,777],{},"Hash collisions handled safely",[22,779,780],{},[47,781,782],{},"3. Selective Relay",[22,784,785,787],{},[47,786,733],{},": Not all peers need all messages. Broadcasting everything wastes bandwidth.",[22,789,790,792],{},[47,791,739],{},": Messages are only relayed to peers that are likely to need them based on:",[59,794,795,798,801],{},[62,796,797],{},"Message type (validators need proposals, regular nodes may not)",[62,799,800],{},"Peer capabilities (what protocol versions and features they support)",[62,802,803],{},"Network topology (avoid sending to peers who likely already have it)",[22,805,806],{},[47,807,808],{},"4. Priority Queuing",[22,810,811,813],{},[47,812,733],{},": Under high load, important messages might be delayed behind less critical ones.",[22,815,816,818],{},[47,817,739],{},": Messages are categorized by importance and processed in priority order:",[22,820,821,301],{},[47,822,823],{},"High Priority",[59,825,826,829,832],{},[62,827,828],{},"Validations (needed for ledger finalization)",[62,830,831],{},"Consensus proposals (time-sensitive for consensus)",[62,833,834],{},"Status changes (network coordination)",[22,836,837,301],{},[47,838,839],{},"Medium Priority",[59,841,842,845],{},[62,843,844],{},"Transactions (should be processed promptly)",[62,846,847],{},"Ledger data responses (nodes are waiting for this)",[22,849,850,301],{},[47,851,852],{},"Low Priority",[59,854,855,858],{},[62,856,857],{},"Peer discovery announcements",[62,859,860],{},"Historical data requests",[39,862,864],{"id":863},"message-flow-example","Message Flow Example",[22,866,867],{},"Let's trace how a transaction propagates through the network:",[107,869,874],{"className":870,"code":872,"language":873},[871],"language-text","1. User submits transaction to Node A\n   ↓\n2. Node A validates transaction\n   ↓\n3. Node A adds transaction to open ledger\n   ↓\n4. Node A broadcasts tmTRANSACTION to peers (Nodes B, C, D)\n   ↓\n5. Nodes B, C, D validate transaction\n   ↓\n6. Nodes B, C, D relay to their peers (excluding Node A - squelch)\n   ↓\n7. Transaction reaches all network nodes\n   ↓\n8. Validators include transaction in proposals\n   ↓\n9. Consensus reached, transaction included in ledger\n","text",[102,875,872],{"__ignoreMap":112},[22,877,878],{},"Total time: Typically 3-5 seconds from submission to ledger inclusion.",[14,880],{},[17,882,884],{"id":883},"connection-lifecycle","Connection Lifecycle",[39,886,888],{"id":887},"establishing-a-peer-connection","Establishing a Peer Connection",[22,890,891],{},"The process of two Rippled nodes establishing a connection involves multiple steps, each verifying compatibility and authenticity:",[39,893,895],{"id":894},"step-1-dns-resolution","Step 1: DNS Resolution",[107,897,901],{"className":898,"code":899,"language":900,"meta":112,"style":112},"language-bash shiki shiki-themes github-dark-high-contrast","# Node A wants to connect to peer.example.com\n1. Query DNS for peer.example.com\n2. Receive IP address (e.g., 203.0.113.50)\n3. Prepare to connect to 203.0.113.50:51235\n","bash",[102,902,903,909,927,950],{"__ignoreMap":112},[116,904,905],{"class":118,"line":119},[116,906,908],{"class":907},"sQrFR","# Node A wants to connect to peer.example.com\n",[116,910,911,914,918,921,924],{"class":118,"line":126},[116,912,913],{"class":122},"1.",[116,915,917],{"class":916},"sTRMh"," Query",[116,919,920],{"class":916}," DNS",[116,922,923],{"class":916}," for",[116,925,926],{"class":916}," peer.example.com\n",[116,928,929,932,935,938,941,944,947],{"class":118,"line":133},[116,930,931],{"class":122},"2.",[116,933,934],{"class":916}," Receive",[116,936,937],{"class":916}," IP",[116,939,940],{"class":916}," address",[116,942,943],{"class":129}," (e.g., ",[116,945,946],{"class":337},"203.0.113.50",[116,948,949],{"class":129},")\n",[116,951,952,955,958,961,964,966],{"class":118,"line":139},[116,953,954],{"class":122},"3.",[116,956,957],{"class":916}," Prepare",[116,959,960],{"class":916}," to",[116,962,963],{"class":916}," connect",[116,965,960],{"class":916},[116,967,968],{"class":916}," 203.0.113.50:51235\n",[39,970,972],{"id":971},"step-2-tcp-connection","Step 2: TCP Connection",[107,974,976],{"className":898,"code":975,"language":900,"meta":112,"style":112},"# Establish TCP socket connection\n1. Send SYN packet to peer\n2. Receive SYN-ACK response\n3. Send ACK to complete three-way handshake\n4. TCP connection established\n",[102,977,978,983,1001,1013,1033],{"__ignoreMap":112},[116,979,980],{"class":118,"line":119},[116,981,982],{"class":907},"# Establish TCP socket connection\n",[116,984,985,987,990,993,996,998],{"class":118,"line":126},[116,986,913],{"class":122},[116,988,989],{"class":916}," Send",[116,991,992],{"class":916}," SYN",[116,994,995],{"class":916}," packet",[116,997,960],{"class":916},[116,999,1000],{"class":916}," peer\n",[116,1002,1003,1005,1007,1010],{"class":118,"line":133},[116,1004,931],{"class":122},[116,1006,934],{"class":916},[116,1008,1009],{"class":916}," SYN-ACK",[116,1011,1012],{"class":916}," response\n",[116,1014,1015,1017,1019,1022,1024,1027,1030],{"class":118,"line":139},[116,1016,954],{"class":122},[116,1018,989],{"class":916},[116,1020,1021],{"class":916}," ACK",[116,1023,960],{"class":916},[116,1025,1026],{"class":916}," complete",[116,1028,1029],{"class":916}," three-way",[116,1031,1032],{"class":916}," handshake\n",[116,1034,1035,1038,1041,1044],{"class":118,"line":378},[116,1036,1037],{"class":122},"4.",[116,1039,1040],{"class":916}," TCP",[116,1042,1043],{"class":916}," connection",[116,1045,1046],{"class":916}," established\n",[39,1048,1050],{"id":1049},"step-3-tls-handshake-optional","Step 3: TLS Handshake (Optional)",[22,1052,1053],{},"If TLS is configured (recommended for security):",[107,1055,1057],{"className":898,"code":1056,"language":900,"meta":112,"style":112},"1. Client sends ClientHello (supported cipher suites, TLS versions)\n2. Server sends ServerHello (chosen cipher suite)\n3. Server sends certificate\n4. Key exchange and authentication\n5. Both sides send Finished messages\n6. Encrypted channel established\n",[102,1058,1059,1089,1111,1122,1138,1158],{"__ignoreMap":112},[116,1060,1061,1063,1066,1069,1072,1075,1078,1081,1084,1087],{"class":118,"line":119},[116,1062,913],{"class":122},[116,1064,1065],{"class":916}," Client",[116,1067,1068],{"class":916}," sends",[116,1070,1071],{"class":916}," ClientHello",[116,1073,1074],{"class":129}," (supported ",[116,1076,1077],{"class":916},"cipher",[116,1079,1080],{"class":916}," suites,",[116,1082,1083],{"class":916}," TLS",[116,1085,1086],{"class":916}," versions",[116,1088,949],{"class":129},[116,1090,1091,1093,1096,1098,1101,1104,1106,1109],{"class":118,"line":126},[116,1092,931],{"class":122},[116,1094,1095],{"class":916}," Server",[116,1097,1068],{"class":916},[116,1099,1100],{"class":916}," ServerHello",[116,1102,1103],{"class":129}," (chosen ",[116,1105,1077],{"class":916},[116,1107,1108],{"class":916}," suite",[116,1110,949],{"class":129},[116,1112,1113,1115,1117,1119],{"class":118,"line":133},[116,1114,954],{"class":122},[116,1116,1095],{"class":916},[116,1118,1068],{"class":916},[116,1120,1121],{"class":916}," certificate\n",[116,1123,1124,1126,1129,1132,1135],{"class":118,"line":139},[116,1125,1037],{"class":122},[116,1127,1128],{"class":916}," Key",[116,1130,1131],{"class":916}," exchange",[116,1133,1134],{"class":916}," and",[116,1136,1137],{"class":916}," authentication\n",[116,1139,1140,1143,1146,1149,1152,1155],{"class":118,"line":378},[116,1141,1142],{"class":122},"5.",[116,1144,1145],{"class":916}," Both",[116,1147,1148],{"class":916}," sides",[116,1150,1151],{"class":916}," send",[116,1153,1154],{"class":916}," Finished",[116,1156,1157],{"class":916}," messages\n",[116,1159,1161,1164,1167,1170],{"class":118,"line":1160},6,[116,1162,1163],{"class":122},"6.",[116,1165,1166],{"class":916}," Encrypted",[116,1168,1169],{"class":916}," channel",[116,1171,1046],{"class":916},[39,1173,1175],{"id":1174},"step-4-protocol-handshake","Step 4: Protocol Handshake",[22,1177,1178],{},"Rippled-specific handshake to exchange capabilities:",[107,1180,1183],{"className":1181,"code":1182,"language":873},[871],"Node A → Node B: Hello Message\n{\n    \"protocolVersion\": 2,\n    \"publicKey\": \"n9KorY8...\",\n    \"ledgerIndex\": 75623421,\n    \"ledgerHash\": \"8B3F...\",\n    \"features\": [\"MultiSign\", \"FlowCross\"]\n}\n\nNode B → Node A: Hello Response\n{\n    \"protocolVersion\": 2,\n    \"publicKey\": \"n9LkzF...\",\n    \"ledgerIndex\": 75623421,\n    \"ledgerHash\": \"8B3F...\",\n    \"features\": [\"MultiSign\", \"FlowCross\", \"DepositAuth\"]\n}\n",[102,1184,1182],{"__ignoreMap":112},[39,1186,1188],{"id":1187},"step-5-peer-verification","Step 5: Peer Verification",[22,1190,1191],{},"Both nodes verify compatibility:",[22,1193,1194,301],{},[47,1195,1196],{},"Protocol Version Check",[59,1198,1199,1202],{},[62,1200,1201],{},"Ensure both nodes speak compatible protocol versions",[62,1203,1204],{},"Reject if versions are too far apart",[22,1206,1207,301],{},[47,1208,1209],{},"Public Key Validation",[59,1211,1212,1215,1218],{},[62,1213,1214],{},"Verify cryptographic signatures",[62,1216,1217],{},"Check against any configured trust lists",[62,1219,1220],{},"Ensure key is properly formatted",[22,1222,1223,301],{},[47,1224,1225],{},"Network Compatibility",[59,1227,1228,1231],{},[62,1229,1230],{},"Verify both nodes are on the same network (mainnet, testnet, devnet)",[62,1232,1233],{},"Check ledger hashes to confirm network agreement",[22,1235,1236,301],{},[47,1237,1238],{},"Feature Negotiation",[59,1240,1241,1244],{},[62,1242,1243],{},"Identify common supported features",[62,1245,1246],{},"Use lowest common denominator for communication",[39,1248,1250],{"id":1249},"step-6-connection-establishment-or-rejection","Step 6: Connection Establishment or Rejection",[22,1252,1253,1256],{},[47,1254,1255],{},"If Compatible",": Connection is accepted and added to peer list",[59,1258,1259,1262,1265],{},[62,1260,1261],{},"Begin exchanging regular protocol messages",[62,1263,1264],{},"Start participating in consensus (if validator)",[62,1266,1267],{},"Share transactions and ledger data",[22,1269,1270,1273],{},[47,1271,1272],{},"If Incompatible",": Connection is rejected",[59,1275,1276,1279,1282],{},[62,1277,1278],{},"Send rejection message with reason",[62,1280,1281],{},"Close TCP connection",[62,1283,1284],{},"Optionally log rejection reason for diagnostics",[39,1286,1288],{"id":1287},"simplified-connection-flow","Simplified Connection Flow",[107,1290,1293],{"className":1291,"code":1292,"language":873},[871],"DNS Resolution → TCP Connect → TLS Handshake → Protocol Handshake\n       ↓              ↓              ↓                  ↓\n   IP Address    Socket Open    Encrypted      Version Exchange\n                                              ↓\n                                    Verification\n                                    ↙        ↘\n                              Accept      Reject\n                                ↓            ↓\n                         Active Peer   Close Connection\n",[102,1294,1292],{"__ignoreMap":112},[14,1296],{},[17,1298,1300],{"id":1299},"codebase-deep-dive","Codebase Deep Dive",[39,1302,1304],{"id":1303},"key-files-and-directories","Key Files and Directories",[22,1306,1307,1308,1311],{},"The protocol implementation is primarily located in ",[102,1309,1310],{},"src\u002Fripple\u002Foverlay\u002F",". Understanding this directory structure is essential for working with networking code.",[22,1313,1314],{},[47,1315,1316],{},"Primary Files",[22,1318,1319],{},[47,1320,1321],{},[102,1322,1323],{},"src\u002Fripple\u002Foverlay\u002FOverlay.h",[59,1325,1326,1329,1332],{},[62,1327,1328],{},"Main interface for the overlay network",[62,1330,1331],{},"Defines public API for network operations",[62,1333,1334],{},"Used by other subsystems to access network functionality",[22,1336,1337],{},[47,1338,1339,1342,1343],{},[102,1340,1341],{},"src\u002Fripple\u002Foverlay\u002Fimpl\u002FOverlayImpl.h"," and ",[102,1344,1345],{},".cpp",[59,1347,1348,1351,1354,1357],{},[62,1349,1350],{},"Core implementation of overlay network",[62,1352,1353],{},"Manages peer connections",[62,1355,1356],{},"Handles message routing",[62,1358,1359],{},"Implements connection lifecycle",[22,1361,1362],{},[47,1363,1364],{},[102,1365,1366],{},"src\u002Fripple\u002Foverlay\u002FPeer.h",[59,1368,1369,1372,1375],{},[62,1370,1371],{},"Interface for individual peer connections",[62,1373,1374],{},"Defines peer state and capabilities",[62,1376,1377],{},"Methods for sending messages to specific peers",[22,1379,1380],{},[47,1381,1382,1342,1385],{},[102,1383,1384],{},"src\u002Fripple\u002Foverlay\u002Fimpl\u002FPeerImp.h",[102,1386,1345],{},[59,1388,1389,1392,1395],{},[62,1390,1391],{},"Implementation of peer connections",[62,1393,1394],{},"State machine for connection lifecycle",[62,1396,1397],{},"Message parsing and serialization",[22,1399,1400],{},[47,1401,1402],{},[102,1403,1404],{},"src\u002Fripple\u002Foverlay\u002FMessage.h",[59,1406,1407,1410,1413],{},[62,1408,1409],{},"Protocol message definitions",[62,1411,1412],{},"Message type enumeration",[62,1414,1415],{},"Message handling interfaces",[22,1417,1418],{},[47,1419,1420],{},[102,1421,1422],{},"src\u002Fripple\u002Fprotocol\u002Fmessages.proto",[59,1424,1425,1428,1431],{},[62,1426,1427],{},"Protocol Buffer definitions",[62,1429,1430],{},"Defines structure of all network messages",[62,1432,1433],{},"Compiled into C++ classes",[39,1435,1437],{"id":1436},"code-navigation-tips","Code Navigation Tips",[22,1439,1440,301],{},[47,1441,1442],{},"Finding Message Handlers",[107,1444,1448],{"className":1445,"code":1446,"language":1447,"meta":112,"style":112},"language-cpp shiki shiki-themes github-dark-high-contrast","\u002F\u002F Look in PeerImp.cpp for message processing\nvoid PeerImp::onMessage(std::shared_ptr\u003CMessage> const& m)\n{\n    switch(m->getType())\n    {\n        case protocol::mtTRANSACTION:\n            onTransaction(m);\n            break;\n        case protocol::mtVALIDATION:\n            onValidation(m);\n            break;\n        \u002F\u002F ... other message types\n    }\n}\n","cpp",[102,1449,1450,1455,1498,1503,1517,1522,1533,1542,1550,1560,1568,1575,1581,1587],{"__ignoreMap":112},[116,1451,1452],{"class":118,"line":119},[116,1453,1454],{"class":907},"\u002F\u002F Look in PeerImp.cpp for message processing\n",[116,1456,1457,1460,1463,1466,1470,1473,1476,1478,1481,1484,1487,1490,1493,1496],{"class":118,"line":126},[116,1458,1459],{"class":313},"void",[116,1461,1462],{"class":122}," PeerImp",[116,1464,1465],{"class":129},"::",[116,1467,1469],{"class":1468},"sj_SG","onMessage",[116,1471,1472],{"class":129},"(",[116,1474,1475],{"class":122},"std",[116,1477,1465],{"class":129},[116,1479,1480],{"class":122},"shared_ptr",[116,1482,1483],{"class":129},"\u003C",[116,1485,1486],{"class":122},"Message",[116,1488,1489],{"class":129},"> ",[116,1491,1492],{"class":313},"const&",[116,1494,1495],{"class":122}," m",[116,1497,949],{"class":129},[116,1499,1500],{"class":118,"line":133},[116,1501,1502],{"class":129},"{\n",[116,1504,1505,1508,1511,1514],{"class":118,"line":139},[116,1506,1507],{"class":313},"    switch",[116,1509,1510],{"class":129},"(m->",[116,1512,1513],{"class":1468},"getType",[116,1515,1516],{"class":129},"())\n",[116,1518,1519],{"class":118,"line":378},[116,1520,1521],{"class":129},"    {\n",[116,1523,1524,1527,1530],{"class":118,"line":1160},[116,1525,1526],{"class":313},"        case",[116,1528,1529],{"class":122}," protocol",[116,1531,1532],{"class":129},"::mtTRANSACTION:\n",[116,1534,1536,1539],{"class":118,"line":1535},7,[116,1537,1538],{"class":1468},"            onTransaction",[116,1540,1541],{"class":129},"(m);\n",[116,1543,1545,1548],{"class":118,"line":1544},8,[116,1546,1547],{"class":313},"            break",[116,1549,341],{"class":129},[116,1551,1553,1555,1557],{"class":118,"line":1552},9,[116,1554,1526],{"class":313},[116,1556,1529],{"class":122},[116,1558,1559],{"class":129},"::mtVALIDATION:\n",[116,1561,1563,1566],{"class":118,"line":1562},10,[116,1564,1565],{"class":1468},"            onValidation",[116,1567,1541],{"class":129},[116,1569,1571,1573],{"class":118,"line":1570},11,[116,1572,1547],{"class":313},[116,1574,341],{"class":129},[116,1576,1578],{"class":118,"line":1577},12,[116,1579,1580],{"class":907},"        \u002F\u002F ... other message types\n",[116,1582,1584],{"class":118,"line":1583},13,[116,1585,1586],{"class":129},"    }\n",[116,1588,1590],{"class":118,"line":1589},14,[116,1591,381],{"class":129},[22,1593,1594,301],{},[47,1595,1596],{},"Understanding Peer Connection State",[107,1598,1600],{"className":1445,"code":1599,"language":1447,"meta":112,"style":112},"\u002F\u002F Peer states (simplified)\nenum class State\n{\n    connecting,  \u002F\u002F TCP connection in progress\n    connected,   \u002F\u002F TCP connected, handshake in progress\n    active,      \u002F\u002F Fully connected and operational\n    closing,     \u002F\u002F Graceful shutdown in progress\n    closed       \u002F\u002F Connection terminated\n};\n",[102,1601,1602,1607,1618,1622,1633,1643,1653,1663,1671],{"__ignoreMap":112},[116,1603,1604],{"class":118,"line":119},[116,1605,1606],{"class":907},"\u002F\u002F Peer states (simplified)\n",[116,1608,1609,1612,1615],{"class":118,"line":126},[116,1610,1611],{"class":313},"enum",[116,1613,1614],{"class":313}," class",[116,1616,1617],{"class":122}," State\n",[116,1619,1620],{"class":118,"line":133},[116,1621,1502],{"class":129},[116,1623,1624,1627,1630],{"class":118,"line":139},[116,1625,1626],{"class":337},"    connecting",[116,1628,1629],{"class":129},",",[116,1631,1632],{"class":907},"  \u002F\u002F TCP connection in progress\n",[116,1634,1635,1638,1640],{"class":118,"line":378},[116,1636,1637],{"class":337},"    connected",[116,1639,1629],{"class":129},[116,1641,1642],{"class":907},"   \u002F\u002F TCP connected, handshake in progress\n",[116,1644,1645,1648,1650],{"class":118,"line":1160},[116,1646,1647],{"class":337},"    active",[116,1649,1629],{"class":129},[116,1651,1652],{"class":907},"      \u002F\u002F Fully connected and operational\n",[116,1654,1655,1658,1660],{"class":118,"line":1535},[116,1656,1657],{"class":337},"    closing",[116,1659,1629],{"class":129},[116,1661,1662],{"class":907},"     \u002F\u002F Graceful shutdown in progress\n",[116,1664,1665,1668],{"class":118,"line":1544},[116,1666,1667],{"class":337},"    closed",[116,1669,1670],{"class":907},"       \u002F\u002F Connection terminated\n",[116,1672,1673],{"class":118,"line":1552},[116,1674,1675],{"class":129},"};\n",[22,1677,1678,301],{},[47,1679,1680],{},"Message Creation Example",[107,1682,1684],{"className":1445,"code":1683,"language":1447,"meta":112,"style":112},"\u002F\u002F Creating and sending a transaction message\nprotocol::TMTransaction tx;\ntx.set_rawtransaction(serializedTx);\ntx.set_status(protocol::tsCURRENT);\nsend(std::make_shared\u003CMessage>(tx, protocol::mtTRANSACTION));\n",[102,1685,1686,1691,1699,1710,1724],{"__ignoreMap":112},[116,1687,1688],{"class":118,"line":119},[116,1689,1690],{"class":907},"\u002F\u002F Creating and sending a transaction message\n",[116,1692,1693,1696],{"class":118,"line":126},[116,1694,1695],{"class":122},"protocol",[116,1697,1698],{"class":129},"::TMTransaction tx;\n",[116,1700,1701,1704,1707],{"class":118,"line":133},[116,1702,1703],{"class":129},"tx.",[116,1705,1706],{"class":1468},"set_rawtransaction",[116,1708,1709],{"class":129},"(serializedTx);\n",[116,1711,1712,1714,1717,1719,1721],{"class":118,"line":139},[116,1713,1703],{"class":129},[116,1715,1716],{"class":1468},"set_status",[116,1718,1472],{"class":129},[116,1720,1695],{"class":122},[116,1722,1723],{"class":129},"::tsCURRENT);\n",[116,1725,1726,1729,1731,1733,1735,1738,1740,1742,1745,1747],{"class":118,"line":378},[116,1727,1728],{"class":1468},"send",[116,1730,1472],{"class":129},[116,1732,1475],{"class":122},[116,1734,1465],{"class":129},[116,1736,1737],{"class":1468},"make_shared",[116,1739,1483],{"class":129},[116,1741,1486],{"class":122},[116,1743,1744],{"class":129},">(tx, ",[116,1746,1695],{"class":122},[116,1748,1749],{"class":129},"::mtTRANSACTION));\n",[14,1751],{},[17,1753,1755],{"id":1754},"hands-on-exercise","Hands-On Exercise",[39,1757,1759],{"id":1758},"exercise-observe-protocol-messages","Exercise: Observe Protocol Messages",[22,1761,1762,1765],{},[47,1763,1764],{},"Objective",": Monitor and analyze protocol messages exchanged between Rippled nodes.",[22,1767,1768],{},[47,1769,1770],{},"Setup",[22,1772,1773,1776],{},[47,1774,1775],{},"Step 1",": Enable detailed overlay logging",[107,1778,1780],{"className":898,"code":1779,"language":900,"meta":112,"style":112},"# In rippled.cfg or via RPC\nrippled log_level Overlay trace\n",[102,1781,1782,1787],{"__ignoreMap":112},[116,1783,1784],{"class":118,"line":119},[116,1785,1786],{"class":907},"# In rippled.cfg or via RPC\n",[116,1788,1789,1792,1795,1798],{"class":118,"line":126},[116,1790,1791],{"class":122},"rippled",[116,1793,1794],{"class":916}," log_level",[116,1796,1797],{"class":916}," Overlay",[116,1799,1800],{"class":916}," trace\n",[22,1802,1803],{},"This will produce very detailed logs showing every message sent and received.",[22,1805,1806,1809],{},[47,1807,1808],{},"Step 2",": Set up two Rippled instances in standalone mode",[107,1811,1813],{"className":898,"code":1812,"language":900,"meta":112,"style":112},"# Terminal 1 - Node A\nrippled --conf=\u002Fpath\u002Fto\u002Frippled-node1.cfg --standalone\n\n# Terminal 2 - Node B  \nrippled --conf=\u002Fpath\u002Fto\u002Frippled-node2.cfg --standalone\n",[102,1814,1815,1820,1830,1836,1841],{"__ignoreMap":112},[116,1816,1817],{"class":118,"line":119},[116,1818,1819],{"class":907},"# Terminal 1 - Node A\n",[116,1821,1822,1824,1827],{"class":118,"line":126},[116,1823,1791],{"class":122},[116,1825,1826],{"class":337}," --conf=\u002Fpath\u002Fto\u002Frippled-node1.cfg",[116,1828,1829],{"class":337}," --standalone\n",[116,1831,1832],{"class":118,"line":133},[116,1833,1835],{"emptyLinePlaceholder":1834},true,"\n",[116,1837,1838],{"class":118,"line":139},[116,1839,1840],{"class":907},"# Terminal 2 - Node B  \n",[116,1842,1843,1845,1848],{"class":118,"line":378},[116,1844,1791],{"class":122},[116,1846,1847],{"class":337}," --conf=\u002Fpath\u002Fto\u002Frippled-node2.cfg",[116,1849,1829],{"class":337},[22,1851,1852,1855],{},[47,1853,1854],{},"Step 3",": Configure nodes to peer with each other",[22,1857,1858,1859,301],{},"In ",[102,1860,1861],{},"rippled-node1.cfg",[107,1863,1865],{"className":109,"code":1864,"language":111,"meta":112,"style":112},"[ips_fixed]\n127.0.0.1 51236\n",[102,1866,1867,1871],{"__ignoreMap":112},[116,1868,1869],{"class":118,"line":119},[116,1870,123],{"class":122},[116,1872,1873],{"class":118,"line":126},[116,1874,1875],{"class":129},"127.0.0.1 51236\n",[22,1877,1858,1878,301],{},[102,1879,1880],{},"rippled-node2.cfg",[107,1882,1884],{"className":109,"code":1883,"language":111,"meta":112,"style":112},"[port_peer]\nport = 51236\nip = 127.0.0.1\n\n[ips_fixed]\n127.0.0.1 51235\n",[102,1885,1886,1891,1899,1907,1911,1915],{"__ignoreMap":112},[116,1887,1888],{"class":118,"line":119},[116,1889,1890],{"class":122},"[port_peer]\n",[116,1892,1893,1896],{"class":118,"line":126},[116,1894,1895],{"class":313},"port",[116,1897,1898],{"class":129}," = 51236\n",[116,1900,1901,1904],{"class":118,"line":133},[116,1902,1903],{"class":313},"ip",[116,1905,1906],{"class":129}," = 127.0.0.1\n",[116,1908,1909],{"class":118,"line":139},[116,1910,1835],{"emptyLinePlaceholder":1834},[116,1912,1913],{"class":118,"line":378},[116,1914,123],{"class":122},[116,1916,1917],{"class":118,"line":1160},[116,1918,1919],{"class":129},"127.0.0.1 51235\n",[22,1921,1922],{},[47,1923,1924],{},"Observation Tasks",[22,1926,1927,1930],{},[47,1928,1929],{},"Task 1",": Observe connection establishment",[22,1932,1933],{},"Watch the logs as the nodes connect. You should see:",[59,1935,1936,1939,1942,1945],{},[62,1937,1938],{},"TCP connection establishment",[62,1940,1941],{},"Hello message exchange",[62,1943,1944],{},"Peer verification",[62,1946,1947],{},"Connection acceptance",[22,1949,1950,1953],{},[47,1951,1952],{},"Task 2",": Submit a transaction",[107,1955,1957],{"className":898,"code":1956,"language":900,"meta":112,"style":112},"# Submit to Node A\nrippled submit \u003Csigned_transaction>\n",[102,1958,1959,1964],{"__ignoreMap":112},[116,1960,1961],{"class":118,"line":119},[116,1962,1963],{"class":907},"# Submit to Node A\n",[116,1965,1966,1968,1971,1974,1977,1980],{"class":118,"line":126},[116,1967,1791],{"class":122},[116,1969,1970],{"class":916}," submit",[116,1972,1973],{"class":313}," \u003C",[116,1975,1976],{"class":916},"signed_transactio",[116,1978,1979],{"class":129},"n",[116,1981,1982],{"class":313},">\n",[22,1984,1985],{},"Watch the logs to see:",[59,1987,1988,1993,1996,1999],{},[62,1989,1990,1992],{},[102,1991,459],{}," message created on Node A",[62,1994,1995],{},"Message sent to Node B",[62,1997,1998],{},"Node B receives and processes transaction",[62,2000,2001],{},"Node B adds to its open ledger",[22,2003,2004,2007],{},[47,2005,2006],{},"Task 3",": Trigger a ledger close",[107,2009,2011],{"className":898,"code":2010,"language":900,"meta":112,"style":112},"# In standalone mode\nrippled ledger_accept\n",[102,2012,2013,2018],{"__ignoreMap":112},[116,2014,2015],{"class":118,"line":119},[116,2016,2017],{"class":907},"# In standalone mode\n",[116,2019,2020,2022],{"class":118,"line":126},[116,2021,1791],{"class":122},[116,2023,2024],{"class":916}," ledger_accept\n",[22,2026,2027],{},"Observe:",[59,2029,2030,2033,2036],{},[62,2031,2032],{},"Status change messages",[62,2034,2035],{},"Ledger close coordination",[62,2037,2038],{},"State synchronization",[22,2040,2041],{},[47,2042,2043],{},"Analysis Questions",[22,2045,2046],{},"Answer these questions based on your observations:",[544,2048,2049,2062,2075,2088,2101],{},[62,2050,2051,2054],{},[47,2052,2053],{},"What messages are exchanged during peer connection establishment?",[59,2055,2056,2059],{},[62,2057,2058],{},"List the message types in order",[62,2060,2061],{},"Note any authentication or verification steps",[62,2063,2064,2067],{},[47,2065,2066],{},"How is a transaction propagated from one node to another?",[59,2068,2069,2072],{},[62,2070,2071],{},"Trace the message flow",[62,2073,2074],{},"Identify any validation or filtering",[62,2076,2077,2080],{},[47,2078,2079],{},"What happens when a ledger closes?",[59,2081,2082,2085],{},[62,2083,2084],{},"What messages are exchanged?",[62,2086,2087],{},"How do nodes coordinate?",[62,2089,2090,2093],{},[47,2091,2092],{},"How does deduplication work?",[59,2094,2095,2098],{},[62,2096,2097],{},"Try submitting the same transaction twice",[62,2099,2100],{},"Observe how the second submission is handled",[62,2102,2103,2106],{},[47,2104,2105],{},"What is the average message propagation time?",[59,2107,2108,2111,2114],{},[62,2109,2110],{},"Timestamp when transaction is submitted to Node A",[62,2112,2113],{},"Timestamp when Node B logs receiving it",[62,2115,2116],{},"Calculate the latency",[39,2118,2120],{"id":2119},"expected-outcomes","Expected Outcomes",[22,2122,2123],{},"You should gain practical understanding of:",[59,2125,2126,2129,2132,2135],{},[62,2127,2128],{},"How protocol messages flow through the network",[62,2130,2131],{},"The purpose of different message types",[62,2133,2134],{},"Network latency and performance characteristics",[62,2136,2137],{},"How nodes maintain synchronized state",[14,2139],{},[17,2141,2143],{"id":2142},"key-takeaways","Key Takeaways",[39,2145,2147],{"id":2146},"core-concepts","Core Concepts",[22,2149,2150,2151,2154],{},"✅ ",[47,2152,2153],{},"Decentralized Architecture",": The XRP Ledger uses peer-to-peer networking to eliminate single points of failure and enable censorship resistance.",[22,2156,2150,2157,2160],{},[47,2158,2159],{},"Multiple Discovery Mechanisms",": Peers are discovered through configured lists, DNS seeds, and gossip protocols, ensuring robust connectivity.",[22,2162,2150,2163,2166],{},[47,2164,2165],{},"Efficient Serialization",": Protocol Buffers provide compact, fast, and version-compatible message encoding.",[22,2168,2150,2169,2172],{},[47,2170,2171],{},"Intelligent Routing",": Message propagation uses squelch, deduplication, selective relay, and priority queuing to optimize network performance.",[22,2174,2150,2175,2178],{},[47,2176,2177],{},"Secure Connections",": Multi-step handshake process ensures only compatible, authenticated peers connect.",[22,2180,2150,2181,2184],{},[47,2182,2183],{},"Message Types Matter",": Each message type (tmTRANSACTION, tmVALIDATION, tmPROPOSE_LEDGER, etc.) serves a specific purpose in network coordination.",[39,2186,2188],{"id":2187},"development-skills","Development Skills",[22,2190,2150,2191,2194,2195],{},[47,2192,2193],{},"Codebase Location",": Protocol implementation is in ",[102,2196,1310],{},[22,2198,2150,2199,2202],{},[47,2200,2201],{},"Debugging",": Use log levels and standalone mode to observe network behavior",[22,2204,2150,2205,2208],{},[47,2206,2207],{},"Protocol Evolution",": Understanding message formats is essential for implementing protocol improvements",[22,2210,2150,2211,2214],{},[47,2212,2213],{},"Network Analysis",": Monitoring protocol messages helps diagnose network issues and optimize performance",[14,2216],{},[17,2218,2220],{"id":2219},"additional-resources","Additional Resources",[39,2222,2224],{"id":2223},"official-documentation","Official Documentation",[59,2226,2227,2240,2250],{},[62,2228,2229,2232,2233],{},[47,2230,2231],{},"XRP Ledger Dev Portal",": ",[2234,2235,2239],"a",{"href":2236,"rel":2237},"https:\u002F\u002Fxrpl.org\u002Fdocs",[2238],"nofollow","xrpl.org\u002Fdocs",[62,2241,2242,2232,2245],{},[47,2243,2244],{},"Rippled Overlay Network",[2234,2246,2249],{"href":2247,"rel":2248},"https:\u002F\u002Fxrpl.org\u002Fdocs\u002Fconcepts\u002Fnetworks-and-servers\u002Fpeer-protocol",[2238],"xrpl.org\u002Fpeer-protocol",[62,2251,2252,2232,2255],{},[47,2253,2254],{},"Rippled Repository",[2234,2256,2259],{"href":2257,"rel":2258},"https:\u002F\u002Fgithub.com\u002FXRPLF\u002Frippled",[2238],"github.com\u002FXRPLF\u002Frippled",[39,2261,2263],{"id":2262},"codebase-references","Codebase References",[59,2265,2266,2271,2276,2282],{},[62,2267,2268,2270],{},[102,2269,1310],{}," - Overlay network implementation",[62,2272,2273,2275],{},[102,2274,1422],{}," - Protocol Buffer message definitions",[62,2277,2278,2281],{},[102,2279,2280],{},"src\u002Fripple\u002Foverlay\u002Fimpl\u002FOverlayImpl.cpp"," - Core networking logic",[62,2283,2284,2287],{},[102,2285,2286],{},"src\u002Fripple\u002Foverlay\u002Fimpl\u002FPeerImp.cpp"," - Peer connection handling",[39,2289,2291],{"id":2290},"related-topics","Related Topics",[59,2293,2294,2301,2308],{},[62,2295,2296,2300],{},[2234,2297,2299],{"href":2298},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransactors-transaction-processing-framework","Transactors"," - How transactions are processed after propagation",[62,2302,2303,2307],{},[2234,2304,2306],{"href":2305},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fconsensus-engine-xrp-ledger-consensus-protocol","Consensus Engine"," - How validators use protocol messages to reach consensus",[62,2309,2310,2314],{},[2234,2311,2313],{"href":2312},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Foverlay-network-peer-to-peer-networking-layer","Overlay Network"," - Deeper dive into P2P networking architecture",[14,2316],{},[2318,2319,2320],"style",{},"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 .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 .sWyjQ, html code.shiki .sWyjQ{--shiki-default:#FF9492}html pre.shiki code .sCcAr, html code.shiki .sCcAr{--shiki-default:#91CBFF}html pre.shiki code .sQrFR, html code.shiki .sQrFR{--shiki-default:#BDC4CC}html pre.shiki code .sTRMh, html code.shiki .sTRMh{--shiki-default:#ADDCFF}html pre.shiki code .sj_SG, html code.shiki .sj_SG{--shiki-default:#DBB7FF}",{"title":112,"searchDepth":126,"depth":126,"links":2322},[2323,2324,2329,2333,2341,2346,2356,2360,2364,2368],{"id":19,"depth":126,"text":20},{"id":36,"depth":126,"text":37,"children":2325},[2326,2327,2328],{"id":41,"depth":133,"text":42},{"id":88,"depth":133,"text":89},{"id":195,"depth":133,"text":196},{"id":242,"depth":126,"text":243,"children":2330},[2331,2332],{"id":246,"depth":133,"text":247},{"id":287,"depth":133,"text":288},{"id":403,"depth":126,"text":404,"children":2334},[2335,2336,2337,2338,2339,2340],{"id":410,"depth":133,"text":411},{"id":458,"depth":133,"text":459},{"id":507,"depth":133,"text":508},{"id":563,"depth":133,"text":564},{"id":618,"depth":133,"text":619},{"id":681,"depth":133,"text":682},{"id":711,"depth":126,"text":712,"children":2342},[2343,2344,2345],{"id":715,"depth":133,"text":716},{"id":722,"depth":133,"text":723},{"id":863,"depth":133,"text":864},{"id":883,"depth":126,"text":884,"children":2347},[2348,2349,2350,2351,2352,2353,2354,2355],{"id":887,"depth":133,"text":888},{"id":894,"depth":133,"text":895},{"id":971,"depth":133,"text":972},{"id":1049,"depth":133,"text":1050},{"id":1174,"depth":133,"text":1175},{"id":1187,"depth":133,"text":1188},{"id":1249,"depth":133,"text":1250},{"id":1287,"depth":133,"text":1288},{"id":1299,"depth":126,"text":1300,"children":2357},[2358,2359],{"id":1303,"depth":133,"text":1304},{"id":1436,"depth":133,"text":1437},{"id":1754,"depth":126,"text":1755,"children":2361},[2362,2363],{"id":1758,"depth":133,"text":1759},{"id":2119,"depth":133,"text":2120},{"id":2142,"depth":126,"text":2143,"children":2365},[2366,2367],{"id":2146,"depth":133,"text":2147},{"id":2187,"depth":133,"text":2188},{"id":2219,"depth":126,"text":2220,"children":2369},[2370,2371,2372],{"id":2223,"depth":133,"text":2224},{"id":2262,"depth":133,"text":2263},{"id":2290,"depth":133,"text":2291},"Protocols: Communication and Interoperability for Rippled II: Deep Dive into the Protocol and Codebase, in the Core Dev Bootcamp: XRPL Commons docs.","md",{},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fprotocols-communication-and-interoperability",{"title":5,"description":2373},"xrpl-trainings\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fprotocols-communication-and-interoperability.md","docs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fprotocols-communication-and-interoperability","w2YKQgkkGYgKU0JvpUfTdawl4DpRo44BA-Nh_kPePU8",[],[2383,2424,2438,2458,2481,2869],{"title":2384,"path":2385,"children":2386,"description":2423,"pages":1583},"XRPL Basics","\u002Fdocs\u002Fxrpl-basics",[2387,2390,2393,2396,2399,2402,2405,2408,2411,2414,2417,2420],{"title":2388,"path":2389},"Getting Started","\u002Fdocs\u002Fxrpl-basics\u002Fgetting-started",{"title":2391,"path":2392},"Trustline","\u002Fdocs\u002Fxrpl-basics\u002Ftrustline",{"title":2394,"path":2395},"Payments","\u002Fdocs\u002Fxrpl-basics\u002Fpayments",{"title":2397,"path":2398},"Reading and subscribing to Transactions","\u002Fdocs\u002Fxrpl-basics\u002Freading-and-writing-memos",{"title":2400,"path":2401},"Writing and reading memos","\u002Fdocs\u002Fxrpl-basics\u002Fwriting-and-reading-memos",{"title":2403,"path":2404},"Non Fungible Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fnon-fungible-tokens",{"title":2406,"path":2407},"Multi-Purpose Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fmptoken",{"title":2409,"path":2410},"PathFinding","\u002Fdocs\u002Fxrpl-basics\u002Fpath-finding",{"title":2412,"path":2413},"Escrow","\u002Fdocs\u002Fxrpl-basics\u002Fescrow",{"title":2415,"path":2416},"Price Oracles","\u002Fdocs\u002Fxrpl-basics\u002Fprice-oracles",{"title":2418,"path":2419},"Tickets","\u002Fdocs\u002Fxrpl-basics\u002Ftickets",{"title":2421,"path":2422},"Multi-Signature","\u002Fdocs\u002Fxrpl-basics\u002Fmulti-signature","In this section we will cover some of the primary functionality of the XRPL ledger.",{"title":2425,"path":2426,"children":2427,"description":2437,"pages":139},"Token Issuance and Liquidity","\u002Fdocs\u002Ftoken-issuance-and-liquidity",[2428,2431,2434],{"title":2429,"path":2430},"Creating Accounts and Setup","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fcreating-accounts",{"title":2432,"path":2433},"Issuing Tokens","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fissuing-tokens",{"title":2435,"path":2436},"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":2439,"path":2440,"children":2441,"description":2457,"pages":1160},"Cyphered Chat on XRPL","\u002Fdocs\u002Fcyphered-chat-on-xrpl",[2442,2445,2448,2451,2454],{"title":2443,"path":2444},"Set up","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up",{"title":2446,"path":2447},"Set up Keys","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-keys",{"title":2449,"path":2450},"Cypher the message","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fcypher-the-message",{"title":2452,"path":2453},"Set up the memo & send the tx","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-the-memo-and-send-the-tx",{"title":2455,"path":2456},"Get the message and decypher it","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fget-the-message-and-decypher-it","Send encrypted messages over XRPL",{"title":2459,"path":2460,"children":2461,"description":2480,"pages":1535},"EVM Sidechain","\u002Fdocs\u002Fevm-sidechain",[2462,2465,2468,2471,2474,2477],{"title":2463,"path":2464},"Connecting Metamask","\u002Fdocs\u002Fevm-sidechain\u002Fconnecting-metamask",{"title":2466,"path":2467},"Set up a Foundry project","\u002Fdocs\u002Fevm-sidechain\u002Fset-up-an-evm-project",{"title":2469,"path":2470},"Bridging Assets","\u002Fdocs\u002Fevm-sidechain\u002Fbridging-assets",{"title":2472,"path":2473},"Remix","\u002Fdocs\u002Fevm-sidechain\u002Fremix",{"title":2475,"path":2476},"Banking App","\u002Fdocs\u002Fevm-sidechain\u002Fbanking-app",{"title":2478,"path":2479},"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":2482,"path":2483,"children":2484,"description":2867,"pages":2868},"Core Dev Bootcamp","\u002Fdocs\u002Fcore-dev-bootcamp",[2485,2505,2543,2593,2624,2681,2711,2727,2767,2801,2826,2842],{"title":2486,"path":2487,"children":2488},"Rippled I – Compilation, Configuration, and Launch","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01",[2489,2492,2495,2498],{"title":2490,"path":2491},"Environment & Build Toolchain","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fenvironment-build-toolchain",{"title":2493,"path":2494},"Compilation Process & Generating Binary","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fcompilation-process-generating-binary",{"title":2496,"path":2497},"Local Development & Testing","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Flocal-development-testing",{"title":2499,"path":2500,"children":2501},"Homeworks","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks",[2502],{"title":2503,"path":2504},"Homework 1: Rippled Node Setup and Mainnet Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks\u002Fhomework1",{"title":2506,"path":2507,"children":2508},"Rippled II: Deep Dive into the Protocol and Codebase","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02",[2509,2510,2512,2515,2517,2519,2522,2525,2528],{"title":5,"path":2376},{"title":2511,"path":2298},"Transactors: Transaction Processing Framework",{"title":2513,"path":2514},"Application Layer: Central Orchestration and Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fapplication-layer-central-orchestration-and-coordination",{"title":2516,"path":2305},"Consensus Engine: XRP Ledger Consensus Protocol",{"title":2518,"path":2312},"Overlay Network: Peer-to-Peer Networking Layer",{"title":2520,"path":2521},"Transaction Lifecycle: Complete Transaction Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransaction-lifecycle-complete-transaction-journey",{"title":2523,"path":2524},"Codebase Navigation: Efficiently Navigating the Rippled Source","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fcodebase-navigation-efficiently-navigating-the-rippled-source",{"title":2526,"path":2527},"Debugging Tools: Development and Debugging Techniques","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fdebugging-tools-development-and-debugging-techniques",{"title":2499,"path":2529,"children":2530},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks",[2531,2534,2537,2540],{"title":2532,"path":2533},"Homework 1: Transaction Flow Analysis","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework1",{"title":2535,"path":2536},"Homework 2: Transactor Code Exploration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework2",{"title":2538,"path":2539},"Homework 3: Logging and Debugging","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework3",{"title":2541,"path":2542},"Homework 4: Architecture Diagram","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework4",{"title":2544,"path":2545,"children":2546},"Anatomy of Rippled: SHAMap and NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03",[2547,2550,2553,2556,2559,2562,2565,2568,2571,2574,2577,2580],{"title":2548,"path":2549},"Foundational Concepts","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstate-management-challenges",{"title":2551,"path":2552},"Trees, Hashing, and Cryptographic Commitments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Ftree-fundamentals",{"title":2554,"path":2555},"SHAMap Architecture and Node Hierarchy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-architecture",{"title":2557,"path":2558},"Navigation, Hashing, and Merkle Properties","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-navigation-hashing",{"title":2560,"path":2561},"Traversal, Iteration, and Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-synchronization",{"title":2563,"path":2564},"The NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fnodestore-architecture",{"title":2566,"path":2567},"Storage Abstraction and Backend Implementations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstorage-backends",{"title":2569,"path":2570},"Cache Layer and Performance Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fcache-layer",{"title":2572,"path":2573},"Database Operations and Lifecycle Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fdatabase-operations",{"title":2575,"path":2576},"Cryptographic Proofs and State Reconstruction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fproofs-state-reconstruction",{"title":2578,"path":2579},"Resource Management and Performance Characteristics","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fresource-management",{"title":2581,"path":2582,"children":2583},"Appendices","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices",[2584,2587,2590],{"title":2585,"path":2586},"Appendix : Codebase Navigation Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fnavigation",{"title":2588,"path":2589},"Appendix : Configuration Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fconfiguration",{"title":2591,"path":2592},"Appendix : Debugging and Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fdebugging",{"title":2594,"path":2595,"children":2596},"Transactors: Understanding the Lifecycle of a Transaction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis",[2597,2600,2603,2606,2609,2612,2615,2618,2621],{"title":2598,"path":2599},"Transactor Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ftransactor-architecture",{"title":2601,"path":2602},"Processing Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fprocessing-pipeline",{"title":2604,"path":2605},"Fee and Sequence Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ffee-sequence-handling",{"title":2607,"path":2608},"State Modification Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fstate-modification",{"title":2610,"path":2611},"TER Result Codes","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fter-result-codes",{"title":2613,"path":2614},"Case Study: CheckCreate Transactor","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fcase-study-checkcreate",{"title":2616,"path":2617},"Homework 1: Trace a Transaction Through All Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework1",{"title":2619,"path":2620},"Homework 2: Implement a Custom Validation Check","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework2",{"title":2622,"path":2623},"Homework 3: Analyze TER Code Paths","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework3",{"title":2625,"path":2626,"children":2627},"Cryptography I: Blockchain Security and Cryptographic Foundations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04",[2628,2631,2634,2637,2640,2643,2646,2649,2652,2655,2658,2661,2664,2675],{"title":2629,"path":2630},"The Four Pillars of Security","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-four-pillars-of-security",{"title":2632,"path":2633},"The Lifecycle of a Cryptographic Key","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-lifecycle-of-a-cryptographic-key",{"title":2635,"path":2636},"Random Number Generation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation",{"title":2638,"path":2639},"Random Number Generation & Entropy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation-and-entropy",{"title":2641,"path":2642},"Key Generation Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fkey-generation-pipeline",{"title":2644,"path":2645},"Transaction Signing & Verification","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Ftransaction-signing-and-verification",{"title":2647,"path":2648},"Hash Functions in XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhash-functions-in-xrpl",{"title":2650,"path":2651},"Base58Check Encoding","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fbase58check-encoding",{"title":2653,"path":2654},"Peer Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fpeer-handshake-protocol",{"title":2656,"path":2657},"Secure Memory Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fsecure-memory-handling",{"title":2659,"path":2660},"Common Cryptographic Pitfalls","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fcommon-cryptographic-pitfalls",{"title":2662,"path":2663},"Performance & Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fperformance-and-optimization",{"title":2581,"path":2665,"children":2666},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices",[2667,2669,2672],{"title":2585,"path":2668},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fcodebase-navigation-guide",{"title":2670,"path":2671},"Appendix : Debugging & Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fdebugging-and-development-tools",{"title":2673,"path":2674},"Appendix : RFCs and Standards Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Frfcs-and-standards-reference",{"title":2499,"path":2676,"children":2677},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks",[2678],{"title":2679,"path":2680},"Homework 1: Signature Verification Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks\u002Fhomework1",{"title":2682,"path":2683,"children":2684},"Cryptography II: Protocol Extensions and Quantum Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05",[2685,2688,2690,2693,2696,2699,2705],{"title":2686,"path":2687},"Overlay Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Foverlay-architecture",{"title":884,"path":2689},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fconnection-lifecycle",{"title":2691,"path":2692},"Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhandshake-protocol",{"title":2694,"path":2695},"Message Relaying","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fmessage-relaying",{"title":2697,"path":2698},"Peer Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fpeer-discovery",{"title":2581,"path":2700,"children":2701},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices",[2702],{"title":2703,"path":2704},"XLS-??d Quantum-Resistant Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices\u002Fxls-d",{"title":2499,"path":2706,"children":2707},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks",[2708],{"title":2709,"path":2710},"Homework 1: Building Quantum-Resistant Signatures for XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks\u002Fhomework1",{"title":2712,"path":2713,"children":2714},"Communication I: Understanding XRPL(d) RPC Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06",[2715,2718,2721,2724],{"title":2716,"path":2717},"RPC Handler Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frpc-handler-architecture",{"title":2719,"path":2720},"Request and Response Flow","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frequest-response-flow",{"title":2722,"path":2723},"Authentication and Authorization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Fauthentication-authorization",{"title":2725,"path":2726},"Error Handling and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Ferror-handling-validation",{"title":2728,"path":2729,"children":2730},"Communication II: Building and Integrating Custom RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07",[2731,2734,2737,2740,2743,2755],{"title":2732,"path":2733},"Implementing Custom Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fimplementing-custom-handlers",{"title":2735,"path":2736},"Testing RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Ftesting-rpc-handlers",{"title":2738,"path":2739},"Advanced Features","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fadvanced-features",{"title":2741,"path":2742},"Best Practices and Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fbest-practices-patterns",{"title":2581,"path":2744,"children":2745},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices",[2746,2749,2752],{"title":2747,"path":2748},"Appendix: Handler Examples","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhandler-examples",{"title":2750,"path":2751},"Appendix: Helper Functions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhelper-functions",{"title":2753,"path":2754},"Appendix: Debugging Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fdebugging-guide",{"title":2499,"path":2756,"children":2757},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks",[2758,2761,2764],{"title":2759,"path":2760},"Homework 1: Building a Custom RPC Handler","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhomework1",{"title":2762,"path":2763},"Hints","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhints",{"title":2765,"path":2766},"Snippets","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fsnippets",{"title":2768,"path":2769,"children":2770},"Consensus I: Node, Consensus, and Ledger Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08",[2771,2774,2777,2780,2783,2786,2789,2792],{"title":2772,"path":2773},"Consensus Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-fundamentals",{"title":2775,"path":2776},"Consensus Modes and Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-modes-phases",{"title":2778,"path":2779},"Consensus Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-lifecycle",{"title":2781,"path":2782},"Ledger Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-architecture",{"title":2784,"path":2785},"Ledger Data Structures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-data-structures",{"title":2787,"path":2788},"Ledger Acquisition and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-acquisition-validation",{"title":2790,"path":2791},"RPC and Peer Transaction Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Frpc-peer-tx-lifecycle",{"title":2499,"path":2793,"children":2794},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks",[2795,2798],{"title":2796,"path":2797},"Homework 1: Transaction Consensus Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework1",{"title":2799,"path":2800},"Homework 2: Consensus Dispute Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework2",{"title":2802,"path":2803,"children":2804},"Consensus II: UNLs and Ledger Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09",[2805,2808,2811,2814,2817,2820,2823],{"title":2806,"path":2807},"Transaction Ordering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Ftx-ordering",{"title":2809,"path":2810},"Consensus Validations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-validations",{"title":2812,"path":2813},"Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Famendments",{"title":2815,"path":2816},"UNL Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Funl",{"title":2818,"path":2819},"Consensus Peers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-peers",{"title":2821,"path":2822},"Homework 1: Validator Keys Setup and Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework1",{"title":2824,"path":2825},"Homework 2: Negative UNL Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework2",{"title":2827,"path":2828,"children":2829},"AMM: Automated Market Maker","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis",[2830,2833,2836,2839],{"title":2831,"path":2832},"AMM Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-architecture",{"title":2834,"path":2835},"AMM Transactions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-transactions",{"title":2837,"path":2838},"AMM Logic","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-logic",{"title":2840,"path":2841},"Pathfinding Integration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-pathfinding",{"title":2843,"path":2844,"children":2845},"Building Amendments: Lifecycle and Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10",[2846,2849,2852,2855,2858,2861,2864],{"title":2847,"path":2848},"Amendment Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-architecture",{"title":2850,"path":2851},"Amendment Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-lifecycle",{"title":2853,"path":2854},"Voting and Activation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fvoting-and-activation",{"title":2856,"path":2857},"Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fprotocol-impact",{"title":2859,"path":2860},"Network Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fnetwork-coordination",{"title":2862,"path":2863},"Monitoring and Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-monitoring",{"title":2865,"path":2866},"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":2870,"path":2871,"children":2872,"description":2879,"pages":133},"Tools","\u002Fdocs\u002Ftools",[2873,2876],{"title":2874,"path":2875},"Xaman Setup","\u002Fdocs\u002Ftools\u002Fxaman-setup",{"title":2877,"path":2878},"Metamask Setup","\u002Fdocs\u002Ftools\u002Fmetamask-setup","In this section you will find instructions on how to setup wallets and tools",1796220770486]