5#ifndef BITCOIN_PRIMITIVES_BLOCKHASH_H
6#define BITCOIN_PRIMITIVES_BLOCKHASH_H
17 static std::optional<BlockHash>
FromHex(std::string_view str) {
18 return detail::FromHex<BlockHash>(str);
20 static std::optional<BlockHash>
FromUserHex(std::string_view str) {
21 return detail::FromUserHex<BlockHash>(str);
A BlockHash is a unqiue identifier for a block.
static std::optional< BlockHash > FromUserHex(std::string_view str)
BlockHash(const uint256 &b)
static std::optional< BlockHash > FromHex(std::string_view str)