1
0

expose more trampoline boilerplate

allow delegation of make_tx and accept/send
This commit is contained in:
Sander van Grieken
2022-06-01 13:10:58 +02:00
parent 8807a428ed
commit 81b1f774e2
5 changed files with 81 additions and 17 deletions

View File

@@ -105,6 +105,22 @@ Pane {
Daemon.fx.rateSource = currentValue
}
}
Label {
text: qsTr('Lightning Routing')
enabled: Daemon.currentWallet.isLightning
}
ComboBox {
id: lnRoutingType
valueRole: 'key'
textRole: 'label'
enabled: Daemon.currentWallet.isLightning && false
model: ListModel {
ListElement { key: 'gossip'; label: qsTr('Gossip') }
ListElement { key: 'trampoline'; label: qsTr('Trampoline') }
}
}
}
}
@@ -118,5 +134,6 @@ Pane {
historicRates.checked = Daemon.fx.historicRates
rateSources.currentIndex = rateSources.indexOfValue(Daemon.fx.rateSource)
fiatEnable.checked = Daemon.fx.enabled
lnRoutingType.currentIndex = Config.useGossip ? 0 : 1
}
}