[test] Move test framework crypto functions to crypto/

This commit is contained in:
stratospher committed 2023-09-10 23:16:39 +05:30
1 parent 8371914604
commit 08a4a56cbc
14 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ from test_framework.key import (
tweak_add_privkey,
ECKey,
)
from test_framework import secp256k1
from test_framework.crypto import secp256k1
from test_framework.address import (
hash160,
program_to_witness,
+1 -1
View File
@@ -11,7 +11,7 @@ from test_framework.messages import (
COutPoint,
from_hex,
)
from test_framework.muhash import MuHash3072
from test_framework.crypto.muhash import MuHash3072
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import assert_equal
from test_framework.wallet import MiniWallet
@@ -4,7 +4,7 @@
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Helper routines relevant for compact block filters (BIP158).
"""
from .siphash import siphash
from .crypto.siphash import siphash
def bip158_basic_element_hash(script_pub_key, N, block_hash):
@@ -12,7 +12,7 @@ import os
import random
import unittest
from test_framework.secp256k1 import FE, G, GE
from test_framework.crypto.secp256k1 import FE, G, GE
# Precomputed constant square root of -3 (mod p).
MINUS_3_SQRT = FE(-3).sqrt()
File renamed without changes.
Internal Server Error - gitea
500 Internal Server Error

An error occurred:

An error occurred

Gitea Version: 28.1.0