Add mainchain rpc client

This commit is contained in:
Steven Roose 2018-12-11 13:18:46 +01:00
parent 238a72bead
commit d39d440fcf
10 changed files with 291 additions and 5 deletions

View file

@ -547,6 +547,7 @@ class CCustomParams : public CRegTestParams {
const bool parent_genesis_is_null = parentGenesisBlockHash == uint256();
assert(consensus.has_parent_chain != parent_genesis_is_null);
consensus.parentChainPowLimit = uint256S(args.GetArg("-con_parentpowlimit", "7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"));
consensus.pegin_min_depth = args.GetArg("-peginconfirmationdepth", DEFAULT_PEGIN_CONFIRMATION_DEPTH);
const CScript default_script(CScript() << OP_TRUE);
consensus.fedpegScript = StrHexToScriptWithDefault(args.GetArg("-fedpegscript", ""), default_script);