Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/c2pool_testnet.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# C2Pool Litecoin Testnet Configuration
# P2P: 19338, Stratum: 19327, HTTP: 8080
# P2P: 19326, Stratum: 19327, HTTP: 8080
#
# All keys below are optional. CLI arguments always take priority over YAML values.
# Unrecognized keys are silently ignored.

# ─── Network ────────────────────────────────────────────────────────────────
port: 19338 # P2P p2pool sharechain port (testnet)
port: 19326 # P2P p2pool sharechain port (testnet)
stratum_port: 19327 # Stratum mining port (testnet)
http_port: 18080 # HTTP/JSON-RPC API port (testnet)
http_host: "0.0.0.0" # HTTP bind address
Expand Down
2 changes: 1 addition & 1 deletion src/core/web_server.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,7 @@ class MiningInterface : public jsonrpccxx::JsonRpc2Server,
peer_info_fn_t m_peer_info_fn;

// Port configuration
uint16_t m_p2p_port{9338};
uint16_t m_p2p_port{9326};
uint16_t m_worker_port{9327};
std::string m_external_ip;
std::string m_pool_version{"c2pool/0.1.0-alpha"};
Expand Down
Loading