mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
require 0.16.3 parent Core node
This commit is contained in:
parent
1920d8480e
commit
c37eb06b94
2 changed files with 5 additions and 3 deletions
|
|
@ -2254,7 +2254,7 @@ bool BitcoindRPCCheck(const bool init)
|
|||
if (!result.isObject() || !result.get_obj()["version"].isNum() ||
|
||||
result.get_obj()["version"].get_int() < MIN_PARENT_NODE_VERSION) {
|
||||
LogPrintf("ERROR: Parent chain daemon too old; "
|
||||
"need Bitcoin Core version 0.16.2 or newer.\n");
|
||||
"need Bitcoin Core version 0.16.3 or newer.\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -150,8 +150,10 @@ static const int MAX_UNCONNECTING_HEADERS = 10;
|
|||
static const bool DEFAULT_PEERBLOOMFILTERS = false;
|
||||
|
||||
/** The minimum version for the parent chain node.
|
||||
* We need v0.16.2 to get the nTx field in getblockheader. */
|
||||
static const int MIN_PARENT_NODE_VERSION = 160200; // 0.16.2
|
||||
* We need v0.16.3 to get the nTx field in getblockheader and inflation fix.
|
||||
* Note that Elements-based parent chains may not have fixes based on this
|
||||
* version check! */
|
||||
static const int MIN_PARENT_NODE_VERSION = 160300; // 0.16.3
|
||||
|
||||
struct BlockHasher
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue