diff options
author | Pieter Wuille <pieter@wuille.net> | 2021-02-08 00:15:51 -0800 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2021-06-12 12:25:28 -0700 |
commit | a91d532338ecb66ec5bed164929d878dd55d63a4 (patch) | |
tree | 6a4d736bcf31222e9fcb7d46545bc2d292b29d90 /src/pubkey.cpp | |
parent | e77a2839b54fa2039bba468e8c09dbbbf19b150a (diff) | |
download | bitcoin-a91d532338ecb66ec5bed164929d878dd55d63a4.tar.xz |
Add CKey::SignSchnorr function for BIP 340/341 signing
Diffstat (limited to 'src/pubkey.cpp')
-rw-r--r-- | src/pubkey.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pubkey.cpp b/src/pubkey.cpp index 51cc826b00..175a39b805 100644 --- a/src/pubkey.cpp +++ b/src/pubkey.cpp @@ -373,3 +373,7 @@ ECCVerifyHandle::~ECCVerifyHandle() secp256k1_context_verify = nullptr; } } + +const secp256k1_context* GetVerifyContext() { + return secp256k1_context_verify; +} |