FC Updates from BitShares and myself #21

Closed
nathanielhourt wants to merge 687 commits from dapp-support into latest-fc
Showing only changes of commit 5070d8d2fc - Show all commits

View file

@ -84,6 +84,11 @@ hash160 hash160::encoder::result() {
return h; return h;
} }
void hash160::encoder::reset()
{
SHA256_Init(&sha_ctx);
}
hash160 operator << ( const hash160& h1, uint32_t i ) { hash160 operator << ( const hash160& h1, uint32_t i ) {
hash160 result; hash160 result;
fc::detail::shift_l( h1.data(), result.data(), result.data_size(), i ); fc::detail::shift_l( h1.data(), result.data(), result.data_size(), i );