ThomasV
3377627070
reestablish_channel: shorter varnames
5 years ago
ThomasV
69ef9aa3d7
channel_reestablish: assume that DLP is enabled, because we require it
5 years ago
SomberNight
e42e17779d
windows: dll-load 'hack' needs to be applied not only from main script
but also when running tests, or just importing electrum from an interpreter
5 years ago
SomberNight
23a93ef7ad
windows: when running from source, load DLLs from main dir
Load DLLs from inner 'electrum' dir instead of '.dlls'.
To make it consistent with where we expect libsecp256k1 (.dll/.so) be.
(note that while in case of libsecp we specifically already search the main dir,
without this change, other DLLs such as libusb or libzbar would not be found there)
5 years ago
SomberNight
e8118e1845
gitignore: add .so/.dll in inner 'electrum' folder
5 years ago
ThomasV
9ccfa318f8
add new peer_state for the case where we are waiting for the remote party to force close a channel
5 years ago
ThomasV
8688a6530a
reestablish_channel: do not send second channel_reestablish message if they are ahead (they should know it)
5 years ago
ThomasV
ece75c3244
test_lnpeer: simple test of channel_reestablish
5 years ago
ThomasV
28dc1928a0
Merge pull request #5947 from SomberNight/202002_ecdsa
make libsecp256k1 a mandatory dependency
5 years ago
SomberNight
f78589ec77
update README to mention libsecp
5 years ago
SomberNight
5b84e714f2
build: workaround for 'realpath' missing on macOS
5 years ago
SomberNight
4cec098d2d
build: create a standalone build script for libsecp256k1
heavily based on Electron-Cash/Electron-Cash@eda015908e9d6ea9a0adfbda9db55b929c0926ba
5 years ago
SomberNight
1d72585b7d
ecc: hard fail if libsecp256k1 is not found/usable
5 years ago
SomberNight
de1ca27d63
tests: rm "needs_test_with_all_ecc_implementations" decorator
now libsecp256k1 is the only implementation
5 years ago
SomberNight
0a5ad9fda4
ecc: small API clean-up
5 years ago
SomberNight
288d793893
ecc: use libsecp256k1 for pubkey recovery (from sig and msg)
5 years ago
SomberNight
ab0c70e291
ecc: use libsecp256k1 for signature conversions
(instead of python-ecdsa)
5 years ago
SomberNight
ad408ea832
ecc: use libsecp256k1 for sign/verify/mul/add
5 years ago
SomberNight
2cf2135528
ecc: abstract away some usage of python-ecdsa: bytes<->int conversions
5 years ago
SomberNight
004acb906d
ecc: abstract away some usage of python-ecdsa: randrange
5 years ago
ThomasV
a600873cf9
move wrapper definition outside of main_window class
5 years ago
ThomasV
e1ce3aace7
Separate db from storage
- storage is content-agnostic
- db and storage are passed to wallet contructor
5 years ago
ThomasV
c61e5db6a9
fixes for text interface
5 years ago
SomberNight
f9960a5fe2
qt: don't clear send tab in broadcast_done
no longer needed as fields are already cleared when user clicks Save/Pay
5 years ago
SomberNight
34392e82b9
cosigner pool: easy fix (works but with worse than previous behaviour)
got broken as part of PSBT changes in #5721
5 years ago
Jin Eguchi
4313bde4c2
appimage: update libudev-dev ( #5936 )
5 years ago
ThomasV
7bd29ed8fc
regtest: wait_for_balance
5 years ago
SomberNight
9d2629c5c3
blockchain.fork: better exception if datadir was deleted while running
5 years ago
SomberNight
f545d2b716
qt update checker: use longer timeout
closes #5899
5 years ago
SomberNight
3835157f41
cli: history commands: only json-encode once
closes #5868
closes #5931
5 years ago
ThomasV
dbceed2647
Restructure wallet storage:
- Perform json deserializations in wallet_db
- use StoredDict class that keeps tracks of its modifications
5 years ago
ThomasV
0a9e7cb04e
(minor) rename class: StoredAttr -> StoredObject
5 years ago
ThomasV
7507942b7a
(minor) json_db: add file header, fix formatting
5 years ago
ThomasV
b08947a506
storage upgrade: convert lists to dict (txi, txo, revocation_store channels)
5 years ago
ThomasV
63963323be
storage: take the DB lock when writing to disk.
5 years ago
ThomasV
73e656522e
regests: organize tests in two classes
5 years ago
ThomasV
149cd9598a
Separate JsonDB and WalletDB
5 years ago
ThomasV
8118bd1d72
use setEnabled() for Qt menu items: Network, Lightning, Watchtower
5 years ago
ThomasV
4ec86d36a8
faster and improved regtests
- print the test name before each test
- start only needed agents (alice, bob, carol)
- set settle_delay using setconfig instead of restarting daemon
- test the watchtower ctn in test_watchtower
5 years ago
ThomasV
cded582fe9
Start watchtower if run_watchtower is set, even if lightning is not activated ( fix #5896 ).
Fix parameters of sweepstore.add_sweep_tx, rm dead code.
5 years ago
ThomasV
e876cb0d93
Merge pull request #5913 from roth-a/master
Kivy: Adding address coloring to AddressPopup (Address Details)
5 years ago
Alexander Roth
b6a5f6f2fc
Added coloring to the AddressPopup dialog:
- Moved the coloring logic (address_colors) from tx_dialog.py to a new file electrum/gui/kivy/util.py
- Added background_color to <RefLabel> in main.kv
- Calling address_colors in the initialization of AddressPopup and setting the foreground and background color
Code cleanup spaces
Code cleanup spaces
Fixed typo
5 years ago
ThomasV
aa51df0a1a
Use attr.s for Feeupdates and Outpoints
Storage upgrade to version 23
5 years ago
ThomasV
7472eba78c
lnpeer: code factorization
5 years ago
ThomasV
757467782a
Use attr.s instead of namedtuples for channel config
5 years ago
ThomasV
9bd633fb0b
Merge pull request #5917 from wakiyamap/fix_travis_appimage
Fix travis appimage
5 years ago
ThomasV
a9463cb245
Merge pull request #5918 from wakiyamap/fix_travis_regtest
Fix travis regtest
5 years ago
wakiyamap
3314591192
Fix travis regtest
5 years ago
wakiyamap
1237134339
Fix travis appimage
5 years ago
SomberNight
11452722af
network dns hacks: split from network.py into its own file
5 years ago