Strongly typed hash of a serialized UTXO snapshot.

Synopsis

Declared in <kernel/chainparams.h>

struct AssumeutxoHash
    : BaseHash<uint256>

Base Classes

Name

Description

BaseHash<uint256>

Wraps a fixed‐size hash value and exposes byte‐range access to it.

Member Functions

Name

Description

AssumeutxoHash [constructor]

Constructs the hash from a raw 256‐bit value.

ToString

Returns the hexadecimal string representation of the hash.

begin

begin overloads

data

data overloads

end

end overloads

size

Returns the number of bytes in the hash.

operator std::vector<unsigned char>

Converts the hash to a byte vector.

operator==

Compares two hashes for equality.

operator<

Orders two hashes.

Protected Data Members

Name

Description

m_hash

The wrapped hash value.

Created with MrDocs