Commit Graph

3309 Commits

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