Tari: fill in merge mining hash and difficulty

This commit is contained in:
SChernykh
2024-04-29 21:59:44 +02:00
parent 5f62069590
commit a5f3e1e2ee
2 changed files with 33 additions and 21 deletions
+3 -2
View File
@@ -219,8 +219,9 @@ struct
#endif
difficulty_type
{
FORCEINLINE constexpr difficulty_type() : lo(0), hi(0) {}
FORCEINLINE constexpr difficulty_type(uint64_t a, uint64_t b) : lo(a), hi(b) {}
FORCEINLINE constexpr difficulty_type() noexcept : lo(0), hi(0) {}
FORCEINLINE explicit constexpr difficulty_type(uint64_t a) noexcept : lo(a), hi(0) {}
FORCEINLINE constexpr difficulty_type(uint64_t a, uint64_t b) noexcept : lo(a), hi(b) {}
uint64_t lo;
uint64_t hi;