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

Function is_dust

openingd/dualopend.c:482–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480}
481
482static bool is_dust(struct tx_state *tx_state,
483 struct amount_sat amount)
484{
485 return !amount_sat_greater(amount, tx_state->localconf.dust_limit)
486 || !amount_sat_greater(amount, tx_state->remoteconf.dust_limit);
487}
488
489static void set_reserve(struct tx_state *tx_state,
490 struct amount_sat funding_total,

Callers 1

check_balancesFunction · 0.85

Calls 1

amount_sat_greaterFunction · 0.85

Tested by

no test coverage detected