Merge branch 'dev' into FSM
# Conflicts: # depends/packages/zeromq.mk # src/assetchains.json
This commit is contained in:
@@ -182,7 +182,7 @@
|
|||||||
"190.114.254.104"
|
"190.114.254.104"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ac_name": "DION",
|
"ac_name": "DION",
|
||||||
"ac_supply": "3900000000",
|
"ac_supply": "3900000000",
|
||||||
"ac_reward": "22260000000",
|
"ac_reward": "22260000000",
|
||||||
@@ -247,4 +247,5 @@
|
|||||||
"ac_cc": "2",
|
"ac_cc": "2",
|
||||||
"addnode": ["51.75.122.83"]
|
"addnode": ["51.75.122.83"]
|
||||||
}
|
}
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -146,6 +146,13 @@ bool AssetsValidate(struct CCcontract_info *cpAssets,Eval* eval,const CTransacti
|
|||||||
numvouts = tx.vout.size();
|
numvouts = tx.vout.size();
|
||||||
outputsDummy = inputs = 0;
|
outputsDummy = inputs = 0;
|
||||||
preventCCvins = preventCCvouts = -1;
|
preventCCvins = preventCCvouts = -1;
|
||||||
|
|
||||||
|
// add specific chains exceptions for old token support:
|
||||||
|
if (strcmp(ASSETCHAINS_SYMBOL, "SEC") == 0 && chainActive.Height() <= 144073)
|
||||||
|
return true;
|
||||||
|
|
||||||
|
if (strcmp(ASSETCHAINS_SYMBOL, "MGNX") == 0 && chainActive.Height() <= 210190)
|
||||||
|
return true;
|
||||||
|
|
||||||
// add specific chains exceptions for old token support:
|
// add specific chains exceptions for old token support:
|
||||||
if (strcmp(ASSETCHAINS_SYMBOL, "SEC") == 0 && chainActive.Height() <= 144073)
|
if (strcmp(ASSETCHAINS_SYMBOL, "SEC") == 0 && chainActive.Height() <= 144073)
|
||||||
|
|||||||
@@ -1213,6 +1213,9 @@ int64_t DicePlanFunds(uint64_t &entropyval,uint256 &entropytxid,uint64_t refsbit
|
|||||||
} else {
|
} else {
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
//fprintf(stderr,"numentropy tx %d: %.8f\n",n,(double)totalinputs/COIN);
|
||||||
|
entropytxs = n;
|
||||||
|
return(totalinputs);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DicePlanExists(CScript &fundingPubKey,uint256 &fundingtxid,struct CCcontract_info *cp,uint64_t refsbits,CPubKey dicepk,int64_t &minbet,int64_t &maxbet,int64_t &maxodds,int64_t &timeoutblocks)
|
bool DicePlanExists(CScript &fundingPubKey,uint256 &fundingtxid,struct CCcontract_info *cp,uint64_t refsbits,CPubKey dicepk,int64_t &minbet,int64_t &maxbet,int64_t &maxodds,int64_t &timeoutblocks)
|
||||||
|
|||||||
@@ -1030,7 +1030,6 @@ CAmount GetAccountBalance(const string& strAccount, int nMinDepth, const isminef
|
|||||||
return GetAccountBalance(walletdb, strAccount, nMinDepth, filter);
|
return GetAccountBalance(walletdb, strAccount, nMinDepth, filter);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
UniValue cleanwallettransactions(const UniValue& params, bool fHelp)
|
UniValue cleanwallettransactions(const UniValue& params, bool fHelp)
|
||||||
{
|
{
|
||||||
if (!EnsureWalletIsAvailable(fHelp))
|
if (!EnsureWalletIsAvailable(fHelp))
|
||||||
|
|||||||
Reference in New Issue
Block a user