Function bdk::wallet::coin_selection::decide_change
source · [−]Expand description
Decide if change can be created
remaining_amount
: the amount in which the selected coins exceed the target amountfee_rate
: required fee rate for the current selectiondrain_script
: script to consider change creation