Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ towire_sha256
Function
towire_sha256
wire/towire.c:128–131 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
126
}
127
128
void towire_sha256(u8 **pptr, const struct sha256 *sha256)
129
{
130
towire(pptr, sha256, sizeof(*sha256));
131
}
132
133
void towire_ripemd160(u8 **pptr, const struct ripemd160 *ripemd)
134
{
Callers
4
create_hsm
Function · 0.50
towire_sha256_double
Function · 0.50
peer_failed_our_htlc
Function · 0.50
payment_compute_onion_payloads
Function · 0.50
Calls
1
towire
Function · 0.70
Tested by
no test coverage detected