65 Commits (6f7a4ab048bbdb4215ae47f206a878aa6215bf31)

Author SHA1 Message Date
SomberNight 6f7a4ab048
lnpeer: add get_channel_by_id, for small speed-up 6 years ago
SomberNight b9b53e7f76
lnworker: fix threading issues for .channels attribute 6 years ago
SomberNight b5811e8072
lnworker.peers: fix threading issues 6 years ago
SomberNight 1600241b02
fix tests: follow-up prev few commits 6 years ago
ThomasV ef2ff11926 fix tests (follow-up prev commit) 6 years ago
SomberNight 54e1520ee4
ln: check if chain tip is stale when receiving HTLC 6 years ago
SomberNight 12283d625b
(trivial) rename lnchannel.channel_states to ChannelState 6 years ago
ThomasV e50f6d29ed export channel backup from kivy gui 6 years ago
SomberNight 7dabbdd082
tests_lnpeer: trivial fix 6 years ago
ThomasV d2a58a2ec3 lnpeer: do not assume our privkey is the same as lnworker's privkey. 6 years ago
SomberNight 1be0a710c3
ln: implement option payment_secret 6 years ago
SomberNight 6ba08cc8d4
ln feature bits: flatten namespaces, and impl feature deps and ctxs 6 years ago
SomberNight c69937395e
lnmsg: add more tests (for encode_msg, decode_msg) 6 years ago
ThomasV beac1c4ddc channel_db: raise specific exception if database is not loaded when we try to find a route 6 years ago
ThomasV 2f31e9fa44 follow-up prev commit 6 years ago
SomberNight c95c0dcb80
lnrouter: add comments about path-finding blocking the asyncio loop 6 years ago
SomberNight 5b23d5ee97
lnchannel/lnhtlc: speed up balance calculation for recent ctns 6 years ago
SomberNight ec7473789e
lnhtlc: speed-up methods for recent ctns 6 years ago
ThomasV fbf6af5d07 fix test_lnpeer 6 years ago
ThomasV 584e0a38aa follow-up previous commit: fix test_lnpeer 6 years ago
ThomasV 8f3fcdd1a8 Fix detection of payments. 6 years ago
ThomasV b9eaba3e85 replace await_local/remote 6 years ago
SomberNight 74a3faf803
crypto: add 'cryptography' as alt dependency for 'pycryptodomex' 6 years ago
ThomasV f801307a08 move htlc_switch task to lnpeer 6 years ago
ThomasV da67fda92a HTLC switch: 6 years ago
ThomasV 077f778632 Replace lightning_settle_delay with enable_htlc_settle (asyncio.Event) 6 years ago
ThomasV e159b1d468 test_close: add unsettled htlc (fails with the current code) 6 years ago
SomberNight e54c69b861
add lnchannel.can_send_ctx_updates. just drop illegal updates for now 6 years ago
ThomasV 2927478192 lnpeer: closing fee negociation: 6 years ago
SomberNight 5fda2cbb42
fix test: test_reestablish_with_old_state 6 years ago
SomberNight 46d8080c76
ln gossip: don't put own channels into db; always pass them to fn calls 6 years ago
ThomasV 36f32651cc Define network.try_broadcasting() method. 6 years ago
ThomasV 88d5cdf87c fix test_lnpeer 6 years ago
ThomasV 9734546fe9 test_lnpeer: use less side-effects 6 years ago
ThomasV e3630d87b2 test_lnpeer: test_reestablish_with_old_state 6 years ago
ThomasV 69ef9aa3d7 channel_reestablish: assume that DLP is enabled, because we require it 6 years ago
ThomasV ece75c3244 test_lnpeer: simple test of channel_reestablish 6 years ago
ThomasV e1ce3aace7 Separate db from storage 6 years ago
SomberNight 308517d473
python 3.8: adapt to breaking changes re asyncio.CancelledError 6 years ago
Janus Troelsen 3ac8f461a9 Tests: Remove on_channels_updated (#5819) 6 years ago
ThomasV 61dfcba092 Refactor channel states: 6 years ago
ThomasV 9ff1bd4110 fix test following aac0fe9ae6 6 years ago
ThomasV dd0be1541e Improve handling of lightning payment status: 6 years ago
ThomasV c4ab1e6fad Encapsulate lightning payment events: 6 years ago
ThomasV 638de63f13 lnworker: rename 'invoices' to 'payments' when they can be in both directions 6 years ago
ThomasV bcb10e6e53 remove redundant test from lnworker._pay, rename pay_to_route parameter to lnaddr 6 years ago
SomberNight 04edad9984
config: no longer singleton. it is passed to Wallet.__init__ 6 years ago
ThomasV f08e5541ae Refactor invoices in lnworker. 6 years ago
ThomasV 54257cbcca Rewrite JsonRPC requests using asyncio. 6 years ago
ThomasV f2d58d0e3f optimize channel_db: 6 years ago