Multiple changes for critical update, including random locks and activation at 12800. Test for utxos.

This commit is contained in:
Michael Toutonghi
2018-05-26 04:00:17 -07:00
parent 4a1afe0bc5
commit 74329e19f8
9 changed files with 86 additions and 15 deletions

View File

@@ -302,6 +302,14 @@ bool CBitcoinAddress::GetKeyID(CKeyID& keyID) const
return true;
}
bool CBitcoinAddress::GetKeyID_NoCheck(CKeyID& keyID) const
{
uint160 id;
memcpy(&id, &vchData[0], 20);
keyID = CKeyID(id);
return true;
}
bool CBitcoinAddress::IsScript() const
{
return IsValid() && vchVersion == Params().Base58Prefix(CChainParams::SCRIPT_ADDRESS);