Bitcoin Core 28.99.0
P2P Digital Currency
Namespaces | Functions | Variables
test_vectors_musig2_generate.py File Reference

Go to the source code of this file.

Namespaces

namespace  test_vectors_musig2_generate
 

Functions

def test_vectors_musig2_generate.hexstr_to_intarray (str)
 
def test_vectors_musig2_generate.create_init (name)
 
def test_vectors_musig2_generate.init_array (key)
 
def test_vectors_musig2_generate.init_arrays (key)
 
def test_vectors_musig2_generate.init_indices (array)
 
def test_vectors_musig2_generate.init_is_xonly (case)
 
def test_vectors_musig2_generate.init_optional_expected (case)
 
def test_vectors_musig2_generate.init_cases (cases, f)
 
def test_vectors_musig2_generate.finish_init ()
 
def test_vectors_musig2_generate.comment_to_error (case)
 
def test_vectors_musig2_generate.init_array_maybe (array)
 
def test_vectors_musig2_generate.filter_msg32 (k)
 
def test_vectors_musig2_generate.sign_error (case)
 
def test_vectors_musig2_generate.verify_error (case)
 

Variables

int test_vectors_musig2_generate.max_pubkeys = 0
 
tuple test_vectors_musig2_generate.s
 
 test_vectors_musig2_generate.data = json.load(f)
 
 test_vectors_musig2_generate.max_key_indices
 
 test_vectors_musig2_generate.max_tweak_indices
 
 test_vectors_musig2_generate.num_pubkeys = len(data["pubkeys"])
 
 test_vectors_musig2_generate.num_tweaks = len(data["tweaks"])
 
 test_vectors_musig2_generate.num_valid_cases = len(data["valid_test_cases"])
 
 test_vectors_musig2_generate.num_error_cases = len(data["error_test_cases"])
 
 test_vectors_musig2_generate.num_tests = len(data["test_cases"])
 
 test_vectors_musig2_generate.num_pnonces = len(data["pnonces"])
 
int test_vectors_musig2_generate.pnonce_indices_len = 2
 
 test_vectors_musig2_generate.num_secnonces = len(data["secnonces"])
 
 test_vectors_musig2_generate.num_pubnonces = len(data["pnonces"])
 
 test_vectors_musig2_generate.num_aggnonces = len(data["aggnonces"])
 
 test_vectors_musig2_generate.num_msgs = len(data["msgs"])
 
 test_vectors_musig2_generate.num_sign_error_cases = len(data["sign_error_test_cases"])
 
 test_vectors_musig2_generate.num_verify_fail_cases = len(data["verify_fail_test_cases"])
 
 test_vectors_musig2_generate.num_verify_error_cases = len(data["verify_error_test_cases"])
 
tuple test_vectors_musig2_generate.all_cases
 
 test_vectors_musig2_generate.max_nonce_indices
 
 test_vectors_musig2_generate.num_psigs = len(data["psigs"])
 
 test_vectors_musig2_generate.max_psig_indices = max(len(test_case["psig_indices"]) for test_case in all_cases)