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

Function rebalance_fee

plugins/bkpr/incomestmt.c:206–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206static struct income_event *rebalance_fee(const tal_t *ctx,
207 const struct bkpr *bkpr,
208 struct channel_event *ev)
209{
210 struct income_event *iev;
211 iev = channel_to_income(ctx, bkpr, ev, AMOUNT_MSAT(0), ev->fees);
212 iev->tag = tal_free(ev->tag);
213 iev->tag = (char *)account_entry_tag_str(REBALANCEFEE);
214 return iev;
215}
216
217static struct income_event *maybe_channel_income(const tal_t *ctx,
218 const struct bkpr *bkpr,

Callers 1

list_income_eventsFunction · 0.85

Calls 3

channel_to_incomeFunction · 0.85
tal_freeFunction · 0.85
account_entry_tag_strFunction · 0.85

Tested by

no test coverage detected