Commit Graph

3910 Commits

Author SHA1 Message Date
Jon Layton f2f2f6233e Zcash/Zclassic strMessageMagic value set 2018-01-18 18:29:18 -06:00
ThomasV e6dd3e6ad8 allow to save unbroadcasted transactions in wallet 2018-01-18 11:56:21 +01:00
Jon Layton 7ce3a33f26 Merge branch 'master' into develop 2018-01-17 04:59:19 -05:00
Jon Layton b0a28cf5ca Fixes for removal of fee checkboxes in settings 2018-01-17 04:58:40 -05:00
Jon Layton 86e74d976b Merge branch 'master' of https://github.com/ch4ot1c/electrum-zcl into ch4ot1c-master 2018-01-17 04:53:04 -05:00
Jon Layton 3734dfc3b5 Testnet electrum srv port 2018-01-17 04:48:27 -05:00
Jon Layton 6697bbe556 Merge branch 'mainnet-cfg' 2018-01-17 04:46:36 -05:00
Jon Layton 4a02522f4d Merge branch 'develop' 2018-01-17 04:38:40 -05:00
Jon Layton d8d698402a Working HEADERS_URL, 50003->2, explorer ui for mainnet 2018-01-17 04:31:37 -05:00
Chris Sulmone e40b3123e8 Fix strange unicode encoding bug 2018-01-17 03:00:10 -06:00
MrWh0 ae4b9b0b88 last CB 160000 checkpoint & parent_ID 2018-01-17 04:43:24 -04:00
Chris Sulmone babb9c0c70 Remove unnecessary conditional for genesis block check 2018-01-17 02:36:29 -06:00
Chris Sulmone eb831374e5 Fixed headers and verification 2018-01-17 02:23:18 -06:00
MrWh0 428de10515 change blockchain_headers url 2018-01-17 02:46:36 -04:00
Jon Layton ca50c2fabf Add DEFAULT_FEE_RATE, disable 'dynamic_fees', initially 'show_fees' 2018-01-16 21:06:03 -06:00
nxsofsys 0c1865f8b5 fixed target calculation 2018-01-17 05:30:27 +03:00
SomberNight a20a3f9714 fix: sweeping into same wallet 2018-01-17 01:46:00 +01:00
ThomasV 6f843a7bb6
Merge pull request #3734 from SomberNight/websocket_scripthash
websocket: migrate to scripthashes
2018-01-16 18:19:48 +01:00
SomberNight fbad16b95c revert adding handling of 'blockchain.address.subscribe' in network.py 2018-01-16 17:10:54 +01:00
SomberNight d808bf057e fix notify command and migrate to use scripthashes 2018-01-16 16:35:29 +01:00
SomberNight 5ec3d2888f websocket: migrate to scripthashes 2018-01-16 16:02:58 +01:00
ThomasV 954897c281
Merge pull request #3732 from SomberNight/config_upgrade
Config upgrades
2018-01-16 13:50:04 +01:00
SomberNight 1c10d5dce1 remove --nossl option (follow-up dc388d4c7c) 2018-01-16 12:36:39 +01:00
SomberNight f77f029d72 config v2: change server protocol to :s instead of removing it 2018-01-16 11:53:31 +01:00
SomberNight 0d1ea09ed1 fix tests 2018-01-16 10:52:41 +01:00
SomberNight 04a1809969 config: implement config upgrades. remove system config. 2018-01-16 10:31:06 +01:00
Chris Sulmone 6c1f72564b Added a fix for URI parsing and defined shielded transaction constants 2018-01-15 11:20:41 -06:00
ThomasV d580ecfb28
Merge pull request #3643 from SomberNight/fee_ui_feerounding
fee ui: rounding
2018-01-15 14:18:58 +01:00
Jon Layton 2894cc52ab Name zcl-explorer 2018-01-15 04:30:08 -05:00
Jon Layton d2cbd45fd3 Merge branch 'live-servers' 2018-01-15 04:27:11 -05:00
Jon Layton be560553f8 syntax 2018-01-15 04:20:45 -05:00
Jon Layton 690edbc6bc Changed explorers to 3 known zcl full nodes 2018-01-15 03:57:38 -05:00
Jon Layton 9047d4a3e2 Connects to electrum-zcl.com 2018-01-15 02:38:45 -05:00
MrWh0 47a61a192f test servers 2018-01-15 03:16:15 -04:00
Chris Sulmone 1efbf83241 Fix for b58 address check 2018-01-14 23:51:20 -06:00
Chris Sulmone 5ff77230c7 Fixed parsing and encoding of t addresses for ZCL 2018-01-14 23:28:40 -06:00
Jon Layton 9eb67a6394 Bitcoin->Zclassic BTC->ZCL in ui 2018-01-14 23:43:33 -05:00
Jon Layton 1dad9e8893
Merge pull request #6 from BTCP-community/chunk_write_fix
chunk write fix
2018-01-14 21:15:44 -06:00
nxsofsys 6670b94fc0 chunk write fix 2018-01-15 06:11:35 +03:00
Jon Layton 7e79d59e9b Added clean.sh, servers-orig 2018-01-14 21:34:22 -05:00
Jon Layton 615ea50786 Merge branch 'develop' 2018-01-14 21:25:53 -05:00
nxsofsys 4aee7f2f19 some missing functions 2018-01-15 04:59:22 +03:00
nxsofsys 047901d3ed switched to mainnet 2018-01-15 04:51:07 +03:00
nxsofsys 37dbdb4c3e Merge remote-tracking branch 'origin/develop' into zcl_header_chunks
# Conflicts:
#	lib/bitcoin.py
2018-01-15 04:32:37 +03:00
nxsofsys b2d6e083b4 new chunk size 2018-01-15 04:26:03 +03:00
Jon Layton 60ad2e14a2 Merge branch 'develop' 2018-01-14 18:49:19 -06:00
nxsofsys 34150e8245 header validation 2018-01-14 23:12:30 +03:00
nxsofsys 7980846f72 validating temporary disabled for test env 2018-01-14 22:14:59 +03:00
nxsofsys 98a80f6e43 stuck at equihash validate 2018-01-14 22:07:05 +03:00
nxsofsys c1601fd749 code drop 2018-01-14 20:04:59 +03:00
SomberNight a58d01ed54 setconfig rpcpassword: don't try to evaluate or reencode 2018-01-14 12:26:00 +01:00
Jon Layton 7cedefddeb Add (truncated) powLimit / MAX_TARGET 2018-01-13 22:34:27 -05:00
Jon Layton 2e86fe6762 Fix typo 2018-01-13 18:27:43 -05:00
Jon Layton 1dc78eedb2 Set ADDRTYPE_P2PKH and ADDRTYPE_P2SH for mainnet and testnet 2018-01-13 18:03:06 -05:00
ThomasV 066ce9679b Small fix for checking block headers @csulmone 2018-01-13 16:57:45 -05:00
Chris Sulmone c6be316e10 Ported encoding/decoding of blocks to python3.5 based of the latest electrum 3.0.5 release 2018-01-13 16:50:41 -05:00
ThomasV c8e67e2bd0 fix #3635 2018-01-13 17:09:25 +01:00
SomberNight f3f43c8f2a Revert "disable p2wpkh for hw wallets for now"
This reverts commit e218c4a305.
2018-01-12 18:46:08 +01:00
ThomasV 4a40b3a0b2 separate merchant UI from main project 2018-01-12 10:37:14 +01:00
ThomasV d38303354c
Merge pull request #3683 from SomberNight/wizard_scriptnotsupported
wizard: allow to choose derivation again if script type is not supported
2018-01-11 16:45:55 +01:00
ThomasV 359882d0b1
Merge pull request #3630 from SomberNight/bip84
bip84 for sw seeds
2018-01-11 16:43:34 +01:00
SomberNight d8a9c9720a follow-up 65eae139af 2018-01-10 18:39:25 +01:00
SomberNight 9416e5bc35 wizard: allow to choose derivation again if script type is not supported (instead of closing the wizard) 2018-01-09 21:10:32 +01:00
pooler 8bcefe6cfa Fix Blockchain.get_target() 2018-01-08 21:48:09 +01:00
ThomasV eaeac4ca51 version 3.0.5 2018-01-08 01:22:12 +01:00
ThomasV b076f45f8e
Merge pull request #3664 from SomberNight/json_rpc_pw
Password-protect the JSON RPC interface
2018-01-08 00:28:27 +01:00
ThomasV 1020449684 disable jsonrpc commands in the GUI 2018-01-08 00:20:46 +01:00
ThomasV 7c702b518d disable jsonrpc on android 2018-01-08 00:20:27 +01:00
SomberNight af527b21fb Password-protect the JSON RPC interface 2018-01-07 19:30:23 +01:00
ThomasV f8fad2fd29 release 3.0.4 2018-01-07 02:49:39 +01:00
ThomasV 6be7bda023
Merge pull request #3659 from mithrandi/patch-1
Stop allowing CORS for the JSON-RPC server
2018-01-06 20:51:55 +01:00
ThomasV 1fe18ab1ce
Merge pull request #3611 from SomberNight/mnemonic_enforce_num_words
avoid shorter seeds 'by luck'
2018-01-06 12:51:30 +01:00
ThomasV c4e4d8a1dd
Merge pull request #3650 from SomberNight/daemon_lockfile_not_exec
make daemon lockfile not executable
2018-01-06 12:38:05 +01:00
Tristan Seligmann 0cf67997c0
Stop allowing CORS for the JSON-RPC server
As far as I can tell, there is no need to allow this, and doing so poses severe security risks (see #3374).
2018-01-06 08:42:54 +02:00
SomberNight aeee5e907c enable some translations in base_wizard.py 2018-01-05 13:42:06 +01:00
SomberNight f9e9597381 make daemon lockfile not executable 2018-01-04 23:41:10 +01:00
SomberNight 6d88eab005 tests: added 2fa seed case to test_wallet_vertical.py 2018-01-04 22:21:05 +01:00
SomberNight 563aae0dbd fix #3411 2018-01-04 03:40:35 +01:00
SomberNight 7033125186 fee ui - rounding: display info icon with tooltip. show pre-rounding values in ui. 2018-01-03 18:08:10 +01:00
Andrew Chow 0a83b3af22 Avoid modifying self.transactions in prepare_for_verifier
In python3, the `.keys()` function returns an iterator, not a list,
so to get a list that can be iterated over, use `list()` instead to
avoid modification of a list while in use.
2018-01-01 18:03:00 -05:00
ThomasV 7ae1a4cdeb
Merge pull request #3593 from SomberNight/scan_qr_textedit_allow_multi
ScanQRTextEdit optionally allows to concat data
2017-12-31 18:04:21 +01:00
SomberNight 6c2b974796 change default relay fee to 1000 sat/kbyte 2017-12-31 05:06:52 +01:00
SomberNight e218c4a305 disable p2wpkh for hw wallets for now 2017-12-31 02:42:02 +01:00
SomberNight e3164286d0 implement bip84: bip43 purpose/der path for p2wpkh scripts 2017-12-31 02:20:58 +01:00
SomberNight 6f954090e6 fix fee ui: offline case 2017-12-30 01:13:36 +01:00
SomberNight 295dc12612 avoid shorter seeds 'by luck' 2017-12-27 18:26:50 +01:00
SomberNight c04ebe9571 wizard: added derivation presets for bip44/49 2017-12-27 17:01:47 +01:00
SomberNight aef0444867 fix #3439: ScanQRTextEdit optionally allows to concat data 2017-12-24 03:30:04 +01:00
SomberNight e2c05c2400 RBF/sweep: use BIP_LI01_sort() 2017-12-22 02:33:22 +01:00
SomberNight fc574ee514 fix #3578 2017-12-21 23:31:59 +01:00
ThomasV f3a6491df4
Merge pull request #3575 from SomberNight/fix_imported_wallet_addr_filters
fix: address filters for Imported_Wallet: wallet.is_used()
2017-12-21 12:16:31 +01:00
ThomasV fe41c61be4
Merge pull request #3574 from SomberNight/coinchooser_uses_weights
more precise fee calculation
2017-12-21 11:56:44 +01:00
SomberNight 3ba864bbca connect fee edits together 2017-12-21 11:17:20 +01:00
SomberNight 32b248245e fix: address filters for Imported_Wallet: wallet.is_used() 2017-12-21 03:22:21 +01:00
SomberNight aaf5e32207 coinchooser fee calculation now uses tx weights. more precise fee calculation for segwit and mixed-segwit txns. 2017-12-21 01:45:35 +01:00
ThomasV 4bab8b63e1 fix too short headers file 2017-12-20 12:37:45 +01:00
ThomasV dc388d4c7c replace SSL checkbox in GUI with command line option 2017-12-18 14:15:10 +01:00
Charles Bell 295d678e09 Fix segfault when using a specific camera device 2017-12-17 20:45:03 +01:00
SomberNight 9f908c32e3 tests: add missing info in vertical wallet tests 2017-12-13 19:54:39 +01:00
ThomasV 83da45a7d2 Add checkpoints file for testnet. Check that received headers are after max_checkpoint 2017-12-13 14:22:46 +01:00
ThomasV de01008992 blockchain: do not load forks that cannot connect to the main headers file 2017-12-13 13:43:51 +01:00
SomberNight 650f504fbf fix: testnet datadir could not be created first 2017-12-13 12:00:16 +01:00
ThomasV 9966dc3b0c
Merge pull request #3488 from scrool/plot_empty_outgoing_transactions
Handle empty outgoing transactions for plot
2017-12-12 17:58:49 +01:00
ThomasV 936ee47d3a
Merge pull request #3496 from SomberNight/coinchooser1
CoinChooser: privacy prefers confirmed and is default
2017-12-12 17:19:19 +01:00
ThomasV 44a83c2401 read checkpoints file in NetworkConstants, add it to setup.py 2017-12-12 11:10:50 +01:00
ThomasV 40e13224f7 follow-up d1b8a6fae6 2017-12-12 10:48:05 +01:00
ThomasV d1b8a6fae6 Replace initial headers download with hardcoded checkpoints 2017-12-12 10:20:44 +01:00
ThomasV a13775e533
Merge pull request #3502 from SomberNight/tx_size_est_multisig
fix: tx size estimation for multisig
2017-12-12 05:45:19 +01:00
SomberNight b751e5e7d3 fix: tx size estimation for multisig 2017-12-12 05:43:34 +01:00
ThomasV 8ae1717772
Merge pull request #3500 from SomberNight/fix_sweep_2fa
fix sweeping for 2fa wallets
2017-12-12 05:31:07 +01:00
ThomasV 22d5d29b81 version 3.0.3 2017-12-12 05:27:49 +01:00
SomberNight ec99304ae1 fix sweeping for 2fa wallets 2017-12-11 17:37:10 +01:00
SomberNight 2a3c41b24f coinchooser: "privacy" policy now prefers confirmed coins. removed "priority" policy. 2017-12-11 14:49:53 +01:00
SomberNight 4e4a7746fc clean-up: use is_segwit_input in wallet.py 2017-12-11 01:49:38 +01:00
Pavol Babincak a3f2845650 Handle empty outgoing transactions for plot
Previously dialog with error:

    need more than 0 values to unpack

was displayed and not a plot.

After this change plot is displayed without any dialog without graph of
outgoing transactions and without legend for outgoing transactions.

Fixes: #3487
2017-12-09 20:39:07 +01:00
SomberNight 38e3143bd0 fix command: createmultisig 2017-12-06 18:30:02 +01:00
SomberNight 0aee9bbbb0 fix spending from multisig (broken by 8be777e882) 2017-12-06 16:02:40 +01:00
SomberNight 65c15c5a03 fix verifymessage command 2017-12-04 17:36:57 +01:00
SomberNight e65b598756 use the send tab when sweeping (qt gui) 2017-11-30 12:27:00 +01:00
cluelessperson 151e3ab8e0 minor 2017-11-29 18:14:39 -06:00
ThomasV f715caa27d fix #3413 2017-11-29 19:04:18 +01:00
ThomasV 2ea59aad14 fix #3345: do not require a wallet in order to sweep 2017-11-29 13:45:02 +01:00
ThomasV 9425319dcd
Merge pull request #3367 from SomberNight/tx_size_est_uncompressed_pk
tx size estimation: handle uncompressed pubkeys
2017-11-24 10:26:08 +01:00
Marko Bencun 116026dee0 DeviceMgr: nicer message when pairing
The experience is a bit better if the user is prompted to connect,
instead of showing an error.
2017-11-24 10:12:53 +01:00
SomberNight 8be777e882 tx size estimation: handle uncompressed pubkeys 2017-11-24 04:24:54 +01:00
ThomasV 9edffd1754
Merge pull request #3335 from SomberNight/cmd_getprivkeys
more robust getprivatekeys() and is_segwit_address()
2017-11-23 10:03:18 +01:00
ThomasV ac5cbdaca2
Merge pull request #3351 from SomberNight/segwit_tx_size_estimation
better segwit tx size estimation
2017-11-23 09:41:02 +01:00
ThomasV b97402b796
Merge pull request #3343 from fr3aker/fix-ipv6addr-parsing
fix parsing of ipv6 addresses in interface
2017-11-22 12:41:50 +01:00
SomberNight 33bb5fee73 tests: testnet addresses 2017-11-22 02:01:47 +01:00
SomberNight e373f50596 follow-up prev commit 2017-11-22 01:15:01 +01:00
SomberNight a2a25e4738 better segwit tx size estimation 2017-11-21 23:02:45 +01:00
fr3aker b7d587c6ac
fix parsing of ipv6 addresses in interface 2017-11-20 20:17:58 +01:00
SomberNight 66cce115ef more robust commands.getprivatekeys() and bitcoin.is_segwit_address() 2017-11-19 23:46:59 +01:00
ThomasV 580f2da19d prepare 3.0.2 release 2017-11-13 11:58:25 +01:00
ThomasV 60e0b43b81 fix 3262: protobuf SerializeToString() returns bytes.. 2017-11-13 11:10:51 +01:00
Justin Turner Arthur 857eb4ac1d Remove unused imports. Explicitly import a few deep imports. 2017-11-13 02:28:00 -06:00
Justin Turner Arthur 9a0aa9b478 Remove Python 2 support imports. 2017-11-13 02:26:48 -06:00
ThomasV 8c84b349b8
Merge pull request #3276 from SomberNight/file_io_with_open
file i/o: use 'with' keyword
2017-11-13 09:23:21 +01:00
Justin Turner Arthur 0c04db33d8 Simplify bytes/hex conversion functions now that we're Python 3+ only. 2017-11-13 01:03:20 -06:00
Justin Turner Arthur 07629e12af Fixes to signing, notify commands and command exception handling. 2017-11-12 16:15:06 -06:00
SomberNight c65d01ea96 file i/o: use 'with' keyword 2017-11-12 14:33:46 +01:00
ThomasV 91539189d5
Merge pull request #3268 from SomberNight/sweep_minikey
sweeping minikeys: search for both compressed and uncompressed pubkeys
2017-11-11 11:41:41 +01:00
ThomasV c4923ac99d
Merge pull request #3182 from SomberNight/storage_upgrade_manual_for_qt
wallet storage upgrade will now happen silently whenever possible
2017-11-11 11:40:19 +01:00
SomberNight 9e2cd17790 sweeping minikeys: search for both compressed and uncompressed pubkeys 2017-11-11 11:02:30 +01:00
SomberNight 07e9415c2d interface ssl: besides TLS 1.1, also allow later versions 2017-11-10 21:39:20 +01:00
ThomasV 0ecb665b95
Merge pull request #3257 from SomberNight/bitcoin_network_constants
bitcoin.NetworkConstants: easier changing between testnet and mainnet
2017-11-10 09:15:40 +01:00
ThomasV 23c0269252
Merge pull request #3258 from SomberNight/wallet_check_password_dedup
wallet.check_password() remove code duplication
2017-11-09 22:21:01 +01:00
SomberNight f8518c78d8 remove Transaction.requires_fee() 2017-11-09 22:15:47 +01:00
SomberNight bdfd3e7190 wallet.check_password() remove code duplication 2017-11-09 19:15:36 +01:00
Antoine Riard 213798cfce [fix clearrequests] error iteration dictionary changed size 2017-11-09 11:54:25 -05:00
SomberNight 0db5ea67a0 bitcoin.NetworkConstants: easier changing between testnet and mainnet 2017-11-09 17:47:57 +01:00
ThomasV bf2c07ff2a fix #3244 2017-11-08 14:48:46 +01:00
ThomasV c8f3666f76 increase version number 2017-11-06 19:13:14 +01:00
SomberNight 0ee18f9837 fix tests 2017-11-06 12:44:36 +01:00
SomberNight b28f8b3ebd make tx deserialization more robust to ill-formed tx 2017-11-06 12:27:47 +01:00
ThomasV 46b8436693 fix #2562: show error message if hardware library is missing 2017-11-05 12:49:38 +01:00
ThomasV 3083b8dd8a
Merge pull request #3194 from SomberNight/storage
storage upgrade v16: fix flawed v14 upgrade for imported addresses
2017-11-03 18:36:50 +01:00
SomberNight e5d84e41ec storage: remove previously imported fake-addresses 2017-11-03 17:46:25 +01:00
ThomasV 0a10d6512b follow up previous commit 2017-11-03 17:13:49 +01:00
ThomasV f7ecfd104d fix #3201 2017-11-03 17:08:13 +01:00
ThomasV a70970ca20
Merge pull request #3205 from SomberNight/delete_address_proper
proper address deletion for imported wallets
2017-11-03 16:53:10 +01:00
SomberNight a328f83797 proper address deletion for imported wallets 2017-11-03 16:36:16 +01:00
ThomasV 358068a0c1 fix #3197: parse pubkey 2017-11-03 15:31:20 +01:00
ThomasV 036d5746a3 fix verified_tx iteration 2017-11-03 14:08:46 +01:00
ThomasV e65b99564d Merge branch 'master' of github.com:spesmilo/electrum 2017-11-03 10:35:00 +01:00
ThomasV 70d23f9e3b fix #3189: do not silence exceptions in get_xpub 2017-11-03 10:34:25 +01:00
SomberNight 04640b952b storage upgrade v16: fix flawed v14 upgrade for imported addresses 2017-11-03 09:12:17 +01:00
SomberNight 9bbb3f81b3 fix: import_address() for existing Imported_Wallet was willing to import anything 2017-11-03 07:42:38 +01:00
SomberNight 115ef54c0c fix: wallet storage upgrade happening silently even when using QT GUI 2017-11-02 12:11:36 +01:00
ThomasV 7e4e96e5eb
Merge pull request #3180 from SomberNight/fix_storage_upgrade_13b
fix: wallet storage upgrade 13b had incorrect assumptions
2017-11-02 09:54:43 +01:00
SomberNight 3b26beac9e fix: wallet storage upgrade 13b had incorrect assumptions 2017-11-02 09:49:11 +01:00
ThomasV d96561bc9d fix #3175 2017-11-02 09:40:11 +01:00
ThomasV 2774126db6 fix #3170 2017-11-01 22:44:13 +01:00
ThomasV 8623d8c258 fix magic number for p2wsh-p2sh 2017-11-01 21:25:43 +01:00
ThomasV d4b1c66168
Merge pull request #2906 from SomberNight/polling_fees
Periodically poll fee estimates from server
2017-11-01 20:53:01 +01:00
ThomasV f36024e216 hardware wallets: pass xtype to get_xpub 2017-10-31 11:45:25 +01:00
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