lnwire: add musig2 taproot execution messages for dynamic commitments

This commit is contained in:
Keagan McClelland authored and Olaoluwa Osuntokun committed 2023-11-10 13:29:52 -08:00
1 parent 9b1c04c210
commit 9793fbb94b
5 files changed
+179 -1

No files matched your search

+5
View File
@@ -54,6 +54,7 @@ const (
MsgQueryChannelRange = 263
MsgReplyChannelRange = 264
MsgGossipTimestampRange = 265
MsgKickoffSig = 777
)
// ErrorEncodeMessage is used when failed to encode the message payload.
@@ -103,6 +104,8 @@ func (t MessageType) String() string {
return "DynAck"
case MsgDynReject:
return "DynReject"
case MsgKickoffSig:
return "KickoffSig"
case MsgUpdateAddHTLC:
return "UpdateAddHTLC"
case MsgUpdateFailHTLC:
@@ -211,6 +214,8 @@ func makeEmptyMessage(msgType MessageType) (Message, error) {
msg = &DynAck{}
case MsgDynReject:
msg = &DynReject{}
case MsgKickoffSig:
msg = &KickoffSig{}
case MsgUpdateAddHTLC:
msg = &UpdateAddHTLC{}
case MsgUpdateFailHTLC: