MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetHash

Method GetHash

src/pubkey.h:170–173  ·  view source on GitHub ↗

Get the 256-bit hash of this public key.

Source from the content-addressed store, hash-verified

168
169 //! Get the 256-bit hash of this public key.
170 uint256 GetHash() const
171 {
172 return Hash(Span{vch}.first(size()));
173 }
174
175 /*
176 * Check syntactic correctness.

Callers

nothing calls this directly

Calls 2

HashFunction · 0.70
sizeFunction · 0.70

Tested by

no test coverage detected