aboutsummaryrefslogtreecommitdiff
path: root/src/pubkey.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pubkey.h')
-rw-r--r--src/pubkey.h6
1 files changed, 6 insertions, 0 deletions
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