Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ towire_secret
Function
towire_secret
bitcoin/privkey.c:31–34 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
}
30
31
void towire_secret(u8 **pptr, const struct secret *secret)
32
{
33
towire(pptr, secret->data, sizeof(secret->data));
34
}
35
36
void fromwire_secret(const u8 **cursor, size_t *max, struct secret *secret)
37
{
Callers
5
towire_privkey
Function · 0.85
towire_added_htlc
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