Commit Graph

3574 Commits

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