Skip to content

Commit 3cfd1ed

Browse files
committed
UPNP: Increased TTL, maxinpeers.
1 parent 67e3149 commit 3cfd1ed

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
## [2.12.6] - 2023-10-03
44
- Fix for a rare condition resulting in "invalid derivation path" error when trying to send funds.
5+
- UPNP support. It can be disabled in Settings -> Advanced -> Service Configuration.
56

67
## [2.12.5] - 2023-10-02
78
Big localization update, many thanks to our translators!
8-
- UPNP support
9+
- UPNP support (initial)
910

1011
## [2.12.4] - 2023-09-30
1112
Updated Kaspa node to v0.12.14.

lib/interfaces/kaspad.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = class Kaspad extends Daemon {
1616
this.data = [ ];
1717

1818
this.upnpClient = new natUpnp.Client();
19-
this.upnpTtl = 600; // 10 minutes
19+
this.upnpTtl = 7200; // 2 hours
2020
this.ready = new Semaphore();
2121
}
2222

@@ -54,7 +54,7 @@ module.exports = class Kaspad extends Daemon {
5454
console.info(`External IP: ${externalip}`);
5555
args['externalip'] = externalip;
5656
if (!args['maxinpeers']) {
57-
args['maxinpeers'] = 8;
57+
args['maxinpeers'] = 16;
5858
}
5959
}
6060

0 commit comments

Comments
 (0)