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

Function amount_msat_accumulate

common/amount.c:279–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279WARN_UNUSED_RESULT bool amount_msat_accumulate(struct amount_msat *a,
280 struct amount_msat b)
281{
282 return amount_msat_add(a, *a, b);
283}
284
285WARN_UNUSED_RESULT bool amount_msat_deduct(struct amount_msat *a,
286 struct amount_msat b)

Callers 15

commit_tx_amount_trimmedFunction · 0.85
calc_balanceFunction · 0.85
check_balancesFunction · 0.85
sum_offered_msatoshisFunction · 0.85
merge_deadlinesFunction · 0.85
spend_anchorFunction · 0.85
check_progressFunction · 0.85
routehint_candidatesFunction · 0.85
remove_htlc_inFunction · 0.85
htlc_set_add_Function · 0.85
select_inchanFunction · 0.85

Calls 1

amount_msat_addFunction · 0.85

Tested by 1

route_scoreFunction · 0.68