ThomasV
e9b346ed29
add command for master private key
2015-08-14 15:23:50 +02:00
ThomasV
65c7dfafbc
check alias in signrequest
2015-08-07 09:00:00 +02:00
ThomasV
34e3261efd
fix estimate_fee
2015-08-06 19:26:34 +02:00
ThomasV
e93ff18776
rename help -> commands
2015-08-06 15:52:38 +02:00
ThomasV
43880d452e
dynamic fees
2015-08-05 15:45:28 +02:00
ThomasV
465d1dfd8b
fix #1378
2015-07-31 14:51:48 +02:00
ThomasV
6d54512627
clearrequests command; minor type fix
2015-07-22 15:46:53 +02:00
ThomasV
8f507d2afd
change var name
2015-07-22 09:24:44 +02:00
ThomasV
acbd434f76
cleanup request signing
2015-07-22 09:06:03 +02:00
ThomasV
471cab6089
do not base64encode signatures in requests
2015-07-14 16:37:04 +02:00
ThomasV
fbc23a61a3
fix cmdline addrequest
2015-07-11 21:03:02 +02:00
ThomasV
616becd9a8
move openalias from plugins to core
2015-07-02 12:44:53 +02:00
Roman Zeyde
daee02e22d
commands: fix typo
...
rename "sec" to "privkey"
2015-07-01 18:15:35 +03:00
ThomasV
74d26f5bdc
better error message
2015-06-15 10:52:03 +02:00
ThomasV
d75d3fdf5b
fix --pending option
2015-06-12 20:15:53 +02:00
ThomasV
42084a3610
improve docstrings
2015-06-12 10:34:45 +02:00
ThomasV
1fbbd5d65d
require network to show request status
2015-06-12 09:58:29 +02:00
ThomasV
cbcb799eec
add filtering options for listrequests
2015-06-12 09:46:21 +02:00
ThomasV
f3597f865b
--force option for addrequest
2015-06-11 20:44:38 +02:00
ThomasV
db6c69f0da
Merge pull request #1289 from Kefkius/patch-1
...
Fix typo in param_descriptions
2015-06-11 13:47:06 +02:00
ThomasV
a103f59686
new flags for listaddresses
2015-06-11 12:49:14 +02:00
ThomasV
ba78093e2e
getalias: no check
2015-06-11 12:08:38 +02:00
Kefkius
b6e4013a9d
Fix typo in param_descriptions
...
heigh --> height
2015-06-11 04:55:08 -04:00
ThomasV
e5b5e8d0f4
comment our ackrequest
2015-06-11 10:50:25 +02:00
ThomasV
16344b43af
fix issue #1282
2015-06-11 08:56:07 +02:00
ThomasV
5714d9f4fc
shorter docstrings
2015-06-10 23:48:36 +02:00
ThomasV
145bf5cf0a
rename decodetx and sendtx commands. merge mktx and payto commands.
2015-06-10 23:21:25 +02:00
ThomasV
e067e34313
make global options: -w and -o
2015-06-10 22:29:31 +02:00
ThomasV
f70a996619
fix trezor initialiation hook (pass window in load_wallet)
2015-06-09 09:58:40 +02:00
ThomasV
9bd94e5062
refactor payment requests
2015-06-08 12:51:45 +02:00
ThomasV
572a463806
reason->memo
2015-06-08 08:06:38 +02:00
ThomasV
3bb00f0006
store json record requests
2015-06-07 21:52:23 +02:00
ThomasV
bf755f8ac0
jsonrpc interface
2015-06-07 19:11:54 +02:00
ThomasV
48e53498db
improve requests
2015-06-07 18:44:33 +02:00
ThomasV
ec795ba3c0
fix var name
2015-06-03 11:39:44 +02:00
ThomasV
ab60da89ac
Add a help group for config variables. Change name of ssl variables
2015-06-03 11:34:52 +02:00
ThomasV
0ddd94b5b3
remove forgotten debugging statement
2015-06-03 10:03:55 +02:00
ThomasV
ca62df89d4
fix: set_config
2015-06-03 10:02:12 +02:00
ThomasV
cbeeedcca2
Add note for commands that are not SPV; fix format_request parameter
2015-06-03 09:12:38 +02:00
ThomasV
088d8e8415
show request status
2015-06-02 11:36:06 +02:00
ThomasV
e4946cf26e
setconfig: return False on error
2015-06-02 11:05:21 +02:00
ThomasV
31c4849566
url_rewrite
2015-06-02 10:41:36 +02:00
ThomasV
b83b7fa5c8
cmd line: format payment requests
2015-06-02 10:25:39 +02:00
ThomasV
2727df962e
requests: store path not url
2015-06-02 09:56:10 +02:00
ThomasV
514ea6aa8c
doc for addrequest
2015-06-02 09:31:24 +02:00
ThomasV
d41785c783
save payment requests in requests_dir
2015-06-02 09:18:39 +02:00
ThomasV
0938299e9b
move payment requests logic to wallet, add basic commands
2015-06-01 13:02:09 +02:00
Neil Booth
03e53a5e01
Create a constant for 100000000 and use it
...
Use same name as is in bitcoind.
Note that one of the constants in text.py had the wrong number
of zeroes previously...
2015-06-01 14:53:36 +09:00
ThomasV
4d9be9a6d2
commands: use decorator to register commands
2015-06-01 06:10:06 +02:00
ThomasV
7e20901e3b
read command defaults
2015-06-01 00:17:50 +02:00
ThomasV
c3f82fd69c
fix cmd descriptions
2015-05-31 23:23:13 +02:00
ThomasV
f8eb68458d
use docstrings
2015-05-31 23:17:44 +02:00
ThomasV
ddd6a58cc7
commands: extract params and options from arguments
2015-05-31 22:42:34 +02:00
ThomasV
1d5c6bdc2d
deserialized option for mktx
2015-05-31 18:21:14 +02:00
ThomasV
4042ac69ec
fix varname
2015-05-31 18:03:58 +02:00
ThomasV
9c76a0232e
distinction between 'destination' and 'address'
2015-05-31 18:02:09 +02:00
ThomasV
200563c4e9
fix sweep fee
2015-05-31 17:49:59 +02:00
ThomasV
c4d822b0cf
add 'unsigned' option
2015-05-31 17:38:57 +02:00
ThomasV
ee20910c65
fix signtransaction flags
2015-05-31 17:21:02 +02:00
ThomasV
a3cd33fe03
add option to disable dnssec
2015-05-31 16:43:27 +02:00
ThomasV
9be94c74d2
add getalias command
2015-05-31 15:06:52 +02:00
ThomasV
8513dd2c63
fix cmd names
2015-05-31 15:00:56 +02:00
ThomasV
ee5f499fc1
use contacts in command line
2015-05-31 14:10:52 +02:00
ThomasV
5cd3bfedb6
always pass coins to wallet.make_unsigned_transactions. fix \! shortcut in commands
2015-05-31 11:31:41 +02:00
ThomasV
0531f00c80
support for \! shortcut in command line
2015-05-31 10:40:12 +02:00
ThomasV
0caa29784c
separate param_descriptions and improve help messages
2015-05-31 10:03:53 +02:00
ThomasV
cc610d352f
merge signtxwithwallet and signtxwithkey
2015-05-31 09:28:47 +02:00
ThomasV
1d5f04c588
fix function name
2015-05-31 08:49:47 +02:00
ThomasV
53a3f00389
add --deserialize option to gettransaction
2015-05-31 08:20:09 +02:00
ThomasV
9acc0e4ed0
minor formatting
2015-05-31 08:06:20 +02:00
ThomasV
bd6bfcea0e
Merge pull request #1267 from kyuupichan/spendable_coins
...
get_spendable_coins and frozen addrs
2015-05-31 07:53:43 +02:00
Neil Booth
320f9a3790
get_spendable_coins and frozen addrs
...
Two callers of get_spendable_coins were removing frozen addrs
before calling. Put that functionality in the function.
We shouldn't be able to send_from a frozen address. This was
possible in the current release because logic assumed a two-element
tuple was returned when it is now three-element. Fix that too.
Command line options listunspent and createrawtransaction currently
ignore frozen addresses. I'm not sure that's right but I've preserved
that behaviour.
With this patch only the wallet class refers to self.frozen_addresses;
other clients use is_frozen() now.
2015-05-31 14:07:50 +09:00
ThomasV
00ded10810
fix: freeze does not need password
2015-05-31 06:45:51 +02:00
Neil Booth
0f29984f07
Speed up freezing and unfreezing of many addresses
...
Speedup mainly from writing to storage only once.
Make frozen_addresses a set in memory, as sets give cleaner
code and are more efficient.
Minor change in behaviour: command line freezing used to return
False if the address isn't in the wallet OR the address was already
frozen. Now it returns more like a success code: it returns False
only if the address isn't in the wallet regardless of frozen state.
Similarly for unfreezing.
2015-05-31 11:54:21 +09:00
ThomasV
d6f4b57d64
help function for python console
2015-05-30 19:13:28 +02:00
ThomasV
92a158b910
proper handling of arg_types. add more options for listaddresses
2015-05-30 18:49:58 +02:00
ThomasV
2ab9272f52
fix positional arguments
2015-05-30 16:14:56 +02:00
ThomasV
966bb3c15f
separate help and description for commands
2015-05-30 14:07:48 +02:00
ThomasV
0ad73b0899
better help
2015-05-30 13:38:05 +02:00
ThomasV
d2f3e3f349
fix cmdline listcontacts
2015-05-30 12:35:58 +02:00
ThomasV
48f98f75db
improve help messages
2015-05-30 09:43:42 +02:00
ThomasV
bf1aa6263c
add description to command parameters
2015-05-30 09:36:54 +02:00
ThomasV
5dd535f915
move global options to parent, to avoid order-sensitive parsing
2015-05-30 07:58:47 +02:00
ThomasV
701527df20
fix -P option
2015-05-30 06:56:45 +02:00
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