lnrpc+rpcserver: add musig2 to ChanPointShim
This commit is contained in:
4 files changed
+1926
-1907
No files matched your search
+1916
-1906
File diff suppressed because it is too large.
Load diff
@@ -2453,6 +2453,11 @@ message ChanPointShim {
|
||||
the value is less than 500,000, or as an absolute height otherwise.
|
||||
*/
|
||||
uint32 thaw_height = 6;
|
||||
|
||||
/*
|
||||
Indicates that the funding output is using a MuSig2 multi-sig output.
|
||||
*/
|
||||
bool musig2 = 7;
|
||||
}
|
||||
|
||||
message PsbtShim {
|
||||
|
||||
@@ -3469,6 +3469,10 @@
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": "This uint32 indicates if this channel is to be considered 'frozen'. A frozen\nchannel does not allow a cooperative channel close by the initiator. The\nthaw_height is the height that this restriction stops applying to the\nchannel. The height can be interpreted in two ways: as a relative height if\nthe value is less than 500,000, or as an absolute height otherwise."
|
||||
},
|
||||
"musig2": {
|
||||
"type": "boolean",
|
||||
"description": "Indicates that the funding output is using a MuSig2 multi-sig output."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
+1
-1
@@ -1824,7 +1824,7 @@ func newFundingShimAssembler(chanPointShim *lnrpc.ChanPointShim, initiator bool,
|
||||
return chanfunding.NewCannedAssembler(
|
||||
chanPointShim.ThawHeight, *chanPoint,
|
||||
btcutil.Amount(chanPointShim.Amt), &localKeyDesc,
|
||||
remoteKey, initiator, false,
|
||||
remoteKey, initiator, chanPointShim.Musig2,
|
||||
), nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user