SomberNight
49a2dbb021
kivy: receive to ln invoice should be disabled if lightning is disabled
6 years ago
SomberNight
ff9cc4d292
kivy: fix "use change addresses" setting (previously ignored, always on)
this config setting is stored in the WalletStorage unlike most others
closes #5643
6 years ago
SomberNight
0b87ce426f
minor qt send tab fixes. notably 'send max' was broken
follow-up aaed594772
6 years ago
SomberNight
5e04f084b7
qt wizard: follow-up prev; simplify
6 years ago
SomberNight
f44f7d60ab
qt wizard: still show selector window if storage.__init__ raises WFE
(WalletFileException; e.g. if storage version is from the future)
6 years ago
SomberNight
c7346c1eb8
kivy: fix paying onchain invoices
when pasting a new invoice and paying it
Traceback (most recent call last):
File "/home/user/wspace/electrum/electrum/gui/kivy/uix/screens.py", line 358, in _do_send_onchain
tx = self.app.wallet.make_unsigned_transaction(coins, outputs, None)
File "/home/user/wspace/electrum/electrum/wallet.py", line 849, in make_unsigned_transaction
if o.type == TYPE_ADDRESS:
AttributeError: 'tuple' object has no attribute 'type'
when loading back a saved invoice
Traceback (most recent call last):
File "/home/user/wspace/electrum/electrum/gui/kivy/uix/screens.py", line 358, in _do_send_onchain
tx = self.app.wallet.make_unsigned_transaction(coins, outputs, None)
File "/home/user/wspace/electrum/electrum/wallet.py", line 849, in make_unsigned_transaction
if o.type == TYPE_ADDRESS:
AttributeError: 'list' object has no attribute 'type'
6 years ago
SomberNight
1f305bba39
qt history tab txn drag and drop: fix #5635
6 years ago
ThomasV
1ecbafb920
add SSL context to watchtower server
6 years ago
ThomasV
26efef9e06
move lightning settings to settings dialog
6 years ago
ThomasV
aaed594772
Simplify invoices and requests.
- We need only two types: PR_TYPE_ONCHAIN and PR_TYPE_LN
- BIP70 is no longer a type, but an optional field in the dict
- Invoices in the wallet are indexed by a hash of their serialized list of outputs.
- Requests are still indexed by address, because we never generate Paytomany requests.
- Add 'clear_invoices' command to CLI
- Add 'save invoice' button to Qt
6 years ago
SomberNight
1b332748c3
qt console: fix commands that do not expect a 'wallet' arg
6 years ago
SomberNight
b9af8bf60a
get_tx_fee: further follow-up 7b828359c6
6 years ago
ThomasV
3d04399581
follow-up 7b828359c6
6 years ago
ThomasV
79de0489e3
kivy: do not remove fee from tx value in history (minor)
6 years ago
ThomasV
7b828359c6
simplify get_tx_fee
6 years ago
SomberNight
482605edbb
wallet: organise get_tx_fee. store calculated fees. storage version 19.
6 years ago
ThomasV
5c83e8bd1c
follow-up 241873f0a4
6 years ago
SomberNight
b138fff9a5
wallet: txi/txo small clean-up
6 years ago
SomberNight
241873f0a4
address_synchronizer.get_history now returns HistoryItem(NamedTuple)s
6 years ago
ThomasV
65b88dca86
return fees in history, show them in kivy GUI
6 years ago
ThomasV
a47a2c1b72
follow-up prev
6 years ago
ThomasV
1d82093ca1
fix bug in lightning get_history: filter settled htlcs first
6 years ago
ThomasV
30092cd68c
kivy: request PIN to load_wallet only on android
6 years ago
ThomasV
215dc96de7
define LNWatcher.do_breach_remedy
6 years ago
ThomasV
7370910fee
fix simple_config.estimate_fee
6 years ago
SomberNight
c531c72940
kivy: attempt at handling (some) exceptions on startup
6 years ago
SomberNight
a05dab2c4d
storage: read/write sanity checks
related: #4110
supersedes: #4528
6 years ago
SomberNight
4dda162336
qt wizard: turn 'temp_storage' into local variable
6 years ago
SomberNight
9eee36fe00
follow-up prev
6 years ago
SomberNight
098636c69a
fix tests
6 years ago
SomberNight
9c31c1f970
wallet: address_is_old is now checked using SPV (during sync)
6 years ago
SomberNight
b2920db8b8
config: enforce that SimpleConfig is singleton
related: #5629
6 years ago
ThomasV
a43be6657d
follow-up on SingleConfig
6 years ago
SomberNight
1a08063928
config: remove 'open_last_wallet' side-effecting
related: #5629
6 years ago
SomberNight
d1026b5afe
follow-up: SimpleConfig is supposed to be singleton
see cefa4762ba
and #5629
6 years ago
ThomasV
16e293c289
follow-up cefa4762ba
6 years ago
ThomasV
8e4fe051d3
add comment in storage._write
6 years ago
ThomasV
cefa4762ba
do not create multiple instances of SimpleConfig ( fix #5629 ). Add config field to wallet
6 years ago
SomberNight
bcdb72ae93
qt: add some type hints
6 years ago
SomberNight
ef5a5151e3
daemon: make 'wallets' dict private
especially as keys (paths) need to be standardized, this should not be exposed
6 years ago
SomberNight
befa8ea771
transaction: kill "name", "csv_delay", "cltv_expiry" fields
6 years ago
ThomasV
e5502a58ba
uncomment breach_remedy in watchtower
6 years ago
ghost43
ddcd77ab36
Merge pull request #5628 from TheCharlatan/fixMultisigDigitalBitBox
Digital BitBox: Fix sending to self
6 years ago
TheCharlatan
e7079f1bea
Digital BitBox: Fix sending to self
Make sure that a pubkey is only appended to the checkpub array if it
corresponds to a change address. Signing will fail otherwise, if a
non-change pubkey is sent as part of the checkpub list to the Digital
BitBox.
6 years ago
ThomasV
64deb87ade
fix #5513
6 years ago
ThomasV
103a37b0ca
add wallet_path to kwargs in run_cmdline
6 years ago
ThomasV
46ffab0b55
remove --wallet option for daemon. fixes #3752
6 years ago
SomberNight
d1dea9343e
wallet: address_is_old minor clean-up
also, synchronize was defined twice in AddressSynchronizer
6 years ago
SomberNight
ccc1897f36
qt addresses list: use IntEnum for dropdown filters
6 years ago
ThomasV
86bd3839df
follo-up 35761d1241
6 years ago