ThomasV
3e7d4749cf
turn classmethod 'find_all_plugins' into an instance method.
...
change 'use_' prefix to 'enable_plugin_'
2 years ago
SomberNight
52f1a2ce25
ecc: add method "bip340_tagged_hash"
...
I decided to use the stdlib (hashlib) instead of libsecp for this,
as it is simple enough, and the former is faster on my PC.
Added a unit test that compares the two.
2 years ago
SomberNight
bd9d0ccc33
ecc: refactor/clean-up sign/verify APIs
2 years ago
SomberNight
44e27ac8b5
ecc: add bindings for schnorr sign/verify
...
and require "schnorrsig" and "extrakeys" modules of libsecp256k1
2 years ago
SomberNight
30c9f5b6b1
walletdb: chan dict: small clean-up (incl db upgrade)
...
- "fail_htlc_reasons" was removed in 9b1c40e396
- "unfulfilled_htlcs": rm 2 dead items from the 4-tuple,
and convert False value of forwarding_key
2 years ago
ThomasV
94a8754bdd
regtest: test swapserver with trampoline onions
2 years ago
SomberNight
51b7fc04ef
walletdb: fix convert_version_58 for partial local txs
...
The transaction dict can also contain PSBTs (in addition to complete raw hex txs).
This is the case if the user has saved a partial (e.g. unsigned) tx as local into the history.
fixes https://github.com/spesmilo/electrum/issues/8913
2 years ago
SomberNight
d01582d58c
fix tests (follow-up)
...
follow-up 197979063a
2 years ago
ThomasV
32775c1b5d
regtest: fix varname in wait_until_htlcs_settled
...
(this was not affecting the tests)
2 years ago
SomberNight
8ab3dcce5d
keystore: API changes for from_seed/from_bip43_rootseed/bip39_to_seed
...
- force kwargs
- add type hints
2 years ago
Sander van Grieken
6ecbb8eb3f
tests: add test for payment_identifier.invoice_from_payment_identifier()
2 years ago
Sander van Grieken
0faf6928c0
tests: explicit sync on self.app instance ready and make sure _testcase_event is cleared before
...
QMetaObject.invokeMethod as that can race if it gets inadvertently executed synchronously.
2 years ago
Sander van Grieken
73fee69f5c
tests: move /electrum/tests to /tests
2 years ago