Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ amount_msat_div
Function
amount_msat_div
common/amount.c:573–577 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
571
}
572
573
struct amount_msat amount_msat_div(struct amount_msat msat, u64 div)
574
{
575
msat.millisatoshis /= div;
576
return msat;
577
}
578
579
struct amount_msat amount_msat_div_ceil(struct amount_msat msat, u64 div)
580
{
Callers
11
run
Function · 0.85
test_case_amount_div
Function · 0.85
handle_amount_and_recurrence
Function · 0.85
channel_hint_update
Function · 0.85
shadow_route_cb
Function · 0.85
maybe_update_onchain_fees
Function · 0.85
chan_extra_cannot_send
Function · 0.85
json_renepay
Function · 0.85
xpay_core
Function · 0.85
least_cost
Function · 0.85
measure_least_cost
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_case_amount_div
Function · 0.68