Commit Graph

943 Commits

Author SHA1 Message Date
thomasv dfb1bd1203 code refactoring; remove redundancies and sanitize transactions read from file or text 2013-02-28 11:16:07 +01:00
ThomasV 5aa18c4bb5 prevent the creation of incomplete wallets 2013-02-27 23:07:30 +01:00
ThomasV b46d5805bf restore the description field 2013-02-27 22:24:49 +01:00
ThomasV b116a43c31 fix the tx counter field 2013-02-27 21:22:52 +01:00
thomasv 50d029e61c use json istead of ast 2013-02-27 19:14:51 +01:00
Maran 22a5226673 Last few fixes for raw transaction handling 2013-02-27 18:20:11 +01:00
Maran 4a43126547 Work in progress for message signing via classic gui 2013-02-27 18:14:16 +01:00
thomasv ea96b79997 use json format 2013-02-27 18:11:45 +01:00
thomasv 5ed63be948 fix: seed, password 2013-02-27 16:15:56 +01:00
thomasv 253e0bc58e move method signrawtransaction to wallet class 2013-02-27 15:49:26 +01:00
thomasv d5ba4398ee update tx label in gui 2013-02-27 12:51:49 +01:00
thomasv cd9f2f02d2 fix: mktx syntax 2013-02-27 12:47:11 +01:00
thomasv 58be7c73c5 callback -> _callback 2013-02-27 12:40:16 +01:00
thomasv 338b004ab3 sort completions 2013-02-27 12:38:04 +01:00
thomasv 967abcb359 simplify dumpprivkeys 2013-02-27 10:36:52 +01:00
thomasv f4ac478369 more json formatting 2013-02-27 10:24:53 +01:00
thomasv e4dc3f3752 use history to determine if the wallet has been used 2013-02-27 10:13:03 +01:00
thomasv 2cb5b14b9b deep copy output to prevent side-effect 2013-02-27 09:09:58 +01:00
thomasv 9afe0d8aaf fix: input_info missing in transaction 2013-02-26 18:18:36 +01:00
thomasv 963d542ac8 return python objects 2013-02-26 18:10:29 +01:00
thomasv 2e9c2c1f96 return python objects from commands, and display them as json 2013-02-26 17:57:48 +01:00
thomasv 8a14679530 dumpprivkeys is offline 2013-02-26 16:31:42 +01:00
thomasv ea2d8f2491 move commands list to commands.py 2013-02-26 16:29:44 +01:00
thomasv 31e265b11d more efficient method for exporting private keys 2013-02-26 16:29:23 +01:00
thomasv 999adc80af move 'addresses' command 2013-02-26 16:11:19 +01:00
thomasv 96d459ab88 use dumpprivkeys to efficiently dump private keys 2013-02-26 16:03:04 +01:00
thomasv f58e541384 convert satoshis to btc in listunspent 2013-02-26 15:30:37 +01:00
thomasv 89958cc687 fix: parameters 2013-02-26 15:13:44 +01:00
thomasv 131654c147 helper function for mktx, payto 2013-02-26 15:13:01 +01:00
thomasv 28640f82f8 do not add password to the command parameters, put it in a field, to allow optional parameters 2013-02-26 15:09:43 +01:00
thomasv 1cca1f2526 rm unneeded import 2013-02-26 14:22:48 +01:00
thomasv 42a10164ea make most commands available in the console 2013-02-26 13:56:48 +01:00
ThomasV dc466142d3 console: catch help() 2013-02-25 22:52:09 +01:00
ThomasV 8682608813 indent unsigned tx 2013-02-25 20:48:45 +01:00
ThomasV f549e15a12 fix: unsigned transactions in gui 2013-02-25 20:46:38 +01:00
thomasv fd8687ce18 fix 2013-02-25 19:04:41 +01:00
thomasv 8f090e1d01 fix 2013-02-25 18:50:12 +01:00
thomasv 1bba3ffbd7 fix: addressbook 2013-02-25 18:17:02 +01:00
thomasv 41a2fa427f fix: send_tx 2013-02-25 18:15:14 +01:00
thomasv 4916aefe98 documentation for offline wallets, release notes 2013-02-25 10:14:20 +01:00
thomasv 8b8e2fd67b rename inpust_info -> input_info 2013-02-25 09:34:47 +01:00
ThomasV b8a71ff00c offline wallets sign transactions using KeyID 2013-02-25 09:05:45 +01:00
thomasv 64ad3fc28c use serialized format in signtx 2013-02-24 21:31:11 +01:00
thomasv 5da3cab24b move seed generation function to bitcoin.py 2013-02-24 10:16:14 +01:00
thomasv bd717897e0 fix: set tx_height when it is not None 2013-02-24 09:39:43 +01:00
ThomasV 1b19382887 disable https because the server requests a client certificate 2013-02-24 08:21:42 +01:00
ThomasV 135f208cf4 method to run custom script 2013-02-23 21:01:19 +01:00
ThomasV 9ae12c43e4 word per word completions 2013-02-23 20:48:22 +01:00
ThomasV 166db1e16f add flush method for stdoutProxy, for compatibility 2013-02-23 20:33:10 +01:00
ThomasV d4f2c4855f don't show prefixes in completions 2013-02-23 20:26:05 +01:00
ThomasV 6b72d815c5 show tab completions in console 2013-02-23 20:21:46 +01:00
ThomasV 6be6738fac completions 2013-02-23 17:54:47 +01:00
ThomasV a0455725bd fix is_complete: count number of valid signatures 2013-02-23 17:36:32 +01:00
ThomasV 30b6d9b64e minor fix: unneeded 2013-02-23 17:23:12 +01:00
ThomasV 8cf97fdb52 minor fix 2013-02-23 17:20:22 +01:00
ThomasV 811d05a1c2 move methods into Transaction class 2013-02-23 17:18:22 +01:00
ThomasV 641177404d remove p2sh test; not needed anymore 2013-02-23 16:42:48 +01:00
thomasv 04a5739979 simplification: tx_for_sig 2013-02-23 15:15:16 +01:00
thomasv bd8dbbf79b check if multisig transaction is complete, add is_complete to json output 2013-02-23 15:11:41 +01:00
thomasv a56220f050 multisig: raise exception if no signature can be added 2013-02-23 14:42:31 +01:00
thomasv 6766990931 fix deserialize: OP_0 is not OP_PUSHDATA 2013-02-23 14:41:55 +01:00
thomasv 0c5f42cc29 fix history sorting function 2013-02-23 13:29:03 +01:00
thomasv 2642fa0f7d fix listunspent, add method wallet.get_unspent_coins 2013-02-23 13:18:15 +01:00
thomasv 780c5d01d5 fix get_tx_details 2013-02-23 12:11:32 +01:00
thomasv 9cfb73365b fix: use deserialized tx outputs in choose_tx_inputs 2013-02-23 12:07:46 +01:00
thomasv 03d36d91e2 remove unused method 2013-02-23 11:50:09 +01:00
thomasv 03e2160503 create separate class for deterministic key generation. add pubkeys to validateaddress 2013-02-23 11:35:46 +01:00
thomasv 94fbad2965 remove debugging messages 2013-02-23 10:00:33 +01:00
thomasv f0b255acba store transactions in serialized form 2013-02-22 19:22:22 +01:00
thomasv 67283f0b1b fix verify_message calls 2013-02-22 17:50:56 +01:00
thomasv ad6dac8d05 use 4-spaces indentation 2013-02-22 17:50:11 +01:00
thomasv 76439beec5 simplify get_private_key, use base58 2013-02-22 17:27:19 +01:00
thomasv 5d6496f1f9 move crypto from wallet class to bitcoin.py 2013-02-22 16:17:46 +01:00
thomasv b1f33015af Merge branch 'master' of github.com:spesmilo/electrum 2013-02-22 13:40:52 +01:00
thomasv 40b397dc0f signrawtransaction: parse redeemScript 2013-02-22 13:40:42 +01:00
Maran H. faf0e1d765 Merge pull request #148 from snipsnipsnip/add-translation-string
added translation text string in gui_lite.py
2013-02-22 04:11:28 -08:00
thomasv c400583443 bugfix: for_sig != -1 2013-02-21 16:51:02 +01:00
thomasv 0863f09a06 add dumpprivkey command; finalize private_keys parameter for signrawtransaction 2013-02-21 16:26:26 +01:00
thomasv aa166dd9f0 fix p2sh test 2013-02-21 15:36:38 +01:00
thomasv f4df5ed9c7 fix the p2sh test 2013-02-21 15:35:20 +01:00
thomasv ea7718fc59 create Transaction class 2013-02-21 14:18:12 +01:00
Satoshi Kodama aee1c342db added translation text string in gui_lite.py
Added gettext _() to the "public key has been copied" text string to be translated.
2013-02-21 01:15:28 +09:00
thomasv b4bb3c7449 Merge branch 'master' of github.com:spesmilo/electrum 2013-02-20 13:10:38 +01:00
thomasv 972ba397d1 support for multisig functions 2013-02-20 13:10:32 +01:00
Maran 2e583ec38d Dont migrate wallets for xp 2013-02-19 20:28:53 +01:00
thomasv f971c80d58 use standard indendation in age(), and fix the for loop in it 2013-02-19 13:52:18 +01:00
thomasv f40a365186 do not use Qt outside of the Qt gui. Also, do not request i18n translations for messages that will be displayed once at most 2013-02-19 13:41:59 +01:00
Maran 14a7429223 Tweaked the migration a bit 2013-02-18 23:45:27 +01:00
Maran 1b2a319f18 Added migration to APPDATA from LOCALAPPDATA for windows based Electrum installations 2013-02-18 23:44:47 +01:00
ThomasV 63cce2174f Merge branch 'master' of git://github.com/spesmilo/electrum 2013-02-18 21:12:54 +01:00
ThomasV 712e0a6c4a fix bug when timestamp is None 2013-02-18 21:12:39 +01:00
thomasv 94e5263486 updating url for headers file 2013-02-18 15:56:02 +01:00
Maran 392f0f47b0 Private keys, instead of private key 2013-02-15 17:48:13 +01:00
Maran b2b77f8ad9 Added the option to export your private keys to csv 2013-02-15 17:48:13 +01:00
ThomasV 4a0c70dafa version 1.7 2013-02-03 15:21:50 +01:00
ThomasV 7ae46aa413 raise exception if the method is used to overwrite the existing seed 2013-02-03 15:12:40 +01:00
ThomasV 043d6addff init_seed method. save seed and master public key separately 2013-02-03 15:08:26 +01:00
thomasv 50305e1f57 menu option to show private key 2013-02-02 11:46:02 +01:00
thomasv cd4afb89ea fix column width saving: do not store last column 2013-02-02 10:20:24 +01:00
thomasv d82a9a6eff delay console message until after the gui is initialized 2013-02-02 09:40:54 +01:00