Skip to content

Commit

Permalink
zombierecovery: support MuSig2
Browse files Browse the repository at this point in the history
  • Loading branch information
guggero committed Jun 15, 2024
1 parent a348c7f commit 5cf62e8
Show file tree
Hide file tree
Showing 8 changed files with 724 additions and 148 deletions.
23 changes: 13 additions & 10 deletions cmd/chantools/zombierecovery_findmatches.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,19 @@ type nodeInfo struct {
}

type channel struct {
ChannelID string `json:"short_channel_id"`
ChanPoint string `json:"chan_point"`
Address string `json:"address"`
Capacity int64 `json:"capacity"`
txid string
vout uint32
ourKeyIndex uint32
ourKey *btcec.PublicKey
theirKey *btcec.PublicKey
witnessScript []byte
ChannelID string `json:"short_channel_id"`
ChanPoint string `json:"chan_point"`
Address string `json:"address"`
Capacity int64 `json:"capacity"`
MuSig2NonceRandomness string `json:"musig2_nonce_randomness,omitempty"`
MuSig2Nonces string `json:"musig2_nonces,omitempty"`
txid string
vout uint32
ourKeyIndex uint32
ourKey *btcec.PublicKey
theirKey *btcec.PublicKey
pkScript []byte
witnessScript []byte
}

type match struct {
Expand Down
Loading

0 comments on commit 5cf62e8

Please sign in to comment.