ThomasV
b432a1406a
lnchannel: apply stricter max_htlc_value_in_flight rules for receiving
...
Otherwise we create invoices that eclair cannot route to us
2025-05-20 12:44:14 +02:00
Sander van Grieken
c3f0993e53
test_lnchannel: add single_payment testcase for TestAvailableToSpend
2025-05-16 12:29:00 +02:00
bitromortac
de9fee706d
unit tests: tests for both anchors and old ctx types
...
* in test_lnutil, patch htlc weight to pass original anchor commitment
test vectors
* activate tests for both commitment types
2024-11-25 12:31:38 +01:00
ThomasV
19e993f39b
fix test_lnchannel (follow-up ea584e13fc)
2024-11-25 12:05:06 +01:00
bitromortac
a3dc2b847e
unit tests: test anchors in lnpeer and lnchannel
...
* testing of anchor channels is controlled via TEST_ANCHOR_CHANNELS
* rewrite tests in test_lnchannel.py
2024-11-22 12:23:51 +01:00
ThomasV
c58c4d7451
Make lntransport not require lnutil.
...
This will be useful if we decide to ship lntransport as a separate
package. It is also a conceptual cleanup.
Notes:
- lntransport still requires crypto.py
- parsing node id from a bolt11 invoice is not supported.
2024-10-22 09:26:36 +02:00
momantech
2b6090429c
Fix some comments
...
Signed-off-by: momantech <cuimoman@qq.com >
2024-04-17 18:46:05 +08:00
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
2024-03-01 16:28:46 +00:00
Sander van Grieken
73fee69f5c
tests: move /electrum/tests to /tests
2024-02-16 15:40:45 +01:00