MCPcopy Create free account
hub / github.com/ElementsProject/lightning / sphinx_hop_size

Function sphinx_hop_size

common/sphinx.c:94–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94static size_t sphinx_hop_size(const struct sphinx_hop *hop)
95{
96 return tal_bytelen(hop->raw_payload) + HMAC_SIZE;
97}
98
99size_t sphinx_path_payloads_size(const struct sphinx_path *path)
100{

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