summaryrefslogtreecommitdiff
path: root/draft-schanzen-r5n.xml
diff options
context:
space:
mode:
Diffstat (limited to 'draft-schanzen-r5n.xml')
-rw-r--r--draft-schanzen-r5n.xml37
1 files changed, 28 insertions, 9 deletions
diff --git a/draft-schanzen-r5n.xml b/draft-schanzen-r5n.xml
index 92815ef..9d7acc5 100644
--- a/draft-schanzen-r5n.xml
+++ b/draft-schanzen-r5n.xml
@@ -168,33 +168,44 @@ Y924NSHMMZ1N1SQCE5TXF93ED6S6JY311K0QT86G9WJC68F6XVZ0 \
168 procedures and events: 168 procedures and events:
169 </t> 169 </t>
170 <dl> 170 <dl>
171 <dt>PEER_CONNECTIVITY_CHANGED</dt> 171 <dt>PEER_CONNECTED(pk,address)</dt>
172 <dd> 172 <dd>
173 is a signal that allows the DHT to react to peers which connect or 173 is a signal that allows the DHT to react to peers which connect.
174 disconnect. Such an event triggers, for example, updates in the 174 Such an event triggers, for example, updates in the
175 routing table. 175 routing table.
176 </dd> 176 </dd>
177 <dt>CONNECT</dt> 177 <dt>PEER_DISCONNECTED(pk,address)</dt>
178 <dd>
179 is a signal that allows the DHT to react to peers which disconnect.
180 Such an event triggers, for example, updates in the
181 routing table.
182 </dd>
183 <dt>CONNECT(address)</dt>
178 <dd> 184 <dd>
179 A function which allows a peer to attempt the establishment of 185 A function which allows a peer to attempt the establishment of
180 a connection to another peer using an address. 186 a connection to another peer using an address.
181 </dd> 187 </dd>
182 <dt>RECEIVE</dt> 188 <dt>DISCONNECT(address)</dt>
189 <dd>
190 A function which allows a peer to disconnect from
191 another peer.
192 </dd>
193 <dt>RECEIVE(source, message)</dt>
183 <dd> 194 <dd>
184 A function or event that allows the peer to receive protocol 195 A function or event that allows the peer to receive protocol
185 messages as defined in this document from a connected peer. 196 messages as defined in this document from a connected peer.
186 </dd> 197 </dd>
187 <dt>SEND</dt> 198 <dt>SEND(source?, target)</dt>
188 <dd> 199 <dd>
189 A function that allows a peer to send protocol messages as defined 200 A function that allows a peer to send protocol messages as defined
190 in this document to a connected peer. 201 in this document to a connected peer.
191 </dd> 202 </dd>
192 <dt>NETWORK_SIZE_ESTIMATE</dt> 203 <dt>NETWORK_SIZE_ESTIMATE(N)</dt>
193 <dd> 204 <dd>
194 A function or event that provides estimates on the network size 205 A function or event that provides estimates on the network size
195 for use in the DHT routing algorithms. 206 for use in the DHT routing algorithms.
196 </dd> 207 </dd>
197 <dt>ADDRESS_CHANGED</dt> 208 <dt>ADDRESS_CHANGED(pk, address)</dt>
198 <dd> 209 <dd>
199 An event that allows the DHT to learn and react to address changes 210 An event that allows the DHT to learn and react to address changes
200 of the peer. This information is used, for example, to publish 211 of the peer. This information is used, for example, to publish
@@ -202,7 +213,15 @@ Y924NSHMMZ1N1SQCE5TXF93ED6S6JY311K0QT86G9WJC68F6XVZ0 \
202 </dd> 213 </dd>
203 </dl> 214 </dl>
204 </section> 215 </section>
205 216 <section anchor="routing" numbered="true" toc="default">
217 <name>Routing</name>
218 <section anchor="peer_distance" numbered="true" toc="default">
219 <name>Peer distance</name>
220 </section>
221 <section anchor="peer_selection" numbered="true" toc="default">
222 <name>Peer selection</name>
223 </section>
224 </section>
206 <section anchor="p2p_messages" numbered="true" toc="default"> 225 <section anchor="p2p_messages" numbered="true" toc="default">
207 <name>Peer-to-peer wire formats</name> 226 <name>Peer-to-peer wire formats</name>
208 <section anchor="p2p_bf" numbered="true" toc="default"> 227 <section anchor="p2p_bf" numbered="true" toc="default">