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

Function rebalance_hash

plugins/bkpr/rebalances.c:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21};
22
23static size_t rebalance_hash(u64 key)
24{
25 return siphash24(siphash_seed(), &key, sizeof(key));
26}
27
28static u64 rebalance_key(const struct rebalance_pair *p)
29{

Callers

nothing calls this directly

Calls 2

siphash24Function · 0.85
siphash_seedClass · 0.50

Tested by

no test coverage detected