mirror of
https://github.com/bitcoin/bips.git
synced 2026-03-30 16:06:44 +00:00
BIP374
This commit is contained in:
@@ -12,7 +12,7 @@ from secp256k1 import G, GE
|
||||
|
||||
|
||||
NUM_SUCCESS_TEST_VECTORS = 5
|
||||
DLEQ_TAG_TESTVECTORS_RNG = "BIP0???/testvectors_rng"
|
||||
DLEQ_TAG_TESTVECTORS_RNG = "BIP0374/testvectors_rng"
|
||||
|
||||
FILENAME_GENERATE_PROOF_TEST = os.path.join(sys.path[0], 'test_vectors_generate_proof.csv')
|
||||
FILENAME_VERIFY_PROOF_TEST = os.path.join(sys.path[0], 'test_vectors_verify_proof.csv')
|
||||
|
||||
@@ -7,9 +7,9 @@ import sys
|
||||
import unittest
|
||||
|
||||
|
||||
DLEQ_TAG_AUX = "BIP0???/aux"
|
||||
DLEQ_TAG_NONCE = "BIP0???/nonce"
|
||||
DLEQ_TAG_CHALLENGE = "BIP0???/challenge"
|
||||
DLEQ_TAG_AUX = "BIP0374/aux"
|
||||
DLEQ_TAG_NONCE = "BIP0374/nonce"
|
||||
DLEQ_TAG_CHALLENGE = "BIP0374/challenge"
|
||||
|
||||
|
||||
def TaggedHash(tag: str, data: bytes) -> bytes:
|
||||
|
||||
Reference in New Issue
Block a user