From 2b7f07986b5f62753486e5fd9db59c189eed946e Mon Sep 17 00:00:00 2001 From: Sebastian Falbesoner Date: Thu, 15 Jan 2026 01:51:12 +0100 Subject: [PATCH] BIP-374: mention secp256k1lab in BIP text --- bip-0374.mediawiki | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bip-0374.mediawiki b/bip-0374.mediawiki index 840bbf81..a8588b96 100644 --- a/bip-0374.mediawiki +++ b/bip-0374.mediawiki @@ -116,6 +116,10 @@ This proposal is compatible with all older clients. == Test Vectors and Reference Code == A reference python implementation is included [https://github.com/bitcoin/bips/blob/master/bip-0374/reference.py here]. +It uses a vendored copy of the [https://github.com/secp256k1lab/secp256k1lab/ secp256k1lab] library at version 1.0.0 +(commit [https://github.com/secp256k1lab/secp256k1lab/commit/44dc4bd893b8f03e621585e3bf255253e0e0fbfb +44dc4bd893b8f03e621585e3bf255253e0e0fbfb]). + Test vectors can be generated by running ./bip-0374/gen_test_vectors.py which will produce a CSV file of random test vectors for both generating and verifying proofs. These can be run against the reference implementation with ./bip-0374/run_test_vectors.py. == Changelog ==