Ejemplo n.º 1
0
 def test_uncompressed_stn(self):
     key = wif_to_key(WALLET_FORMAT_STN, network='stn')
     assert isinstance(key, PrivateKey)
     assert key.network == 'stn'
     assert not key.is_compressed()
Ejemplo n.º 2
0
 def test_uncompressed_main(self):
     key = wif_to_key(WALLET_FORMAT_MAIN)
     assert isinstance(key, PrivateKey)
     assert not key.is_compressed()
Ejemplo n.º 3
0
 def test_uncompressed_test(self):
     key = wif_to_key(WALLET_FORMAT_TEST)
     assert isinstance(key, PrivateKey)
     assert key.network == 'test'
     assert not key.is_compressed()
Ejemplo n.º 4
0
 def test_compressed_test(self):
     key = wif_to_key(WALLET_FORMAT_COMPRESSED_TEST)
     assert isinstance(key, PrivateKeyTestnet)
     assert key.is_compressed()