Commit Graph

34 Commits

Author SHA1 Message Date
Parth Oberoi 1ecc620be5 update test hash values 2019-07-15 14:54:08 +05:30
zebra-lucky b75dbe65c9 add lib changes from electrum 3.1.3
- Add electrum 3.1.3 changes to lib, lib/tests.
 - Get new electrum 3.1.3 lib/constants.py, add Zcash changes.
 - Get original electrum 3.1.3 lib/blockchain.py (will be
 - modified in next commits).
 - Remove debian/ lib-util patch (fixed in 3.1.3 code).
 - Remove lib/www (as in 3.1.3).
2018-06-28 18:09:11 +03:00
zebra-lucky b1776f311d Zcash changes to setup.py, fix test_bitcoin.py 2018-03-21 20:10:09 +02:00
zebra-lucky 717b3d7df2 remove segwit from tests 2018-03-11 01:52:03 +02:00
SomberNight 33bb5fee73 tests: testnet addresses 2017-11-22 02:01:47 +01:00
SomberNight c05549c8cd follow-up prev commit: revert "strict checks" for old seeds 2017-10-29 20:04:31 +01:00
SomberNight d45e13553a old seeds: normalize, and stricter is_old_seed() 2017-10-29 17:34:45 +01:00
SomberNight 4a383af872 fix tests 2017-10-27 12:04:26 +02:00
ThomasV 5665b42999 remove six 2017-10-24 14:04:16 +02:00
SomberNight aa1289fa5d bitcoin.py AES: implement our own PKCS7 padding 2017-10-22 02:32:58 +02:00
ThomasV ed6b2d0abf add comment about pyaes issue 2017-10-17 12:55:13 +02:00
SomberNight 681eb1ccb8 tests: for bitcoin.py, added new ones, and some refactoring for existing
new ones mainly include:
- privkey -> pubkey -> addr conversions
- xprv, xpub operations
2017-10-11 18:46:52 +02:00
SomberNight f917a565b3 fix tests: message signing 2017-10-04 13:28:00 +02:00
ThomasV c73819a3d4 fix tests 2017-09-29 17:49:29 +02:00
SomberNight 7542bc9e35 tests: message signing 2017-09-27 03:57:49 +02:00
SomberNight 653c7acb48 fix bech32 scriptPubKeys (OP_n), and tests 2017-09-16 02:19:26 +02:00
ThomasV 9286deca57 fix test 2017-09-13 11:33:28 +02:00
ThomasV 5f35081bc9 fix tests 2017-08-31 10:25:22 +02:00
Dmitry Sorokin 5be78950ca py3 2017-08-26 08:27:47 +02:00
ThomasV 9e1931587d fix tests 2017-02-01 10:07:01 +01:00
ThomasV 9ca4e60b84 fix tests 2017-02-01 09:44:25 +01:00
ThomasV b4d5934da0 testnet: remove failing tests 2017-01-07 18:34:32 +01:00
Jonathan Cross 65f0c25027
Fixing test_bitcoin.py::Test_bitcoin::test_crypto 2016-10-15 19:24:53 +02:00
Roman Zeyde fa412c3a86 test_bitcoin: add tests for int packing 2015-08-15 09:41:20 +03:00
Roman Zeyde 175fef2d56 test_bitcoin: add test case for seeds 2015-08-15 09:20:01 +03:00
ThomasV f183554446 rm failing tests 2014-08-28 17:48:59 +02:00
ThomasV ef74ae57ff fix tests 2014-08-25 15:32:21 +02:00
Chris Glass a9592459ed Add tests to the wallet.py module.
This increases test coverage a lot.
2014-07-09 11:03:44 +02:00
Chris Glass 0ac02bf040 Made all bip32 primitives testnet compatible. 2014-06-27 15:44:43 +02:00
Chris Glass af5a0eba33 Added mnemonic to seed tests 2014-06-25 11:21:39 +02:00
Chris Glass bc98223188 Added more bitcoin tests 2014-06-25 10:39:50 +02:00
Chris Glass 9dc814ec8c Made _do_test_crypto private to allow nosetests 2014-06-25 08:45:37 +02:00
Chris Glass 413945435a Added private/public key tests
Including converting from a private key to a public key, and
deriving the primary address from a private key.
2014-06-25 08:27:45 +02:00
Chris Glass 73c33820db Moved bitcoin.py tests to their own file
This allows standard python testing tools to discover and run them.
2014-06-25 07:35:49 +02:00