|
|
@ -80,7 +80,7 @@ public final class transferRWI {
|
|
|
|
byte[] indexes = post.get("indexes", "").getBytes(); // the indexes, as list of word entries
|
|
|
|
byte[] indexes = post.get("indexes", "").getBytes(); // the indexes, as list of word entries
|
|
|
|
boolean granted = sb.getConfig("allowReceiveIndex", "false").equals("true");
|
|
|
|
boolean granted = sb.getConfig("allowReceiveIndex", "false").equals("true");
|
|
|
|
boolean blockBlacklist = sb.getConfig("indexReceiveBlockBlacklist", "false").equals("true");
|
|
|
|
boolean blockBlacklist = sb.getConfig("indexReceiveBlockBlacklist", "false").equals("true");
|
|
|
|
boolean checkLimit = sb.getConfigBool("indexDistribution.dhtReceiptLimitEnabled", true);
|
|
|
|
boolean checkLimit = sb.getConfigBool("indexDistribution.transferRWIReceiptLimitEnabled", true);
|
|
|
|
final long cachelimit = sb.getConfigLong("indexDistribution.dhtReceiptLimit", 1000);
|
|
|
|
final long cachelimit = sb.getConfigLong("indexDistribution.dhtReceiptLimit", 1000);
|
|
|
|
final yacySeed otherPeer = yacyCore.seedDB.get(iam);
|
|
|
|
final yacySeed otherPeer = yacyCore.seedDB.get(iam);
|
|
|
|
final String otherPeerName = iam + ":" + ((otherPeer == null) ? "NULL" : (otherPeer.getName() + "/" + otherPeer.getVersion()));
|
|
|
|
final String otherPeerName = iam + ":" + ((otherPeer == null) ? "NULL" : (otherPeer.getName() + "/" + otherPeer.getVersion()));
|
|
|
|