Changeset 66f3484


Ignore:
Timestamp:
Dec 26, 2010 12:32:17 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
7ee7cbf
Parents:
c54b4028
Message:
Location:
apps/i2psnark/java/src/org/klomp/snark
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/Peer.java

    rc54b4028 r66f3484  
    7979    this.metainfo = metainfo;
    8080    _id = ++__id;
    81     //_log.debug("Creating a new peer with " + peerID.getAddress().calculateHash().toBase64(), new Exception("creating"));
     81    //_log.debug("Creating a new peer with " + peerID.toString(), new Exception("creating"));
    8282  }
    8383
     
    103103    _id = ++__id;
    104104    if (_log.shouldLog(Log.DEBUG))
    105         _log.debug("Creating a new peer with " + peerID.getAddress().calculateHash().toBase64(), new Exception("creating " + _id));
     105        _log.debug("Creating a new peer with " + peerID.toString(), new Exception("creating " + _id));
    106106  }
    107107
     
    199199
    200200    if (_log.shouldLog(Log.DEBUG))
    201         _log.debug("Running connection to " + peerID.getAddress().calculateHash().toBase64(), new Exception("connecting"));   
     201        _log.debug("Running connection to " + peerID.toString(), new Exception("connecting"));   
    202202    try
    203203      {
  • apps/i2psnark/java/src/org/klomp/snark/TrackerClient.java

    rc54b4028 r66f3484  
    277277                          if(coordinator.addPeer(cur)) {
    278278                            int delay = DELAY_MUL;
    279                             delay *= ((int)cur.getPeerID().getAddress().calculateHash().toBase64().charAt(0)) % 10;
     279                            delay *= r.nextInt(10);
    280280                            delay += DELAY_MIN;
    281281                            sleptTime += delay;
Note: See TracChangeset for help on using the changeset viewer.