-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[custom channels 5/5]: merge custom channel staging branch into master #8960
base: master
Are you sure you want to change the base?
Commits on Sep 20, 2024
-
routing: add htlcAmt to PaymentBandwidth method of TlvTrafficShaper
This commit was added to the 0-19-staging branch recently and therefore didn't make it into a previous part yet. So it's unrelated to the changes in this part but is required for the whole custom channel saga.
Configuration menu - View commit details
-
Copy full SHA for 84247fa - Browse repository at this point
Copy the full SHA 84247faView commit details -
lnwire: modify TestLightningWireProtocol to use sub-tests
This way, it's possible to run induvidual tests to target failures.
Configuration menu - View commit details
-
Copy full SHA for 873a6e2 - Browse repository at this point
Copy the full SHA 873a6e2View commit details -
contractcourt: convert taprootBriefcase to use new tlv record type
This commit doesn't yet go all the way to modify all the other records quite yet.
Configuration menu - View commit details
-
Copy full SHA for 069d8c0 - Browse repository at this point
Copy the full SHA 069d8c0View commit details -
lnwallet: add new aux resolver interface
This will be used by external callers to modify the way we resolve contracts on chain. For a given contract, we'll store an extra "blob", that will later be presented during the sweeping phase.
Configuration menu - View commit details
-
Copy full SHA for b3621e4 - Browse repository at this point
Copy the full SHA b3621e4View commit details -
contractcourt: add CommitBlob to taprootBriefcase
This'll be used to store the extra resolution information for the commitment outputs.
Configuration menu - View commit details
-
Copy full SHA for c146ca6 - Browse repository at this point
Copy the full SHA c146ca6View commit details -
lnwallet+peer: move internalKeyForAddr to lnwallet package
This way we can re-use it. We also make it slightly more generalized.
Configuration menu - View commit details
-
Copy full SHA for e069d99 - Browse repository at this point
Copy the full SHA e069d99View commit details -
input: refactor all inputs to use MakeBaseInput, add opts
In this commit, we refactor all the other constructors for the input to use MakeBaseInput. We also add a new set of functional options as well. This'll be useful later on to ensure that new options are properly applied to all the input types.
Configuration menu - View commit details
-
Copy full SHA for 4c3352f - Browse repository at this point
Copy the full SHA 4c3352fView commit details -
input: add ResolutionBlob method to inputKit
We also update breachedOutput w/ the new API.
Configuration menu - View commit details
-
Copy full SHA for 16bf38b - Browse repository at this point
Copy the full SHA 16bf38bView commit details -
Configuration menu - View commit details
-
Copy full SHA for efbe593 - Browse repository at this point
Copy the full SHA efbe593View commit details -
server+sweep: convert GenSweepScript to use new addr type
We convert it to use lnwallet.AddrWithKey, as in the future, knowing the internal key for an address will be useful.
Configuration menu - View commit details
-
Copy full SHA for 85ae220 - Browse repository at this point
Copy the full SHA 85ae220View commit details -
sweep: add new AuxSweeper interface
In this commit, we add a new AuxSweeper interface. This'll take a set of inputs, and a change addr for the sweep transaction, then optionally return a new sweep output to be added to the sweep transaction. We also add a new NotifyBroadcast method. This'll be used to notify that we're _about_ to broadcast a sweeping transaction. The set of inputs is passed in, which allows the caller to prepare for the ultimate broadcast of the sweeping transaction. We also add ExtraTxOut to BumpRequest pass fees to NotifyBroadcast. This allows the callee to know the total fee of the sweeping transaction.
Configuration menu - View commit details
-
Copy full SHA for 92b1d17 - Browse repository at this point
Copy the full SHA 92b1d17View commit details -
sweep: update sweeper to use AuxSweeper to add extra change addr
In this commit, we start to use the AuxSweeper (if present) to obtain a new extra change addr we should add to the sweeping transaction. With this, we'll take the set of inputs and our change addr, and then maybe gain a new change addr to add to the sweep transaction. The extra change addr will be treated as an extra required tx out, shared across all the relevant inputs. This'll also be used in NeedWalletInput to make sure that we add an extra input if needed to be able to pay for the change addr.
Configuration menu - View commit details
-
Copy full SHA for 8856f86 - Browse repository at this point
Copy the full SHA 8856f86View commit details -
contractcourt: pause resolution for HTLCs w/ custom records
This is a hold over until the aux resolution is finalized for HTLC outputs.
Configuration menu - View commit details
-
Copy full SHA for 4fcd502 - Browse repository at this point
Copy the full SHA 4fcd502View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62797de - Browse repository at this point
Copy the full SHA 62797deView commit details -
contractcourt: update GenSweepScript to return internal key
For the upcoming aux sweeper integration, the internal key is needed for the call backs.
Configuration menu - View commit details
-
Copy full SHA for d0b102c - Browse repository at this point
Copy the full SHA d0b102cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1461d8f - Browse repository at this point
Copy the full SHA 1461d8fView commit details -
contractcourt: integration aux sweeper to breach arb
Similar to the sweeper, when we're about to make a new breach transaction, we ask the sweeper for a new change address, if it has one. Then when we go to publish, we notify broadcast.
Configuration menu - View commit details
-
Copy full SHA for 8a4af3c - Browse repository at this point
Copy the full SHA 8a4af3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d53438a - Browse repository at this point
Copy the full SHA d53438aView commit details -
feature: add awareness of new taproot chans overlay feature bit
This bit will be false by default in current production deployments.
Configuration menu - View commit details
-
Copy full SHA for 79426b1 - Browse repository at this point
Copy the full SHA 79426b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2afa10f - Browse repository at this point
Copy the full SHA 2afa10fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4eb0d6f - Browse repository at this point
Copy the full SHA 4eb0d6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe4e4ec - Browse repository at this point
Copy the full SHA fe4e4ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for fabf087 - Browse repository at this point
Copy the full SHA fabf087View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdca15d - Browse repository at this point
Copy the full SHA fdca15dView commit details -
lnd: signal taproot overlay chans based on config
We also add a sanity check to make sure they can't be signaled without the aux interfaces.
Configuration menu - View commit details
-
Copy full SHA for 5304f58 - Browse repository at this point
Copy the full SHA 5304f58View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1827a4 - Browse repository at this point
Copy the full SHA d1827a4View commit details