50 Commits (7fdedd5c4071e687bb5b3fa2b17a851e45947a97)

Author SHA1 Message Date
SomberNight 89bd520185
bitcoin: move construct_witness from transaction.py to bitcoin.py 5 years ago
ThomasV 368229a4c3 lnsweep: claim our_ctx_to_local if we breach 6 years ago
ThomasV abe1bece2c remove UnknownPaymentHash (exception used as value) 6 years ago
ThomasV f53a10084d create_sweeptxs_for_our_ctx: fix static_remotekey 6 years ago
SomberNight f5eb91900a
use correct feerate when sweeping htlcs 6 years ago
SomberNight 8e8ab775eb
lnchannel: make AbstractChannel inherit ABC 6 years ago
ThomasV 8f41aeb783 Replace wallet backup with channel backups 6 years ago
ThomasV 2255b07157 support option_static_remotekey 6 years ago
ThomasV dbceed2647 Restructure wallet storage: 6 years ago
ThomasV 757467782a Use attr.s instead of namedtuples for channel config 6 years ago
SomberNight bafe8a2fff
integrate PSBT support natively. WIP 6 years ago
SomberNight 04edad9984
config: no longer singleton. it is passed to Wallet.__init__ 6 years ago
SomberNight befa8ea771
transaction: kill "name", "csv_delay", "cltv_expiry" fields 7 years ago
SomberNight 83fcdbd561
lnchannel: handle htlc-address collisions 7 years ago
ThomasV 6197cfbb3b Revert "Remove early return in create_sweeptxs_for_our_ctx." 7 years ago
ThomasV d0cfb3ae12 Remove early return in create_sweeptxs_for_our_ctx. 7 years ago
SomberNight b1f606eaed lnchannel: start using "latest" and "next" instead of "current" and "pending" 7 years ago
SomberNight 944e4f0ba0 implement data_loss_protect 7 years ago
ThomasV f7c05f2602 Synchronize watchtower asynchronously: 7 years ago
ThomasV a8ce8109be Perform breach remedy without sweepstore: 7 years ago
ThomasV dff1822c37 fix watchtower: sweep_tx must not be None 7 years ago
ThomasV d9b041e64d encapsulate detect_who_closed in channel 7 years ago
ThomasV 740ef09883 simplify_lnsweep 7 years ago
ThomasV 3349e941de lnsweep: minor fix 7 years ago
ThomasV 81d340b19c lnworker: do not create sweep transactions before outputs can be redeemed 7 years ago
ThomasV 8d99fe8243 Let lnworker sweep HTLC outputs after breach, instead of lnwatcher 7 years ago
ThomasV 7be4cdaf18 redeem htlcs: 7 years ago
ThomasV 7418bd4552 lnsweep: simplify a few methods 7 years ago
ThomasV 6bbdbf7596 rework on_channel_closed in LNWorker: 7 years ago
SomberNight 930d21c31c channel close handling: detect situation based on output addresses 7 years ago
SomberNight cc57da704b logging: adapt lightning branch to logging changes 7 years ago
ThomasV 3e443535a2 lnchannel: pass reference to lnworker 7 years ago
ThomasV 62be0c481c lightning: Save invoices and preimages separately. Save preimages when forwarding 7 years ago
ThomasV 3dce65dc73 Rename lnchan, lnchannel_verifier, lnbase 7 years ago
Janus 8fc1779b0d ln: add test_lnwatcher 7 years ago
Janus 51bc02557d ln: fix sweeping htlc output from remote ctx (timeout e.g. without htlc tx) 7 years ago
Janus e56e849505 lnchan refactor 7 years ago
Janus 3ccd2fedff ln: two remaining encumberedTx removal remnants 7 years ago
ThomasV 5776b322f7 formatting 7 years ago
ThomasV b0f39718bb remove useless returns and cryptic names 7 years ago
Janus 2c1fcb2f54 ln: remove EncumberedTransaction 7 years ago
Janus 3975560db5 lnsweep: use dicts consistently 7 years ago
ThomasV 8274067619 fix lnsweep: prevout 7 years ago
ThomasV fde9f91902 lnchannel: store pre-signed sweep transactions after each new commitment 7 years ago
ThomasV 3019aa35cf on_close_channel: fix output index, and simplify lnsweep 7 years ago
ThomasV 1b7a3c25d1 lnsweep: return ctx.txid instead of None 7 years ago
Janus 545182e0a5 lnsweep: make maybe_create_sweeptx_for_their_ctx_to_local consistent 7 years ago
Janus 47c07f77b4 lnsweep: fix create_sweeptxs_for_their_just_revoked_ctx 7 years ago
SomberNight 0070ae1fb1 fix prev 7 years ago
SomberNight 595cfcbb65 move sweeping methods from lnchan.py to new file 7 years ago