Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ towire_secret
Function
towire_secret
bitcoin/privkey.c:34–37 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
}
33
34
void towire_secret(u8 **pptr, const struct secret *secret)
35
{
36
towire(pptr, secret->data, sizeof(secret->data));
37
}
38
39
void fromwire_secret(const u8 **cursor, size_t *max, struct secret *secret)
40
{
Callers
4
towire_privkey
Function · 0.85
towire_secrets
Function · 0.85
htlc_accepted_invoice_created
Function · 0.85
tlvstream_set_tlv_payload_data
Function · 0.85
Calls
1
towire
Function · 0.50
Tested by
no test coverage detected