File tree 2 files changed +28
-0
lines changed
2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -271,6 +271,23 @@ Pane {
271
271
}
272
272
}
273
273
274
+ RowLayout {
275
+ Layout .columnSpan : 2
276
+ spacing: 0
277
+ Switch {
278
+ id: freezeReusedAddressUtxos
279
+ onCheckedChanged: {
280
+ if (activeFocus)
281
+ Config .freezeReusedAddressUtxos = checked
282
+ }
283
+ }
284
+ Label {
285
+ Layout .fillWidth : true
286
+ text: Config .shortDescFor (' WALLET_FREEZE_REUSED_ADDRESS_UTXOS' )
287
+ wrapMode: Text .Wrap
288
+ }
289
+ }
290
+
274
291
PrefsHeading {
275
292
Layout .columnSpan : 2
276
293
text: qsTr (' Lightning' )
@@ -441,6 +458,7 @@ Pane {
441
458
rateSources .currentIndex = rateSources .indexOfValue (Daemon .fx .rateSource )
442
459
fiatEnable .checked = Daemon .fx .enabled
443
460
spendUnconfirmed .checked = Config .spendUnconfirmed
461
+ freezeReusedAddressUtxos .checked = Config .freezeReusedAddressUtxos
444
462
useTrampolineRouting .checked = ! Config .useGossip
445
463
enableDebugLogs .checked = Config .enableDebugLogs
446
464
alwaysAllowScreenshots .checked = Config .alwaysAllowScreenshots
Original file line number Diff line number Diff line change @@ -120,6 +120,16 @@ def spendUnconfirmed(self, checked):
120
120
self .config .WALLET_SPEND_CONFIRMED_ONLY = not checked
121
121
self .spendUnconfirmedChanged .emit ()
122
122
123
+ freezeReusedAddressUtxosChanged = pyqtSignal ()
124
+ @pyqtProperty (bool , notify = freezeReusedAddressUtxosChanged )
125
+ def freezeReusedAddressUtxos (self ):
126
+ return self .config .WALLET_FREEZE_REUSED_ADDRESS_UTXOS
127
+
128
+ @freezeReusedAddressUtxos .setter
129
+ def freezeReusedAddressUtxos (self , checked ):
130
+ self .config .WALLET_FREEZE_REUSED_ADDRESS_UTXOS = checked
131
+ self .freezeReusedAddressUtxosChanged .emit ()
132
+
123
133
requestExpiryChanged = pyqtSignal ()
124
134
@pyqtProperty (int , notify = requestExpiryChanged )
125
135
def requestExpiry (self ):
You can’t perform that action at this time.
0 commit comments