Blackcoin Lore

This commit is contained in:
janko33bd
2017-05-30 21:33:31 +02:00
parent 597c9b42e5
commit 2fdd12b2ea
141 changed files with 4385 additions and 3872 deletions

View File

@@ -144,3 +144,10 @@ uint64_t uint256::GetHash(const uint256& salt) const
return ((((uint64_t)b) << 32) | c);
}
uint64_t uint256::GetLow64() const
{
assert(sizeof(data) >= 2);
const uint32_t *pn = (const uint32_t*)data;
return pn[0] | (uint64_t)pn[1] << 32;
}