Generate a random uint256. */
| 461 | |
| 462 | /** Generate a random uint256. */ |
| 463 | inline uint256 GetRandHash() noexcept |
| 464 | { |
| 465 | uint256 hash; |
| 466 | GetRandBytes(hash); |
| 467 | return hash; |
| 468 | } |
| 469 | |
| 470 | /* ============================= MISCELLANEOUS TEST-ONLY FUNCTIONS ============================= */ |
| 471 |