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
ThomasV
8467663448
Merge pull request #3141 from SomberNight/locktime_local_height
...
txn: set locktime to local height for RBF, CPFP, sweep
2017-10-28 22:41:48 +02:00
SomberNight
211fa9a062
txn: set locktime to local height for RBF, CPFP, sweep
2017-10-28 10:02:37 +02:00
SomberNight
5109075e4f
fix: sweep p2pk - small display bug (unknown -> pubkey)
2017-10-28 08:59:44 +02:00
ThomasV
6f3c822867
Merge pull request #3125 from SomberNight/sweep_p2pk
...
try to sweep p2pk outputs from old type WIF privkeys
2017-10-27 21:01:56 +02:00
SomberNight
aad83a71c8
tests: have bip39 multisig wallet unit test mirror hw wallet behaviour
2017-10-27 19:57:43 +02:00
ThomasV
f7b14cb27f
Merge branch 'master' of github.com:spesmilo/electrum
2017-10-27 16:28:55 +02:00
ThomasV
e607a499c1
check seed_version is not too high
2017-10-27 16:26:01 +02:00
SomberNight
a40ab01210
seed_version: separate methods for v14 and v15 conversion (storage)
2017-10-27 16:06:36 +02:00
ThomasV
348f66b8a5
fix requires_upgrade
2017-10-27 15:00:46 +02:00
ThomasV
a1f91ee49e
Revert "Revert "bump seed_version""
...
This reverts commit ce5ab39ba2 .
2017-10-27 15:00:09 +02:00
ThomasV
ce5ab39ba2
Revert "bump seed_version"
...
This reverts commit 64b7a89abc .
2017-10-27 12:38:50 +02:00
ThomasV
64b7a89abc
bump seed_version
2017-10-27 12:06:26 +02:00
SomberNight
5e5191d25c
base_wizard: only check xpub type if have xpub
2017-10-27 12:04:26 +02:00
SomberNight
4a383af872
fix tests
2017-10-27 12:04:26 +02:00
ThomasV
11bbe31ae3
wizard: check xpub types before adding keystore
2017-10-27 12:04:26 +02:00
ThomasV
a10e6b6436
fix xtype of ypub keys in plugins and bip39 seeds
2017-10-27 12:04:26 +02:00
ThomasV
0af700bda0
fix typo
2017-10-27 12:04:26 +02:00
ThomasV
a220932711
serialize txin-type in xpub/xprv
2017-10-27 12:04:26 +02:00
SomberNight
0d0f8c5842
fix: payment request related stuff (qt crash, exporting, refresh bug)
2017-10-27 02:32:49 +02:00
ThomasV
f6cc37d1d2
Merge branch 'master' of github.com:spesmilo/electrum
2017-10-26 11:23:41 +02:00
ThomasV
ffc0cc3c1f
Merge pull request #3123 from SomberNight/fix_parse_witness_coinbase
...
fix: transaction.parse_witness() for coinbase
2017-10-26 11:23:28 +02:00
SomberNight
1c31177d03
try to sweep p2pk outputs from old type WIF privkeys
2017-10-26 01:17:46 +02:00
SomberNight
32e88495ae
fix: transaction.parse_witness() for coinbase
2017-10-26 00:40:08 +02:00
SomberNight
fb47dbb75a
tests: transaction.txid()
2017-10-26 00:35:18 +02:00
ThomasV
89240571d4
py3: socket.error is deprecated
2017-10-25 18:22:54 +02:00
ThomasV
1cbc794229
interface: catch py3 exceptions
2017-10-25 17:43:30 +02:00
SomberNight
1f102913e9
typo in wallet.import_private_key()
2017-10-25 06:54:51 +02:00
ThomasV
5665b42999
remove six
2017-10-24 14:04:16 +02:00
SomberNight
523de69b5e
Introduced BasePlugin.can_user_disable(). TrustedCoin plugin can't be disabled by user.
2017-10-24 04:42:52 +02:00
ThomasV
6e0e5a8d57
wizard: allow segwit seed as cosigner
2017-10-23 06:42:34 +02:00
SomberNight
2457ac8774
fix #3091
2017-10-22 23:47:11 +02:00
ThomasV
7cf075c754
follow up b8c7edf070
2017-10-22 15:14:09 +02:00
SomberNight
29c34332ac
fix: contacts import
2017-10-22 13:46:05 +02:00
ThomasV
8683d71711
fix: witness serialization
2017-10-22 12:39:36 +02:00
ThomasV
b8c7edf070
return bytes in scan_barcode
2017-10-22 12:04:00 +02:00
SomberNight
aa1289fa5d
bitcoin.py AES: implement our own PKCS7 padding
2017-10-22 02:32:58 +02:00
ThomasV
198cc9d737
fix #2614 : define non-linear scale for static fees
2017-10-21 11:15:59 +02:00
Dan Haiduc
5e589133c9
Update commands: output str(Decimals), not floats
...
The commands `listunspent` and `history` were using float.
Patched to consistently return strings of Decimal objects.
2017-10-20 21:35:18 +03:00
Antoine Riard
9ebca74724
fix: check_seed command import path
2017-10-20 12:03:02 -04:00
ThomasV
24442de8df
fix command line interface for hardware wallets. fixes #3056
2017-10-19 11:59:36 +02:00
SomberNight
f69f6a88e0
py3: signmessage cmd now again returns str
2017-10-17 20:15:33 +02:00
ThomasV
0a648e2b1c
cleanup commented lines
2017-10-17 12:59:59 +02:00
ThomasV
ed6b2d0abf
add comment about pyaes issue
2017-10-17 12:55:13 +02:00
ThomasV
a2048feb24
add segwit option for cmdline create
2017-10-17 11:45:55 +02:00
SomberNight
8a07c2654c
fix: py3 in bitcoin.py: aes_encrypt_with_iv() and aes_decrypt_with_iv()
2017-10-17 07:36:04 +02:00
SomberNight
d5dcdb01dd
follow-up of prev commit: fix travis build (take 2)
2017-10-16 05:23:51 +02:00
SomberNight
3fe2af242e
follow-up of prev commit: fix travis build
2017-10-16 05:11:05 +02:00
SomberNight
7ba233f2ab
fix: storage upgrade of pre-2.8 imported key wallets, and tests
2017-10-16 04:37:01 +02:00
ThomasV
ccf1f0f5d1
add class Simple_Wallet
2017-10-15 10:14:55 +02:00
ThomasV
dc553ff108
fix #2991 : encrypt wallet files created with command line
2017-10-15 09:18:14 +02:00
ThomasV
8d307ce1e8
rm failing test
2017-10-14 16:08:03 +02:00
ThomasV
0dbb976baf
update unsigned tx format, so that imported wallets can sign all address types
2017-10-14 15:47:36 +02:00
SomberNight
26f439f34d
tests: WalletStorage upgrades
2017-10-14 03:29:08 +02:00
ThomasV
319a31e64c
Merge branch 'master' of github.com:spesmilo/electrum
2017-10-13 13:47:41 +02:00
ThomasV
3b8c8c712d
fix #3038
2017-10-13 13:47:32 +02:00
SomberNight
8025d81ec0
fix #3035
2017-10-13 12:38:19 +02:00
ThomasV
628a9e0521
follow up afcc37ec34
2017-10-13 10:56:59 +02:00
ThomasV
afcc37ec34
Merge pull request #3026 from SomberNight/missing_import_stat
...
fix: missing import 'stat' in network.py and simple_config.py
2017-10-13 10:55:18 +02:00
SomberNight
f22f8c614f
fix tests
2017-10-13 05:52:58 +02:00
SomberNight
a5ffa69a3e
storage: upgrade format version automatically in load_data()
2017-10-13 05:44:19 +02:00
ThomasV
1320b18d7e
Merge pull request #3020 from SomberNight/tests_bitcoin1
...
tests: bitcoin.py
2017-10-13 04:39:01 +02:00
ThomasV
6a876775c4
Merge pull request #3024 from SomberNight/fix_convert_v14_redeem
...
fix: storage.convert_version_14() is missing redeem_scripts
2017-10-13 04:37:39 +02:00
SomberNight
8e007f026d
fix: witness for non-segwit txins
2017-10-12 21:44:08 +02:00
SomberNight
0510bdb85b
fix: missing import 'stat' in network.py and simple_config.py
2017-10-12 08:04:55 +02:00
SomberNight
2ad061eead
fix: storage.convert_version_14() was missing redeem_scripts
2017-10-12 06:40:41 +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
843aec80d7
fix: bitcoin.is_minikey() was broken
2017-10-11 16:27:39 +02:00
SomberNight
e406829904
fix: Imported_Wallet cannot spend from p2wpkh or p2wpkh-p2sh
2017-10-11 14:00:38 +02:00
ThomasV
6656154b78
add 'createnewaddress' command, separate from getunusedaddress
2017-10-11 12:24:55 +02:00
ThomasV
de85b56e0a
re-enable locktime
2017-10-11 12:24:55 +02:00
ThomasV
d1657cd62c
rm deprecated functions
2017-10-11 12:24:44 +02:00
ThomasV
c72123d708
fix #3014
2017-10-11 01:04:46 +02:00
ThomasV
e0635f5d08
Merge pull request #2320 from da2x/bugfixes
...
Tighten directory permissions
2017-10-10 20:11:26 +02:00
SomberNight
0a1ebea669
sweep txs are now always RBF
2017-10-10 19:53:28 +02:00
ThomasV
4836adff84
add cmdline support for 2fa wallets
2017-10-10 13:44:25 +02:00
ThomasV
401d8bc534
fix #2890
2017-10-10 11:48:27 +02:00
ThomasV
8fbabfd796
update delete_address for imported wallets
2017-10-10 11:38:30 +02:00
ThomasV
3f3d249ed1
follow up c810c6a356
2017-10-09 11:54:17 +02:00
ThomasV
26becedfb2
fix privkey serialization in commands
2017-10-09 11:53:47 +02:00
ThomasV
5873fe8eaf
follow up previous commit
2017-10-09 10:45:43 +02:00
ThomasV
b1cc81a6f6
fix #3011
2017-10-09 10:42:43 +02:00
ThomasV
5480b7dff5
add_input_info: add txin value for RBF with segwit inputs
2017-10-07 12:54:50 +02:00
ThomasV
332c5d41e6
return dict in get_addr_utxo
2017-10-07 12:52:52 +02:00
ThomasV
9aa3f2d9e2
add txin_type in add_input_info, remove inefficient search
2017-10-07 12:15:18 +02:00
ThomasV
d28f603483
Allow comma separated address lists for from_addr
2017-10-07 11:54:28 +02:00
ThomasV
c810c6a356
commands: use the same option names for RPC and command line. fixes #2875
2017-10-07 09:48:20 +02:00
ThomasV
6dd2b8b471
fix #2861 : error message when password is missing
2017-10-07 08:19:14 +02:00
ThomasV
fefcd7bbcd
sweep: use scripthash rpc
2017-10-06 09:56:54 +02:00
SomberNight
da480b1209
fix: v13 to v14 wallet (with Imported_KeyStore) conversion
2017-10-06 01:55:30 +02:00
gdvine
5ce8508cd5
Fix low value error message
2017-10-05 20:06:26 +01:00
ThomasV
15ab48aaa8
fix sweep
2017-10-05 20:08:16 +02:00
ThomasV
3dabb94046
convert wallet format for imported wallets
2017-10-05 19:40:41 +02:00
ThomasV
30069324d5
fix #2995
2017-10-05 17:10:30 +02:00
ThomasV
e299df7b82
add message signing/decryption for segwit addresses
2017-10-05 14:44:44 +02:00
ThomasV
0bc53d34d1
improve error message (see #2991 )
2017-10-05 10:34:20 +02:00
ThomasV
73c7fbcc69
Merge pull request #2964 from SomberNight/tests_wallet_keystore_bip39
...
tests: wallet-keystore integrity (bip39)
2017-10-05 10:10:57 +02:00
ThomasV
34a786ee43
fix export_private_key of Imported_Wallet
2017-10-05 09:44:37 +02:00
SomberNight
4aa385e0b3
follow-up of wallet.get_private_key() -> wallet.export_private_key()
2017-10-04 23:22:33 +02:00
ThomasV
901dda0898
Merge pull request #2981 from SomberNight/fix_tests_msg_signing
...
fix tests: message signing
2017-10-04 14:49:01 +02:00
ThomasV
988fb4e413
follow up 0f4b5abc15
2017-10-04 14:46:56 +02:00
SomberNight
f917a565b3
fix tests: message signing
2017-10-04 13:28:00 +02:00
ThomasV
0f4b5abc15
add use_compressed_pubkeys field to keystores. fix #2973
2017-10-04 13:04:21 +02:00
ThomasV
6c215c895a
Merge pull request #2971 from SomberNight/fix_saving_bip70_payreq
...
fix: saving payment request as bip70 file
2017-10-04 12:34:24 +02:00
ThomasV
9f6e174b4f
fix #2961
2017-10-04 09:24:34 +02:00
SomberNight
67f418e94d
fix: saving payment request as bip70 file
2017-10-04 02:12:52 +02:00
ThomasV
91ed74a95f
Merge branch 'master' of github.com:spesmilo/electrum
2017-10-03 14:16:55 +02:00
ThomasV
4273c607b7
fix #2961
2017-10-03 14:16:43 +02:00
SomberNight
751be88059
tests: wallet-keystore integrity (bip39)
2017-10-03 03:30:40 +02:00
SomberNight
902ec2dc69
fix: unresolved variable _bytes in transaction.parse_redeemScript()
2017-10-03 01:34:45 +02:00
ThomasV
031b911dce
fix cache with h2addr
2017-09-30 13:01:33 +02:00
ThomasV
34628533fb
fix typo
2017-09-30 13:00:52 +02:00
ThomasV
1daecf285d
Merge pull request #2950 from SomberNight/tests_wallet_keystore
...
tests: wallet-keystore integrity (seed->address)
2017-09-29 20:12:42 +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
SomberNight
f3bbb52b91
tests: wallet-keystore integrity (seed->address)
2017-09-29 05:03:22 +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
952049f74b
fix #2915
2017-09-24 13:35:53 +02:00
ThomasV
2239cb9624
fix #2921
2017-09-24 10:18:08 +02:00
ThomasV
99bc43d8db
Merge pull request #2911 from SomberNight/pyqt5
...
migration to PyQt5
2017-09-24 09:42:32 +02:00
ThomasV
c43b48f4f5
Merge pull request #2917 from SomberNight/get_server
...
log: identify exception source in log for daemon/get_server
2017-09-24 09:40:33 +02:00
ThomasV
70983bb177
Merge pull request #2919 from SomberNight/currency_btce
...
finish BTCe to WEX renaming
2017-09-24 09:32:35 +02:00
SomberNight
48eab8f286
python3: exchange_rate.py
2017-09-24 02:53:17 +02:00
SomberNight
60dcf6ebfb
finish BTCe to WEX renaming
2017-09-23 19:47:54 +02:00
SomberNight
296837d4a9
log: identify exception source in log for daemon/get_server
2017-09-23 18:44:06 +02:00
ThomasV
1522a00012
qrscanner: return str
2017-09-23 09:40:20 +02:00
ThomasV
9bdac1aae0
detect txintype in keystore. fix #2912
2017-09-23 09:39:12 +02:00
ThomasV
1bd60d4c3a
fix #2880
2017-09-23 05:57:50 +02:00
SomberNight
4ac162f18b
migration to PyQt5. initial commit.
2017-09-23 05:54:38 +02:00
ThomasV
3c7843eea5
revert 6e9b2a4459
2017-09-23 05:40:10 +02:00
ThomasV
ab2d0f389c
fix 2904
2017-09-23 05:26:03 +02:00
ThomasV
348ef7d72c
Merge pull request #2902 from SomberNight/network_timeout
...
send server.version before subscriptions
2017-09-22 10:19:40 +02:00
ThomasV
c186dc18d4
fix tests
2017-09-22 09:55:30 +02:00
SomberNight
2fbc70d860
Moving to virtual tx size instead of total tx size.
2017-09-22 09:49:05 +02:00
SomberNight
6e0c2cffd8
replace deprecated assertEquals
2017-09-21 06:07:52 +02:00
SomberNight
f80d8b02ca
Periodically poll fee estimates from server.
2017-09-21 01:19:05 +02:00
SomberNight
0e89745c2b
send server.version before subscriptions
2017-09-20 15:21:41 +02:00
ThomasV
c12c1685d7
serialize value of incomplete inputs in the witness field. fix p2wsh-in-p2sh deserialization
2017-09-18 09:41:19 +02:00
ThomasV
fcea2a065d
add support for p2wsh-in-p2sh
2017-09-18 08:52:06 +02:00
ThomasV
10b35e3545
follow-up 0abb38cf51
2017-09-17 17:09:22 +02:00
ThomasV
6b1d9ca315
add segwit option for make_seed command
2017-09-17 17:08:46 +02:00
ThomasV
5416a4ea8a
serialize value for segwit-p2sh inputs too
2017-09-17 16:56:52 +02:00
Jochen Hoenicke
0abb38cf51
Fix parsing of witnesses
...
The lengths in the witness structure are `var_int` not pushes.
From BIP-141:
The `witness` is a serialization of all witness data of the transaction.
Each txin is associated with a witness field. A witness field starts
with a `var_int` to indicate the number of stack items for the txin. It is
followed by stack items, with each item starts with a `var_int` to
indicate the length. Witness data is NOT script.
This bug was triggered by tx
d379210d85c1346dafbfd60e3cbc5c5573e50b1f9576d39f177afb2b378f1b98
2017-09-17 16:56:25 +02:00
ThomasV
fd1a676d45
remove command line segwit option
2017-09-17 16:34:22 +02:00
Alexx Saver
7b3a398d46
Removed BTCe and added WEX to exchange_rate.py
...
Notice: WEX uses RUR instead of RUB, but we return it as RUB to conform to ISO 4217.
2017-09-17 01:55:07 +04: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
ThomasV
a8a993d490
fix key type for bip49
2017-09-15 12:20:06 +02:00
ThomasV
d7dc804b32
fix iteration bug
2017-09-15 12:07:57 +02:00
ThomasV
302dd3912d
Merge pull request #2872 from SomberNight/p2pk_output_1
...
fix: p2pk output serialisation
2017-09-15 11:54:53 +02:00
SomberNight
33157d3718
fix: p2pk output serialisation
2017-09-15 05:50:12 +02:00
SomberNight
35e4eb6cc3
fix: set scriptSig when spending from coinbase
2017-09-15 05:36:13 +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
ThomasV
123c5e3165
wizard: check seed_type before creating multisig
2017-09-14 14:00:29 +02:00
ThomasV
43e3f4d3d1
add segwit choice to wizard
2017-09-14 12:20:11 +02:00
SomberNight
efd07f727a
fix testnet
2017-09-14 02:06:08 +02:00
ThomasV
c5f552f26a
rm dead code
2017-09-13 15:12:50 +02:00
ThomasV
8b0db38f87
follow-up 3d4c64f9e
2017-09-13 14:54:52 +02:00
ThomasV
50ce062c39
update release notes and set version number to 3.0
2017-09-13 12:48:37 +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
f1666f208b
remove height parameter from blockchain.transaction.get
2017-09-13 11:33:28 +02:00
ThomasV
84962ea6f1
remove deprecated command: getutxoaddress
2017-09-13 11:33:28 +02:00
ThomasV
93e577e0cb
Revert "segwit: add purpose to derivation"
...
This reverts commit f706fa07078fd01f24ded2dada7ad66eae8ff485.
2017-09-13 11:33:28 +02:00
ThomasV
7f9b473a98
protocol version
2017-09-13 11:33:28 +02:00
ThomasV
ee36ec992c
segwit: add purpose to derivation
2017-09-13 11:33:28 +02:00
ThomasV
9286deca57
fix test
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
bd16e20a4d
minor fix (parsing signatures)
2017-09-13 11:32:40 +02:00
ThomasV
d9f2edf6b0
support native segwit transactions
2017-09-13 11:32:40 +02:00
ThomasV
68873d92f9
implement scripthash logic
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
SomberNight
cbc35d96c8
fix unresolved variable
2017-09-12 17:09:54 +02:00
ThomasV
6fda3733e4
Merge branch 'master' of github.com:spesmilo/electrum
2017-09-12 15:06:00 +02:00
ThomasV
7f58e23ed9
python3 update
2017-09-12 15:05:48 +02:00
SomberNight
c50a460395
fixes #2858
2017-09-10 16:28:06 +02:00
WakiyamaP
0791b469e7
fix download failed blockchain headers
2017-09-08 10:57:22 +09:00
ThomasV
70af22c9e4
update scripts/servers to display server version
2017-09-07 09:41:21 +02:00
ThomasV
216e9403be
cleanup six (no python2 support)
2017-09-04 14:43:31 +02:00
ThomasV
f8c592f743
Merge pull request #2837 from ariard/fix_urllib
...
fix urllib.quote py2 to py3
2017-09-04 14:23:05 +02:00
ThomasV
6b871a7cfd
mmonir python3 fix
2017-09-04 14:21:02 +02:00
Antoine Riard
5059898af2
fix urllib.quote py2 to py3
2017-09-04 06:13:55 -04:00
tadas.varanavicius
c0073138dc
Python 3 fixes for Segwit
2017-09-01 22:22:31 +03:00
ThomasV
b7e8147ca8
Merge pull request #2621 from KoffeinFlummi/fiat-balance-addresses
...
Add optional Fiat balance column to addresses view
2017-09-01 06:30:13 +02:00
ThomasV
f56a8702c2
support sending to segwit native addresses (bip173)
2017-08-31 19:05:03 +02:00
ThomasV
5f35081bc9
fix tests
2017-08-31 10:25:22 +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
e853dde111
add segwit bech32 module
2017-08-31 09:59:54 +02:00
ThomasV
794baa16c8
move address_to_script to bitcoin.py
2017-08-31 09:59:40 +02:00
ThomasV
5f1d9cbcf5
separate network layer from synchronizer
2017-08-31 09:59:29 +02:00
ThomasV
b86619ee30
Merge pull request #2760 from jhoenicke/trezorsegwit
...
[TREZOR] Added Segwit support.
2017-08-30 11:48:55 +02:00
ThomasV
936b92fa00
Merge pull request #2789 from linuxdaddy/master
...
Update paymentrequests.proto
2017-08-30 07:17:26 +02:00
ThomasV
1394346192
fix #2819
2017-08-30 06:38:57 +02:00
Jochen Hoenicke
ec0de566a8
[TREZOR] Added Segwit support.
...
Following changes were necessary outside the TREZOR plugin.
- transaction.py: update_transaction handles segwit transactions.
- keystore.py: added a segwit parameter to bip44_derivation,
use m/49' instead of m/44' for segwit.
2017-08-29 18:43:50 +02:00
ThomasV
5bf3b26476
segwit: use 12 bits of seed prefix
2017-08-27 14:30:01 +02:00
ThomasV
88bbaf0950
postpone x_pubkeys replacement ( fix #2738 )
2017-08-27 14:03:53 +02:00
ThomasV
2e567fc86a
fix #2784
2017-08-27 10:48:41 +02:00
ThomasV
6d2b53cdca
fix bip39 check
2017-08-27 10:02:15 +02:00
ThomasV
7b14516cc0
fix unicode in make_seed and getseed
2017-08-27 09:53:22 +02:00
ThomasV
8cb714fb70
fix #2801
2017-08-27 09:22:57 +02:00
ThomasV
a9678aee78
bump version number and update release notes
2017-08-26 08:33:42 +02:00
ThomasV
227a553a99
update ripemd module for python3
2017-08-26 08:28:25 +02:00
ThomasV
4df5997940
catch wrap_socket timeouts
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
32dee14fd0
show error message when parsing empty tx
2017-08-26 08:28:24 +02:00
ThomasV
1a6e41cec8
python3 updates
2017-08-26 08:28:24 +02:00
ThomasV
e02687bcf2
python3 updates
2017-08-26 08:28:24 +02:00
ThomasV
d8e37644d3
python3 updates
2017-08-26 08:28:24 +02:00
ThomasV
108d7d39f0
python3: fix password decode
2017-08-26 08:28:24 +02:00
ThomasV
0fdf661845
python3: update storage
2017-08-26 08:28:24 +02:00
ThomasV
15642ec8de
python3: remove calls to unicode function
2017-08-26 08:28:24 +02:00
ThomasV
ab15ff3a00
updates for python3
2017-08-26 08:28:24 +02:00
ThomasV
65aeb0bd3c
fix 5e7169bf355f2ac3ec8791c4768f0cd971e1640d
2017-08-26 08:28:24 +02:00
ThomasV
bc591377e8
python3: fix integer division
2017-08-26 08:28:24 +02:00
Johann Bauer
8e54d5c4d4
Make proxies work
2017-08-26 08:28:24 +02:00
Johann Bauer
d4d93b3928
Various fixes in util.py
2017-08-26 08:28:24 +02:00
ThomasV
f1a8c0b0e6
misc. fixes for python3
2017-08-26 08:28:24 +02:00
ThomasV
4f516dc08e
fixes for paymentrequests and python3
2017-08-26 08:28:24 +02:00
ThomasV
c3388d9677
misc python3 updates:
...
- use jsonrpclib-pelix
- update the kivy gui
- update plugins
2017-08-26 08:28:24 +02:00
fr3aker
e562b0b565
python3: fix bad type in make_seed
2017-08-26 08:28:24 +02:00
fr3aker
8a15581d8e
fix imports
2017-08-26 08:28:24 +02:00
Dmitry Sorokin
21101386a2
paymentrequest upd
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
0693403358
sending fixed
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
f70408cef5
fix ctypes for zbar qrcode scanner
2017-08-25 11:23:11 +02:00
linuxdaddy
017cef8f88
Update paymentrequests.proto
...
Was installing electrum on my Kali Linux and when running this command:
protoc --proto_path=lib/ --python_out=lib/ lib/paymentrequest.proto
i got the following error:
[libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax specified for the proto file: paymentrequest.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
Fixed it myself and wanted to share it for people that might have the same issue.
2017-08-23 03:15:14 +02:00
ThomasV
7ed79011fe
Merge branch 'master' of git://github.com/spesmilo/electrum
2017-08-17 11:07:11 +02:00
ThomasV
cfa037fd6f
add error message about wallet not loaded. fixes #2756
2017-08-17 11:06:53 +02:00
Sebastian Volland
d95e79efab
add missing import
2017-08-16 19:11:07 +02:00
Kacper Żuk
c6e09a6038
Provide warnings about invalid BIP39 checksum in seed dialog
2017-08-16 15:25:06 +02:00
ThomasV
a22cf973b4
Revert "Only save config if value changed"
...
This reverts commit 47e062aa7e .
2017-08-15 12:55:53 +02:00
ThomasV
24e3fab8af
prepare version 2.9.3
2017-08-10 18:01:22 +02:00
ThomasV
6a984ab9b6
Merge pull request #2720 from bauerj/config-skip-save
...
Only save config if value changed
2017-08-10 17:56:38 +02:00
ThomasV
169ca85a01
fix #2719
2017-08-10 03:45:10 +02:00
Johann Bauer
47e062aa7e
Only save config if value changed
2017-08-09 22:27:57 +02:00
ThomasV
08fab753e8
change default value of confirmed_only, spending unconfirmed coins
2017-08-08 06:03:47 +02:00
ThomasV
a13581e6db
fix #2697
2017-08-06 09:55:49 +02:00
ThomasV
72706f8219
network: connection_down if interface fails to connect chunk
2017-08-04 15:34:23 +02:00
Vali Zero
3c7171ede8
Fix commands that require password with unencrypted wallet
2017-08-03 21:34:11 +03:00
ThomasV
091e7b8d92
version 2.9.2
2017-08-03 15:07:19 +02:00
ThomasV
5872bd4722
force new headers download if file is corrupted
2017-08-03 14:25:50 +02:00
ThomasV
9ca9b6c397
prepare version 2.9.1
2017-08-03 07:29:23 +02:00
ThomasV
6bd66279b0
fix segwit script size
2017-08-03 07:22:49 +02:00
ThomasV
57013ca985
update blockchain size after initial file download
2017-08-03 07:11:27 +02:00
ThomasV
f956363d88
Merge pull request #2669 from neocogent/contacts-validate
...
Validate and extract contacts on import
2017-08-01 15:07:51 +02:00
neocogent
6549a4ebdb
validate contacts on import
2017-08-01 19:56:46 +07:00
ThomasV
3d34fd9294
Merge pull request #2658 from linuxion/patch-3
...
Add Blockchair.com block explorer
2017-08-01 12:03:14 +02:00
ThomasV
45bfd8cbae
sanitize max_fee_rate; fixes #2663
2017-08-01 11:24:49 +02:00
ThomasV
882e259a78
sanity check read_header
2017-08-01 11:00:12 +02:00
suut
bc4fcfbebd
Remove usages of deprecated apply() builtin
2017-08-01 05:22:18 +02:00
neocogent
63a754868e
add locktime cmdline support
2017-07-31 09:25:10 +07:00
linuxion
be150660ca
Add Blockchair.com block explorer
2017-07-31 03:24:02 +03:00
Jason Jackson
a516bce8c6
Fixes issue calling commands that do not require a password, such as help
2017-07-28 08:04:32 -04:00
ThomasV
311f9eda17
close connection if server sends invalid headers
2017-07-26 14:55:39 +02:00
ThomasV
94f7a87e47
remove dead code
2017-07-25 18:57:34 +02:00
ThomasV
810f107229
follow-up commit 5f3e5866ad
2017-07-25 18:47:36 +02:00
ThomasV
5f3e5866ad
blockchain write method, that flushes file
2017-07-25 10:03:15 +02:00
ThomasV
923f988b86
fix #2630
2017-07-24 17:29:14 +02:00
ThomasV
d71c9d5be3
make blockchain.size() threadsafe
2017-07-24 15:54:42 +02:00
ThomasV
d5d5e8af5c
fix: handle multiple forks at same checkpoint
2017-07-24 08:46:49 +02:00
ThomasV
ce977e0385
fix parent_branch_size in blockchain swap
2017-07-21 09:02:58 +02:00
ThomasV
313d53fe0b
save header immediately when forking a chain
2017-07-21 07:52:38 +02:00
ThomasV
dd0d85b4f2
fix headers path for android
2017-07-20 21:28:27 +02:00
KoffeinFlummi
9a44cde6cd
Add optional fiat balance column to addresses view
2017-07-20 19:30:44 +02:00
ThomasV
ca33ffaf77
store fork headers in separate directory
2017-07-20 15:29:22 +02:00
ThomasV
c522c6b4d0
blockchain: store reference to parent_id instead of parent, so that it gets updated after swap
2017-07-20 15:05:47 +02:00
ThomasV
c3615d0aa7
fix: rename files affected by chain swap
2017-07-20 11:36:59 +02:00
ThomasV
ab5a9f3ce4
fix: order files in save_chunk too
2017-07-20 07:56:54 +02:00
ThomasV
0c6de8ff56
fix undo_verification
2017-07-20 06:38:49 +02:00
ThomasV
1457a869d3
network: call switch_lagging after catch up
2017-07-19 18:32:48 +02:00
ThomasV
ad8a6f3eff
fix: do not request beyond tip
2017-07-19 17:33:05 +02:00
ThomasV
feb0f483f5
fix bug if headers file is empty
2017-07-19 17:23:46 +02:00
ThomasV
97343d95e5
speed-up search by starting at own height
2017-07-19 16:28:17 +02:00
ThomasV
7a8f337d28
fix: swap parent
2017-07-19 14:26:44 +02:00
ThomasV
0891798d1b
minor fix
2017-07-19 11:57:15 +02:00
ThomasV
ac1ceb44ba
blockchain: remove filename field
2017-07-19 11:26:13 +02:00
ThomasV
47e3630dd5
always save headers on disk
2017-07-19 11:23:10 +02:00
ThomasV
b424a83a57
add blockchain.get_name method, update kivy gui
2017-07-19 09:29:20 +02:00
ThomasV
9576f8510d
undo verified tx when swapping chains
2017-07-19 06:50:48 +02:00
ThomasV
0b6d7dbbc9
fix swap
2017-07-19 06:46:37 +02:00
ThomasV
afda151bc6
fix get_branch_size
2017-07-19 06:24:53 +02:00
ThomasV
6ee0ad8499
fix: swap
2017-07-19 05:45:41 +02:00
ThomasV
814792eee1
show only active chains
2017-07-18 21:37:04 +02:00
ThomasV
a39e270bd3
test height
2017-07-18 21:32:34 +02:00
ThomasV
50ad656c87
blockchain: swap a chain with its parent, if the parent branch is too short to be saved on disk
2017-07-18 18:10:22 +02:00
ThomasV
637d52ce58
don't request headers beyond tip
2017-07-18 14:11:22 +02:00
ThomasV
214e2b89c2
network: use interface.bad_header
2017-07-18 09:21:49 +02:00
ThomasV
ef1120b80c
fix typo
2017-07-17 21:38:09 +02:00
ThomasV
702abf6581
simplification: do not request checkpoint, check headers against all known blockchains
2017-07-17 19:32:10 +02:00
ThomasV
3d4c64f9e0
improve blockchain search
2017-07-17 12:22:25 +02:00
ThomasV
2a10d3075e
rm dead code
2017-07-17 11:25:05 +02:00
ThomasV
8260dfdbe7
network: use check_headers for binary search
2017-07-17 11:19:42 +02:00
ThomasV
acd0ea3ff3
cleanup dead code
2017-07-17 09:51:31 +02:00
ThomasV
65bce569e4
network: interface.tip_header
2017-07-17 09:32:12 +02:00
ThomasV
b0277d5426
blockchain: size method, various fixes
2017-07-17 08:44:09 +02:00
ThomasV
b2116d87ea
minor fix
2017-07-16 08:07:47 +02:00
ThomasV
43c5657cb6
blockchain: parent pointer and recursive methods
2017-07-15 17:20:06 +02:00
ThomasV
cf84068fdb
blockchain fixes
2017-07-15 13:51:40 +02:00
ThomasV
8834ed9714
fix blockchain.height()
2017-07-15 11:59:05 +02:00
ThomasV
125247df81
fix unicode path issue #2269
2017-07-14 12:53:35 +02:00
ThomasV
37143fd628
fix blockchain offset
2017-07-14 06:20:05 +02:00
ThomasV
ba2211f52e
network dialog: refresh display on each new header
2017-07-13 17:23:24 +02:00
ThomasV
bf7deaa1fb
remove blockchain fork detection threshold
2017-07-13 16:23:41 +02:00
ThomasV
f708ba0b34
fix #2603
2017-07-13 11:28:37 +02:00
ThomasV
e6116db565
network: minor fix
2017-07-13 09:31:27 +02:00
ThomasV
73b023e967
update network settings dialog of the kivy GUI
2017-07-11 18:04:33 +02:00
Brian Smith
2cafcf0d95
Added a timeout on the urllib2 request during a notify event.
2017-07-10 12:28:56 -04:00
ThomasV
9c28489bc0
fix wallet.can_export
2017-07-10 09:46:11 +02:00
ThomasV
b02ce2d02c
disable locktime until keepkey firmware is updated
2017-07-09 21:06:21 +02:00
ThomasV
9b7102aed1
make fork_threshold configurable, fix backward mode
2017-07-08 16:45:09 +02:00
ThomasV
680e9a5552
network: go back if cannot connect during catch_up
2017-07-08 16:18:37 +02:00
ThomasV
321adf600a
sort currencies in currencies.json
2017-07-08 14:22:21 +02:00
Alexx Saver
4847fe5f41
Sorted exchange_rate.py
...
Notice: no real changes
2017-07-08 14:14:13 +02:00
Alexx Saver
1c02ced131
Added BTCe to exchange_rate.py
...
Notice: BTCe uses RUR for RUB, it is not compatible with ISO 4217, so we return it as RUB. Also we use an official mirror because btc-e.com is banned in Russia.
2017-07-08 14:13:03 +02:00
ThomasV
568c14ca78
Refactor Network and Blockchain dialogs in qt and kivy
2017-07-08 11:38:32 +02:00
ThomasV
777a3aa8bf
Fixes for TrustedCoin plugin:
...
- reset billing_info after broadcast
- when bumping tx fee, do not use Trustedcoin output
2017-07-06 16:03:21 +02:00
ThomasV
6b872b68bd
hardcode another testnet server
2017-07-04 13:03:31 +02:00
ThomasV
2055fce087
network dialog: add menu actions to blockchains list
2017-07-04 11:35:04 +02:00
ThomasV
faa17f9818
Option to send only confirmed coins ( fix #2395 )
2017-07-03 07:46:27 +02:00
ThomasV
255458da0a
fix #2400
2017-07-02 11:44:48 +02:00
ThomasV
cad3798f84
follow-up previous commit
2017-06-30 18:52:49 +02:00
ThomasV
7ea2cb41e8
fix #2509 : reset pubkeys to None when x_pubkeys are unsorted
2017-06-30 18:31:37 +02:00
ThomasV
a7679debd1
fix #2533
2017-06-30 13:00:06 +02:00
ThomasV
298461aee2
fix #2524 : add proper error message
2017-06-30 12:20:19 +02:00
ThomasV
828b0e5d70
fix #2439
2017-06-30 12:11:47 +02:00
ThomasV
d4b9b1f3f9
Merge pull request #2457 from chris-belcher/master
...
Made status bar exchange rate display in terms of base unit
2017-06-29 18:40:49 +02:00
ThomasV
064b59c65e
fix #2566 #2519
2017-06-29 16:51:55 +02:00
ThomasV
91235ed7ac
fix #2565 : do not show traceback
2017-06-28 05:26:52 +02:00
djb
91deea89da
identify HID devices also by interface and usage page
2017-06-23 11:46:50 +02:00
ThomasV
8285bc458f
network dialog: show servers in blockchain tab
2017-06-23 10:36:49 +02:00
ThomasV
6931ffada5
fix callbacks when switching to another server
2017-06-22 14:47:05 +02:00
ThomasV
ca220d8dbb
Detect blockchain splits and validate multiple chains
2017-06-21 09:48:31 +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
kwaaak
d6572e1387
Update BitcoinAverage API to v2
2017-06-07 14:18:14 +02:00
ThomasV
6e51b7d60e
Merge pull request #2468 from bauerj/issue-2462
...
Parse transaction version field
2017-05-30 19:32:23 +02:00
Johann Bauer
534eaa9bd1
Parse transaction version field
...
Closes : #2462
2017-05-30 19:28:27 +02:00
dabura667
af59a526da
add input and output addresses to CLI history
2017-05-29 23:51:15 +09:00
chris-belcher
3195eca6ea
Made status bar exchange rate display in terms of base unit
2017-05-27 15:48:47 +01:00
ThomasV
d4e8f4beb6
Set sequence to MAXINT-1 to fix locktime (per bauerj)
2017-05-23 15:07:20 +02:00
ThomasV
1ee70f798e
fix: reorgs
2017-05-23 14:51:44 +02:00
ThomasV
63f14f6ab2
fix: request chunk at next_height
2017-05-23 07:58:40 +02:00
ThomasV
ac77c9b9bd
catch-up block headers from a single interface at a time
2017-05-19 12:16:21 +02:00
ThomasV
e60f39a08b
Merge pull request #2416 from eklitzke/beyond
...
fix a minor typo (beyong -> beyond)
2017-05-19 09:56:48 +02:00
ThomasV
2fa25c3f56
fix get_payment_request
2017-05-19 09:10:19 +02:00
ThomasV
075dfb5ccb
separate truncate_headers for debugging
2017-05-19 08:55:40 +02:00
Evan Klitzke
b391da7957
fix a minor typo (beyong -> beyond)
2017-05-17 11:36:25 -07:00
ThomasV
aa6cab37d5
bump versino number and update release notes
2017-05-13 11:25:16 +02:00
ThomasV
6321b14f9f
Locate blockchain connection point with binary search
2017-05-13 11:19:36 +02:00
ThomasV
353a7b8fd9
Merge pull request #2381 from bauerj/issue-2380
...
Add BlockCypher.com as a block explorer
2017-05-10 14:23:12 +02:00
Roman Zeyde
de956b7dc1
tests: fix TestTransaction.test_tx_signed testcase
2017-05-08 21:39:57 +03:00
Johann Bauer
8f94dda48e
Add BlockCypher.com as a block explorer
2017-05-01 21:27:14 +02:00
spamdaemon
a17624931d
Fixed a syntax error with python 3.6
...
This fixes this error:
raceback (most recent call last):
File "/usr/bin/electrum", line 98, in <module>
from electrum import bitcoin, network
File "/usr/lib/python3.6/site-packages/electrum/__init__.py", line 2, in <module>
from util import format_satoshis, print_msg, print_error, set_verbosity
File "/usr/lib/python3.6/site-packages/electrum/util.py", line 537
except socket.error, err:
Also, other exceptions in this file use the except X as Y syntax.
2017-04-21 13:48:29 -04:00
ThomasV
6afc11208d
spv: keep track of header requests made by each interface
2017-04-20 10:59:30 +02:00
ThomasV
853b6169ed
hardware wallet support for locktime
2017-04-19 15:02:25 +02:00
ThomasV
183af4ae3a
remove sigtype in update_signature
2017-04-19 15:00:10 +02:00
ThomasV
6fc6d1ec7d
timelock tx to current height. see #2349
2017-04-19 11:55:31 +02:00
ThomasV
f8fd1c14db
fix parse_sig
2017-04-18 12:31:42 +02:00
ThomasV
f7096010f0
add segwit to get_preimage_script
2017-04-18 11:12:46 +02:00
ThomasV
79bda98ba2
cleanup unused code
2017-04-18 10:48:09 +02:00
ThomasV
65bef5e228
parse pubkey in segwit_script
2017-04-12 16:33:35 +02:00
ThomasV
615a5b3f8e
fix #2356 : scriptSig parsing exception
2017-04-12 16:12:06 +02:00
ThomasV
a8be1aeae8
fix #2351
2017-04-05 15:55:15 +02:00
ThomasV
0bc777a10c
follow-up previous commit
2017-04-05 09:52:52 +02:00
ThomasV
50587c7a24
fix #2353 : show error when sweeping dust
2017-04-05 09:17:42 +02:00
ThomasV
57baed4728
check parameter type of create_new_address
2017-04-04 13:52:16 +02:00
ThomasV
db13cf965c
fix #2347 and return indentation
2017-04-02 04:36:05 +02:00
ThomasV
31fc9b78af
keep connection open with a manually selected server, even if they fail passing the checkpoint
2017-03-31 12:04:29 +02:00
ThomasV
1b14a18b1a
sanitize pass_checkpoint
2017-03-30 05:55:02 +02:00
ThomasV
d371e1c807
network: request checkpoint when opening a new connection
2017-03-29 17:21:18 +02:00
ThomasV
f46b403a8d
fix #2338
2017-03-29 10:29:02 +02:00
ThomasV
59b0b51f24
add proxy settings to kivy GUI
2017-03-27 18:59:48 +02:00
ThomasV
2fcdd458b3
add checkpoint dialog to the kivy gui
2017-03-27 12:48:10 +02:00
ThomasV
e6560b8d7f
fix moe used for truncate
2017-03-27 00:46:44 +02:00
ThomasV
59bc220856
fix auto-connect: do not use a random interface
2017-03-26 20:22:30 +02:00
ThomasV
9c70540a2f
add BIP9 and segwit_support methods
2017-03-25 11:09:24 +01:00
Daniel Aleksandersen
b7801d0374
Tighten directory permissions
2017-03-24 21:50:31 +01:00
ThomasV
482ad3b20f
version 2.8.3 and release notes
2017-03-24 09:45:27 +01:00
ThomasV
dd0b018a35
add configurable checkpoint to blockchain verification; use genesis as default
2017-03-23 11:58:56 +01:00
ThomasV
85f2f667c3
fix #2326 : backward-compatibility of wallet files
2017-03-23 09:20:32 +01:00
ThomasV
f7212a4732
fix input_script and remove unused method inputs_without_script
2017-03-21 14:33:42 +01:00
ThomasV
33a32be576
add help message for hrdware devices on windows
2017-03-21 10:07:31 +01:00
ThomasV
c2142ebf26
fix test broken by previous commit
2017-03-21 09:59:48 +01:00
ThomasV
1d84029173
input_script: return txin.scriptSig if available. replace txin.is_coinbase with type. fixes #2321
2017-03-21 09:08:16 +01:00
ThomasV
fdee755198
prepare version 2.8.2
2017-03-20 14:56:30 +01:00
ThomasV
737a7f0bfb
fix #2302 : signing with imported wallet
2017-03-20 10:47:03 +01:00
Eagle[TM]
f9bb74077e
Update and add servers to default list; add schedule for phase-out of e-s
2017-03-20 00:56:27 +01:00
ThomasV
2323abb769
Merge pull request #2303 from bauerj/ksk-2017
...
Add KSK-2017 to dnssec trust anchors and accept either of the two
2017-03-16 18:59:20 +01:00
Johann Bauer
6f06d8eca9
Add KSK-2017 to trust anchors and accept either of the two
2017-03-16 15:05:50 +01:00
ThomasV
107adb186f
sort unconfirmed transactions by height
2017-03-15 18:05:05 +01:00
ThomasV
6185f94de4
archive paid invoices in the history tab
2017-03-15 15:32:14 +01:00
ThomasV
8e90d6a4e5
fix #2292
2017-03-15 12:21:26 +01:00
ThomasV
96c8619194
fix #2298
2017-03-15 06:12:26 +01:00
ThomasV
cb2d5ff3d6
raise special exception for dangling links
2017-03-14 08:56:30 +01:00
Saleem Rashid
9d6f816b15
Testnet: Use correct BIP44 derivation
2017-03-13 19:23:29 +00:00
ThomasV
2d8df85aab
use maxint-2 to signal RBF, in order to standardize with Bitcoin Core
2017-03-13 11:03:06 +01:00
ThomasV
e78531d913
follow up 8babd3e986
2017-03-12 19:25:49 +01:00
Eagle[TM]
8babd3e986
Update default server list - make more use of DEFAULT_PORTS
2017-03-12 17:01:25 +01:00
ThomasV
608568839e
gettransaction command: require network instead of wallet
2017-03-12 12:33:52 +01:00
Janne Pulkkinen
f3f82a91fc
Fix a typo'd function call preventing paytomany command from working
2017-03-12 09:16:17 +02:00
ThomasV
81b6ae77ef
version 2.8.1 and release notes
2017-03-11 15:52:34 +01:00
ThomasV
3b0383128f
fix trustedcoin wallet creation
2017-03-11 15:51:00 +01:00
ThomasV
584b19a11e
fix for older formats
2017-03-11 14:54:03 +01:00
ThomasV
31cd9753aa
fix #2270 : height sorting can use negative value
2017-03-11 12:06:15 +01:00
ThomasV
c506c3e720
fix password message issue #2277
2017-03-11 11:32:00 +01:00
ThomasV
0e49274eae
fix #2279 : jsonrpc wallet
2017-03-11 10:26:26 +01:00
ThomasV
d1ca4f994f
fix #2262
2017-03-09 11:57:00 +01:00
ThomasV
a159cc3a06
fix bug with storage.encrypt
2017-03-09 10:55:30 +01:00
ThomasV
8fabd1245d
replace PyCrypto with PyCryptodome
2017-03-09 10:47:53 +01:00
ThomasV
0f8387dbab
fix #2257
2017-03-08 11:56:01 +01:00
ThomasV
ed42faa2e6
Revert commit 36f08ab2c3.
2017-03-08 11:22:27 +01:00
ThomasV
36f08ab2c3
changes for windows builds
2017-03-07 18:27:04 +01:00
ThomasV
904b3d17dd
add import for pyinstaller
2017-03-07 11:14:09 +01:00
ThomasV
ff9d00ba1d
minor fix: do_update_fee
2017-03-06 21:05:48 +01:00
ThomasV
682645bfe0
Merge pull request #2245 from shsmith/master
...
fix #2204
2017-03-06 17:17:31 +01:00
ThomasV
dcffea150e
store contacts and invoices in wallet file. fix #1482
2017-03-06 17:12:27 +01:00
shsmith
7ff5681010
fix #2204
...
avoid exception in close_interface when interface.server is not in
self.interfaces
2017-03-06 07:53:43 -08:00
ThomasV
acd70f55c3
simplify storage: we don't store pubkeys anymore
2017-03-06 15:54:31 +01:00
ThomasV
cc852ef6a5
Merge pull request #2123 from gdiepen/master
...
Implemented getunusedaddress command
2017-03-06 12:32:11 +01:00
ThomasV
ed2db4be80
Merge pull request #2239 from shsmith/master
...
fix #2204
2017-03-06 12:30:27 +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
cb709d8f57
fix tooltip fee estimate
2017-03-06 09:00:56 +01:00
ThomasV
c75e074b88
fix another travis test
2017-03-06 08:44:38 +01:00
ThomasV
411832c4ce
cleanup storage and fix tracvis test
2017-03-06 08:33:35 +01:00
ThomasV
ee2e9f6092
update MAX_FEE_RATE constant
2017-03-05 22:19:46 +01:00
ThomasV
fb3e09c24e
better error message if fee estimates are missing
2017-03-05 20:39:00 +01:00
ThomasV
eb7f9c98ce
command:s inherit fee estimates from daemon
2017-03-05 20:33:36 +01:00
ThomasV
76dd11783b
rename load_wallet command
2017-03-05 20:32:06 +01:00
ThomasV
e83d2b8772
fix typo
2017-03-05 16:15:50 +01:00
ThomasV
5ee4cf41a8
fix #2242
2017-03-05 16:14:13 +01:00
ThomasV
f99fbbe488
show fee in daemon status
2017-03-05 16:12:47 +01:00
ThomasV
b8bdcc0877
rename open close commands
2017-03-05 14:57:41 +01:00
ThomasV
45f25586ef
add file selector and password dialog to wizard ( fix #1730 )
2017-03-05 13:30:57 +01:00
shsmith
4109fd9eb2
request fees, peers and banner before address subscriptions
...
a wallet with many address subscriptions may time out on address
subscriptions before fees are received because fees were requested last
2017-03-04 08:42:46 -08:00
shsmith
1e25af7f0d
fix https://github.com/spesmilo/electrum/issues/2204
2017-03-04 08:38:14 -08:00
ThomasV
83e925c0cd
fix default dyn fees
2017-03-04 11:19:26 +01:00
ThomasV
1aeeab9ec6
fix #2231 : same serialize/deserialize format
2017-03-04 11:14:44 +01:00
ThomasV
9cb576a88c
fix multisig update_password
2017-03-04 10:30:05 +01:00
ThomasV
98353c286a
fix #2235
2017-03-04 08:41:45 +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
00abc60cdc
fix plugin_loader in storage
2017-03-03 16:04:29 +01:00
ThomasV
a90431320c
fix sweep
2017-03-02 11:57:24 +01:00
ThomasV
9dde9971da
do not revert to static fee when dynamic fee estimates are missing
2017-03-02 11:10:28 +01:00
ThomasV
1763b5fcdc
fix: missing parameter
2017-03-02 08:19:51 +01:00
shsmith
849a14554b
report fee_estimates to verbose log
...
similar to how relayfee is logged
2017-03-01 15:10:03 -08: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
Johann Bauer
96686c4a2b
Fix decimal usage
2017-02-28 22:58:35 +01:00
ThomasV
9c2d12923a
fix: interface.close
2017-02-28 11:25:05 +01:00
ThomasV
ff39068867
new wallet structure:
...
- store addresses instead of pubkeys
- derive pubkeys only for serialization
- fix #2024
2017-02-26 08:33:44 +01:00
ThomasV
b1f27d7e84
fix: missing parameter
2017-02-26 08:27:25 +01:00
ThomasV
bc31d83466
Merge pull request #2193 from bauerj/socks-auth
...
Allow using a SOCKS5 proxy with authentication
2017-02-25 15:05:57 +01:00
Johann Bauer
74af19705d
Use PySocks from pypi instead of SocksiPy
2017-02-25 13:44:15 +01:00
Johann Bauer
9318b410bd
Allow using a SOCKS5 proxy with authentication
2017-02-23 22:35:41 +01:00
ThomasV
6d38c411d1
lazy load certificates
2017-02-23 08:55:47 +01:00
ThomasV
ac53bc5089
fix missing parameter
2017-02-23 08:44:56 +01:00
ThomasV
e30a179c97
fix make_seed arguments
2017-02-22 12:54:17 +01:00
ThomasV
679fc69cf1
do not perform satoshi conversion in the argument parser
2017-02-22 11:23:12 +01:00
ThomasV
1d1d76b1ad
workaround argparse issue by reverting their commit
2017-02-22 09:32:35 +01:00
ThomasV
aad8b4377c
Do not use parents with argument subparsers.
...
This is a workaround for https://bugs.python.org/issue23058 .
As a result, the order of optional arguments is fixed; global options must be placed before the command.
2017-02-21 12:41:24 +01:00
Johann Bauer
03fc29c4ac
Remove newlines from transaction labels
...
Closes : #2176
2017-02-19 22:56:31 +01:00
ThomasV
d99855f060
use ctypes to access the zbar library
2017-02-17 20:56:38 +01:00
Johann Bauer
2c7ab64e83
Always include default servers in the server list
2017-02-17 15:41:50 +01:00
shsmith
df733e8e4c
fix AttributeError: 'Standard_Wallet' object has no attribute 'account'
...
If you use wallet.change_gap_limit with a value below the current gap
limit, you get this exception:
`>> wallet.change_gap_limit(1)
Traceback (most recent call last):
File "lib\wallet.py", line 1455, in change_gap_limit
elif value >= self.min_acceptable_gap():
File "lib\wallet.py", line 1479, in min_acceptable_gap
addresses = self.account.get_receiving_addresses()
AttributeError: 'Standard_Wallet' object has no attribute 'account'
>> `
2017-02-11 12:29:28 -08:00
ThomasV
e1515743cd
replace slowaes with pyaes
2017-02-10 17:22:52 +01:00
ThomasV
0e11accd7b
fix exchange_rate class naming issue
2017-02-09 17:27:11 +01:00
ThomasV
17cfc03540
use serialize_xpub/xprv
2017-02-05 11:30:32 +01:00
ThomasV
7daa8ebfdd
interface: close wire is response is not dict
2017-02-01 13:59:07 +01:00
ThomasV
15b404b9de
add CPFP (child pays for parent) dialog to the Qt GUI
2017-02-01 12:26:30 +01: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
aed2b04dbd
return txid for unsigned segwit transactions
2017-01-31 16:32:11 +01:00
ThomasV
326b083f84
Merge branch 'digitalbitbox-161228/addDigitalBitbox'
2017-01-31 15:32:43 +01:00
ThomasV
d5ab8f82f2
move is_segwit for hardware wallets
2017-01-31 15:31:22 +01:00
djb
6b6f0be7d4
add Digital Bitbox hardware wallet
2017-01-31 14:21:11 +01:00
ThomasV
af54ba023b
add wallet.is_segwit
2017-01-31 11:56:59 +01:00
ThomasV
b3c379b939
fix serialize bug for p2pk
2017-01-29 10:37:11 +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
030d61f987
prepare version 2.8
2017-01-26 14:57:14 +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
2948a06833
prepare version 2.7.18
2017-01-24 11:37:01 +01:00
ThomasV
9c1522f029
add currencies list to repo
2017-01-24 11:32:54 +01:00
ThomasV
1f350c31dd
kivy: simplify currency dialog
2017-01-24 10:45:49 +01:00
ThomasV
132fca86b2
fix #2133 : deserialize_xkey
2017-01-23 20:49:26 +01:00
ThomasV
13b16e9d4f
exchange rates: enforce https APIs. store exchanges list in json file.
2017-01-23 14:56:49 +01:00
Guido Diepen
e6f4af9fd5
Implemented getunusedaddress command
...
The implementation of the getunusedaddress will directly query
the wallet for the first unused address
2017-01-21 08:04:37 +01:00
Marcdnd
0e73e8b498
Added BRL exchanges: Bitvalor, Foxbit, NegocieCoins
2017-01-20 16:50:30 -02:00
ThomasV
54dcca0787
fix #2118
2017-01-16 10:18:00 +01:00
ThomasV
8c3a7f7842
Merge branch 'master' of git://github.com/spesmilo/electrum
2017-01-16 10:06:36 +01:00
ThomasV
25e4116393
do not crash tx.serialize if pubkeys are missing. fix #2113
2017-01-16 10:06:28 +01:00
Thilo Uttendorfer
d6be2a4ae2
Fix listunspent command
2017-01-14 23:39:58 +01:00
ThomasV
d0755698ce
fix #2104
2017-01-10 10:57:47 +01:00
ThomasV
ef54d6416e
prepare version 2.7.17
2017-01-10 08:54:56 +01:00
ThomasV
9302cea725
fix #2107
2017-01-10 07:55:05 +01:00
ThomasV
29e2570d3d
prevent busy looping
2017-01-09 16:36:05 +01:00
ThomasV
0a31acbdf2
prepare version 2.7.16
2017-01-09 13:10:13 +01:00
ThomasV
a2e7fc32ef
Add fee slider class with network callback.
2017-01-09 12:36:15 +01:00
ThomasV
2450c1d481
fix typo
2017-01-08 13:14:15 +01:00
ThomasV
7af5d42324
qt: show addresses and utxos in separate tabs
2017-01-08 13:00:57 +01:00
ThomasV
1358bebd37
network: do not wait for headers file on startup
2017-01-07 23:44:06 +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
b4d5934da0
testnet: remove failing tests
2017-01-07 18:34:32 +01:00
ThomasV
5d83bcba14
don't expose default servers and ports in __init__
2017-01-07 17:25:09 +01:00
ThomasV
d042d6e970
initial testnet support (petrkr)
2017-01-07 16:58:59 +01:00
ThomasV
9138cf3cb8
remove deprecated protocols from DEFAULT_PORTS
2017-01-07 15:59:09 +01:00
ThomasV
be15b76c9b
allow client daemon to be launched in the foreground ( fix #1873 )
2017-01-07 10:10:51 +01:00
ThomasV
253df89af5
fix #2101
2017-01-06 18:12:10 +01:00
ThomasV
d09e91e631
Show fee slider for static fees too. Add fee slider to RBF dialog ( fix #2083 )
2017-01-06 10:45:05 +01:00
ThomasV
0b08de65de
prepare version 2.7.15
2017-01-05 11:26:02 +01:00
ThomasV
dcfa7b508a
fix password issue #2097
2017-01-05 06:20:02 +01:00
ThomasV
4db5052cc6
fix android detection
2017-01-04 22:37:59 +01:00
ThomasV
a8c23f9bf0
always display a receiving address ( fix #2031 )
2017-01-04 19:09:14 +01:00
ThomasV
0f424a9da4
prepare version 2.7.14
2017-01-04 18:25:12 +01:00
ThomasV
1e24dbd94b
fix #2096 (variable name)
2017-01-04 18:08:58 +01:00
ThomasV
63cff71f91
workaround inefficiency in add_input_info
2017-01-04 15:17:11 +01:00
ThomasV
2ef7974897
Merge pull request #2092 from 7sean68/patch-1
...
changed false Identification of windows as linux
2017-01-04 00:34:15 +01:00
ThomasV
0dabfd4764
do not save transactions until wallet is closed
2017-01-04 00:18:51 +01:00
7sean68
4f2924e4a0
changed false Identification of windows as linux
2017-01-04 00:05:19 +02:00
ThomasV
13678d9e13
Merge exchange_rate plugin with main code
...
* fixes #2037 (tab indexes)
2017-01-03 17:04:04 +01:00
ThomasV
65ee3416f6
rename P2PK to P2PKH to avoid confusion
2017-01-02 11:02:36 +01:00
ThomasV
e123774ea8
Improve 'send all coins' function:
...
* do use coin chooser when sending all coins (fixes #2000 )
* allow "!" syntax for multiple outputs (fixes #1698 )
2016-12-31 16:29:18 +01:00
ThomasV
e6aac9ea99
version 2.7.13, release notes
2016-12-30 10:32:10 +01:00
Eagle[TM]
a5dad77675
Update default servers
2016-12-26 23:07:52 +01:00
ThomasV
6020d72b1b
fix #2063
2016-12-22 22:03:56 +01:00
Alexander Schlarb
c666070af4
Properly handle invalid payment request URLs
...
Otherwise the client would simply hang when receiving an invalid URL dumping
a hard-to-read exception to the terminal.
2016-12-21 17:19:27 +01:00
ThomasV
cda0d14a13
fix issue #2064
2016-12-21 13:30:35 +01:00
ThomasV
a660590a70
fix #2034
2016-12-20 16:53:01 +01:00
ThomasV
950c045e09
update figure labels
2016-12-19 12:50:50 +01:00
ThomasV
dbf0a6f7a5
move plot plugin to lib; plot histograms
2016-12-17 17:06:25 +01:00
neocogent
eb41e23f39
Add more fee info to tx details, update tx estimated_size method.
2016-12-09 12:36:57 +07:00
ThomasV
d61ccd4275
throttle send_requests
2016-11-09 13:23:10 +01:00
ThomasV
0b4f64a7b9
version 2.7.12
2016-11-08 17:32:06 +01:00
ThomasV
191ed8cc05
fix #2027
2016-11-08 16:59:15 +01:00
ThomasV
36d0dff092
fix #2026
2016-11-08 16:39:04 +01:00
ThomasV
af55fec764
fix #2022
2016-11-07 10:22:50 +01:00
ThomasV
f7cf90d268
fix #2007
2016-10-27 14:32:27 +02:00
ThomasV
85849fb760
version 2.7.11
2016-10-24 15:36:47 +02:00
ThomasV
8249f5ab67
init_headers in daemon thread, and fix #1996
2016-10-24 14:57:02 +02:00
ThomasV
bfe7e9dc6e
add version to daemon status, simply display number of spv nodes
2016-10-24 12:52:16 +02:00
ThomasV
92d2395e3d
add_hw_info only if a hw wallet is there. that should fix #1995
2016-10-24 10:34:55 +02:00
ThomasV
1e908bbf37
version 2.7.10
2016-10-22 10:18:34 +02:00
ThomasV
ac59296846
allow spaces in private keys ( fix #1602 )
2016-10-22 10:06:51 +02:00
ThomasV
86c3655080
improve bump_fee ( fix #1985 )
2016-10-21 12:59:55 +02:00
ThomasV
9285a7198e
Revert "remove custom entropy option; nobody uses it"
...
This reverts commit e0c38b31b4 .
2016-10-20 10:22:17 +02:00
ThomasV
45aab8654d
fix crash #1987
2016-10-20 08:32:44 +02:00
ThomasV
15546d817c
remove dust output when bumping fee
2016-10-17 14:46:51 +02:00
ThomasV
9d2e322760
revert 98b1271 (it freezes the gui on retsore)
2016-10-17 08:47:43 +02:00
ThomasV
98b12715a9
remove while loop from wallet.synchronize; we are already in a job
2016-10-17 06:58:01 +02:00
ThomasV
2d1607b0c8
version 2.7.9, release notes
2016-10-16 22:43:58 +02:00
ThomasV
84f17c2ede
fix test
2016-10-16 22:17:52 +02:00
ThomasV
96016a9ee8
force pubkey regeneration in some multisig wallets
2016-10-16 21:59:28 +02:00
ThomasV
7904481a1c
Merge branch 'master' of git://github.com/spesmilo/electrum
2016-10-16 19:21:16 +02:00
ThomasV
5e92e09044
fix pubkey ordering in multisig wallets. fix #1975
2016-10-16 19:17:32 +02:00
ThomasV
12387c6b62
Merge pull request #1982 from jonathancross/fix-test_transaction
...
Fixing / commenting out broken tests in test_transaction.py
2016-10-16 15:19:15 +02:00
Jonathan Cross
481a64417e
Fixing final test in test_wallet.py
2016-10-16 13:23:43 +02:00
Jonathan Cross
b503243d0e
Fixing / commenting out tests in test_transaction.py
2016-10-16 13:08:27 +02:00
ThomasV
ebc9656108
Merge pull request #1981 from jonathancross/fix-tests-test_mnemonic
...
Fixing 2 tests in test_mnemonic.py
2016-10-15 20:16:51 +02:00
ThomasV
e1d4e9734e
Merge pull request #1980 from jonathancross/fix-travis-tests
...
Fixing test_bitcoin.py::Test_bitcoin::test_crypto
2016-10-15 20:08:30 +02:00
Jonathan Cross
2c619142f9
Fixing 2 tests in test_mnemonic.py
2016-10-15 19:43:48 +02:00
Jonathan Cross
65f0c25027
Fixing test_bitcoin.py::Test_bitcoin::test_crypto
2016-10-15 19:24:53 +02:00
ThomasV
73f30e0397
Merge pull request #1978 from jonathancross/fix-travis-tests
...
Remove broken tests for `NewWallet` & `account` classes.
2016-10-15 15:02:18 +02:00
Jonathan Cross
3de2d9cdbd
Remove broken tests for & classes.
2016-10-15 14:56:31 +02:00
ThomasV
4cc76c8a64
bump_fee: fix error message
2016-10-15 10:57:18 +02:00
ThomasV
afa7761d7d
version 2.7.8 + release notes
2016-10-14 14:31:13 +02:00
ThomasV
7ea91dde2e
do not expose network to wizard. update message in issue #1972
2016-10-14 14:05:24 +02:00
ThomasV
bab15a245b
simplification (get rid of get_mnemonic)
2016-10-14 12:09:43 +02:00
ThomasV
d950cd7323
fix crash when parsing request (issue #1969 )
2016-10-14 06:38:49 +02:00
ThomasV
e64f630433
bump_fee: add_input_info is needed
2016-10-14 05:38:43 +02:00
ThomasV
8c603d6396
version 2.7.7 + release notes
2016-10-13 13:20:25 +02:00
ThomasV
1d8836c173
utfo encode get_seed for old wallets; fixes #1967
2016-10-12 21:45:16 +02:00
ThomasV
6fe69de1b0
version 2.7.6 + release notes
2016-10-12 15:18:43 +02:00
ThomasV
f225a26952
minor fix: varname
2016-10-12 12:07:32 +02:00
ThomasV
f0611c4569
fix pubkey indexing in imported wallets
2016-10-12 12:03:56 +02:00
ThomasV
f4d5efbf3b
Add missing encryption in private key import (issue #1966 ). Allow key overwrite in order to fix affected wallets
2016-10-12 09:31:58 +02:00
ThomasV
c4c2203caa
version 2.7.5, release notes
2016-10-11 16:46:40 +02:00
ThomasV
49550514af
fix: import version
2016-10-11 12:08:56 +02:00
ThomasV
2833a5bae9
fix: don't utf8 encode passphrase
2016-10-11 11:52:15 +02:00
ThomasV
9598c6999f
fix exception type
2016-10-11 11:44:34 +02:00
ThomasV
1e518e7b64
add number of confirmations in payment request status. fixes #1757
2016-10-10 19:13:34 +02:00
ThomasV
d12661a385
use the word 'extension' instead of 'passphrase'
2016-10-10 17:11:46 +02:00
ThomasV
cefae0d76a
version 2.7.4 and release notes
2016-10-09 16:13:46 +02:00
ThomasV
2e2f4c17e0
fix #1959
2016-10-09 01:02:53 +02:00
ThomasV
357cc75dca
fix creation of imported keystore
2016-10-08 20:30:56 +02:00
ThomasV
bb0ddcecd0
version 2.7.3
2016-10-08 18:57:39 +02:00
ThomasV
5d44474aeb
bound number of tx inputs in sweep
2016-10-08 11:40:03 +02:00
ThomasV
1e55f4fda0
fix fee computation in sweep
2016-10-08 11:17:53 +02:00
ThomasV
7abd902b92
fix #1959
2016-10-08 08:34:24 +02:00
ThomasV
2512f5945a
fix issue #1958
2016-10-07 18:33:49 +02:00
ThomasV
3403db9b47
version 2.7.2, release notes
2016-10-07 00:23:14 +02:00
ThomasV
9cafc3db2d
fix #1954
2016-10-07 00:20:46 +02:00
ThomasV
df6dae90d6
remove the 'deseed' command, it does not work anymore with keystores
2016-10-05 10:53:08 +02:00
ThomasV
9c37d36be2
bump version number
2016-10-05 07:21:37 +02:00
ThomasV
00eb39a560
fix issue with restore from old seed
2016-10-05 07:08:45 +02:00
ThomasV
c7ff3ba705
Merge pull request #1943 from ser/payment-requests-subdirs
...
Spread payment requests to subdirs
2016-10-02 12:43:10 +02:00
ThomasV
3127fbd0c2
we need to check requires_split first, and get_action at the end
2016-10-02 12:30:57 +02:00
ThomasV
34c90a257b
follow-up
2016-10-02 12:17:53 +02:00
ThomasV
d52e3f65e6
follow-up
2016-10-02 12:17:08 +02:00
ThomasV
5541c1bec6
check requires_split before upgrade
2016-10-02 12:15:51 +02:00
Serge Victor
98ace59f80
Fixing a stupid typo, sorry about that
2016-10-02 03:55:19 +00:00
ThomasV
e0c38b31b4
remove custom entropy option; nobody uses it
2016-10-01 20:38:05 +02:00
Serge Victor
55d392c274
Spread payment requests to subdirs
...
Currently Electrum stores all payment requests in main requests
directory. It's not going to be efficient when we have thousands of
thousands of payment requests. This patch spreads that files across
two level of subdirectories.
2016-10-01 05:40:40 +00:00
ThomasV
121ac07b01
wizard: add checkbox for passphrases. allow passphrases with 2fa seeds
2016-09-30 01:15:28 +02:00
ThomasV
0fd813f229
fix #1938
2016-09-29 11:50:32 +02:00
ThomasV
da65e9e7d5
auto-upgrade wallet format
2016-09-29 10:52:51 +02:00
ThomasV
fa487ae0ca
fix: get_public_keys method of p2pk wallets
2016-09-29 09:47:45 +02:00
ThomasV
2e0d55e25e
remove xpub icon
2016-09-28 21:31:47 +02:00
ThomasV
68ed60ca87
fix: check_password method of Multisig wallets
2016-09-28 17:54:35 +02:00
ThomasV
52a9fdf6f6
wizard: fix restore multisig from seed
2016-09-28 17:03:02 +02:00
ThomasV
827d928aaa
kivy: handle 2FA seeds
2016-09-28 12:48:46 +02:00
ThomasV
8d9b23e760
follow-up previous commit
2016-09-28 09:55:18 +02:00
ThomasV
749a1f2006
restore bip39 option for multisig, add a warning when option is clicked.
2016-09-28 09:53:17 +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
71d52d6349
Merge pull request #1936 from ser/websocket_announce
...
Introducing websocket_announce configuration
2016-09-27 11:19:32 +02:00
ThomasV
63a5e8f99b
fix wizard line_dialog
2016-09-26 15:39:30 +02:00
ThomasV
b2e9362163
improve message
2016-09-26 12:07:55 +02:00
ThomasV
4bc756751b
improve wizard messages; skip choice screen if there is only one choice
2016-09-26 12:02:54 +02:00
ThomasV
4d4171fe53
hardware multisig: partial bip45 derivation
2016-09-23 19:00:42 +02:00
ThomasV
8d3a96ebf4
better message
2016-09-23 16:09:49 +02:00
Serge Victor
07280730d4
Intoducing websocket_announce configuration
...
Currently electrum daemon runs websocket server on a configured host and
port and sends the same information to merchant payments. There is
likely that those two may be different, when websocket traffic is being
reverse proxied and sent over via different hosts.
This patch introduces two fully optional parameters,
websocket_server_announce and websocket_port_announce, which when
set, are sent to the merchant payments instead of websocket_server and
websocket_port values.
2016-09-22 18:57:23 +00:00
ThomasV
569a3b4fab
make sure seed last word is uniformly distributed. count prefix length as entropy
2016-09-22 14:37:08 +02:00
ThomasV
7982cadd22
follow-up pevious commit
2016-09-22 13:38:59 +02:00
ThomasV
0d671e67c5
sign_transaction: do not stop if a keystore raises an exception
2016-09-22 10:57:28 +02:00
ThomasV
03c66bb5f9
follow up 08543584c5
2016-09-21 16:44:21 +02:00
ThomasV
08543584c5
fix cold storage signing for imported wallets
2016-09-21 16:23:24 +02:00
Serge Victor
90fe6292ca
$.getJSON is asynchronous, obviosly.
2016-09-21 12:45:50 +00:00
Serge Victor
f2820944f1
Adding possibility of websockets configuration
...
Up to now, websockets configuration was possible for the daemon only,
this patch passes that information to the client via json file
produced with the payment request.
2016-09-21 10:54:09 +00:00
ThomasV
a3b4409e6e
fix #1920
2016-09-06 10:09:08 +02:00
Eagle[TM]
7933448ec7
network: Update default server list
2016-09-04 14:36:11 +02:00
ThomasV
7a47d2341e
fix bug in trustedcoin constructor
2016-09-02 10:28:52 +02:00
ThomasV
1e4cdab096
normalize passphrase
2016-09-02 10:20:04 +02:00
ThomasV
b1b15f510c
Fix can_sign and cold storage
2016-09-01 19:45:01 +02:00
ThomasV
abeb781879
fix #1916
2016-09-01 09:23:05 +02:00
ThomasV
e38abb95d7
minor fix tx status
2016-08-31 18:45:58 +02:00
ThomasV
c820423b00
fix storage update for btchip
2016-08-31 18:11:37 +02:00
ThomasV
323188b963
devmgr: if only one device is plugged, use it
2016-08-31 15:15:55 +02:00
ThomasV
16ed48d52d
Format upgrade: increment seed_version to make sure that old versions of Electrum refuse to open new wallet files.
2016-08-31 15:04:57 +02:00
ThomasV
dd39931833
Revert "follow bip45 derivation with hardware multisig"
...
This reverts commit c24d38cd97 .
2016-08-31 09:35:27 +02:00
ThomasV
c24d38cd97
follow bip45 derivation with hardware multisig
2016-08-31 09:12:36 +02:00
ThomasV
e7dd800875
tweak messages
2016-08-31 08:50:31 +02:00
ThomasV
ab67a0313a
fix upgrade_wallet
2016-08-30 12:19:58 +02:00
ThomasV
83dbe7fbf3
more fixes for kivy
2016-08-30 11:19:30 +02:00
ThomasV
b33e6a8b68
wizard small fixes
2016-08-30 10:36:51 +02:00
ThomasV
ebab390b1a
wizard: it is better to use a separate screen for passphrase
2016-08-30 09:51:53 +02:00
ThomasV
19e62ba643
fixes for storage conversion
2016-08-29 15:44:30 +02:00
ThomasV
99a3250b3f
wizard: show passphrase in the same window as the seed
2016-08-29 15:33:16 +02:00
ThomasV
5e90b3a42d
wizard: abort if device fails to create xpub
2016-08-29 08:47:48 +02:00
ThomasV
66f8fe7648
fix: assert in convert_wallet_type
2016-08-29 08:38:09 +02:00
ThomasV
fb548018b4
fix signing in imported keystores
2016-08-29 07:39:27 +02:00
ThomasV
8e181e0dec
keystore: another method needs to be moved
2016-08-28 22:30:55 +02:00
ThomasV
1d1da0e1dc
move sign_transaction
2016-08-28 22:14:37 +02:00
ThomasV
d471d4b905
fixes for old keystore
2016-08-28 22:10:46 +02:00
ThomasV
5be93bdb73
Merge pull request #1909 from btchip/ledger-nanos
...
Ledger pack : Nano S support, rewrite/cleanup, P2SH
2016-08-28 17:56:57 +02:00
BTChip
a88036bc51
When no serial number is available, use the path as a temporary one
2016-08-28 16:33:34 +02:00
ThomasV
357ea62303
minor fix: convert_wallet_type
2016-08-28 15:37:37 +02:00
ThomasV
87e3db91dd
tweak messages in wizard
2016-08-28 11:29:16 +02:00
ThomasV
f98d1f43b4
do not propose passphrase option in 2fa wallets
2016-08-28 10:33:01 +02:00
ThomasV
ab53ee27f1
fix bug with change addresses
2016-08-27 22:24:41 +02:00
ThomasV
49a5994b29
use another lock for hid operations
2016-08-27 15:46:01 +02:00
ThomasV
47f1a7b632
move update_status in handler
2016-08-27 14:56:31 +02:00
ThomasV
257c0915b5
fix deadlocks
2016-08-27 13:33:26 +02:00
ThomasV
b07d3466c0
new icons to show hardware wallet pairing in status bar
2016-08-27 11:30:53 +02:00
ThomasV
62b47ca3b3
fix: hw_type
2016-08-27 11:25:53 +02:00
ThomasV
33c7787941
plugins: do not assume that handler belongs to keystore
2016-08-27 09:46:02 +02:00
ThomasV
8b729d0f83
store passphrase in keystore
2016-08-26 16:21:36 +02:00
ThomasV
f7efedf8a0
query_info: raise if user cancelled
2016-08-26 12:26:43 +02:00
ThomasV
4189d9343d
minor fix: return client
2016-08-26 12:00:33 +02:00
ThomasV
86e23d9989
save wallet label in keystore, to facilitate pairing
2016-08-26 11:45:12 +02:00
ThomasV
af2bf1955a
trigger upgrade on android
2016-08-26 07:09:38 +02:00
ThomasV
4837d7a148
show complete device description in wizard
2016-08-25 15:31:21 +02:00
ThomasV
3bc6fdaadb
fix typo
2016-08-25 12:42:00 +02:00
ThomasV
3ac357171a
wizard: add password only once all keystores are known
2016-08-25 12:18:51 +02:00
ThomasV
b907a668ec
wizard: add derivation passphrase and bip39 support
2016-08-25 09:48:11 +02:00
ThomasV
808703bacb
m
2016-08-25 06:43:27 +02:00
ThomasV
6b0e65fc0a
fixes for hardware wallets
2016-08-24 19:37:29 +02:00
ThomasV
665d1bc153
plugin: separate get_xpub and setup_device
2016-08-24 10:47:27 +02:00
ThomasV
092bb43660
rename wizard.choose_device because plugin has method with same name
2016-08-24 09:13:21 +02:00
ThomasV
1e6caf8f03
wizard: ask accound id after device setup
2016-08-24 08:52:21 +02:00
ThomasV
8edca91390
wizard: trezor init
2016-08-24 05:58:41 +02:00
ThomasV
4781df9d21
wizard: scan hardware devices directly
2016-08-23 13:40:11 +02:00
ThomasV
0520eda628
device manager: remove seemingly unused parameter
2016-08-23 10:36:20 +02:00
ThomasV
3b830cbcfa
wizard: fix trezor device initialization
2016-08-23 09:21:24 +02:00
ThomasV
80675121ce
allow several hardware cosigners in the same wallet
2016-08-22 12:50:24 +02:00
ThomasV
d16fb3ee48
fix storage update_format
2016-08-22 11:59:24 +02:00
ThomasV
c63a0f2198
fix #1907
2016-08-21 21:09:00 +02:00
ThomasV
3a1bf84d2c
convert multisig wallets
2016-08-21 14:27:30 +02:00
ThomasV
8736cf8cd4
fix wallet upgrade
2016-08-21 12:47:38 +02:00
ThomasV
afe39330dc
update wallet format again, for keystore
2016-08-21 11:58:15 +02:00
ThomasV
428bc539b3
hardware: store derivation instead of account_id
2016-08-20 21:08:30 +02:00
ThomasV
664077397e
device manager: index devices by xpub
2016-08-20 20:54:15 +02:00
ThomasV
8423f8394f
dynfees: set default
2016-08-20 09:16:03 +02:00
ThomasV
24a9ff3fef
simplify wallet types
2016-08-19 17:35:58 +02:00
ThomasV
058e49e839
wizard: fix typo
2016-08-19 14:45:52 +02:00
ThomasV
352c48f339
wizard: use the word 'keystore'
2016-08-19 11:47:07 +02:00
ThomasV
090a284619
storage: convert_wallet_type
2016-08-19 09:57:29 +02:00
ThomasV
bfd7709ccd
move xpubkey logic to keystore and fix it
2016-08-17 15:25:16 +02:00
ThomasV
f6e393d7b6
fix: import addresses and private keys
2016-08-17 10:39:30 +02:00
ThomasV
5733a5d125
importprivkey: do not import the same key twice
2016-08-17 09:49:58 +02:00
ThomasV
2e9cfb9800
small fixes for addrequest
2016-08-16 12:41:15 +02:00
ThomasV
a088940496
add Wallet.can_import
2016-08-16 12:11:39 +02:00
ThomasV
d9021788fa
request account_id in wizard, for hardware wallets. cleanup bip44 code
2016-08-15 11:48:33 +02:00
ThomasV
71de14240d
daemon: default rpchost to 127.0.0.1
2016-08-15 08:27:09 +02:00
ThomasV
f61d8b4c24
daemon: handle rpc server init errors
2016-08-15 08:14:19 +02:00
ThomasV
b87c5d12fa
- fix sign/verify messages
...
- fix hardware wallet tx_outputs
2016-08-14 13:03:52 +02:00
ThomasV
47fef13e5b
fix keepkey wallet_type storage
2016-08-13 11:02:43 +02:00
ThomasV
f9d5a5d326
fix import
2016-08-12 15:53:21 +02:00
ThomasV
82769fc1fb
fix classmethod normalize_passphrase
2016-08-12 15:21:47 +02:00
ThomasV
b0afdf4614
fix command line: create, restore, importprivkey
2016-08-12 11:56:27 +02:00
ThomasV
1159f85e05
Major refactoring
...
- separation between Wallet and key management (Keystore)
- simplification of wallet classes
- remove support for multiple accounts in the same wallet
- add support for OP_RETURN to Trezor plugin
- split multi-accounts wallets for backward compatibility
2016-08-12 11:02:28 +02:00
Thomas König
c49202ceaa
fix test_simple_config and test_transaction
2016-08-04 17:21:25 +02:00
ThomasV
b0f6b8578e
fix issue #1865
2016-08-02 10:52:59 +02:00
ThomasV
5f86af15b8
fix type
2016-08-01 17:36:25 +02:00
ThomasV
ee032e9158
base_wizard: minor fixes
2016-08-01 17:34:58 +02:00
ThomasV
16db27ffc0
wizard: remove run_wallet
2016-07-31 10:59:42 +02:00
ThomasV
2bb08aa280
fixes for install wizard
2016-07-30 15:04:15 +02:00
ThomasV
f8c1bd1d3b
wizard: multisig creation, let user go back to show their xpub
2016-07-30 08:19:29 +02:00
ThomasV
5a2ec73367
add RBF option to command line
2016-07-29 12:54:47 +02:00
ThomasV
8e219348e6
fix tx.is_final
2016-07-29 12:53:49 +02:00
ThomasV
566ed664d5
comment out hardware cosigning; not ready for release
2016-07-28 14:19:57 +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
f061fe047d
add lock to storage.write
2016-07-07 06:54:57 +02:00
ThomasV
824f86475e
add get_master_public_key to all wallets
2016-07-01 17:46:11 +02:00
ThomasV
59825c913c
follow up c6a46df158
2016-07-01 17:32:13 +02:00
ThomasV
c6a46df158
fix issue #1853
2016-07-01 16:19:26 +02:00
ThomasV
342d6633a6
wizard: add capability to restore multisig
2016-07-01 11:44:26 +02:00
ThomasV
8ae1dc4d09
do not register unsupported wallet types, because they are proposed in the install wizard
2016-06-25 19:32:43 +02:00
ThomasV
c313c3c340
remove forgotten imports and print statements
2016-06-24 23:14:41 +02:00
ThomasV
e7d25faf02
Finish wizard unification
2016-06-24 23:02:54 +02:00
ThomasV
97dc130e26
fix: i18n in base_wizard
2016-06-20 13:30:54 +02:00
ThomasV
9182392b55
kivy: separate base wizard class from gui
2016-06-18 16:32:20 +02:00
ThomasV
b6393cbdf2
display 'low fee' in tx dialog
2016-06-15 13:31:24 +02:00
ThomasV
7a1af24eda
getprivatekeys: try load_json if we did not get an address
2016-06-11 16:55:19 +02:00
ThomasV
5661aabaa4
revert to daemon for interface code
2016-06-11 16:11:36 +02:00
ThomasV
e7d1f59987
getmpk command: return only one key
2016-06-11 16:10:45 +02:00
ThomasV
f5cfa28710
don't display generated addresses to stdout
2016-06-11 13:54:05 +02:00
ThomasV
9896718f09
get_tx_info: fix types
2016-06-09 18:10:13 +02:00