summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/BitTorrent')
-rw-r--r--src/Network/BitTorrent/DHT.hs24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/Network/BitTorrent/DHT.hs b/src/Network/BitTorrent/DHT.hs
index ec9dace8..f587f7c8 100644
--- a/src/Network/BitTorrent/DHT.hs
+++ b/src/Network/BitTorrent/DHT.hs
@@ -24,6 +24,7 @@ module Network.BitTorrent.DHT
24 , dht 24 , dht
25 25
26 -- * Bootstrapping 26 -- * Bootstrapping
27 -- $bootstrapping-terms
27 , tNodes 28 , tNodes
28 , defaultBootstrapNodes 29 , defaultBootstrapNodes
29 , resolveHostName 30 , resolveHostName
@@ -93,6 +94,29 @@ dht opts addr action = do
93{----------------------------------------------------------------------- 94{-----------------------------------------------------------------------
94-- Bootstrapping 95-- Bootstrapping
95-----------------------------------------------------------------------} 96-----------------------------------------------------------------------}
97-- $bootstrapping-terms
98--
99-- [@Bootstrapping@] DHT @bootstrapping@ is the process of filling
100-- routing 'Table' by /good/ nodes.
101--
102-- [@Bootstrapping time@] Bootstrapping process can take up to 5
103-- minutes. Bootstrapping should only happen at first application
104-- startup, if possible you should use 'snapshot' & 'restore'
105-- mechanism which must work faster.
106--
107-- [@Bootstrap nodes@] DHT @bootstrap node@ is either:
108--
109-- * a specialized high performance node maintained by bittorrent
110-- software authors\/maintainers, like those listed in
111-- 'defaultBootstrapNodes'. /Specialized/ means that those nodes
112-- may not support 'insert' queries and is running for the sake of
113-- bootstrapping only.
114--
115-- * an ordinary bittorrent client running DHT node. The list of
116-- such bootstrapping nodes usually obtained from
117-- 'Data.Torrent.tNodes' field or
118-- 'Network.BitTorrent.Exchange.Message.Port' messages.
119
96-- Do not include the following hosts in the default bootstrap nodes list: 120-- Do not include the following hosts in the default bootstrap nodes list:
97-- 121--
98-- * "dht.aelitis.com" and "dht6.azureusplatform.com" - since 122-- * "dht.aelitis.com" and "dht6.azureusplatform.com" - since