153154155156157158159160161162163
peers[0].peer().addAutomaticFuture(automaticFuture); } if(replication) { IndirectReplication rep = new IndirectReplication(peers[0]); if(rsync) { rep.rsync().blockSize(32); } rep.nRoot().start(); } for (int i = 1; i < nrOfPeers; i++) {
169170171172173174175176177178179
peers[i].peer().addAutomaticFuture(automaticFuture); } if(replication) { IndirectReplication rep = new IndirectReplication(peers[i]); if(rsync) { rep.rsync().blockSize(32); } rep.nRoot().start(); } } System.err.println("peers created.");