Commit Graph

721 Commits

Author SHA1 Message Date
thomasv
650a9b6074 do not include fee in the transaction amount shown in history. adapt history to the case where it was recovered from a pruning server 2012-11-16 14:39:31 +01:00
thomasv
8ec2b16e21 use None as timestamp for pending transactions 2012-11-16 10:18:35 +01:00
thomasv
0e851a5f62 fix for notifications 2012-11-15 12:14:29 +01:00
thomasv
8fc042ee22 more fixes for the 0.6 servers 2012-11-15 10:34:56 +01:00
ThomasV
cc2ef02c2b gui fixes 2012-11-15 09:14:24 +01:00
ThomasV
8ec6a60daf compatibility with 0.6 protocol 2012-11-14 15:33:44 +01:00
ThomasV
10b02b37c9 raise exception on status mismatch too 2012-11-07 21:59:06 +01:00
ThomasV
da93473ee1 raise exception on history with repeated tx 2012-11-07 20:48:42 +01:00
ThomasV
da5a69d881 raise exception in case of server error 2012-11-07 20:46:18 +01:00
ThomasV
62be41161b check that histories and transactions are consistent 2012-11-07 20:25:23 +01:00
ThomasV
a48a971ae6 check consistency of results received by get_history 2012-11-07 09:37:14 +01:00
ThomasV
e39a5c9609 init headers file 2012-11-07 08:45:53 +01:00
ThomasV
34a6cc5dee do not pass unconfirmed transactions to the verifier 2012-11-05 20:40:57 +01:00
thomasv
765201be4e wallet.get_label method 2012-11-05 11:08:16 +01:00
thomasv
73dc533e79 set timestamps on startup 2012-11-05 10:26:28 +01:00
ThomasV
39a85767a3 solve deadlock during restore 2012-11-04 20:53:27 +01:00
ThomasV
6fc0ae633d bugfix: wanted-> missing 2012-11-04 19:27:21 +01:00
ThomasV
4e4d4d33c3 fix race condition with prevout_values 2012-11-04 17:17:40 +01:00
ThomasV
e0c03d6207 request missing transactions on startup 2012-11-04 16:59:50 +01:00
ThomasV
f1d4838012 rename history -> addr_history 2012-11-04 15:47:19 +01:00
ThomasV
efccde2e8e fix: timestamps in transactions 2012-11-04 15:38:34 +01:00
thomasv
4cbee7554f new protocol: the server sends serialized tx, deserialize it in the client 2012-11-04 10:56:39 +01:00
thomasv
cdb52c30d2 do not request merkle root for unconfirmed transactions 2012-10-29 09:31:42 +01:00
ThomasV
6de8a946eb use callback instead of wallet.was_updated 2012-10-27 19:20:50 +02:00
ThomasV
cfb3aa6a12 move 'peers.subscribe' and 'server.version' calls into the interface 2012-10-27 14:15:03 +02:00
ThomasV
208e789af4 fix: synchronizer 2012-10-27 00:02:52 +02:00
ThomasV
1ecce5dffc bugfix: default to [], so that we do not create new addresses if the history was deleted 2012-10-26 18:00:32 +02:00
thomasv
1f37a330b3 bugfix: add channel when calling send 2012-10-26 16:06:54 +02:00
thomasv
b78fd6b3b6 bugfix: address->addr 2012-10-26 15:48:57 +02:00
thomasv
ee4de40c37 use WalletVerifier.add() method to register transactions 2012-10-26 10:02:09 +02:00
ThomasV
2a06a5b493 tie confirmation icons to payment verifier 2012-10-26 00:40:19 +02:00
ThomasV
b018e0ae53 simple payment verification: check targets, use block headers file. 2012-10-24 21:45:45 +02:00
thomasv
c735fcd228 more robust connection procedure: let the user start with proxy 2012-10-22 17:18:07 +02:00
thomasv
af0d8d664b save list of verified tx only when needed 2012-10-22 15:44:54 +02:00
thomasv
10d6db468a save to disk the list of verified transactions 2012-10-22 15:40:39 +02:00
thomasv
3cc382b7a0 send another banner request on reconnect 2012-10-22 15:01:13 +02:00
thomasv
8e95706763 init_up_to_date when connected 2012-10-22 14:49:29 +02:00
thomasv
0b76e16d04 allow multiple callbacks for a given name 2012-10-22 13:43:58 +02:00
thomasv
4fbd2ea66e use named callbacks with the interface 2012-10-22 11:34:21 +02:00
ThomasV
33eb749c6a interface for command line mode 2012-10-21 23:22:46 +02:00
ThomasV
2da0c0b77e big refactoring of the interface
addition of the wallet verifier class for SPV
2012-10-21 22:55:16 +02:00
thomasv
5717b43661 separate bitcoin related functions from wallet.py 2012-10-19 14:55:01 +02:00
thomasv
da4b974dfd simplification: hex encode master_public_key directly 2012-10-16 09:24:38 +02:00
ThomasV
486ebf93e2 move is_up_to_date method 2012-10-15 07:43:00 +02:00
ThomasV
69e68e9203 show waiting dialog during transaction broadcast 2012-10-14 08:25:09 +02:00
thomasv
65b13b88f4 disable setting widgets when setting is not modifiable. 2012-10-12 17:40:37 +02:00
ThomasV
d92f1991a9 move prompt_password from wallet.py to main script 2012-10-12 01:50:54 +02:00
thomasv
5444f55e6b big refactoring: command line options and electrum.conf options override settings in wallet file. 2012-10-11 20:10:12 +02:00
thomasv
596bddbf7e replace expert mode with a button for gui_detailed_view 2012-10-11 12:56:57 +02:00
thomasv
880b08f337 remove remote wallet (broken, will be replaced) 2012-10-05 15:49:03 +02:00
thomasv
e7e9e8916b fix set_server. keep compatibility with the gtk interface 2012-10-02 12:52:47 +02:00
thomasv
287c7fc643 split create_new_address, so that get_new_address can be used without the context of a wallet 2012-10-01 18:31:54 +02:00
thomasv
8fd1dbadf6 use https for aliases 2012-10-01 15:10:51 +02:00
bkkcoins
09c90c0971 Revert "Revert "Added proxy options to network dialog""
This reverts commit 6e0b3620d2.
2012-09-20 16:55:28 +07:00
bkkcoins
6e0b3620d2 Revert "Added proxy options to network dialog"
This reverts commit 83bb644135.
2012-09-20 16:55:15 +07:00
bkkcoins
83bb644135 Added proxy options to network dialog 2012-09-19 22:29:58 +07:00
Maran
6da25727f8 Refactored user_dir to utils and replaced it in wallet and config 2012-08-30 18:00:08 +02:00
Amir Taaki
ca4473c620 If wallet does not exist, then it does not even attempt to read the config (read returns on IOError exception). Ergo a new wallet will not ever set the theme name and it will stay as None. We change this to a sensible default so new wallets have a themed GUI. 2012-08-29 21:27:22 +01:00
Amir Taaki
6dfb9e12c7 Fixed bug where switching servers causes assert failure. 2012-08-27 04:02:15 +02:00
Amir Taaki
26c0b786e9 RAII open of wallet file. 2012-08-24 22:02:58 +01:00
Amir Taaki
3d836ebc38 Revert "Don't need two try/catch statments if nothing happens when exception is caught"
This reverts commit 6b86942ccb.
2012-08-24 22:01:08 +01:00
Amir Taaki
5c4be3196a Better looking set_path(wallet_path) method. Flattened function that's easier to read. 2012-08-24 10:34:38 +01:00
Jimbo77
25ad5fcd06 got rid of print_error 2012-08-23 18:38:28 -07:00
Jimbo77
a6239764d2 small cosmetic change 2012-08-23 18:36:40 -07:00
Jimbo77
34a3eea0bf changed imports to fit pep8 styleguide 2012-08-23 18:21:17 -07:00
Jimbo77
2de8df6758 getting rid of another BaseExceptions 2012-08-23 18:17:30 -07:00
Jimbo77
e12699ae75 getting rid of more BaseExceptions 2012-08-23 18:16:27 -07:00
Jimbo77
cdc16acabb changed to more descriptive exception 2012-08-23 18:11:57 -07:00
Jimbo77
6b86942ccb Don't need two try/catch statments if nothing happens when exception is caught 2012-08-23 18:02:55 -07:00
Jimbo77
719b9d7d33 Small cosmetic fix 2012-08-23 18:01:06 -07:00
Jimbo77
407070bba0 Didn't need a seperate variable just for string 2012-08-23 17:59:54 -07:00
Jimbo77
cb67ec4454 changed to more descriptive exception 2012-08-23 17:50:44 -07:00
Jimbo77
1429ef71e1 getting rid of more unnecessary print_errors() 2012-08-19 18:19:59 -07:00
Jimbo77
89109541bd created docstring for set_path() 2012-08-19 18:08:32 -07:00
Jimbo77
f0fb3ec0e1 added small comment for ast.literal_eval 2012-08-19 17:49:51 -07:00
Jimbo77
a85901b4b2 added docstring for the read() function 2012-08-19 17:46:31 -07:00
Amir Taaki
ef9a3abe31 Add theme name to config file. 2012-08-18 07:15:48 +01:00
Amir Taaki
c506139e68 use labels for to/from in lite history where available. 2012-08-12 21:52:28 +01:00
Amir Taaki
b952a96b41 Added history to lite view. 2012-08-12 21:17:43 +01:00
ThomasV
80d6c3ccb8 fix import 2012-07-07 23:12:23 +02:00
Julian Tosh
4e5dfbeade Implementing a better print_error routine 2012-07-07 09:24:52 -07:00
Julian Tosh
c533b797e0 Merge branch 'master' of gitorious.org:electrum/electrum 2012-07-07 06:41:16 -07:00
Julian Tosh
a3830e5903 Standardizing message format and implementing stderr for errors 2012-07-07 06:39:25 -07:00
Amir Taaki
2984c3dd95 Save selected currency as config setting. 2012-07-07 13:37:49 +02:00
Julian Tosh
b615fe0c8c modified password input routines to allow for input through stdin 2012-07-06 21:45:57 -07:00
Julian Tosh
b8c1c0c317 Turn debugging off by default 2012-07-06 16:57:13 -07:00
Julian Tosh
22fcb9e521 Adding user enabled debug messages for server communications 2012-07-06 13:36:13 -07:00
Amir Taaki
ba6e9417ed spawn both guis at start. clicking expand hides the simple one, shows the expert one. 2012-06-29 07:26:52 +02:00
ThomasV
37af22cc6f fix for change address 2012-06-17 09:51:15 +02:00
ThomasV
c6c577dcfd fix: confusion 2012-06-17 06:58:36 +02:00
ThomasV
4343967ee0 make use_change a stored preference 2012-06-16 18:45:17 +02:00
ThomasV
b39289c4df patch by Soultaker; fix old_to_new 2012-06-13 21:12:16 +02:00
thomasv
e631e9c89c nanotube's patch for compressed keys 2012-06-12 10:47:00 +02:00
ThomasV
3fedcc8824 create default label only if the output is not mine 2012-06-10 11:37:11 +02:00
ThomasV
7cfb78cdc6 handle URI labels 2012-06-08 23:15:08 +02:00
thomasv
3ae348791f set wallet file permissions 2012-06-08 13:14:25 +02:00
thomasv
6f0dcd091f force synchronization by poking the interface 2012-06-07 19:03:46 +02:00
thomasv
e0372fc3a6 fix: the gap limit is one value higher than the gap 2012-06-07 18:59:28 +02:00
thomasv
6b0499bcbc allow user to change gap limit 2012-06-07 18:52:29 +02:00
thomasv
594b7f0265 add expert mode to preferences 2012-06-07 17:42:50 +02:00
thomasv
9625ef1ea9 define method get_address_flags 2012-06-07 16:14:08 +02:00
thomasv
7e0dba3e82 unfreeze before prioritize 2012-06-07 11:25:23 +02:00
thomasv
f86e11b445 unprioritize before freeze 2012-06-07 11:21:53 +02:00
thomasv
34be852061 move freeze and prioritize functions into wallet class 2012-06-07 11:18:11 +02:00
ThomasV
e1b3b5892b add prioritize and freeze console commands. fix choose_inputs 2012-06-06 19:26:05 +02:00
ThomasV
c35d48459f raise error on compressed key format 2012-06-06 18:32:29 +02:00
thomasv
aa7183c6ac prioritized coins 2012-06-06 15:40:57 +02:00
thomasv
dceb4b04ea better error messages 2012-05-30 14:42:30 +02:00
ThomasV
a35a945b0b fix format_satoshis 2012-05-19 17:34:59 +02:00
ThomasV
742705b855 add timeout in order to allow KeyboardInterrupt 2012-05-19 15:52:06 +02:00
ThomasV
12e2b8db16 show address if coins were received at a change address 2012-05-19 11:01:45 +02:00
ThomasV
a5496a5477 handle imported keys as well with deseed and reseed 2012-05-17 18:10:36 +02:00
ThomasV
565c53e054 fix: encrypted seed might be empty 2012-05-17 08:42:40 +02:00
ThomasV
1181f4ef01 bugfix: encryption of encrypted keys 2012-05-17 08:32:49 +02:00
ThomasV
a5761fe8a8 do not use deprecated BaseException.message 2012-05-16 19:20:21 +02:00
ThomasV
e34f7dce7f do not derive private keys when there is no seed 2012-05-14 21:31:37 +02:00
thomasv
5507706db5 fix 2012-05-14 14:10:35 +02:00
thomasv
1e192e9ca9 test the existence of modules in the main script 2012-05-14 14:09:50 +02:00
ThomasV
ff62a09832 use pip not easy_install 2012-05-14 08:05:16 +02:00
ThomasV
634bff6f8a bugfix: poke to reconnect 2012-05-12 09:38:42 +02:00
thomasv
b8773178a1 setup package in lib subdirectory 2012-05-10 14:38:49 +02:00