[freenet-dev] Creating initial node locations
Matthew Toseland
toad at amphibian.dyndns.org
Mon Aug 6 20:16:32 UTC 2007
On Monday 06 August 2007 00:59, Ian Clarke wrote:
> On 8/5/07, Ian Clarke <ian at locut.us> wrote:
> > Here at DEFCON it has been pointed out by the Gnunet guys that we are
> > creating a node location by combining locations supplied by two
> > different nodes by taking one to the power of the other.
>
> Actually, this wasn't quite right. This error is made when
> determining a random number between 0 and 1 to determine whether we
> should swap or not.
No, the two random numbers are integers, and we XOR them to produce another
random number. This is a trivial collaborative random number generation
algorithm.
>
> This could explain all sorts of problems we've been having with swapping.
>
> Ian.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://emu.freenetproject.org/pipermail/devl/attachments/20070806/8173f534/attachment.pgp
More information about the Devl
mailing list