Signed-off-by: Nils Gillmann <ng0@n0.is>
$ make install
$ make check
-Some of the testcases require python >= 2.6 and pexpect to be
-installed. If any testcases fail to pass on your system, run
+Some of the testcases require python >= 2.6 (+ the python module "futures")
+and pexpect to be installed. If any testcases fail to pass on your system, run
"contrib/scripts/report.sh" (in the repository) or "gnunet-bugreport"
when you already have GNUnet installed and report the output together with
information about the failing testcase to the Mantis bugtracking
import argparse
import random
from math import ceil, log, floor
+from past.builtins import xrange
def bsc(n):
print("we have", num_ghosts, "ghost peers")
# n.b. all peers with idx<k are evil
peers = range(n)
+ # py2-3 compatible, backwards.
+ # refer to http://python-future.org/compatible_idioms.html#xrange
info = [1 << x for x in xrange(n)]
def done_p():