Update p2p http RPC port

This commit is contained in:
Sky Young 2018-08-06 15:48:13 -07:00
parent f37a3556e3
commit db11257a43
4 changed files with 9 additions and 8 deletions

1
.gitignore vendored
View File

@ -31,3 +31,4 @@ flocore-node.json*
*.bak
*.orig
lib/services/insight-api
testnet/*

View File

@ -253,10 +253,10 @@ P2P.prototype._initCache = function() {
};
P2P.prototype._initRPC = function (options) {
var port = 7312
var port = 7313
if (this.node.network === 'testnet')
port = 17312
port = 17313
this._config = options.rpc || {
user: 'flocore',

8
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "flocore-node",
"version": "5.0.0-beta.69",
"version": "5.0.0-beta.70",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -1627,9 +1627,9 @@
"dev": true
},
"fcoin": {
"version": "1.0.0-beta.20",
"resolved": "https://registry.npmjs.org/fcoin/-/fcoin-1.0.0-beta.20.tgz",
"integrity": "sha512-U448wU+tKx+GwBtmdckQRx1CsMMOLlBkAozhGPuej07ZPrKE1qicHvLSMq4qD4JHmVAVcVLxb40qhAFoorKcKw==",
"version": "1.0.0-beta.21",
"resolved": "https://registry.npmjs.org/fcoin/-/fcoin-1.0.0-beta.21.tgz",
"integrity": "sha512-/meataToPi1lVz+9A//sz/szMZEvloCXMulwlDR/oYEqT1g2BPqF9aDQkTRaGDXN2A/1NIrF3qyQLQHsyPt6Sg==",
"requires": {
"bcoin-native": "0.0.23",
"bn.js": "4.11.8",

View File

@ -5,7 +5,7 @@
"node": ">=8.0.0"
},
"author": "BitPay <dev@bitpay.com>",
"version": "5.0.0-beta.69",
"version": "5.0.0-beta.70",
"main": "./index.js",
"repository": "git://github.com/oipwg/flocore-node.git",
"homepage": "https://github.com/oipwg/flocore-node",
@ -36,7 +36,7 @@
"commander": "^2.8.1",
"errno": "^0.1.4",
"express": "^4.13.3",
"fcoin": "1.0.0-beta.20",
"fcoin": "1.0.0-beta.21",
"flocore-lib": "0.15.1",
"flocore-p2p": "5.0.0-beta.6",
"florincoind-rpc": "0.7.1",