MCPcopy 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
97static size_t sphinx_hop_size(const struct sphinx_hop *hop)
98{
99 return tal_bytelen(hop->raw_payload) + HMAC_SIZE;
100}
101
102size_t sphinx_path_payloads_size(const struct sphinx_path *path)
103{

Callers 5

generate_header_paddingFunction · 0.85
generate_prefillFunction · 0.85
sphinx_prefillFunction · 0.85
create_onionpacketFunction · 0.85

Calls 1

tal_bytelenFunction · 0.85

Tested by

no test coverage detected