Пример #1
0
 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')
Пример #2
0
 def test_schnorr(self):
     exec_test(self, 'Schnorr', test_schnorr_func)
Пример #3
0
 def test_confidential_tx_parse(self):
     exec_test(self, 'ConfidentialTransaction.Decode', test_parse_tx_func)
Пример #4
0
 def test_confidential_transaction(self):
     exec_test(self, 'ConfidentialTransaction', test_ct_transaction_func)
Пример #5
0
 def test_bitcoin_tx(self):
     exec_test(self, 'Bitcoin', test_bitcoin_tx_func)
Пример #6
0
 def test_address(self):
     exec_test(self, 'Address', test_address_func)
Пример #7
0
 def test_aes(self):
     exec_test(self, 'AES', test_crypto_func)
Пример #8
0
 def test_base64(self):
     exec_test(self, 'Base64', test_crypto_func)
Пример #9
0
 def test_extkey_from_seed(self):
     exec_test(self, 'HDWallet.GetExtPrivkeyFromSeed',
               test_convert_mnemonic_func)
Пример #10
0
 def test_mnemonic_to_seed(self):
     exec_test(self, 'HDWallet.GetMnemonicToSeed',
               test_convert_mnemonic_func)
Пример #11
0
 def test_get_mnemonic_from_entropy(self):
     exec_test(self, 'HDWallet.GetMnemonicFromEntropy',
               test_convert_mnemonic_func)
Пример #12
0
 def test_get_entropy_from_mnemonic(self):
     exec_test(self, 'HDWallet.GetEntropyFromMnemonic',
               test_convert_mnemonic_func)
Пример #13
0
 def test_get_mnemonic_word_list(self):
     exec_test(self, 'HDWallet.GetMnemonicWordList',
               test_mnemonic_word_list_func)
Пример #14
0
 def test_ecdsa_adaptor(self):
     exec_test(self, 'EcdsaAdaptor', test_ecdsa_adaptor_func)
Пример #15
0
 def test_signature(self):
     exec_test(self, 'Signature', test_signature_func)
Пример #16
0
 def test_confidential_address(self):
     exec_test(self, 'ConfidentialAddress', test_ct_address_func)
Пример #17
0
 def test_base58(self):
     exec_test(self, 'Base58', test_crypto_func)
Пример #18
0
 def test_extpubkey_from_seed(self):
     exec_test(self, 'Extkey.GetExtPubkey', test_convert_bip32_func)
Пример #19
0
 def test_hash(self):
     exec_test(self, 'Hash', test_crypto_func)
Пример #20
0
 def test_derive_pubkey_from_seed(self):
     exec_test(self, 'Extkey.DerivePubkeyFromSeed', test_convert_bip32_func)
Пример #21
0
 def test_pegout_address(self):
     exec_test(self, 'PegoutAddress', test_pegged_address_func)
Пример #22
0
 def test_extkey_from_parent(self):
     exec_test(self, 'Extkey.CreateExtkeyFromParent', test_extkey_func)
     exec_test(self, 'Extkey.CreateExtkeyFromParentPath', test_extkey_func)
Пример #23
0
 def test_transaction(self):
     exec_test(self, 'Transaction', test_transaction_func)
Пример #24
0
 def test_extkey_info(self):
     exec_test(self, 'Extkey.GetExtkeyInfo', test_extkey_func)
Пример #25
0
 def test_script(self):
     exec_test(self, 'Script', test_script_func)
Пример #26
0
 def test_create_extkey(self):
     exec_test(self, 'Extkey.CreateExtkey', test_extkey_func)
Пример #27
0
 def test_elements_tx(self):
     exec_test(self, 'Elements', test_elements_tx_func)
Пример #28
0
 def test_extkey_path_data(self):
     exec_test(self, 'Extkey.GetExtkeyPathData', test_extkey_func)
Пример #29
0
 def test_descriptor(self):
     exec_test(self, 'Descriptor', test_descriptor_func)
Пример #30
0
 def test_pubkey_from_extkey(self):
     exec_test(self, 'Extkey.GetPubkeyFromExtkey', test_extkey_func)