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

Function amount_sat_div

common/amount.c:586–590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584}
585
586struct amount_sat amount_sat_div(struct amount_sat sat, u64 div)
587{
588 sat.satoshis /= div;
589 return sat;
590}
591
592bool amount_sat_mul(struct amount_sat *res, struct amount_sat sat, u64 mul)
593{

Callers 9

calculate_reserveFunction · 0.85
runFunction · 0.85
runFunction · 0.85
lease_rates_calc_feeFunction · 0.85
calc_in_ppm_and_feeFunction · 0.85
handle_fee_and_ppmFunction · 0.85
adjust_pending_out_ppmFunction · 0.85
set_reserveFunction · 0.85
set_reserveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected