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

Function find_rebalance

plugins/bkpr/rebalances.c:92–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92const u64 *find_rebalance(const struct bkpr *bkpr, u64 created_index)
93{
94 const struct rebalance_pair *p;
95
96 p = rebalance_htable_get(bkpr->rebalances->pairs, created_index);
97 return p ? &p->pair[1] : NULL;
98}
99
100static void memleak_scan_rebalance_htable(struct htable *memtable,
101 struct rebalance_htable *ht)

Callers 5

maybe_record_rebalanceFunction · 0.85
json_add_channel_eventFunction · 0.85
maybe_channel_incomeFunction · 0.85
list_income_eventsFunction · 0.85
test_channel_rebalancesFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_channel_rebalancesFunction · 0.68