multi: implement MuSig2 RPCs and remote signing

This commit is contained in:
Oliver Gugger
2022-04-27 22:20:34 +02:00
parent 8fc99fba00
commit f7275c7fc4
13 changed files with 3450 additions and 58 deletions

View File

@@ -10,6 +10,11 @@ import (
// Signer implementations such as hardware wallets, hardware tokens, HSM's, or
// simply a regular wallet.
type Signer interface {
// MuSig2Signer is an embedded interface to make sure all our signers
// also support MuSig2 signing, so we can forward calls to a remote
// signer as well.
MuSig2Signer
// SignOutputRaw generates a signature for the passed transaction
// according to the data within the passed SignDescriptor.
//