Commit Graph

45 Commits

Author SHA1 Message Date
SomberNight 8b86f21520 wizard: extend derivation dialog to also let user select script type.
enable segwit multisig for bip39/hw wallets.
2018-06-26 19:31:05 +02:00
SomberNight 59c1d03f01 ecc.py: properly handle point at infinity 2018-06-16 06:34:03 +02:00
SomberNight 1a8e8bc047 bitcoin.py: make int_to_hex throw on overflow 2018-06-16 02:34:27 +02:00
ghost43 cc05c09d6b minikeys: import with uncompressed pubkey instead of compressed (#4384) 2018-06-15 15:32:00 +02:00
SomberNight dbec3af810 tests: introduce FAST_TESTS flag for faster local testing 2018-05-28 14:02:07 +02:00
SomberNight d03da4d1a2 tests: test with all AES implementations 2018-05-25 22:06:45 +02:00
SomberNight 16e4827e8c use libsecp256k1 if available. abstract away ecc stuff. move symmetric crypto and hash functions to crypto.py 2018-05-25 15:43:06 +02:00
SomberNight e13183ea7a bitcoin.py: SCRIPT-related clean-up. transaction.py: construct_witness 2018-04-27 16:16:27 +02:00
SomberNight b3110b3b46 bitcoin.py: implement add_number_to_script. 2018-04-27 16:15:44 +02:00
SomberNight 4b89b1e270 implement script_num_to_hex 2018-04-27 16:15:43 +02:00
SomberNight 44bb1e9993 bitcoin.py: fix op_push
https://github.com/bitcoin/bitcoin/blob/8cbc5c4be4be22aca228074f087a374a7ec38be8/src/script/script.h#L464
https://github.com/btcsuite/btcd/blob/fdc2bc867bda6b351191b5872d2da8270df00d13/txscript/scriptbuilder.go#L151
2018-04-14 16:13:51 +02:00
SomberNight 58273fc841 tests: xpub version bytes 2018-04-01 16:56:17 +02:00
SomberNight 1eae16aa3e tests: class TestCaseForTestnet 2018-04-01 15:50:24 +02:00
SomberNight 81b6d65764 refactor network constants 2018-03-04 22:10:59 +01:00
SomberNight 7a4338ea21 fix tests 2018-02-19 21:16:12 +01: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