ThomasV
ee2e9f6092
update MAX_FEE_RATE constant
2017-03-05 22:19:46 +01:00
Neil Booth
8888a50549
Add support for BU's nolnet
...
Also update testnet servers
Add missing self. in print_error call
2017-03-04 11:01:32 +09:00
ThomasV
fcc92c1ebd
Wallet file encryption:
...
- a keypair is derived from the wallet password
- only the public key is retained in memory
- wallets must opened and closed explicitly with the daemon
2017-03-01 13:58:04 +01:00
ThomasV
7e76e4ac55
AES: use PyCrypto if available
2017-03-01 10:37:48 +01:00
ThomasV
b1f27d7e84
fix: missing parameter
2017-02-26 08:27:25 +01:00
ThomasV
e1515743cd
replace slowaes with pyaes
2017-02-10 17:22:52 +01:00
ThomasV
17cfc03540
use serialize_xpub/xprv
2017-02-05 11:30:32 +01:00
ThomasV
6bfbc9a718
fix: replace remaining occurences of public_key_to_bc_address
2017-01-29 06:34:35 +01:00
ThomasV
f937472928
fix typos
2017-01-26 19:23:17 +01:00
ThomasV
ce11a2fac5
replace segwit wallet class with custom xpub type
2017-01-26 13:53:31 +01:00
ThomasV
3a64ec0f2e
Initial segwit support (testnet only)
2017-01-25 21:42:15 +01:00
ThomasV
132fca86b2
fix #2133 : deserialize_xkey
2017-01-23 20:49:26 +01:00
ThomasV
a2e7fc32ef
Add fee slider class with network callback.
2017-01-09 12:36:15 +01:00
ThomasV
73390f1769
fix: missing global
2017-01-07 19:49:20 +01:00
ThomasV
8b6efaff2d
remove regexp test from is_address; non-matching strings will fail anyway
2017-01-07 18:42:51 +01:00
ThomasV
4d41c36cbb
add headers url for testnet
2017-01-07 18:39:41 +01:00
ThomasV
d042d6e970
initial testnet support (petrkr)
2017-01-07 16:58:59 +01:00
ThomasV
cda0d14a13
fix issue #2064
2016-12-21 13:30:35 +01:00
ThomasV
121ac07b01
wizard: add checkbox for passphrases. allow passphrases with 2fa seeds
2016-09-30 01:15:28 +02:00
ThomasV
c32f75a313
wizard: display seed type. restore 2fa if needed
2016-09-28 06:30:00 +02:00
ThomasV
296f30b924
trustedcoin: use 12-word seeds with separate derivations
2016-09-27 13:21:25 +02:00
ThomasV
1e4cdab096
normalize passphrase
2016-09-02 10:20:04 +02:00
ThomasV
b87c5d12fa
- fix sign/verify messages
...
- fix hardware wallet tx_outputs
2016-08-14 13:03:52 +02:00
ThomasV
67780bb8b9
changes for new toolchain
2016-07-28 13:06:58 +02:00
akshayaurora
07c5f02639
changes for new toolchain
2016-07-27 17:57:12 +02:00
ThomasV
0273936b07
Discretize fee levels (follow-up 3314b3a
). Fixes #1753
2016-05-26 09:23:42 +02:00
ThomasV
305843999e
Relicensing
2016-02-24 10:20:30 +01:00
ThomasV
56c4a8746f
remove python implementation of ripemd160
2016-01-26 15:18:28 +01:00
Neil Booth
b878c010da
Minikey: minimum length 20
...
On second thoughts there seems little reason to accept text
of length <= 20 for minikeys.
2016-01-21 08:11:50 +09:00
Neil Booth
f7859c041e
Support Casascius minikeys
2016-01-19 22:00:16 +09:00
ThomasV
0d52911561
define constants for tx output types
2016-01-14 17:15:50 +01:00
ThomasV
da8fce1914
if available, use relayfee from server instead of hard coded value
2016-01-14 16:06:22 +01:00
ThomasV
86a0103a7f
increase min_relay_tx_fee, and make dust_threshold a function
2015-11-12 14:31:17 +01:00
ThomasV
d68042e76e
enforece low S value in signatures (per BIP62)
2015-10-05 09:15:22 +02:00
ThomasV
f583fcfedb
do not import dns on android
2015-08-18 12:15:56 +02:00
Roman Zeyde
abc7429b0f
bitcoin: remove multiple imports
2015-08-09 19:35:02 +03:00
ThomasV
471cab6089
do not base64encode signatures in requests
2015-07-14 16:37:04 +02:00
ThomasV
f3c4a55e77
add dnssec verification to payment requests
2015-07-07 08:59:03 +02:00
ThomasV
15f592f022
trezor multisig: build xpub from pubkey
2015-07-05 23:29:36 +02:00
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
ThomasV
da6f292dd5
encrypt/decrypt messages in gui
2014-03-03 10:39:10 +01:00
ThomasV
fc9d2b6ee9
remove redundant function
2014-02-03 13:50:01 +01:00
ThomasV
c90bc6aa26
bip39
2014-02-01 11:23:29 +01:00
ThomasV
631c967df9
new commands: encrypt and decrypt messages
2014-01-30 14:43:46 +01:00
ThomasV
ae3cb372c8
add ECDSA asymmetric encryption
2014-01-30 11:42:55 +01:00
ThomasV
9218175301
enable bip32
2014-01-29 17:12:08 +01:00
William Yager
4e1d6da805
Cleaned up/commented BIP 0032 key derivation.
2014-01-04 15:24:38 -06:00
Juho Östman
27b08a8ea2
Allow password to have non-ASCII characters
2013-11-18 23:31:45 +02:00
Bryan Stitt
225d8b83a3
don't use bare except
2013-11-09 21:23:57 -08:00
Bryan Stitt
f0eb0eccde
replace BaseException with Exception
2013-11-09 20:21:02 -08:00
ThomasV
31aaae8ed2
seed v6
2013-10-26 16:40:05 +02:00