Home
last modified time | relevance | path

Searched refs:htlc_min (Results 1 – 4 of 4) sorted by relevance

/dports/net-p2p/c-lightning/lightning-0.10.2/common/
H A Dhtlc_trim.c12 struct amount_sat htlc_fee, htlc_min; in htlc_is_trimmed() local
41 if (!amount_sat_add(&htlc_min, dust_limit, htlc_fee)) in htlc_is_trimmed()
43 return amount_msat_less_sat(htlc_amount, htlc_min); in htlc_is_trimmed()
H A Dgossmap.h33 fp16_t htlc_min, htlc_max; member
72 struct amount_msat htlc_min,
H A Dgossmap.c478 hc.htlc_min = u64_to_fp16(map_be64(map, htlc_minimum_off), false); in update_channel()
796 struct amount_msat htlc_min, in gossmap_local_updatechan() argument
822 mod->hc[dir].htlc_min in gossmap_local_updatechan()
823 = u64_to_fp16(htlc_min.millisatoshis, /* Raw: to fp16 */ in gossmap_local_updatechan()
1072 if (amount_msat_less_fp16(amount, chan->half[direction].htlc_min)) in gossmap_chan_capacity()
/dports/net-p2p/c-lightning/lightning-0.10.2/common/test/
H A Drun-gossmap_local.c475 assert(chan->half[0].htlc_min == u64_to_fp16(1, false)); in main()
483 assert(chan->half[0].htlc_min == u64_to_fp16(99, false)); in main()
502 assert(chan->half[0].htlc_min == u64_to_fp16(0, false)); in main()