Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
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
{{ message }}
lightningnetwork
/
lnd
Public
Notifications
You must be signed in to change notification settings
Fork
2.3k
Star
8.2k
Code
Issues
587
Pull requests
288
Discussions
Actions
Projects
Wiki
Security and quality
2
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
multi: add initial implementation of simple taproot chans spec proposal
- #6877
#6877
Closed
Roasbeef
wants to merge 87 commits into
lightningnetwork:master
lightningnetwork/lnd:master
from
Roasbeef:simple-taproot-chans
Roasbeef/lnd:simple-taproot-chans
Copy head branch name to clipboard
Conversation
Commits
87
(87)
Checks
Files changed
Closed
multi: add initial implementation of simple taproot chans spec proposal
#6877
Roasbeef
wants to merge 87 commits into
lightningnetwork:master
lightningnetwork/lnd:master
from
Roasbeef:simple-taproot-chans
Roasbeef/lnd:simple-taproot-chans
Copy head branch name to clipboard
Commits
Commits on Aug 31, 2022
lnwire: add new Musig2Nonce type for signing+verification musig nonces
Roasbeef
committed
37148b6
View commit details
Copy full SHA for 37148b6
Browse repository at this point
lnwire: add musig2 nonces to open_channel msg
Roasbeef
committed
8fd7459
View commit details
Copy full SHA for 8fd7459
Browse repository at this point
lnwire: add musig2 nonces to accept_channel msg
Roasbeef
committed
f61db68
View commit details
Copy full SHA for f61db68
Browse repository at this point
lnwire: add musig2 nonces to funding_locked msg
Roasbeef
committed
4c15c28
View commit details
Copy full SHA for 4c15c28
Browse repository at this point
lnwire: add musig2 nonces to chan_reest msg
Roasbeef
committed
4ffadd3
View commit details
Copy full SHA for 4ffadd3
Browse repository at this point
lnwire: add musig2 nonces to closing_signed
Roasbeef
committed
82bb765
View commit details
Copy full SHA for 82bb765
Browse repository at this point
lnwire: add musig2 nonces to commit_sig
Roasbeef
committed
fbf4a8e
View commit details
Copy full SHA for fbf4a8e
Browse repository at this point
lnwire: add musig2 nonces to revoke_and_ack
Roasbeef
committed
0ccaaa0
View commit details
Copy full SHA for 0ccaaa0
Browse repository at this point
lnwire: add musig2 nonces to shutdown
Roasbeef
committed
cbe0a9c
View commit details
Copy full SHA for cbe0a9c
Browse repository at this point
lnwire: add feature bits for simple-taproot-chans
Roasbeef
committed
090cf52
View commit details
Copy full SHA for 090cf52
Browse repository at this point
lnwire: always sort records in ExtractRecords
Show description for 4ffec3c
Roasbeef
committed
4ffec3c
View commit details
Copy full SHA for 4ffec3c
Browse repository at this point
feature: define default set and deps for simple taproot chans
Roasbeef
committed
15552f7
View commit details
Copy full SHA for 15552f7
Browse repository at this point
channeldb: add SimpleTaprootFeatureBit chan type
Roasbeef
committed
c45f666
View commit details
Copy full SHA for c45f666
Browse repository at this point
funding: define accepted feature bit combos for taproot chans
Roasbeef
committed
4fa2372
View commit details
Copy full SHA for 4fa2372
Browse repository at this point
input: thread through musig2.SessionOptions for create session
Show description for a318d4d
Roasbeef
committed
a318d4d
View commit details
Copy full SHA for a318d4d
Browse repository at this point
input: add GenTaprootFundingScript for musig2 chans
Roasbeef
committed
75f4a14
View commit details
Copy full SHA for 75f4a14
Browse repository at this point
input: add TaprootCommitScriptToSelf for local self balance
Roasbeef
committed
5d40959
View commit details
Copy full SHA for 5d40959
Browse repository at this point
input: add TaprootCommitScriptToRemote for remote taproot outputs
Roasbeef
committed
b459a81
View commit details
Copy full SHA for b459a81
Browse repository at this point
input: add TaprootOutputKeyAnchor for taproot anchor outputs
Roasbeef
committed
9717efd
View commit details
Copy full SHA for 9717efd
Browse repository at this point
input: create new PayToTaprootScript utility func
Roasbeef
committed
cc2fa3c
View commit details
Copy full SHA for cc2fa3c
Browse repository at this point
lnwallet/btcwallet: update musig2 signer to pass in session opts
Roasbeef
committed
a2cd14b
View commit details
Copy full SHA for a2cd14b
Browse repository at this point
lnwallet: add new taproot commitment type enum value
Roasbeef
committed
f0360c9
View commit details
Copy full SHA for f0360c9
Browse repository at this point
lnwallet: add signing+verification musig2 nonces to ChannelContribution
Show description for ae613fb
Roasbeef
committed
ae613fb
View commit details
Copy full SHA for ae613fb
Browse repository at this point
lnwallet: add MusigPartialSig wrapper over musig2.PartialSignature
Show description for c68e84d
Roasbeef
committed
c68e84d
View commit details
Copy full SHA for c68e84d
Browse repository at this point
lnwallet: add MusigSession struct to encapsulate taproot commit update logic
Show description for fd58579
Roasbeef
committed
fd58579
View commit details
Copy full SHA for fd58579
Browse repository at this point
lnwallet: add MusigPairSession to handle asymmetric commitment states
Show description for 05a8469
Roasbeef
committed
05a8469
View commit details
Copy full SHA for 05a8469
Browse repository at this point
lnwallet/chanfunding: update the funding assemblers to make musig2 funding outputs
Roasbeef
committed
b9a8400
View commit details
Copy full SHA for b9a8400
Browse repository at this point
lnwallet: add the pre-tweak CombinedFundingKey to CommitmentKeyRing
Show description for e831860
Roasbeef
committed
e831860
View commit details
Copy full SHA for e831860
Browse repository at this point
lnwallet: update CommitScriptToSelf to conditionally make P2TR outputs
Roasbeef
committed
92b3a43
View commit details
Copy full SHA for 92b3a43
Browse repository at this point
lnwallet: update CommitScriptToRemote to conditionally make P2TR outputs
Roasbeef
committed
d51facd
View commit details
Copy full SHA for d51facd
Browse repository at this point
lnwallet: update CommitScriptAnchors to conditionally make P2TR outputs
Roasbeef
committed
d6eeda2
View commit details
Copy full SHA for d6eeda2
Browse repository at this point
lnwallet: create signing+verification nonces for taproot channel funding
Roasbeef
committed
a8554f4
View commit details
Copy full SHA for a8554f4
Browse repository at this point
funding: send signing+verification nonces in open/accept channel for taproot chans
Roasbeef
committed
1b121a3
View commit details
Copy full SHA for 1b121a3
Browse repository at this point
lnwallet: pass thru musig2 context for chan funder requests
Roasbeef
committed
ac82dd8
View commit details
Copy full SHA for ac82dd8
Browse repository at this point
lnwallet: add internal funding support for signing+verifying musig2 commitments
Roasbeef
committed
505c190
View commit details
Copy full SHA for 505c190
Browse repository at this point
lnwallet: add new test case for musig2 single funder workflows
Roasbeef
committed
1c9efdd
View commit details
Copy full SHA for 1c9efdd
Browse repository at this point
lnwallet: add initial awareness for musig2 sessions to channel state machine
Show description for 710e76a
Roasbeef
committed
710e76a
View commit details
Copy full SHA for 710e76a
Browse repository at this point
lnwallet: update RemoteNextRevocation to return nil if no nonces known for taproot chans
Show description for 7fe9929
Roasbeef
committed
7fe9929
View commit details
Copy full SHA for 7fe9929
Browse repository at this point
Commits on Sep 1, 2022
lnwallet: add initial support for musig2 handling for commitment dance
Roasbeef
committed
d3cb968
View commit details
Copy full SHA for d3cb968
Browse repository at this point
Commits on Nov 17, 2022
input: fix taproot local/remote scripts
Roasbeef
committed
33f3b44
View commit details
Copy full SHA for 33f3b44
Browse repository at this point
lnwallet: use tweaked keys for taproot anchor outputs
Roasbeef
committed
bb085b0
View commit details
Copy full SHA for bb085b0
Browse repository at this point
lnwallet: introduce new CommitSigs struct for sign/recv commit
Roasbeef
committed
2b93228
View commit details
Copy full SHA for 2b93228
Browse repository at this point
Commits on Dec 31, 2022
input: add tapleaf+control block logic for sender HTLC scripts
Roasbeef
committed
ffe0b5c
View commit details
Copy full SHA for ffe0b5c
Browse repository at this point
input: add tapleaf+ctrlblock logic for receiver HTLC scripts
Roasbeef
committed
b285a58
View commit details
Copy full SHA for b285a58
Browse repository at this point
input: add new taproot second level HTLC scripts+txns
Roasbeef
committed
6b22b0f
View commit details
Copy full SHA for 6b22b0f
Browse repository at this point
build: update to musig2 1.0
Roasbeef
committed
c884b4e
View commit details
Copy full SHA for c884b4e
Browse repository at this point
lnwallet+input: move mock signer into lnwallet pkg, use new musig session
Show description for a7dca6b
Roasbeef
committed
a7dca6b
View commit details
Copy full SHA for a7dca6b
Browse repository at this point
multi: morph existing lnwire.SIg into new struct to support schnorr+ecdsa
Show description for 1797ace
Roasbeef
committed
1797ace
View commit details
Copy full SHA for 1797ace
Browse repository at this point
lnwallet: update funding nonce gen to pass in priv key
Roasbeef
committed
10e27ac
View commit details
Copy full SHA for 10e27ac
Browse repository at this point
lnwallet: parse incoming schnorr signature as "schnorr shell"
Show description for cc18427
Roasbeef
committed
cc18427
View commit details
Copy full SHA for cc18427
Browse repository at this point
lnwallet: update ValidateChannel to recognize musig2+taproot chans
Roasbeef
committed
514254d
View commit details
Copy full SHA for 514254d
Browse repository at this point
lnwallet: update CreateHtlcTimeoutTx+CreateHtlcSuccessTx for musig2+taproot chans
Roasbeef
committed
038954b
View commit details
Copy full SHA for 038954b
Browse repository at this point
lnwallet/btcwallet/signer: fix SignOutputRaw bug w/ non-default sighash
Roasbeef
committed
8466ae0
View commit details
Copy full SHA for 8466ae0
Browse repository at this point
lnwallet: properly pass in remoteCommit into NewMusigSession
Roasbeef
committed
13fea73
View commit details
Copy full SHA for 13fea73
Browse repository at this point
lnwallet: add temp methods for going to/from musig2 schnorr shell sigs
Roasbeef
committed
950b83e
View commit details
Copy full SHA for 950b83e
Browse repository at this point
lnwallet: pass in pubkey for nonce gen in musig2.SignCommit
Roasbeef
committed
d28fe84
View commit details
Copy full SHA for d28fe84
Browse repository at this point
lnwallet: modify MusigSession.Refresh to return new instance instead of mutate
Roasbeef
committed
d443039
View commit details
Copy full SHA for d443039
Browse repository at this point
lnwallet; update musig2.VerifyCommitSig to pubkey nonce and set proper nonce
Roasbeef
committed
391c176
View commit details
Copy full SHA for 391c176
Browse repository at this point
lnwallet: add MusigSession.CombineSigs method
Roasbeef
committed
d1eb662
View commit details
Copy full SHA for d1eb662
Browse repository at this point
lnwallet: use input.Signature rather than raw sig pointers
Show description for 0689779
Roasbeef
committed
0689779
View commit details
Copy full SHA for 0689779
Browse repository at this point
contractcourt: update the chainWatcher to recognize taproot+musig2 funding scripts
Roasbeef
committed
9c4ff67
View commit details
Copy full SHA for 9c4ff67
Browse repository at this point
funding: send nonces along side open+accept channel
Roasbeef
committed
ef8ca2d
View commit details
Copy full SHA for ef8ca2d
Browse repository at this point
funding: update makeFundingScript for musig2 chans
Roasbeef
committed
76e49f5
View commit details
Copy full SHA for 76e49f5
Browse repository at this point
funding: send musig2 nonces w/ funding_locked, add recv processing logic
Roasbeef
committed
c9d0f42
View commit details
Copy full SHA for c9d0f42
Browse repository at this point
funding: reject funding attempts for public taproot channels
Roasbeef
committed
49bd2a4
View commit details
Copy full SHA for 49bd2a4
Browse repository at this point
funding: add the taproot feature bit for funding announcements
Show description for 9463eea
Roasbeef
committed
9463eea
View commit details
Copy full SHA for 9463eea
Browse repository at this point
routing: update chan validate logic to recognize musig2 channels
Roasbeef
committed
67e0535
View commit details
Copy full SHA for 67e0535
Browse repository at this point
lnwallet: add IsTaproot method to ChannelReservation
Roasbeef
committed
b4b8157
View commit details
Copy full SHA for b4b8157
Browse repository at this point
lnwallet: update CommitScriptToRemote to properly set taproot script
Roasbeef
committed
8aa81f8
View commit details
Copy full SHA for 8aa81f8
Browse repository at this point
lnwallet: update genHtlcScript to dispense taproot HTLC scripts
Roasbeef
committed
1646d7c
View commit details
Copy full SHA for 1646d7c
Browse repository at this point
lnwallet: update NewLightningChannel with new musig2 opts
Show description for afd9e5c
Roasbeef
committed
afd9e5c
View commit details
Copy full SHA for afd9e5c
Browse repository at this point
lnwallet: update sig pool to support signing+verifying 2nd level taproot scripts
Roasbeef
committed
3b27533
View commit details
Copy full SHA for 3b27533
Browse repository at this point
lnwallet: update channel state machine dance to support new musig2 flow
Roasbeef
committed
15f0565
View commit details
Copy full SHA for 15f0565
Browse repository at this point
lnwallet: add new public NewMusigChannelNonces method, use pubkey for nonce gen
Roasbeef
committed
90194af
View commit details
Copy full SHA for 90194af
Browse repository at this point
lnwallet: add new co-op close opts for providing musig2 session for taproot
Roasbeef
committed
f9da9a4
View commit details
Copy full SHA for f9da9a4
Browse repository at this point
lnwallet: add taproot case to testAddSettleWorkflow
Roasbeef
committed
464e009
View commit details
Copy full SHA for 464e009
Browse repository at this point
peer+lnpeer: add new wrapper struct to allow passing opaque opts to channel creation
Show description for ab91106
Roasbeef
committed
ab91106
View commit details
Copy full SHA for ab91106
Browse repository at this point
htlcswitch: pass along new musig2 nonce information to link
Roasbeef
committed
7643be5
View commit details
Copy full SHA for 7643be5
Browse repository at this point
htlcswitch: send new nonces in chan reest message, add recv logic
Roasbeef
committed
a370180
View commit details
Copy full SHA for a370180
Browse repository at this point
lnwallet/chancloser: add support for musig2 co-op closes w/ auto accept
Show description for f585b9c
Roasbeef
committed
f585b9c
View commit details
Copy full SHA for f585b9c
Browse repository at this point
rpc: add support for parsing musig2 openchannel requests
Roasbeef
committed
5e68ba8
View commit details
Copy full SHA for 5e68ba8
Browse repository at this point
cmd/lncli: add taproot chan parsing support for openchannel
Roasbeef
committed
0a18d3e
View commit details
Copy full SHA for 0a18d3e
Browse repository at this point
Commits on Jan 12, 2023
multi: switch to using new partial_sig TLV type for musig sigs
Roasbeef
committed
5ba9ed5
View commit details
Copy full SHA for 5ba9ed5
Browse repository at this point
Commits on Jan 13, 2023
multi: use distinct types for sig + nonce used in co-op close flow
Roasbeef
committed
dedd31d
View commit details
Copy full SHA for dedd31d
Browse repository at this point
multi: use counter based (shachain) nonces for all local nonces
Show description for e68221c
Roasbeef
committed
e68221c
View commit details
Copy full SHA for e68221c
Browse repository at this point
Commits on Jan 17, 2023
lnwire: fix bug with PartialSigWithNonce.Decode/Encode
Roasbeef
committed
e69ffe8
View commit details
Copy full SHA for e69ffe8
Browse repository at this point
multi: add initial support for force closing
Show description for ded917b
Roasbeef
committed
ded917b
View commit details
Copy full SHA for ded917b
Browse repository at this point
You can’t perform that action at this time.