You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Very preliminary woork
* OfferHTLC function and HashSig message
* Fewer RTTs by pre-sharing HTLC basepoints
* Generating commitment transactions containing HTLC outputs
* Generate our HTLCBase and finish building the commitment transaction and HTLC-failure/success transactions for a given state
* Sign their txs that they store
* Verify our txs that we store
* Remove TODO and fix comment
* Work so far compiles
* HTLC serialisation and deserialisation
* Save HTLCs in the database and reload them
* Exchange HTLC bases during channel fund
* Only add an InProgHTLC to the channel state if it's not nil
* Define HTLCBytes
* Missed PointRespMsg serialisation
* PointResp is 166 bytes
* StatCom is now a different size too
* More error messages
* Be sure to write false if there is no InProgHTLC
* Remove debugging prints
* Send and verify HTLCSigs with DeltaSig, GapSigRev and SigRev messages
* Add HashSigHandler
* Add AddHTLC RPC to litrpc and lit-af
* Lit knows how to decode a HashSig message now
* I guess slices don't work like that...
* It's a hashsig not a deltasig
* The Amt is 8 bytes
* Add some loggin during HTLC output build
* Add RHash to HashSigMsg
* buffer.Len() gives the unread buffer length
* Logging HTLC signatures
* Generate new privkey for each HTLC state using elkpoints
* Use an elkpoint we actually have
* Use elkrem point we have
* Print elkpoints being used for signing/verifying HTLC txs
* Try next elkpoint
* Print pkh output amt
* Only subtract HTLC balances if they're incoming
* Try calculating amounts this way instead
* Only reject REV if there's no inProgHTLC
* Those pesky slices again
* Work on output value calculation
* Give N2HTLCBase after signing
* InProgHTLC was already nil when calculating a new HTLCBase was required
* Progress on clearing HTLCs
* Add clear to litRPC and lit-af
* Check for error when building state tx in BuildJusticeSig
* Do not fail RevHandler if we're clearing an HTLC
* Check we're not clearing in SigRevHandler too
* Locktime check was backwards
* Only subtract uncleared HTLCs from channel value when calculating balances
* Only subtract uncleared HTLCs from channel value when calculating balances here too
* Give CTS after non-fatal clear HTLC errors
* Refactor balance calculation to its own function
* Fix compile
* Potentially fix segfault
* No need to check these things and fix some messages
* Don't allow coop close if there are uncleared HTLCs
* Check their close tx signature
* Allows connecting to hostnames (again)
* Added extra logging, fixed compatibility with master
* Detect and ignore HTLC outputs from GetCloseTxos
* Store and monitor HTLC Outpoints
* Store and monitor HTLC outpoints
* Restructuring of HTLC watching
* Added code to claim HTLC, work in progress
* Work in progress on claim TX
* Split generate script and output so we can fetch the script for spending
* Fixed witness program verification error
* Additional logging
* Added claim command to lit-af for testing purposes
* Succesful on-chain claim of HTLC Success TX
* Claim HTLCs when we see the preimage in an on-chain spend
* Add timeout UTXO to the wallit after claiming success htlc after break
* Claiming HTLC timeouts onchain
* This was good, presig stack was wrong.
* Fixes locktime problem
* Justice implementation
* Fixed refactoring bug
* Optimized logging
* Justice TXes working for HTLC
* Fixes broken unit tests for HTLC
* Adds configurable locktime
* Fix crashed caused by off-by-one error in argument passing code for HTLCs
* Fixes invalid memory address bug
* Ignore further processing if no HTLC is found
* Added separate boolean for tracking on-chain clearing of HTLC
* HLTC byte size is now 1 bigger too
* Bugfix in signature verification in PreimageSigHandler
* Correct log statements to use log.Printf in stead of fmt
* Unlock the channel on error, fetch the Qchan from the right place
* Height 0 should show as unconfirmed in lit-af
* Handling HashSig-HashSig collisions
* Manage DeltaSig-HashSig collisions
* Manage HashSig-PreimageSig collisions
* Manage PreimageSig-PreimageSig collisions
* Manage PreimageSig-DeltaSig collisions
* Fixes unit test for GapSigRev
* Try autoclearing after preimagesig
* Fix deadlock caused by holding RemoteMtx when blocking on OmniOut send
* Use the real Qchan when clearing
0 commit comments