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

Method GetSHA256

src/hash.h:134–138  ·  view source on GitHub ↗

Compute the SHA256 hash of all data written to this object. * * Invalidates this object. */

Source from the content-addressed store, hash-verified

132 * Invalidates this object.
133 */
134 uint256 GetSHA256() {
135 uint256 result;
136 ctx.Finalize(result.begin());
137 return result;
138 }
139
140 /**
141 * Returns the first 64 bits from the resulting hash.

Callers 15

ComputeTapTweakHashMethod · 0.80
ToNum3072Method · 0.80
FinalizeMethod · 0.80
GetOutpointFlagsSHA256Function · 0.80
GetPrevoutsSHA256Function · 0.80
GetSequencesSHA256Function · 0.80
GetIssuanceSHA256Function · 0.80
GetOutputWitnessesSHA256Function · 0.80
GetOutputsSHA256Function · 0.80
GetSpentScriptsSHA256Function · 0.80

Calls 2

FinalizeMethod · 0.45
beginMethod · 0.45

Tested by 1

FUZZ_TARGET_INITFunction · 0.64