aboutsummaryrefslogtreecommitdiff
path: root/src/pubkey.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2021-02-08 00:15:51 -0800
committerPieter Wuille <pieter@wuille.net>2021-06-12 12:25:28 -0700
commita91d532338ecb66ec5bed164929d878dd55d63a4 (patch)
tree6a4d736bcf31222e9fcb7d46545bc2d292b29d90 /src/pubkey.cpp
parente77a2839b54fa2039bba468e8c09dbbbf19b150a (diff)
downloadbitcoin-a91d532338ecb66ec5bed164929d878dd55d63a4.tar.xz
Add CKey::SignSchnorr function for BIP 340/341 signing
Diffstat (limited to 'src/pubkey.cpp')
-rw-r--r--src/pubkey.cpp4
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;
+}