Commit Graph

2047 Commits

Author SHA1 Message Date
Neil Booth 9cf2eff16b Make is_connected into a member function. No change in logic. 2015-05-05 20:00:10 +09:00
Neil Booth 4d55cb9528 First of several incremental patches tightening up interface.py.
Remove some unneeded imports, a constant and a line of dead code.
Document the current external API interface.py provides.
2015-05-05 14:02:51 +09:00
Neil Booth 175bfae9e6 Move away from requiring network and blockchain objects to be able to request local height.
We store it in the config object instead of in the blockchain object.
The blockchain object now refers to its config, and calls refresh_height() to update it.
The network objects also refer to the config rather than the blockchain.

This is the first of many small steps to untangle the verifier from stored state and so
permit the history tab to work in offline mode.  The refactoring will simultaneously clean
up a lot of accumulated cruft.
2015-05-03 15:19:29 +09:00
ThomasV 25c6a78ae0 fix missing immport 2015-05-02 16:29:41 +02:00
ThomasV 475a48091f Merge pull request #1183 from kyuupichan/get_history2
Make it 3-step instead of four. Avoid quadratic insertions.
2015-05-02 16:28:18 +02:00
ThomasV e4038dcdba move create_csr to gui 2015-05-02 16:26:27 +02:00
Neil Booth 2fc38332e7 Make it 3-step instead of four. Avoid quadratic insertions.
This is preparation to hopefully fix #1163
2015-05-02 23:17:50 +09:00
ThomasV bbaacef960 fix format_satoshis for None values 2015-05-02 15:12:00 +02:00
ThomasV 75ddc066bb fix #1181 2015-05-02 11:05:38 +02:00
ThomasV 8ba70c941b add function to create CSR 2015-04-30 17:51:51 +02:00
ThomasV c35cdf1fd8 rename ssl config variables 2015-04-30 17:33:29 +02:00
Neil Booth db2517b901 Shrink size of changes; functionality unchanged. 2015-04-30 13:32:01 +09:00
Neil Booth 506ed8ee74 Merge branch 'master' into tray_tip_wallet 2015-04-30 13:28:13 +09:00
ThomasV 953674aac7 resize columns to content by default 2015-04-29 09:26:22 +02:00
Neil Booth 4f45e0a083 Prior lost minus sign for fractional negative numbers 2015-04-29 15:09:55 +09:00
Neil Booth 0d35dd66d2 The lite GUI passes a decimal type 2015-04-29 14:48:55 +09:00
Neil Booth 83e05b1183 Modify format_satoshis to display amounts according to locale.
In particular, thousands and decimal point separators are taken from locale.
2015-04-29 10:13:41 +09:00
Neil Booth f56413d602 Put title() member func, with localization, in main_window.py 2015-04-28 21:12:25 +09:00
Neil Booth 889174ae19 Show wallet basename in tray tooltip for those of us using multiple wallets
Move basename (and title) logic to the wallet and use those member functions.
2015-04-28 19:32:56 +09:00
ThomasV 7316f613d6 fix history command 2015-04-28 08:58:33 +02:00
Neil Booth deec78a9d4 Clean up block explorer handling. Add menu item to go to block explorer for an address.
Block explorer code is data-driven now.
Put block explorer defaulting in one place.
Fix URLs for insight.is and blockr.io.
Add tradeblock.com explorer.
Add menu item to view address on block explorer provided only one is selected.
2015-04-26 22:02:21 +09:00
ThomasV f2749a744e version 2.1.1 2015-04-24 21:26:08 +02:00
ThomasV cb09d88322 fix bug introduced in 21673c95f4 2015-04-24 21:01:34 +02:00
Maran 21673c95f4 Fix wallet write to support windows 2015-04-24 13:14:17 +02:00
ThomasV 4a28c88946 atomic write wallet file 2015-04-23 17:12:02 +02:00
ThomasV e8189490e9 store contacts in a separate file, shared between wallets 2015-04-23 12:16:46 +02:00
ThomasV 065145e557 get_history: return empty history if balance check fails 2015-04-23 09:49:24 +02:00
ThomasV 6cff7a284a store invoices as dict. rename domain -> requestor 2015-04-22 13:59:38 +02:00
ThomasV 74b0ed5f48 move get_status to InvoiceStore 2015-04-22 13:36:07 +02:00
ThomasV 409c34d1bf verify: create a PaymentRequest instance, to avoid blanking the signature as side effect 2015-04-22 10:25:29 +02:00
ThomasV 30bed4c5a9 sign and save to file bip70 payment request; redo receive tab layout 2015-04-21 08:45:51 +02:00
ThomasV 50bc50d78d daemon: filter notificaions sent to client 2015-04-20 09:16:43 +02:00
ThomasV 524db55b90 don't display hashes or addresses as default labels 2015-04-19 14:30:44 +02:00
ThomasV eac3129cba Merge pull request #1135 from Kausheel/get_addr_received
Add wallet function get_addr_received()
2015-04-19 13:38:45 +02:00
ThomasV 21b2fcbe85 always_hook. fix trezor handler. fixes #1146 2015-04-18 14:59:46 +02:00
ThomasV f82de35bd2 x509: use SKI and AKI to find parent certificate if it is missing 2015-04-17 12:30:52 +02:00
ThomasV 7796243fdd get_common_name: return string if missing 2015-04-14 16:35:06 +02:00
ThomasV ed5258e406 parse certificates without pyasn1 2015-04-14 15:04:04 +02:00
ThomasV f6a00fdb34 add file: scheme to get_payment_request 2015-04-13 17:56:20 +02:00
ThomasV 036f96cf35 store invoices in a separate file, with their status 2015-04-13 14:19:59 +02:00
ThomasV 8a55a4c26c Merge pull request #1141 from kaykurokawa/master
Dust threshold should be 546
2015-04-12 12:09:48 +02:00
ukurokawa e708c446a8 Dust threshold should be 546 2015-04-11 11:41:02 -04:00
ThomasV 4fe32d2ad1 add root certificate to chain if missing. fixes #1137 2015-04-10 16:32:16 +02:00
ThomasV c381fc2194 remove debug message 2015-04-09 19:29:53 +02:00
ThomasV cdd5d6e130 fix #1136 2015-04-09 19:05:11 +02:00
ThomasV eb9802356a fix variable name in from_seed 2015-04-09 18:59:51 +02:00
Kausheel Kumar 8cf793ab98 Add wallet function get_addr_received() 2015-04-09 01:44:44 +10:00
ThomasV be5731d463 move make_payment_request to lib 2015-04-05 18:57:00 +02:00
ThomasV b8a72180c7 HistoryWidget class; address history window 2015-04-04 18:26:52 +02:00
ThomasV 0a7b585b6c redo default labels with incoming tx outputs 2015-04-04 15:55:28 +02:00
ThomasV 4c729f0ff0 move format_time to util 2015-04-03 14:44:03 +02:00
ThomasV 75cf142be0 fix typo 2015-04-03 11:30:36 +02:00
ThomasV a3422d3fae generic multisig wallet constructor. fixes #1129 2015-04-03 11:27:57 +02:00
ukurokawa 950dc2c685 get_pubkeys is called incorrectly in get_pubkey_from_xpub() 2015-04-02 15:03:48 -04:00
ThomasV 911a60c02d separate timeouts for server and nodes retry 2015-04-02 15:12:01 +02:00
ThomasV 5f29017c9d pass config.path to daemon (exemptore). fixes #901 2015-04-02 12:12:18 +02:00
ThomasV 98cc9c53d1 do not write config file from network class 2015-04-02 10:50:09 +02:00
ThomasV a805afa900 save recent_servers in separate file 2015-04-02 10:12:51 +02:00
ThomasV 881e15ae12 store config as json 2015-04-02 10:00:07 +02:00
ThomasV 0503e809d5 fix #1121: tx.update 2015-04-01 07:57:59 +02:00
ThomasV e3e5d95794 fix account key bug 2015-03-31 22:44:00 +02:00
ThomasV a44f1bc4d3 Merge pull request #1115 from romanz/offline-mode-fix
Offline mode fixes
2015-03-31 13:57:27 +02:00
ThomasV c9d874ce38 openalias: more error message 2015-03-31 12:21:20 +02:00
ThomasV f77311328a add get_completions to wallet 2015-03-31 12:01:42 +02:00
ThomasV 4d7b68658b fix delete_contact 2015-03-31 11:29:18 +02:00
ThomasV 2f1c597e8f print_error method for plugins 2015-03-31 10:01:53 +02:00
Roman Zeyde a7440fc89c wallet: skip history sort when verifier is not set 2015-03-31 09:32:21 +03:00
ThomasV da502076bd fix get_history 2015-03-30 20:39:06 +02:00
ThomasV f051a3e577 update occurences of get_history 2015-03-30 20:17:24 +02:00
Roman Zeyde c4b306cdbe fix Transaction.deserialize() to Transaction() 2015-03-30 18:28:24 +03:00
Roman Zeyde 9d0aa737e5 transaction: call serialize() before deserialization 2015-03-30 18:28:24 +03:00
ThomasV 2d84deeaad sanity check history 2015-03-30 14:10:46 +02:00
ThomasV ec11e58add handle pruning in wallet.txi/txo 2015-03-30 14:10:46 +02:00
ThomasV 3d1fa1e27f find_pay_to_pubkey_address 2015-03-30 14:10:46 +02:00
ThomasV bc3ed470e1 use hash as default label 2015-03-30 14:10:46 +02:00
ThomasV e3de121be9 store deserialized tx in/out in wallet file for fast computation 2015-03-30 14:10:46 +02:00
ThomasV d9b1271f65 version 2.1 2015-03-30 14:10:32 +02:00
ThomasV cf0fcac9fa fix deserialize_server bug 2015-03-28 19:17:07 +01:00
ThomasV 08f63a7f14 release notes for 2.0.4 2015-03-26 09:26:25 +01:00
ThomasV d9874ecb01 add 10 second timeout to header requests 2015-03-25 10:18:32 +01:00
ThomasV f50a62755c use self.print_error 2015-03-25 09:22:27 +01:00
ThomasV 973f7f9fe5 mpk window: detect self and cosigner keys 2015-03-24 17:33:08 +01:00
ThomasV 1369c02011 safeguard: do not let daemon treads write wallet file 2015-03-24 12:23:11 +01:00
ThomasV 0200778ac1 require user to start daemon explicitly 2015-03-23 11:50:13 +01:00
ThomasV b4ff652d89 Merge pull request #1095 from railgun74/master
Let wallet recovery use 64 character hex strings and legacy 24 word seeds.
2015-03-19 17:58:21 +01:00
K 41127db32d Let wallet recovery use 64 byte hex strings and 24 word seeds.
1. Allow wallet recovery from 64 byte hex strings.
2. Allow use of 24 word legacy seeds created from 64 byte hex strings.
2015-03-19 08:20:32 -07:00
ThomasV 90a22f1a36 Merge branch 'master' of git://github.com/spesmilo/electrum 2015-03-17 14:31:21 +01:00
Neil bbcfa44e54 Use string joins instead of concatenation for efficiency. 2015-03-17 21:57:06 +09:00
ThomasV d82529a41a function profiler 2015-03-17 11:29:17 +01:00
ThomasV cabd6bbb2c inputs_to_sign: handle missing num_sig 2015-03-17 07:41:27 +01:00
ThomasV a5a7a34c2d IOError: add file path to exception message 2015-03-15 08:04:02 +01:00
ThomasV b93aa9bc43 do not display daemon socket path 2015-03-14 19:08:22 +01:00
ThomasV 4a4624cb85 type conversion; fixes #1077 2015-03-14 16:22:47 +01:00
ThomasV 39ba3db0dd version 2.0.3 2015-03-14 14:29:10 +01:00
ThomasV b2a13dbd9c remove unused imports 2015-03-14 09:37:56 +01:00
ThomasV 4ebefc6e4c standardize error messages in synchronizer 2015-03-14 09:29:44 +01:00
ThomasV 8e7ce452f6 move misplaced debug message 2015-03-14 09:27:18 +01:00
ThomasV 5b8588ee90 rename spv class, use own print_error 2015-03-14 09:20:27 +01:00
ThomasV a4cb70649d fix synchronizer hanging when not connected. 2015-03-14 08:43:43 +01:00
ThomasV 72688a5cfa clean implementation of daemon threads 2015-03-13 23:04:29 +01:00