pool: always relay onion addresses.
This commit is contained in:
parent
e05fb77d33
commit
f576ab6e6c
@ -1291,9 +1291,6 @@ Pool.prototype.handleAddr = co(function* handleAddr(peer, packet) {
|
|||||||
if (!addr.hasServices(services))
|
if (!addr.hasServices(services))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!this.options.onion && addr.isOnion())
|
|
||||||
continue;
|
|
||||||
|
|
||||||
if (addr.ts <= 100000000 || addr.ts > now + 10 * 60)
|
if (addr.ts <= 100000000 || addr.ts > now + 10 * 60)
|
||||||
addr.ts = now - 5 * 24 * 60 * 60;
|
addr.ts = now - 5 * 24 * 60 * 60;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user