multi: add p2tr tapscript key path signing capabilities

This commit is contained in:
Oliver Gugger committed 2022-03-24 18:02:39 +01:00
1 parent 78db46be7e
commit ef98f2df8a
8 files changed
+330 -104

No files matched your search

+5
View File
@@ -61,6 +61,11 @@ type SignDescriptor struct {
// script (PkScript).
WitnessScript []byte
// TaprootKeySpend indicates that instead of a witness script being
// spent by the signature that results from this signing request, a
// taproot key spend is performed instead.
TaprootKeySpend bool
// Output is the target output which should be signed. The PkScript and
// Value fields within the output should be properly populated,
// otherwise an invalid signature may be generated.