ThomasV
6201133c48
fix #1263
2015-05-30 06:38:46 +02:00
ThomasV
a0c7219db0
rm debugging print
2015-05-29 19:30:00 +02:00
ThomasV
2e67ca43e8
use csv instead of mkmanytx
2015-05-29 19:26:06 +02:00
ThomasV
3ddbbc1008
Parse arguments with argparse.
...
Move parser to commands.py
2015-05-29 19:24:50 +02:00
ThomasV
9dc8393cf6
move import test to wallet.py
2015-05-28 15:39:26 +02:00
ThomasV
3fdfd23ca9
add check in importprivkey
2015-05-28 15:27:22 +02:00
mikeland86
0ec62c8f36
Fix createrawtransaction and missing deserialize()
...
Found these issues while trying to create, sign, and broadcast a raw transaction.
* createrawtransaction was using old signature for Transaction constructor
* Signwithwallet and decoderawtransaction need to call deserialize on tx before they can access inputs and outputs. (Maybe adding getInputs() and getOutputs() which deserializes if needed might be nicer)
2015-05-13 14:57:34 +02:00
ThomasV
5fa2a48343
add getmerkle command
2015-05-12 12:30:26 +02:00
ThomasV
43b8e202fd
replace instances of get_unspent_coins
2015-05-06 07:25:50 +02:00
ThomasV
687cc7783f
show unmatured coins in status bar. fixes #1163
2015-05-05 20:52:14 +02:00
ThomasV
7316f613d6
fix history command
2015-04-28 08:58:33 +02:00
Roman Zeyde
c4b306cdbe
fix Transaction.deserialize() to Transaction()
2015-03-30 18:28:24 +03:00
ThomasV
e3de121be9
store deserialized tx in/out in wallet file for fast computation
2015-03-30 14:10:46 +02:00
ThomasV
4a4624cb85
type conversion; fixes #1077
2015-03-14 16:22:47 +01:00
ThomasV
9285074f00
fix typo
2015-01-11 20:38:48 +01:00
ThomasV
0f5ab4c296
add ismine command. should fix issue #975
2015-01-11 20:37:08 +01:00
ThomasV
52e9c0b498
fix createrawtransaction, using extended serialization format
2014-12-29 20:26:00 +01:00
Nick Levesque
8fae4434c1
Added searchcontacts command
2014-11-05 18:02:44 -05:00
ThomasV
581ed1ed26
separate signtxwithkey and signtxwithwallet, and simplify sign_transaction
2014-10-30 16:36:29 +01:00
ThomasV
6361abaf4d
extended seed prefix
2014-09-09 11:51:45 +02:00
ThomasV
ca765b6622
getseed: display seed as utf8
2014-09-03 18:52:43 +02:00
ThomasV
1e75d6f854
add japanese, fix utf8
2014-09-03 17:21:43 +02:00
ThomasV
4d71707be8
add portuguese wordlist, and adapt wordlist parsing
2014-08-28 17:30:44 +02:00
ThomasV
4dcdcbc068
move mnemonic to separate class and use slush's wordlist. new commands: make_seed and check_seed
2014-08-28 15:37:42 +02:00
Janne Pulkkinen
95413cd1a9
Confirmation count included in API command history
2014-08-19 20:57:37 +03:00
ThomasV
9ee0614edb
make daemon usable with the GUI
2014-07-24 16:12:18 +02:00
ThomasV
24f40f610f
fix: update commands with new transaction constructors
2014-07-14 01:07:54 +02:00
ThomasV
1bb00ff5af
store output type explicitly in tuple
2014-07-08 19:38:16 +02:00
ThomasV
2e1d24939c
rm duplicate method getpubkey
2014-07-06 22:24:09 +02:00
Chris Glass
01f3e31c6b
First cleanup branch commit
...
This fixes some import and whitespace issues to align closer to pep8.
I added a few comments to make further contributions easier.
2014-06-24 16:12:43 +03:00
ThomasV
b28a0bcdd4
getmpk: return list of accounts
2014-06-22 08:06:37 +02:00
ThomasV
a24e32266f
help text for signrawtransaction
2014-06-22 08:05:13 +02:00
ThomasV
0636ef8b32
compact serialized format for unsigned and partially signed transactions.
2014-06-21 21:06:09 +02:00
ThomasV
501bb92584
Remove Bitcoin address from serialized encryption format. Enable encrypt commands, fix ser_to_point() and add some tests
2014-05-28 12:20:04 +02:00
ThomasV
217ba7c80c
createrawtransaction: keep all fields for input_info
2014-05-21 12:37:00 +02:00
ThomasV
8534ec603f
dumpprivkey -> getprivatekeys
2014-05-05 09:13:10 +02:00
ThomasV
563a7d99b9
rename command dumpprivkey as getprivatekeys
2014-05-05 09:11:36 +02:00
ThomasV
46c0dda3b9
sweep privkeys in gui
2014-05-01 17:35:01 +02:00
ThomasV
0ba73dfc95
restore get_master_public_key function. fixes #668
2014-04-29 12:26:58 +02:00
ThomasV
e552930d34
sweep command (does not broadcast)
2014-04-25 17:23:26 +02:00
ThomasV
a1daba6afe
get_master_public_keys
2014-04-25 10:16:07 +02:00
ThomasV
7bef756813
simplify getseed: do not return hex
2014-04-23 16:14:31 +02:00
ThomasV
f92b483942
disable encrypt/decrypt
2014-03-16 16:35:12 +01:00
ThomasV
c0378a5ba0
fix getservers: wait until they are available
2014-03-15 11:04:11 +01:00
ThomasV
051853556e
change the format returned by history command
2014-03-12 09:52:17 +01:00
ThomasV
fb8e2fe7eb
change decrypt syntax
2014-03-11 14:11:45 +01:00
ThomasV
da6f292dd5
encrypt/decrypt messages in gui
2014-03-03 10:39:10 +01:00
ThomasV
9d5f39c235
fix createrawtransaction (issue #574 )
2014-03-02 19:24:44 +01:00
ThomasV
f37b23b2a7
rename command: getutxoaddress
2014-03-02 11:02:45 +01:00
ThomasV
a5629539e4
add timeout to daemon, update getaddressbalance
2014-03-02 10:31:34 +01:00
ThomasV
b6be8e6a31
new command: getunspentaddress
2014-01-30 15:16:49 +01:00
ThomasV
ae43837a7b
use standard format for private key passed to decrypt
2014-01-30 14:57:32 +01:00
ThomasV
631c967df9
new commands: encrypt and decrypt messages
2014-01-30 14:43:46 +01:00
ThomasV
1c35e15de7
get_proof command
2014-01-29 16:48:24 +01:00
ThomasV
7c6bc72cb4
daemon
2014-01-27 10:37:39 +01:00
ThomasV
d4fbe85d7d
json rpc daemon
2014-01-27 10:37:39 +01:00
ThomasV
969c4c2194
fix for getrawtransaction
2014-01-13 21:27:31 +01:00
Michael Pearce
0a896a6616
Update commands.py
...
Fixed command example for getaddressbalance.
2013-12-23 18:18:27 -08:00
ThomasV
48a739f714
fix gerversion
2013-12-21 18:32:57 +01:00
ThomasV
5f8775cd3a
fix sendrawtransaction
2013-12-21 18:29:09 +01:00
flatfly
4d085f111c
fix for getversion
...
i had pasted the wrong definition, sorry
2013-12-01 14:38:27 +01:00
flatfly
6751d23c79
added getversion command
2013-12-01 09:42:22 +01:00
ThomasV
9b22372c43
remove prioritize altogether.
2013-11-22 16:55:43 +01:00
Bryan Stitt
91061752cf
stop using eval
2013-11-11 22:03:20 -08:00
Bryan Stitt
225d8b83a3
don't use bare except
2013-11-09 21:23:57 -08:00
Bryan Stitt
f0eb0eccde
replace BaseException with Exception
2013-11-09 20:21:02 -08:00
ThomasV
6197b8b8dc
fix validateaddress
2013-11-04 12:41:43 +01:00
ThomasV
536c898b59
restore from master public key with seed v4
2013-11-03 14:14:35 +01:00
ThomasV
31aaae8ed2
seed v6
2013-10-26 16:40:05 +02:00
ThomasV
8b1c6fba68
remove -b option for listaddresses (fix issue #343 )
2013-10-24 09:45:41 +02:00
AdamISZ
399f901479
import Transaction object for multisig to work
2013-10-21 23:19:30 +03:00
ThomasV
554d8dd3b7
fix typo in help
2013-10-18 12:28:58 +02:00
ThomasV
f14d055ad8
choose_tx_from account, and use deterministic signatures (issue #323 )
2013-10-05 21:15:48 +02:00
ThomasV
6f2471b69b
getpubkeys command
2013-10-03 13:31:59 +02:00
ThomasV
2f66cdf908
new flag for commands: requires_wallet
2013-10-03 12:53:48 +02:00
ThomasV
7a5016ec42
move synchronous_get to network.py, fix get_balance script
2013-10-03 10:05:01 +02:00
ThomasV
2a7f46ce55
new command: getservers (fix for issue #306 )
2013-10-02 13:50:36 +02:00
thomasv
30f7d23297
do not show pubkeu in validateaddress if the key is imported
2013-09-15 15:13:04 +02:00
thomasv
d6af11a8fe
getrawtransaction: first check if tx is in wallet
2013-09-15 12:50:19 +02:00
thomasv
b75f8d795a
new command: getrawtransaction
2013-09-15 11:19:48 +02:00
ThomasV
f957837e21
custom json encoder for transactions
2013-09-14 21:53:56 +02:00
ThomasV
d51a8d0f25
create a class for transaction dialog
2013-09-14 21:07:54 +02:00
Fredrick
048caf7a99
Fix dumpprivkeys
2013-09-10 16:07:09 -04:00
ThomasV
b3e880b587
fix: typo, set_label
2013-09-08 20:12:03 +02:00
ThomasV
cd6832df2e
set_label
2013-09-08 20:10:43 +02:00
nelisky
1b0db8414b
implementing paytomany (untested)
...
Just like mktx/payto, this is only submitting the tx created in mksendmanytx
2013-08-18 02:09:25 +02:00
nelisky
bf173e1c45
implementing mksendmanytx
...
A simple argument parsing change from mktx to allow passing multiple recipients
2013-08-18 02:07:59 +02:00
ThomasV
0424d5eb85
update signrawtransaction
2013-08-17 09:53:46 +02:00
ecdsa
b2c23f9ac8
deprecate wallet.save() and 'eval' command
2013-05-02 10:54:48 +02:00
ecdsa
97e849a248
move verify_message to wallet
2013-05-01 10:40:44 +02:00
Julian Tosh
63f33b64d0
Slightly modifying help output for clarity
2013-04-22 12:19:13 -07:00
thomasv
b0f993e7cf
getaddressbalance needs 1 argument
2013-04-17 16:45:52 +02:00
thomasv
dcd73df929
add getaddressbalance command, and use getbalance only for accounts
2013-04-16 16:05:45 +02:00
thomasv
e89331d138
handle multiple accounts with separation
2013-04-06 18:44:31 +02:00
thomasv
c3dc2d5284
fix: command line with no password
2013-03-13 14:29:50 +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
e16451556e
make help() available in console
2013-03-04 17:36:49 +01:00
thomasv
d8361b2a97
fix: mktx amounts
2013-03-03 10:23:52 +01:00
thomasv
97e03cb738
replace wallet.all_addresses() with wallet.addresses(True)
2013-03-02 11:40:17 +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
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
58be7c73c5
callback -> _callback
2013-02-27 12:40:16 +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
2cb5b14b9b
deep copy output to prevent side-effect
2013-02-27 09:09:58 +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
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