From db11257a4318b712c67043bb4735f2f0e62c2bb0 Mon Sep 17 00:00:00 2001 From: Sky Young Date: Mon, 6 Aug 2018 15:48:13 -0700 Subject: [PATCH] Update p2p http RPC port --- .gitignore | 1 + lib/services/p2p/index.js | 4 ++-- package-lock.json | 8 ++++---- package.json | 4 ++-- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 72e9dc6d..744a842f 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,4 @@ flocore-node.json* *.bak *.orig lib/services/insight-api +testnet/* diff --git a/lib/services/p2p/index.js b/lib/services/p2p/index.js index 475b8cfb..a2296fbd 100644 --- a/lib/services/p2p/index.js +++ b/lib/services/p2p/index.js @@ -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', diff --git a/package-lock.json b/package-lock.json index 6750b9b5..9b0a2397 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index d57b120b..f9fd023a 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "node": ">=8.0.0" }, "author": "BitPay ", - "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",