MCPcopy Create free account
hub / github.com/ElementsProject/lightning / sha256

Class sha256

bitcoin/pubkey.c:97–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95{
96 u8 der[PUBKEY_CMPR_LEN];
97 struct sha256 h;
98
99 pubkey_to_der(der, pk);
100 sha256(&h, der, sizeof(der));

Callers 1

pubkey_to_hash160Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected