SomberNight
098636c69a
fix tests
5 years ago
SomberNight
9c31c1f970
wallet: address_is_old is now checked using SPV (during sync)
5 years ago
SomberNight
b2920db8b8
config: enforce that SimpleConfig is singleton
related: #5629
5 years ago
ThomasV
a43be6657d
follow-up on SingleConfig
5 years ago
SomberNight
1a08063928
config: remove 'open_last_wallet' side-effecting
related: #5629
5 years ago
SomberNight
d1026b5afe
follow-up: SimpleConfig is supposed to be singleton
see cefa4762ba
and #5629
5 years ago
ThomasV
16e293c289
follow-up cefa4762ba
5 years ago
ThomasV
8e4fe051d3
add comment in storage._write
5 years ago
ThomasV
cefa4762ba
do not create multiple instances of SimpleConfig ( fix #5629 ). Add config field to wallet
5 years ago
SomberNight
bcdb72ae93
qt: add some type hints
5 years ago
SomberNight
ef5a5151e3
daemon: make 'wallets' dict private
especially as keys (paths) need to be standardized, this should not be exposed
5 years ago
SomberNight
befa8ea771
transaction: kill "name", "csv_delay", "cltv_expiry" fields
5 years ago
ThomasV
e5502a58ba
uncomment breach_remedy in watchtower
5 years ago
ghost43
ddcd77ab36
Merge pull request #5628 from TheCharlatan/fixMultisigDigitalBitBox
Digital BitBox: Fix sending to self
5 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.
5 years ago
ThomasV
64deb87ade
fix #5513
5 years ago
ThomasV
103a37b0ca
add wallet_path to kwargs in run_cmdline
5 years ago
ThomasV
46ffab0b55
remove --wallet option for daemon. fixes #3752
5 years ago
SomberNight
d1dea9343e
wallet: address_is_old minor clean-up
also, synchronize was defined twice in AddressSynchronizer
5 years ago
SomberNight
ccc1897f36
qt addresses list: use IntEnum for dropdown filters
5 years ago
ThomasV
86bd3839df
follo-up 35761d1241
5 years ago
ThomasV
35761d1241
Save remote policy of chanel in wallet file (for private channels)
5 years ago
SomberNight
1612bca4c8
wine build: add --build to ./configure: prevents cross-comp. misdetect
from Electron-Cash/Electron-Cash/commit/e87021a78dbdeb50e9cfa51ddf0c1ef60c7688e0
5 years ago
SomberNight
b381fd84fb
build: when building libsecp256k1, patch Makefile.am before autogen.sh
apparently this could have caused issues on MacOS
based on Electron-Cash/Electron-Cash@69f6cd0aa0552cb12bb2948da8f0d3f7ae32ffc8
5 years ago
SomberNight
abde8ff169
wallet: fix maturity off-by-one
based on Electron-Cash/Electron-Cash@c70957eb131ccb780726c8d01bcbb914df5b9644
5 years ago
SomberNight
e3d5475f03
kivy: commit png icons (for svg resources) into repo
5 years ago
SomberNight
b1dc281cba
kivy amount_dialog: truncate btc amounts to max precision
closes #5624
5 years ago
ThomasV
d5d9f5b46c
fix #5618
5 years ago
SomberNight
83fcdbd561
lnchannel: handle htlc-address collisions
We were previously generating an incorrect commitment_signed msg if there were
multiple htlcs sharing the same scriptPubKey.
5 years ago
SomberNight
00f15d491b
lnpeer: somewhat nicer log messages
5 years ago
SomberNight
d4da4aa56c
lnrouter: fix off-by-one in NUM_MAX_EDGES_IN_PAYMENT_PATH
5 years ago
SomberNight
25c372a3e0
lnworker.invoices access now uses lock
(qt gui thread vs asyncio thread race)
Traceback (most recent call last):
File "/home/user/wspace/electrum/electrum/gui/qt/main_window.py", line 1685, in do_send
self.pay_lightning_invoice(self.payto_e.lightning_invoice)
File "/home/user/wspace/electrum/electrum/gui/qt/main_window.py", line 1667, in pay_lightning_invoice
self.invoice_list.update()
File "/home/user/wspace/electrum/electrum/gui/qt/invoice_list.py", line 73, in update
_list = self.parent.wallet.get_invoices()
File "/home/user/wspace/electrum/electrum/wallet.py", line 525, in get_invoices
out += self.lnworker.get_invoices()
File "/home/user/wspace/electrum/electrum/util.py", line 401, in
return lambda *args, **kw_args: do_profile(args, kw_args)
File "/home/user/wspace/electrum/electrum/util.py", line 397, in do_profile
o = func(*args, **kw_args)
File "/home/user/wspace/electrum/electrum/lnworker.py", line 1007, in get_invoices
for key, (invoice, direction, status) in self.invoices.items():
RuntimeError: dictionary changed size during iteration
5 years ago
SomberNight
509df9ddaf
create class for ShortChannelID and use it
5 years ago
SomberNight
251db638af
only require libsecp256k1 if lightning is enabled
related: #5606
5 years ago
ThomasV
e5ff4fc7cd
fix #5605
5 years ago
ThomasV
5e92f637a6
fix CLI exception handling
5 years ago
ThomasV
35b0b3a43c
Fix CLI. Some commands require wallet_path. Return error on exception.
5 years ago
ThomasV
5faa0ade3d
ignore exceptions in payserver
5 years ago
SomberNight
712c3f1248
commands: try to fix tests
5 years ago
SomberNight
edf186da0d
channeldb.load_data: attempt at fixing race
closes #5525
5 years ago
SomberNight
4f741cfccc
lnpeer: longer timeouts
5 years ago
SomberNight
58681e4d07
follow-up prev (commands)
5 years ago
ThomasV
9ec9e1760a
CLI: always use the daemon's cmd_runner, and pass the 'wallet'
parameter explicitly to each command that requires it.
Previous code was relying on side effects to set the wallet.
This should fix #5614
5 years ago
SomberNight
0deb12cb2b
kivy: fix ln channel open via scan_qr
5 years ago
ThomasV
45f3e28d38
qt: minor fixes
5 years ago
ThomasV
28da62f51b
add PayServer settings to settings_dialog
5 years ago
ThomasV
96d3c36e4a
Qt: move settings dialog to a separate module
5 years ago
ThomasV
9d595f1fe1
fix websocket messages
5 years ago
ThomasV
94e7e94e2f
fix ssl config names, add new config tab
5 years ago
ThomasV
466c2bd293
for now, use PR_PAID for onchain unconfirmed
5 years ago