Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ sha256
Class
sha256
bitcoin/script.c:19–19 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
17
static void hash160(struct ripemd160 *redeemhash, const void *mem, size_t len)
18
{
19
struct sha256 h;
20
21
sha256(&h, mem, len);
22
ripemd160(redeemhash, h.u.u8, sizeof(h));
Callers
2
hash160
Function · 0.70
scriptpubkey_p2wsh
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected