From c41681d6c27ee99e71d735ebde9690e2e047b682 Mon Sep 17 00:00:00 2001 From: Chris Kleeschulte Date: Mon, 24 Apr 2017 17:47:38 -0400 Subject: [PATCH] Default protocol and bitcore-lib updates - Default protocol should be 70001 instead of 70000 since there really was no protocol in the 70000 series. --- lib/messages/builder.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/messages/builder.js b/lib/messages/builder.js index 9066ac54..8db52dfb 100644 --- a/lib/messages/builder.js +++ b/lib/messages/builder.js @@ -19,7 +19,7 @@ function builder(options) { options.BlockHeader = options.BlockHeader || bitcore.BlockHeader; options.Transaction = options.Transaction || bitcore.Transaction; options.MerkleBlock = options.MerkleBlock || bitcore.MerkleBlock; - options.protocolVersion = options.protocolVersion || 70000; + options.protocolVersion = options.protocolVersion || 70001; var exported = { constructors: { diff --git a/package.json b/package.json index a5ac5076..b843829e 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "url": "https://github.com/bitpay/bitcore-p2p.git" }, "dependencies": { - "bitcore-lib": "^0.13.7", + "bitcore-lib": "^0.14", "bloom-filter": "^0.2.0", "buffers": "bitpay/node-buffers#v0.1.2-bitpay", "socks5-client": "^0.3.6"