Commit Graph

3695 Commits

Author SHA1 Message Date
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