Propagate RandomX hashing failures safely
This commit is contained in:
parent
2431ea4588
commit
6e0ae5dd3c
3 changed files with 10 additions and 15 deletions
|
|
@ -102,7 +102,7 @@ public:
|
|||
* The input is the canonical serialized 80-byte block header.
|
||||
* The seed is supplied in raw uint256 serialization byte order.
|
||||
*/
|
||||
uint256 GetRandomXPoWHash(const uint256& seed) const;
|
||||
bool GetRandomXPoWHash(const uint256& seed, uint256& result) const;
|
||||
|
||||
int64_t GetBlockTime() const
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue