krzysobo
7ea7e7cec9
bitcoin.address_to_scripthash: add net param ( #7143 )
closes #7141
4 years ago
ThomasV
41f22df26b
submarine swaps: use num_sats_can_receive_no_mpp, to prevent funds being locked
4 years ago
ThomasV
bdd9c4823f
hardcoded trampoline nodes: replace IPs with domain names
4 years ago
ThomasV
a642a11936
add another DNS seed
4 years ago
ThomasV
fdb0fe2f4c
lnworker: guess routing fee in num_sats_can_send
4 years ago
ThomasV
b64fcfb9e3
lnpeer: if close_channel times out, check unconfirmed_closing_txid before raising an exception
4 years ago
SomberNight
5beadaab95
commands: clean-up inject_fees cmd
4 years ago
ThomasV
f14b7d5a12
check_password_for_directory: safeguards
4 years ago
ThomasV
4b870f15a7
fix wrong call to request_force_close_from_backup, make it private
4 years ago
ThomasV
6491421930
lnchannel: rename force_close_detected -> closing_detected, use it only if state is OPEN
4 years ago
ThomasV
8a7bd5cf3e
(minor) fix GUI if channel is force closing
4 years ago
ThomasV
241bf9ddd1
kivy: if password is unified, allow user to reset pin code
4 years ago
SomberNight
638d4f7472
commands: fix signtransaction cmd when used with "privkey" arg
A naive "solver" is implemented locally for p2pkh-like inputs.
Other more complex scripts cannot be signed atm without a wallet.
closes https://github.com/spesmilo/electrum/issues/7117
4 years ago
SomberNight
c2c3ece455
wallet: implement get_utxos at specific block height
This allows looking up what UTXOs the wallet had at a specific time in the past.
4 years ago
ThomasV
4b0f439301
(minor) follow-up ed6eea9161
4 years ago
ThomasV
130842ecd4
Add 'has_onchain_backup' to channel storage, to fix the displayed icon.
Note that this will not fix the value for already existing channels
that have been created with onchain backup; one would need a wallet_db
upgrade in order to fix them (probably not worth the effort).
4 years ago
ThomasV
ed6eea9161
kivy: make sure there is only one resume dialog
4 years ago
ThomasV
a95bdbb331
kivy: count open channels
4 years ago
ThomasV
18d7db12da
Change warning shown on first channel creation
Qt: if created channel is not recoverable, show channel backup after creation
4 years ago
ThomasV
f2aa52e5aa
minor: fix channel backup icon
4 years ago
ThomasV
2b3c64a9d7
qt: use the same 'nocloud' icon in wallet information
4 years ago
ThomasV
ca6cfbc6b0
channels list: group icons to save space
4 years ago
ThomasV
57320c0304
Merge pull request #7133 from SomberNight/202103_qt_channel_features
qt channels list: add "features" column with icons (e.g. trampoline)
4 years ago
SomberNight
db37938963
qt channels list: add "features" column with icons (e.g. trampoline)
4 years ago
ThomasV
9583887c1f
qt: change backup icon, add tooltip
4 years ago
ThomasV
cd6a468fb9
Android: unify password as soon as we know it is possible
4 years ago
SomberNight
2c047c72e1
(trivial) just add some TODOs
4 years ago
SomberNight
50b165fc3b
tests: rename TestSuccess(Exception) to SuccessfulTest
The test framework did not like the "Test" prefix.
```
electrum/tests/test_lnpeer.py:305
/home/travis/build/spesmilo/electrum/electrum/tests/test_lnpeer.py:305: PytestCollectionWarning: cannot collect test class 'TestSuccess' because it has a __init__ constructor (from: electrum/tests/test_lnpeer.py)
```
4 years ago
ThomasV
a5fea043d1
Allow user to remove onchain backups.
4 years ago
ThomasV
ec01380105
kivy: channels list improvements
4 years ago
ThomasV
a67fcdbc8a
channels_list: use icon to tell apart channels from backups
4 years ago
ThomasV
62a95c4b94
lnchannel: add pseudo-state force_close_detected for GUI
4 years ago
ThomasV
763ee86028
lnwatcher: trigger 'verified' callback with the main wallet object.
This is a temporary fix; we should not use an extra synchronizer, and persist results.
4 years ago
ThomasV
f7d2a33d45
set initial trampoline fee level to 1 unless we are testing
4 years ago
ThomasV
c3221f7bfe
(temporary) disable e2e and dual trampoline if first trampoline is ACINQ
4 years ago
ThomasV
0f4297cfa8
fix direct payment to trampoline node
4 years ago
ThomasV
f8804b29c9
(minor) fix mutable default value
4 years ago
ThomasV
aa1fcc784e
wallet: store wanted_height in future_tx, instead of remaining blocks
4 years ago
SomberNight
03d9b29eee
lntransport: optimise read_messages implementation
Not great to use a 'bytes' object as a FIFO buffer, as every slice copies the whole thing.
With bytearray, extending it from the right is fast,
and with the correct syntax, popping from the left is fast too.
see https://stackoverflow.com/a/57748513
https://bugs.python.org/issue19087
5df8a8a1fd
4 years ago
SomberNight
4f13c451c7
tests: rework lntransport test a bit
send multiple messages, and not only short ones
4 years ago
ThomasV
1a49fd440d
kivy: add option to request force-close
4 years ago
ThomasV
22e6fe09c1
Merge pull request #7125 from verretor/2021-03-style
Minor style changes
4 years ago
Benoit Verret
f731c38293
Minor style changes
4 years ago
gruve-p
9609a60ab6
Rename excluce to exclude ( #7121 )
4 years ago
SomberNight
beba807cfe
qt ChannelsList: fix opening channel with "max" amount
4 years ago
SomberNight
d86c45edac
dependencies: bump min aiorpcx, and enforce at runtime
Note that newer aiorpcx started requiring python 3.8, so we cannot use
the latest versions, until we too bump the min python version to 3.8.
We should not do that until debian stable ships python 3.8.
Also, new aiorpcx introduced some API changes which we will need to
adopt, so even if the user locally has recent enough python, we need
old aiorpcx atm.
related: https://github.com/spesmilo/electrum/issues/7118
4 years ago
ThomasV
aad392f6ff
lnworker: filter active channels in create_routes_for_payment
4 years ago
ThomasV
0121cbcbbe
pay_to_route: raise PaymentFailure in case of dropped peer, so that we reset payment status
4 years ago
ThomasV
bbb9ce2430
lnwatcher.try_redeem: output log only the first time a tx is seen
4 years ago
ThomasV
aba0bad30c
lnwatcher: try_redeem must return if tx is None
4 years ago