- Wallet.make_unsigned_transaction takes a FeePolicy parameter - fee sliders act on a FeePolicy instead of config - different fee policies may be used for different purposes - do not detect dust outputs in lnsweep, delegate that to lnwatcher
27 lines
597 B
QML
27 lines
597 B
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
|
|
import org.electrum 1.0
|
|
|
|
ElComboBox {
|
|
id: control
|
|
|
|
required property QtObject feeslider
|
|
|
|
textRole: 'text'
|
|
valueRole: 'value'
|
|
|
|
model: [
|
|
{ text: qsTr('ETA'), value: FeeSlider.FSMethod.ETA },
|
|
{ text: qsTr('Mempool'), value: FeeSlider.FSMethod.MEMPOOL },
|
|
{ text: qsTr('Feerate'), value: FeeSlider.FSMethod.FEERATE }
|
|
]
|
|
onCurrentValueChanged: {
|
|
if (activeFocus)
|
|
feeslider.method = currentValue
|
|
}
|
|
Component.onCompleted: {
|
|
currentIndex = indexOfValue(feeslider.method)
|
|
}
|
|
}
|