Branch: refs/heads/master
Home: https://github.com/btcsuite/btcd
Commit: c0428f6f9f9ccd6788971d9dd4e3c253ab3ec706
https://github.com/btcsuite/btcd/commit/c0428f6f9f9ccd6788971d9dd4e3c253ab3ec706
Author: Dave Collins <[email protected]>
Date: 2015-02-25 (Wed, 25 Feb 2015)
Changed paths:
M btcjson/v2/btcjson/chainsvrcmds.go
M btcjson/v2/btcjson/chainsvrcmds_test.go
M rpcserver.go
Log Message:
-----------
btcjson: Update searchrawtransactions verbose.
This commit updates the SearchRawTransactionsCmd verbose parameter in the
latest version of btcjson to an integer to match recent changes to the
previous version of btcjson.
Commit: 5a800b958068e0adb392e32ffb6c3f1bbe35618d
https://github.com/btcsuite/btcd/commit/5a800b958068e0adb392e32ffb6c3f1bbe35618d
Author: Dave Collins <[email protected]>
Date: 2015-02-25 (Wed, 25 Feb 2015)
Changed paths:
M cmd/btcctl/btcctl.go
M cmd/btcctl/config.go
A cmd/btcctl/httpclient.go
Log Message:
-----------
Rewrite btcctl to use the new features of btcjson.
This commit contains what is essentially a complete rewrite of the btcctl
utility to make use of the new features provided by the latest version
btcjson and improve several things along the way. The following
summarizes the changes:
- The supported commands and handling now come directly from btcjson, so
it is no longer necessary to manually add new commands. Once a command
has been registered with btcjson, it will automatically become usable by
btcctl complete with full error handling (once it is re-compiled of
course)
- Rather than dumping the entire list of commands on every error, the user
now must specifically request the list of command via the -l option
- The list of commands is now categorized by chain and wallet and
alphabetized
- The help flag now only shows the help options instead of also dumping
all of the commands
- The error display on valid commands with invalid parameters has been
greatly improved to show the specific parameter number, reason, and
error code
- When a valid command is specified with invalid parameter, only the usage
for that specific command is shown now
- It is now possible to use a SOCKS5 proxy for connection
- The output of commands has been improved in the following ways:
- Strings on commands such as getbestblockhash no longer have quotes
wrapped around them
- Fields that are integers no longer show in scientific notation when
they are large (timestamps for example)
This closes #305 as a side effect.
Compare: https://github.com/btcsuite/btcd/compare/859d9a7520a4...5a800b958068