ThomasV
695fe004b0
setconfig: do not return 'true'
...
not useful (we have type checking) and sometimes confusing
(for example, when you set something to 'false')
2 years ago
ThomasV
16ef287e86
swap server: try to batch funding transactions
2 years ago
Sander van Grieken
cbcafe8960
qml: remove redundant WalletDB, closes #8628
2 years ago
Sander van Grieken
e4f9cfb1cc
qt: clipboard might have been changed after show menu. add check. fixes #6526
2 years ago
ThomasV
40eba6f780
submarine swaps: improve labels
...
- claim tx was incorrectly labeled
- if we send tx change to a swap, display both labels
2 years ago
Sander van Grieken
9ed5f7bf43
qml: don't show "select server automatically" checkbox in network setup wizard
2 years ago
ThomasV
6de40321c5
rbf batching: make sure new feerate > old feerate
...
The previous lower bound did not ensure that, sometimes
resulting in tx rejection. Note, though, that BIP125 does
not explicitly state that the new feerate must be strictly
higher than the old feerate.
2 years ago
Sander van Grieken
f7bf4e146d
payment_identifier: move adding openalias to contacts out of _do_resolve.
...
This fixes "cannot pickle '_thread.RLock' object" when paying from Contacts tab
2 years ago
Sander van Grieken
1ea1a70099
partial-writes: add missing package pins
2 years ago
Sander van Grieken
67b0fa2047
qml: add extra parent_fee check. fixes #8634
2 years ago
Sander van Grieken
b12c3233e5
qml: followup 5acfe418079dbc9935cf9576e50ae2c8c841e301; don't save expiry Never as default.
2 years ago
Sander van Grieken
b8b5dab68a
qml: properly return when current wallet is selected from wallets list
2 years ago
ThomasV
5acfe41807
qml: add never-expiring requests. fixes #8631
2 years ago
ThomasV
9ebae958dc
text gui: fix WalletDB
2 years ago
Alef Farah
cf4590bee3
fix recv for text gui
2 years ago
ThomasV
98cecb305e
jsondb: raise an exception if a daemon thread attempts to write
2 years ago
ThomasV
71d6cc0b35
lnpeer: split 'pay' method into 'create_onion_for_route'
...
and 'send_htlc'
This will be useful for just_in_time channels, as we will need
to create an onion before the channel object is available.
2 years ago
ThomasV
1af6972d03
Merge pull request #8493 from spesmilo/jsonpatch_new
...
partial-writes using jsonpatch
2 years ago
ThomasV
d79a4a0380
Merge pull request #8623 from accumulator/qml_sign_verify
...
qml: add message sign/verify
2 years ago
ThomasV
20416ba387
Merge pull request #8627 from qqux/master
...
Cleanup block explorer list
2 years ago
qqux
7429c29a37
Cleanup block explorers
2 years ago
Sander van Grieken
e5e1e46b7b
qml: add message sign/verify
2 years ago
ThomasV
4bfd3b2f46
test_lnpeer:
...
- do not use needs_test_with_all_chacha20_implementation,
this is slow and not really useful here.
- split TestPeer class in two classes, depending on the type
of graph we use.
2 years ago
ThomasV
e206d264c8
trampoline forwarding: use routing hints
...
unit tests:
- remove 'drop_dave' flag, replace it by depleted channel
- add test for trampoline forwarding using routing hints
- lower attempts to 2
2 years ago
Sander van Grieken
b846eabb70
qml: clicking on one of your own addresses on TxDetails page now takes you to AddressDetails page.
2 years ago
Sander van Grieken
3ff588049e
payment_identifier: output is only considered a script if written as call-like 'script(<script>)'
2 years ago
Sander van Grieken
05a34fbe24
qml: tap-on-background now removes focus, allowing convenient way to hide keyboard
2 years ago
Sander van Grieken
6222b5ad40
followup 94a6f6cd0e
2 years ago
Sander van Grieken
94a6f6cd0e
coldcard: don't raise when get_soft_device_id can't get xpub.
...
This allows uninitialized coldcards to show up in the device list.
2 years ago
SomberNight
e346d36851
bump libsecp256k1 version
2 years ago
ThomasV
c495445f51
storage: remember file length when writing to file
...
- make append fail if the actual file length differs
- consolidate when file length > 2 * last consolidated length
2 years ago
ThomasV
35a86ec5aa
qt console history: ensure partial writes
2 years ago
ThomasV
64cd816a82
json_db: recover corrupt db from incomplete file appends
2 years ago
ThomasV
7ca89f56ee
partial-writes using jsonpatch
...
- partial writes are append only.
- StoredDict objects will append partial writes to the wallet
file when items are added, replaced, removed.
- Lists in the wallet file that have not been registered
as StoredObject are converted to StoredList, which
overloads append() and remove(). Those methods too will
append partial writes to the wallet file.
- Unlike the old jsonpatch branch, this branch does not support
file encryption. Encrypted files always fully rewritten, even
if the change before encryption is a partial write.
2 years ago
ThomasV
019be008d6
json_db: do not overload load_data.
...
instead, pass an upgrader function to the constructor.
2 years ago
SomberNight
4978d40956
qt gui __init__: restore import order - raise pyqt5 missing early
...
follow-up https://github.com/spesmilo/electrum/pull/8560
2 years ago
ThomasV
4cc3c704b2
QML: Check passwords with WalletDB instances that have no storage,
...
to avoid unwanted side effects.
In qedaemon, call load_wallet with upgrade=True when loading a
wallet. Apparently, this was not done before; db upgrades were
performed as a side-effect of password verification...
2 years ago
ThomasV
30038f4ace
follow-up previous commit: write storage only if there was an upgrade
2 years ago
ThomasV
517cef8248
jsondb: write storage in __init__, in case there was a db upgrade
2 years ago
ThomasV
56e80c20d7
wallet_db upgrade: do not use '/' in StoredDict keys
2 years ago
SomberNight
a7128438d4
wallet_db: fix typo in renamed arg "upgrade"
...
follow-up 8be3c4dadd
2 years ago
SomberNight
0a3dd8e5e5
keepkey: fix TIM_RECOVER restore method
...
follow-up 8be3c4dadd
related: https://github.com/spesmilo/electrum/pull/8560#discussion_r1329127300
2 years ago
ThomasV
44dddee4d2
qt wizard: restore previous window size
2 years ago
ThomasV
83ff192bf5
follow-up 190c19d48c
2 years ago
Sander van Grieken
190c19d48c
whitespace, imports, code style
2 years ago
ThomasV
4acf1ac1df
new wizard: set default values for proxy and autoconnect
2 years ago
ThomasV
e581781775
Merge pull request #8592 from spesmilo/jsondb_cleanup
...
Jsondb cleanup
2 years ago
Sander van Grieken
6e52aa0edd
qml: fix wizard multisig cosigner script and derivation GUI component name
2 years ago
ThomasV
68159b3ef6
walletDB: replace 'manual_upgrades' parameter with 'upgrade', with opposite semantics
2 years ago
ThomasV
b5bc5ff9ed
Separate WalletDB from storage upgrades.
...
Make sure that WalletDB.data is always a StoredDict.
Perform db upgrades in a separate class, since they
operate on a dict object.
2 years ago