ThomasV
4273c607b7
fix #2961
2017-10-03 14:16:43 +02:00
ThomasV
c73819a3d4
fix tests
2017-09-29 17:49:29 +02:00
ThomasV
fed76bfffc
Merge branch 'master' of github.com:spesmilo/electrum
2017-09-29 15:36:01 +02:00
ThomasV
e8b564c0e7
Extend Wallet Import Format with txin type. Extend class Imported_Wallet.
2017-09-29 15:32:55 +02:00
ThomasV
da0f51df37
Merge pull request #2943 from SomberNight/msg_signing_tests
...
tests: message signing
2017-09-27 07:51:34 +02:00
ThomasV
4864c802dd
fix message signing #2939
2017-09-27 07:47:41 +02:00
SomberNight
7542bc9e35
tests: message signing
2017-09-27 03:57:49 +02:00
ThomasV
2239cb9624
fix #2921
2017-09-24 10:18:08 +02:00
ThomasV
1bd60d4c3a
fix #2880
2017-09-23 05:57:50 +02:00
ThomasV
3c7843eea5
revert 6e9b2a4459
2017-09-23 05:40:10 +02:00
ThomasV
23f36ea080
follow up previous commit
2017-09-16 11:00:20 +02:00
ThomasV
6e9b2a4459
do not send coins to witness scripts with non-zero version
2017-09-16 10:46:37 +02:00
SomberNight
a339270c07
readability change: OP_n calculation from boolean arithmetic to ternary
2017-09-16 03:43:08 +02:00
SomberNight
653c7acb48
fix bech32 scriptPubKeys (OP_n), and tests
2017-09-16 02:19:26 +02:00
SomberNight
33157d3718
fix: p2pk output serialisation
2017-09-15 05:50:12 +02:00
ThomasV
f0fe84d959
check xkey type when we add the keystore, so that we cover all cases
2017-09-14 14:38:19 +02:00
SomberNight
efd07f727a
fix testnet
2017-09-14 02:06:08 +02:00
ThomasV
7dbd612d5d
Read default server list from file. Update list with 1.1 servers. Remove nolnet option.
2017-09-13 11:33:28 +02:00
ThomasV
63a1db1172
make xpub/xprv version information user-visible
2017-09-13 11:33:28 +02:00
ThomasV
d9f2edf6b0
support native segwit transactions
2017-09-13 11:32:40 +02:00
ThomasV
8c5b6bdaf3
Read default server list from file. Update list with 1.1 servers. Remove nolnet option.
2017-09-13 11:30:30 +02:00
ThomasV
f56a8702c2
support sending to segwit native addresses (bip173)
2017-08-31 19:05:03 +02:00
ThomasV
4d3e079778
rename bc_address functions
2017-08-31 10:21:57 +02:00
ThomasV
b9da5afa9d
replace bitcoin.is_valid
2017-08-31 10:06:13 +02:00
ThomasV
794baa16c8
move address_to_script to bitcoin.py
2017-08-31 09:59:40 +02:00
ThomasV
227a553a99
update ripemd module for python3
2017-08-26 08:28:25 +02:00
ThomasV
126bbff948
Revert "remove python implementation of ripemd160"
...
This reverts commit 56c4a8746f
.
2017-08-26 08:28:25 +02:00
ThomasV
108d7d39f0
python3: fix password decode
2017-08-26 08:28:24 +02:00
fr3aker
8a15581d8e
fix imports
2017-08-26 08:28:24 +02:00
Dmitry Sorokin
362ca96f38
x509 fixes and plugins
2017-08-26 08:28:24 +02:00
Dmitry Sorokin
f02d18226b
misc ui and lib fixes for py3
2017-08-26 08:27:47 +02:00
Dmitry Sorokin
d304ccdf17
py3 in qtgui
2017-08-26 08:27:47 +02:00
Dmitry Sorokin
5be78950ca
py3
2017-08-26 08:27:47 +02:00
ThomasV
6b45070b2f
allow arbitrary derivations with bip39 seeds, to let multibit users recover funds
2017-06-20 10:47:02 +02:00
ThomasV
31ab5b2e0a
pass hash to pubkey_from_signature
2017-06-15 10:03:18 +02:00
ThomasV
dd0b018a35
add configurable checkpoint to blockchain verification; use genesis as default
2017-03-23 11:58:56 +01:00
ThomasV
8fabd1245d
replace PyCrypto with PyCryptodome
2017-03-09 10:47:53 +01:00
ThomasV
6977ba603b
Merge pull request #2236 from kyuupichan/master
...
Add support for BU's nolnet
2017-03-06 12:28:45 +01:00
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