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
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