From a91d532338ecb66ec5bed164929d878dd55d63a4 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Mon, 8 Feb 2021 00:15:51 -0800 Subject: Add CKey::SignSchnorr function for BIP 340/341 signing --- src/pubkey.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/pubkey.h') diff --git a/src/pubkey.h b/src/pubkey.h index 194705c38f..eec34a89c2 100644 --- a/src/pubkey.h +++ b/src/pubkey.h @@ -316,4 +316,10 @@ public: ~ECCVerifyHandle(); }; +typedef struct secp256k1_context_struct secp256k1_context; + +/** Access to the internal secp256k1 context used for verification. Only intended to be used + * by key.cpp. */ +const secp256k1_context* GetVerifyContext(); + #endif // BITCOIN_PUBKEY_H -- cgit v1.2.3