Add Flo Ports

This commit is contained in:
Sky Young 2018-05-16 11:03:32 -07:00
parent 53b970cda7
commit 6358953553
2 changed files with 6 additions and 6 deletions

View File

@ -439,10 +439,10 @@ 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 || 8333; port = this._configPeers[0].port || 7312;
} else if (this.node.network !== 'regtest') { } else if (this.node.network !== 'regtest') {
network = 'testnet'; network = 'testnet';
port = this._configPeers[0].port || 18333; port = this._configPeers[0].port || 17312;
} else { } else {
network = this.node.network; network = this.node.network;
port = this._configPeers[0].port || 48444; port = this._configPeers[0].port || 48444;

View File

@ -5,12 +5,12 @@
"node": ">=8.0.0" "node": ">=8.0.0"
}, },
"author": "BitPay <dev@bitpay.com>", "author": "BitPay <dev@bitpay.com>",
"version": "5.0.0-beta.57", "version": "5.0.0-beta.58",
"main": "./index.js", "main": "./index.js",
"repository": "git://github.com/bitpay/flocore-node.git", "repository": "git://github.com/oipwg/flocore-node.git",
"homepage": "https://github.com/bitpay/flocore-node", "homepage": "https://github.com/oipwg/flocore-node",
"bugs": { "bugs": {
"url": "https://github.com/bitpay/flocore-node/issues" "url": "https://github.com/oipwg/flocore-node/issues"
}, },
"bin": { "bin": {
"flocore-node": "./bin/flocore-node" "flocore-node": "./bin/flocore-node"