Home
last modified time | relevance | path

Searched refs:change_fee (Results 1 – 3 of 3) sorted by relevance

/dports/net-p2p/c-lightning/lightning-0.10.2/bitcoin/
H A Dtx.c939 struct amount_sat change_fee; in change_amount() local
945 if (!amount_sat_sub(&change_fee, in change_amount()
950 if (!amount_sat_sub(&excess, excess, change_fee)) in change_amount()
/dports/net-p2p/c-lightning/lightning-0.10.2/tests/
H A Dtest_wallet.py533 change_fee = Millisatoshi(7500 * change_weight)
534 assert funding['excess_msat'] == change + change_fee
635 change_fee = Millisatoshi(fee_val * change_weight // 1000 * 1000)
636 assert funding['excess_msat'] == change + change_fee
/dports/net-p2p/c-lightning/lightning-0.10.2/plugins/spender/
H A Dmultifundchannel.c1218 struct amount_sat change_fee, fee_paid, total_fee; in handle_mfc_change() local
1236 if (!amount_sat_sub(&change_fee, total_fee, fee_paid)) in handle_mfc_change()
1241 change_fee, chainparams->dust_limit)) in handle_mfc_change()
1248 mfc->excess_sat, change_fee); in handle_mfc_change()