Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ sphinx_hop_size
Function
sphinx_hop_size
common/sphinx.c:97–100 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
95
}
96
97
static size_t sphinx_hop_size(const struct sphinx_hop *hop)
98
{
99
return tal_bytelen(hop->raw_payload) + HMAC_SIZE;
100
}
101
102
size_t sphinx_path_payloads_size(const struct sphinx_path *path)
103
{
Callers
5
sphinx_path_payloads_size
Function · 0.85
generate_header_padding
Function · 0.85
generate_prefill
Function · 0.85
sphinx_prefill
Function · 0.85
create_onionpacket
Function · 0.85
Calls
1
tal_bytelen
Function · 0.85
Tested by
no test coverage detected