Add CKey::SignSchnorr function for BIP 340/341 signing

This commit is contained in:
Pieter Wuille
2021-02-08 00:15:51 -08:00
parent e77a2839b5
commit a91d532338
5 changed files with 85 additions and 0 deletions

View File

@@ -373,3 +373,7 @@ ECCVerifyHandle::~ECCVerifyHandle()
secp256k1_context_verify = nullptr;
}
}
const secp256k1_context* GetVerifyContext() {
return secp256k1_context_verify;
}