Skip to content

Commit 0543f73

Browse files
authored
Merge pull request #662 from frstrtr/ltc-doge/testnet-p2p-port-align
config: align testnet P2P port to 19326
2 parents cfe240b + 5dc309c commit 0543f73

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

config/c2pool_testnet.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# C2Pool Litecoin Testnet Configuration
2-
# P2P: 19338, Stratum: 19327, HTTP: 8080
2+
# P2P: 19326, Stratum: 19327, HTTP: 8080
33
#
44
# All keys below are optional. CLI arguments always take priority over YAML values.
55
# Unrecognized keys are silently ignored.
66

77
# ─── Network ────────────────────────────────────────────────────────────────
8-
port: 19338 # P2P p2pool sharechain port (testnet)
8+
port: 19326 # P2P p2pool sharechain port (testnet)
99
stratum_port: 19327 # Stratum mining port (testnet)
1010
http_port: 18080 # HTTP/JSON-RPC API port (testnet)
1111
http_host: "0.0.0.0" # HTTP bind address

src/core/web_server.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1383,7 +1383,7 @@ class MiningInterface : public jsonrpccxx::JsonRpc2Server,
13831383
peer_info_fn_t m_peer_info_fn;
13841384

13851385
// Port configuration
1386-
uint16_t m_p2p_port{9338};
1386+
uint16_t m_p2p_port{9326};
13871387
uint16_t m_worker_port{9327};
13881388
std::string m_external_ip;
13891389
std::string m_pool_version{"c2pool/0.1.0-alpha"};

0 commit comments

Comments
 (0)