Skip to content

Commit c37eb06

Browse files
committed
require 0.16.3 parent Core node
1 parent 1920d84 commit c37eb06

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/validation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2254,7 +2254,7 @@ bool BitcoindRPCCheck(const bool init)
22542254
if (!result.isObject() || !result.get_obj()["version"].isNum() ||
22552255
result.get_obj()["version"].get_int() < MIN_PARENT_NODE_VERSION) {
22562256
LogPrintf("ERROR: Parent chain daemon too old; "
2257-
"need Bitcoin Core version 0.16.2 or newer.\n");
2257+
"need Bitcoin Core version 0.16.3 or newer.\n");
22582258
return false;
22592259
}
22602260

src/validation.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,10 @@ static const int MAX_UNCONNECTING_HEADERS = 10;
150150
static const bool DEFAULT_PEERBLOOMFILTERS = false;
151151

152152
/** The minimum version for the parent chain node.
153-
* We need v0.16.2 to get the nTx field in getblockheader. */
154-
static const int MIN_PARENT_NODE_VERSION = 160200; // 0.16.2
153+
* We need v0.16.3 to get the nTx field in getblockheader and inflation fix.
154+
* Note that Elements-based parent chains may not have fixes based on this
155+
* version check! */
156+
static const int MIN_PARENT_NODE_VERSION = 160300; // 0.16.3
155157

156158
struct BlockHasher
157159
{

0 commit comments

Comments
 (0)