Update P2P Ports
This commit is contained in:
parent
7ac4d51db1
commit
57bc11a592
@ -439,13 +439,13 @@ P2P.prototype._startBcoin = function(callback) {
|
|||||||
var port;
|
var port;
|
||||||
if (['livenet', 'live', 'main', 'mainnet'].indexOf(this.node.network) !== -1) {
|
if (['livenet', 'live', 'main', 'mainnet'].indexOf(this.node.network) !== -1) {
|
||||||
network = 'main';
|
network = 'main';
|
||||||
port = this._configPeers[0].port || 7312;
|
port = this._configPeers[0].port || 7313;
|
||||||
} else if (this.node.network !== 'regtest') {
|
} else if (this.node.network !== 'regtest') {
|
||||||
network = 'testnet';
|
network = 'testnet';
|
||||||
port = this._configPeers[0].port || 17312;
|
port = this._configPeers[0].port || 17313;
|
||||||
} else {
|
} else {
|
||||||
network = this.node.network;
|
network = this.node.network;
|
||||||
port = this._configPeers[0].port || 48444;
|
port = this._configPeers[0].port || 47414;
|
||||||
}
|
}
|
||||||
|
|
||||||
self._bcoin = new Bcoin({
|
self._bcoin = new Bcoin({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user