Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ amount_msat_greater
Function
amount_msat_greater
common/amount.c:453–456 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
451
}
452
453
bool amount_msat_greater(struct amount_msat a, struct amount_msat b)
454
{
455
return a.millisatoshis > b.millisatoshis;
456
}
457
458
bool amount_sat_greater_eq(struct amount_sat a, struct amount_sat b)
459
{
Callers
15
add_htlc
Function · 0.85
new_channel
Function · 0.85
channel_amount_spendable
Function · 0.85
channel_amount_receivable
Function · 0.85
set_channel_config
Function · 0.85
json_add_payment_fields
Function · 0.85
find_channel_for_htlc_add
Function · 0.85
json_sendpay
Function · 0.85
json_injectpaymentonion
Function · 0.85
routehint_candidates
Function · 0.85
best_channel
Function · 0.85
forward_htlc
Function · 0.85
Calls
no outgoing calls
Tested by
2
test_amount_sub_fee
Function · 0.68
main
Function · 0.68