Commit Graph

1068 Commits

Author SHA1 Message Date
ecdsa f07591eb5b Revert "fix tx.get_value bug with pruned transactions"
This reverts commit 8a74be39de.
2013-03-16 21:38:10 +01:00
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