1
0
Fork 0
forked from lthn/blockchain

added auto port changing for testnet

This commit is contained in:
cryptozoidberg 2019-08-15 17:01:51 +02:00
parent f31c5e2225
commit 3ff1ce583e
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -99,7 +99,7 @@
#define STRATUM_DEFAULT_PORT 11777
#define P2P_NETWORK_ID_TESTNET_FLAG 0
#else
#define P2P_DEFAULT_PORT (11112 + TESTNET_FORMATION_VERSION)
#define P2P_DEFAULT_PORT (11112 + CURRENCY_FORMATION_VERSION)
#define RPC_DEFAULT_PORT 12111
#define STRATUM_DEFAULT_PORT 11888
#define STRARUM_DEFAULT_PORT 51113