305 Commits (ef661050c8da36b7b2b73bec47dbaeddb38301f5)

Author SHA1 Message Date
ThomasV ac884eb3c3 lnpeer: Use a single queue per channel for messages that are ordered. 5 years ago
ThomasV 28c5825f41 follow-up previous commit 5 years ago
ThomasV 54ef6db762 do not try to reestablish channels in PREOPENING state (per BOLT2). 5 years ago
ThomasV d319680d16 lnpeer: do not dump exceptions raised in initialize 5 years ago
ThomasV bda23ef73d Use a Future for lnpeer.initialized, so that exceptions are passed to the GUI 5 years ago
ThomasV a1b8c8e54e add comment about minor issue with closing_signed 5 years ago
ThomasV 55e0e1a72e Generate channel keys from random seed 5 years ago
ThomasV 86d1e50469 select peers with desired features before connecting 5 years ago
ThomasV a96aa68a4c lnpeer: 5 years ago
ThomasV 570167a2c4 restrict lightning to p2wpkh wallets 5 years ago
ThomasV 2255b07157 support option_static_remotekey 5 years ago
SomberNight 46d8080c76
ln gossip: don't put own channels into db; always pass them to fn calls 5 years ago
ThomasV 2f10bc2f4d reestablish: force_close if we are a recent backup 5 years ago
ThomasV bb21e01823 (minor) call lnwatcher.add_channel from lnworker.add_channel 5 years ago
ThomasV e3630d87b2 test_lnpeer: test_reestablish_with_old_state 5 years ago
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
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
SomberNight 0a5ad9fda4
ecc: small API clean-up 5 years ago
ThomasV e1ce3aace7 Separate db from storage 5 years ago
ThomasV dbceed2647 Restructure wallet storage: 5 years ago
ThomasV 4ec86d36a8 faster and improved regtests 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
SomberNight b99add59c3
lnworker: introduce PaymentAttemptLog NamedTuple 5 years ago
ThomasV 065e98ad35 on_open_channel: rm call to non-existing method on_channels_updated 5 years ago
SomberNight 557987d4eb
add/fix some open_channel related type hints 6 years ago
ThomasV 038036f350 minor follow-up prev commit 6 years ago
ThomasV fd8236538a Open lightning channels with partially signed tx. 6 years ago
SomberNight 770ae6d878
fix tests 6 years ago
SomberNight bda9a407d9
trivial: don't print frequent-case log line in lnpeer.mark_open 6 years ago
SomberNight 268e245322
lnpeer: only set initialized after both sent AND received "init" 6 years ago
ThomasV 61dfcba092 Refactor channel states: 6 years ago
ThomasV b469df5283 check channel funding_tx amount and script in save_short_channel_id 6 years ago
SomberNight 216d9e3c4d
lnpeer: (fix) force_close_channel was not awaited in some cases 6 years ago
ThomasV 78813dcb7d Pass make_tx function to ConfirmTxDialog 6 years ago
SomberNight 7b18c91b74
psbt follow-up: fix ln cooperative close, and minor type clean up 6 years ago
SomberNight bafe8a2fff
integrate PSBT support natively. WIP 6 years ago
ThomasV 0966edc637 fine-grained callbacks for lightning network dialog 6 years ago
ThomasV dd0be1541e Improve handling of lightning payment status: 6 years ago
ThomasV d6d644190e lnworker: return error reason in await_payment 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 788d54f9a6 remove another instance of lnworker accessed in lnchannel 6 years ago
ThomasV 8331f0049c Remove lnpeer.payment_preimages: 6 years ago
ThomasV f08e5541ae Refactor invoices in lnworker. 6 years ago
SomberNight b2920db8b8
config: enforce that SimpleConfig is singleton 6 years ago
ThomasV cefa4762ba do not create multiple instances of SimpleConfig (fix #5629). Add config field to wallet 6 years ago
ThomasV 35761d1241 Save remote policy of chanel in wallet file (for private channels) 6 years ago