Commit Graph

138 Commits

Author SHA1 Message Date
ThomasV 7933ac4324 reformatting 2015-07-04 12:07:33 +02:00
ThomasV 0c37009cdb fix is_address (forgot p2sh) 2015-07-02 08:53:17 +02:00
ThomasV cf5328b143 do not accet testnet addresses in bitcoin.is_address 2015-07-02 08:48:48 +02:00
Roman Zeyde 6bb9ee0cf7 bitcoin: remove dead code 2015-06-13 08:34:56 +03:00
Neil Booth 03e53a5e01 Create a constant for 100000000 and use it
Use same name as is in bitcoind.
Note that one of the constants in text.py had the wrong number
of zeroes previously...
2015-06-01 14:53:36 +09:00
ukurokawa e708c446a8 Dust threshold should be 546 2015-04-11 11:41:02 -04:00
K 41127db32d Let wallet recovery use 64 byte hex strings and 24 word seeds.
1. Allow wallet recovery from 64 byte hex strings.
2. Allow use of 24 word legacy seeds created from 64 byte hex strings.
2015-03-19 08:20:32 -07:00
ThomasV 46c290e30d use base43 in order to send transactions by QR code 2015-02-26 13:59:29 +01:00
ThomasV 059d381ba8 backport padding fix to AES module 2015-02-03 08:01:01 +01:00
ThomasV 16c72d286c try to import all python dependencies from the main script 2015-01-26 14:14:16 +01:00
ThomasV 906e0ecd14 rename SEED_PREFIX constant 2015-01-21 23:43:26 +01:00
ThomasV da968b60e4 drop support for multiple accounts (bip44) in standard wallets 2015-01-05 00:33:10 +01:00
ThomasV 63c7a27d7e add InvalidPassword exception 2014-12-03 22:35:05 +01:00
ThomasV bde0ca3ea1 set default fee to 0.5mBTC/kb 2014-09-15 07:35:05 +02:00
ThomasV cef75e9e7b new seed_version: remove whitespaces only between CJK characters 2014-09-13 19:31:05 +02:00
ThomasV 93d073457c add spanish wordlist and remove accents 2014-09-11 14:20:10 +02:00
ThomasV 6361abaf4d extended seed prefix 2014-09-09 11:51:45 +02:00
ThomasV cc71dfea86 check all bytes in strip_pkcs7_padding 2014-09-01 15:37:38 +02:00
ThomasV de1123e4a0 ecies: update description in comment 2014-09-01 15:20:52 +02:00
ThomasV a97375dbb4 ecies: use the same KDF to derive aes init vector and aes and hmac keys. 2014-09-01 14:57:08 +02:00
ThomasV eed37c41b5 ecies: don't drop sign of ephemeral key 2014-09-01 13:15:15 +02:00
ThomasV 2c51b0aa14 update mnemonic imports 2014-08-29 12:27:10 +02:00
ThomasV 4dcdcbc068 move mnemonic to separate class and use slush's wordlist. new commands: make_seed and check_seed 2014-08-28 15:37:42 +02:00
ThomasV ef74ae57ff fix tests 2014-08-25 15:32:21 +02:00
ThomasV bf3f67c043 do not expose mnemonic_to_seed 2014-08-13 15:43:54 +02:00
Chris Glass 9baaaef746 Made use of fewer constants 2014-06-27 16:15:04 +02:00
Chris Glass 0ac02bf040 Made all bip32 primitives testnet compatible. 2014-06-27 15:44:43 +02:00
ThomasV 54973062bd restore from xprv 2014-06-25 16:45:55 +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
ThomasV 31226b8a34 add pbkdf2 dependency 2014-06-05 16:19:13 +02:00
ThomasV 1045b537aa unit test for aes 2014-06-03 13:15:41 +02:00
ThomasV 30b608c6fb move tests to unittest format 2014-06-03 09:34:59 +02:00
ThomasV 650ef92c5f class MyVerifyingKey, with constructor to submit to python-ecdsa 2014-05-30 21:24:23 +02:00
ThomasV 501bb92584 Remove Bitcoin address from serialized encryption format. Enable encrypt commands, fix ser_to_point() and add some tests 2014-05-28 12:20:04 +02:00
Lucas Ryan a3d02525e2 in ecies encryption, mac headers+ciphertext instead of just ciphertext 2014-05-27 11:37:37 -07:00
Lucas Ryan 93f61f1717 replaced jackjack encryption with corrected ecies implementation 2014-05-27 10:55:51 -07:00
ThomasV c76da17262 utf8 encoding for seed encryption 2014-05-04 20:31:05 +02:00
ThomasV c9fc6275ab move private key methods from wallet to accounts 2014-05-04 19:43:15 +02:00
ThomasV 84052bcdb2 fix bug with has_seed 2014-04-30 15:44:46 +02:00
ThomasV 582fb76e9e new class: Imported_Wallet 2014-04-29 21:04:16 +02:00
ThomasV 23df7394df is_new_seed: encode utf8 2014-04-29 19:30:31 +02:00
ThomasV 41f9da1559 fix #655 2014-04-20 10:42:13 +02:00
Drak d082ed3cb5 Lower minimum tx fee in line with Bitcoin 0.9
Since Bitcoin Core 0.9 the minimum relay tx fee was lowered to `0.00001`.
2014-04-14 21:20:42 +01:00
ThomasV c24482c21a check seed in gui. fixes #622 2014-04-05 10:34:51 +02:00
ThomasV 9fccf9c287 helper functions for bip32 derivations 2014-04-01 19:10:13 +02:00
ThomasV 9663600d5d update bip32 derivations, using xpriv and xpub serialization format 2014-03-31 12:16:15 +02:00
ThomasV 91ba04c4d7 update bip32 derivations, using xpriv and xpub serialization format 2014-03-31 12:12:29 +02:00
ThomasV 328432f5f4 update bip32 derivations, using xpriv and xpub serialization format 2014-03-31 12:00:57 +02:00
ThomasV cef7bbf294 add get_public_key method to EC_KEY class 2014-03-04 16:33:25 +01:00