Commit Graph

1117 Commits

Author SHA1 Message Date
ecdsa
8a74be39de fix tx.get_value bug with pruned transactions 2013-03-16 21:22:03 +01:00
ecdsa
d6952228be define wallet.get_num_tx() 2013-03-16 18:17:50 +01:00
ecdsa
fefb884794 fix wallet.is_change() method 2013-03-16 17:51:58 +01:00
thomasv
93b98e1176 move http aliases to separate plugin 2013-03-15 15:48:28 +01:00
thomasv
8c71c54487 add label to internal transactions 2013-03-14 13:08:50 +01:00
thomasv
3b80ef7c60 rely only on the verifier to get the height of transactions 2013-03-14 12:22:06 +01:00
thomasv
bdb515dabd print error received by verifier, and continue 2013-03-14 10:49:00 +01:00
ecdsa
11552c2f23 use an abstract class SequenceClass 2013-03-13 22:05:02 +01:00
ecdsa
b955c9ffa1 more bip32 related fixes 2013-03-13 18:51:05 +01:00
ecdsa
2f31ca779d fix bip32 get_private_key 2013-03-13 18:20:05 +01:00
ecdsa
c19e0f0b3f bip32 fixes 2013-03-13 18:03:41 +01:00
ecdsa
1d3be5fb0b fix: number of arguments 2013-03-13 17:52:54 +01:00
thomasv
c9a7c58323 print created address in terminal, as in previous versions 2013-03-13 15:33:50 +01:00
thomasv
a4f977190e do not call exit() in the interface module 2013-03-13 15:26:29 +01:00
thomasv
c3dc2d5284 fix: command line with no password 2013-03-13 14:29:50 +01:00
ecdsa
469d17355d fix 2013-03-13 01:08:30 +01:00
ecdsa
0aaafe85ad fix 2013-03-13 01:03:51 +01:00
ecdsa
6a848564fa do not raise exception on strange input scripts 2013-03-13 00:55:08 +01:00
ecdsa
12d65f5e52 better synchronize method 2013-03-12 23:10:43 +01:00
ecdsa
5e7e002bd8 remove internal check that was too strong 2013-03-12 21:55:56 +01:00
Maran
ca6890a622 Fix merge conflict 2013-03-12 21:27:27 +01:00
ecdsa
0569cc283a fix exception 2013-03-12 20:59:37 +01:00
thomasv
10bfcb918b replace 'ElectrumKeyID' with more general 'KeyID' field in transactions 2013-03-12 17:54:26 +01:00
thomasv
8b08eb541a do not request banner twice 2013-03-12 17:34:06 +01:00
Maran
884371eedd Merge branch 'master' into feature/label_sync 2013-03-12 16:52:15 +01:00
rdymac
80f02401ac Latest translation version
Updated the wiki page for the latest version for the upcoming version release
2013-03-12 16:20:17 +01:00
thomasv
c9302bcd56 add 2 of 3 sequences 2013-03-11 19:04:46 +01:00
Maran
2973f5d2c3 more label sync wip 2013-03-10 21:23:04 +01:00
ecdsa
441cc6c9cd fix 2013-03-10 16:24:52 +01:00
ecdsa
837150132d optional wait parameter for interface 2013-03-10 10:24:42 +01:00
ecdsa
49a4c6c92a do not wait for interface when launching gui 2013-03-10 10:15:09 +01:00
ecdsa
32db2aecc2 check if the wallet has a seed before signing transaction 2013-03-07 17:15:33 +01:00
ecdsa
3382354442 fix: restore wallet from master public key 2013-03-07 16:41:43 +01:00
nelisky
c504ccd61a Lack of self was a little more widespread 2013-03-06 11:40:13 +00:00
nelisky
a38e789099 Typo in importprivkey, missing self 2013-03-06 11:36:02 +00:00
ecdsa
e06e511e39 revert own commit 2013-03-05 23:10:18 +01:00
ecdsa
811f1ee848 do not run synchronize on deseeded wallets 2013-03-05 14:57:30 +01:00
ecdsa
e16451556e make help() available in console 2013-03-04 17:36:49 +01:00
ecdsa
3fe0e160ca catch http exception when wallet is offline 2013-03-04 17:20:07 +01:00
ecdsa
df3187d9a9 fix 2013-03-04 10:49:46 +01:00
ecdsa
4019102264 rename sequence, fix bip32 2013-03-04 07:43:01 +01:00
ecdsa
f97fe02e3a fix: tx outputs 2013-03-03 19:29:03 +01:00
thomasv
383a84161e fix 2013-03-03 16:49:42 +01:00
thomasv
190f733de2 restrict plugins to the gui 2013-03-03 16:01:47 +01:00
thomasv
cd9f366735 move point of sale mode into plugins 2013-03-03 13:50:08 +01:00
thomasv
0f22b5e566 fix: missing parameter 2013-03-03 11:00:27 +01:00
thomasv
5846f725d6 simplify Sequence class 2013-03-03 10:56:48 +01:00
thomasv
60cefeafca method get_private_keys for sequence 2013-03-03 10:43:08 +01:00
thomasv
27b8b21f9e mangle (for_change, index) everywhere 2013-03-03 10:24:30 +01:00
thomasv
d8361b2a97 fix: mktx amounts 2013-03-03 10:23:52 +01:00
ecdsa
8df60928ea mktx fix: add address for imported keys 2013-03-02 23:49:32 +01:00
ecdsa
b95911e2d7 check if address is imported before index lookup 2013-03-02 23:35:43 +01:00
ecdsa
736e1253f2 add class BIP32Sequence 2013-03-02 23:31:40 +01:00
thomasv
ada36b2554 plugin handler 2013-03-02 16:29:14 +01:00
thomasv
d2aefb387b show the balance of each account 2013-03-02 14:20:21 +01:00
thomasv
08a9de688a fix: save master public key on wallet creation 2013-03-02 13:45:30 +01:00
thomasv
a563091f30 separate core and gui in different modules 2013-03-02 12:26:21 +01:00
thomasv
f9f59d8dff fix 2013-03-02 11:42:26 +01:00
thomasv
97e03cb738 replace wallet.all_addresses() with wallet.addresses(True) 2013-03-02 11:40:17 +01:00
thomasv
e84d087a64 accounts 2013-03-02 11:23:08 +01:00
thomasv
f72c8ee5d2 move is_valid from wallet class to bitcoin.py 2013-03-01 14:27:56 +01:00
thomasv
f3cc234c87 missing arguments and types conversions 2013-03-01 14:08:51 +01:00
thomasv
c5e3d7fc80 prioritize 2013-03-01 13:56:30 +01:00
thomasv
fecccec53f alphabetical order 2013-03-01 13:41:59 +01:00
thomasv
19d104f023 register commands, check for their arguments 2013-03-01 13:33:11 +01:00
thomasv
4f5023e31b rename 'balance' command as 'getbalance', per bitcoind 2013-03-01 11:33:51 +01:00
thomasv
c263a92351 don't use underscore in commands. 2013-03-01 11:25:50 +01:00
thomasv
95dc97b39b rename 'addresses' command as 'listadresses'. use json syntax. 2013-03-01 11:21:10 +01:00
thomasv
3960f383e0 default parameter for addresses() command 2013-03-01 09:58:06 +01:00
ThomasV
7bf1a6248e use Decimal in listunspent 2013-03-01 06:43:08 +01:00
thomasv
7c42f09f41 improve gui.show_tx_details 2013-02-28 13:13:35 +01:00
thomasv
1f24f6f9be don't show the sequence field 2013-02-28 11:38:33 +01:00
thomasv
070a7e8b6e add stretch to raw tx tab too 2013-02-28 11:33:54 +01:00
thomasv
8a7343b61b disable testing code 2013-02-28 11:17:15 +01:00
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
ThomasV
326ddaf410 clear window on ctrl-L 2013-02-01 18:32:56 +01:00
ThomasV
8bb4628f11 Merge pull request #142 from rdymac/patch-34
import/export tab comment
2013-02-01 09:29:03 -08:00
ThomasV
c3a0c9dd36 transform the wall into a python console 2013-02-01 18:22:36 +01:00
rdymac
c7e90f401b import/export tab comment
Changed duplicated comment
2013-02-01 17:45:25 +01:00
ThomasV
e4586ee59a Merge pull request #136 from rdymac/patch-30
Electrum version in the About section
2013-01-31 02:12:07 -08:00
ThomasV
681e8a0ec5 Merge pull request #139 from rdymac/patch-33
Reviewed the entire code for missing text strings
2013-01-31 02:10:20 -08:00
thomasv
094fb8b0a0 deserialize: p2sh trnsactions 2013-01-30 20:34:26 +01:00
thomasv
789223c871 fix syntax error and indentation 2013-01-30 20:27:28 +01:00
thomasv
e1504ba80b basic functions and tests for multisig transactions and bip 32 2013-01-30 20:13:31 +01:00
Maran
515b3412b0 Hide the empty label when no version is detected 2013-01-30 16:25:48 +01:00
rdymac
1b19e98277 Reviewed the entire code for missing text strings 2013-01-30 10:16:00 +01:00
rdymac
72cab1c4ae Adding restoring process to translations (2)
"More text strings to be translated, this time from the restoring process and seedless wallets."

Fix (2): only separated the 'seedless' word, so it would be translated all over the code.
2013-01-30 08:52:24 +01:00
ThomasV
4dcac08ccf trigger synchronize when block height is received 2013-01-30 07:38:13 +01:00
thomasv
2f6d919afc more robust synchronization method 2013-01-29 14:53:13 +01:00
thomasv
c3dfeec7e7 version 1.6.2 2013-01-29 14:52:34 +01:00
thomasv
c638af7803 fix check_new_hist: transaction might not be in wallet 2013-01-29 13:19:00 +01:00
thomasv
d451b93369 bugfix: method does not exist 2013-01-28 15:35:48 +01:00
thomasv
9bd75e05e7 simplify if statement 2013-01-28 14:01:25 +01:00
thomasv
11fd811b33 count all transactions in num_tx, in order to show the correct gap 2013-01-28 13:59:23 +01:00
rdymac
3a668cc047 Electrum version in the About section
Added the Electrum version to the About section.
2013-01-28 13:39:56 +01:00
rdymac
9b9e541747 Latest wiki version for the upcoming version build
Latest wiki version for the upcoming version build
2013-01-26 18:03:46 +01:00
ThomasV
02f40be0d7 remove donation address 2013-01-24 08:11:48 +01:00
Neil Booth
d6eb9fb153 Place the change output in a random position 2013-01-23 13:23:15 +09:00
rdymac
09ab76a5cc Two more, almost everything is set to be translate
Two more, almost everything is set to be translated. Now the Classic and Lite mode are fully translated. If there anything missing I'll catch it up while digging into the code or using the app.
2013-01-21 14:15:23 +01:00
rdymac
5c4abfd059 More text strings and some fixes in new lines (2)
Fixed some new line commands and added more text strings to the translation file.

Text string splitting fixed. Thanks Animazing!
2013-01-21 13:54:05 +01:00
rdymac
df15b42748 Text strings to appear translated
Another word to be shown translated from the Lite GUI
2013-01-21 12:05:31 +01:00