[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lsd0004] 01/02: routing
From: |
gnunet |
Subject: |
[lsd0004] 01/02: routing |
Date: |
Fri, 31 Dec 2021 12:12:41 +0100 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository lsd0004.
commit b3a4e43da5328292e6a6acb35d3b5d5f8623aba7
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Wed Dec 29 19:58:20 2021 +0100
routing
---
draft-schanzen-r5n.xml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/draft-schanzen-r5n.xml b/draft-schanzen-r5n.xml
index 519fb60..1ae0da0 100644
--- a/draft-schanzen-r5n.xml
+++ b/draft-schanzen-r5n.xml
@@ -539,6 +539,18 @@ END
FIXME: Also has a bloomfilter. Isn't AmClosestNode simply
!SelectClosestPeer == myID ?
</dd>
+ <dt><tt>SelectRandomPeer() -> NodeID</tt></dt>
+ <dd>
+ This procedure selects a random node ID from all connected
+ nodes. FIXME find elegant way to handle bloomfilter
+ </dd>
+ <dt><tt>SelectPeer(Key, NumberOfHops)</tt></dt>
+ <dd>
+ This procedure selects a peer depending on the <tt>NumberOfHops</tt>
+ Parameter. If <tt>NumberOfHops < NETWORK_SIZE_ESTIMATE</tt>
+ this procedure returns <tt>SelectRandomPeer()</tt> and
+ <tt>SelectClosestPeer(Key)</tt> otherwise.
+ </dd>
<dt><tt>AmClosestNode(NodeID, Key, Bloom) -> true | false</tt></dt>
<dd>
This procedure first determines which k-bucket contains the
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.