def test_privkey(self): exec_test(self, 'Privkey', test_privkey_func) # to_hex_string on Privkey test _key = Privkey.from_wif( '92nXugKVPD1wCiuy6Ain4BnjxSJainfDHmF4V8rwxmSpZiXrb5E') _hex = to_hex_string(_key) self.assertEqual( '9e1285166b42230e448ae63f72d4135d42300e0462c3b7018a5d041a43bed7a0', _hex, 'Privkey to hex test')
def test_schnorr(self): exec_test(self, 'Schnorr', test_schnorr_func)
def test_confidential_tx_parse(self): exec_test(self, 'ConfidentialTransaction.Decode', test_parse_tx_func)
def test_confidential_transaction(self): exec_test(self, 'ConfidentialTransaction', test_ct_transaction_func)
def test_bitcoin_tx(self): exec_test(self, 'Bitcoin', test_bitcoin_tx_func)
def test_address(self): exec_test(self, 'Address', test_address_func)
def test_aes(self): exec_test(self, 'AES', test_crypto_func)
def test_base64(self): exec_test(self, 'Base64', test_crypto_func)
def test_extkey_from_seed(self): exec_test(self, 'HDWallet.GetExtPrivkeyFromSeed', test_convert_mnemonic_func)
def test_mnemonic_to_seed(self): exec_test(self, 'HDWallet.GetMnemonicToSeed', test_convert_mnemonic_func)
def test_get_mnemonic_from_entropy(self): exec_test(self, 'HDWallet.GetMnemonicFromEntropy', test_convert_mnemonic_func)
def test_get_entropy_from_mnemonic(self): exec_test(self, 'HDWallet.GetEntropyFromMnemonic', test_convert_mnemonic_func)
def test_get_mnemonic_word_list(self): exec_test(self, 'HDWallet.GetMnemonicWordList', test_mnemonic_word_list_func)
def test_ecdsa_adaptor(self): exec_test(self, 'EcdsaAdaptor', test_ecdsa_adaptor_func)
def test_signature(self): exec_test(self, 'Signature', test_signature_func)
def test_confidential_address(self): exec_test(self, 'ConfidentialAddress', test_ct_address_func)
def test_base58(self): exec_test(self, 'Base58', test_crypto_func)
def test_extpubkey_from_seed(self): exec_test(self, 'Extkey.GetExtPubkey', test_convert_bip32_func)
def test_hash(self): exec_test(self, 'Hash', test_crypto_func)
def test_derive_pubkey_from_seed(self): exec_test(self, 'Extkey.DerivePubkeyFromSeed', test_convert_bip32_func)
def test_pegout_address(self): exec_test(self, 'PegoutAddress', test_pegged_address_func)
def test_extkey_from_parent(self): exec_test(self, 'Extkey.CreateExtkeyFromParent', test_extkey_func) exec_test(self, 'Extkey.CreateExtkeyFromParentPath', test_extkey_func)
def test_transaction(self): exec_test(self, 'Transaction', test_transaction_func)
def test_extkey_info(self): exec_test(self, 'Extkey.GetExtkeyInfo', test_extkey_func)
def test_script(self): exec_test(self, 'Script', test_script_func)
def test_create_extkey(self): exec_test(self, 'Extkey.CreateExtkey', test_extkey_func)
def test_elements_tx(self): exec_test(self, 'Elements', test_elements_tx_func)
def test_extkey_path_data(self): exec_test(self, 'Extkey.GetExtkeyPathData', test_extkey_func)
def test_descriptor(self): exec_test(self, 'Descriptor', test_descriptor_func)
def test_pubkey_from_extkey(self): exec_test(self, 'Extkey.GetPubkeyFromExtkey', test_extkey_func)