<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>XOR on Mi&amp;Bee Blog</title><link>/en/tags/xor/</link><description>Recent content in XOR on Mi&amp;Bee Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>蓝宝石的傻话</managingEditor><lastBuildDate>Wed, 20 Jan 2021 00:00:00 +0000</lastBuildDate><atom:link href="/en/tags/xor/rss.xml" rel="self" type="application/rss+xml"/><item><title>Kademlia DHT Protocol Deep Dive</title><link>/en/posts/network/kademlia-dht-protocol/</link><pubDate>Wed, 20 Jan 2021 00:00:00 +0000</pubDate><guid>/en/posts/network/kademlia-dht-protocol/</guid><description>&lt;p&gt;Kademlia is one of the most influential DHT (Distributed Hash Table) protocols, proposed by Petar Maymounkov and David Mazières in 2002. It is widely used in IPFS, BitTorrent, Ethereum, and many other systems. Kademlia&amp;rsquo;s revolutionary innovation lies in using XOR (exclusive or) as its distance metric, offering elegant mathematical properties and efficient routing algorithms.&lt;/p&gt;
&lt;h2 id="xor-distance-metric"&gt;XOR Distance Metric&lt;/h2&gt;
&lt;p&gt;Kademlia maps nodes and resources to the same 160-bit identifier space and defines the XOR distance function:&lt;/p&gt;</description></item></channel></rss>