SideChain: use full 128 bits in get_difficulty

This commit is contained in:
SChernykh
2022-11-15 16:39:39 +01:00
parent e9a2e4b076
commit b3bce1651b
4 changed files with 166 additions and 33 deletions

View File

@@ -126,13 +126,6 @@ NOINLINE bool difficulty_type::check_pow(const hash& pow_hash) const
return true;
}
difficulty_type operator+(const difficulty_type& a, const difficulty_type& b)
{
difficulty_type result = a;
result += b;
return result;
}
std::ostream& operator<<(std::ostream& s, const difficulty_type& d)
{
char buf[log::Stream::BUF_SIZE + 1];