Branch: refs/heads/master
Home: https://github.com/btcsuite/btcd
Commit: d5f4e5e989e2b315a5c04300fa6c8fd191f5f5be
https://github.com/btcsuite/btcd/commit/d5f4e5e989e2b315a5c04300fa6c8fd191f5f5be
Author: Dave Collins <[email protected]>
Date: 2013-05-10 (Fri, 10 May 2013)
Changed paths:
A .gitignore
A README.md
Log Message:
-----------
Initial commit.
Commit: d0d58c54db28d1a84bcc9b8effd985f59135972c
https://github.com/btcsuite/btcd/commit/d0d58c54db28d1a84bcc9b8effd985f59135972c
Author: John C. Vernaleo <[email protected]>
Date: 2013-05-13 (Mon, 13 May 2013)
Changed paths:
A LICENSE
M README.md
A cov_report.sh
A doc.go
A internal_test.go
A jsonapi.go
A jsonapi_test.go
A jsonfxns.go
A test_coverage.txt
Log Message:
-----------
Initial implementation.
Commit: 648e6317bb20f5fac32c717f393da7d69c40bdf7
https://github.com/btcsuite/btcd/commit/648e6317bb20f5fac32c717f393da7d69c40bdf7
Author: Dave Collins <[email protected]>
Date: 2013-05-13 (Mon, 13 May 2013)
Changed paths:
M jsonapi.go
Log Message:
-----------
Fix comment typo -- implimented -> implemented.
Commit: 2fc8982be59ad8e2bca6a5ac40ab1e497030c846
https://github.com/btcsuite/btcd/commit/2fc8982be59ad8e2bca6a5ac40ab1e497030c846
Author: John C. Vernaleo <[email protected]>
Date: 2013-05-15 (Wed, 15 May 2013)
Changed paths:
M jsonfxns.go
A jsonfxns_test.go
M test_coverage.txt
Log Message:
-----------
Add tests for MarshallAndSend function.
Commit: c896d6162517105218119df0addebb220e3e64c2
https://github.com/btcsuite/btcd/commit/c896d6162517105218119df0addebb220e3e64c2
Author: Dave Collins <[email protected]>
Date: 2013-05-15 (Wed, 15 May 2013)
Changed paths:
M doc.go
Log Message:
-----------
Improve examples in package overview documentation.
This commit makes the examples a little more clear by providing complete
examples of the two different types of replies. These changes were
prompted by PaulCapes on IRC who pointed out the previous example was not
very clear.
ok jcv@
Commit: 7b4aeb23539b52e3b0a4e40eb4270460b7b00322
https://github.com/btcsuite/btcd/commit/7b4aeb23539b52e3b0a4e40eb4270460b7b00322
Author: AndreasM <[email protected]>
Date: 2013-05-31 (Fri, 31 May 2013)
Changed paths:
M jsonapi.go
Log Message:
-----------
the JSON-RPC 1.0 spec allows the id to be of any type
Commit: 4ab8ca5eef57e22f74b8312159a834a4d9d7d085
https://github.com/btcsuite/btcd/commit/4ab8ca5eef57e22f74b8312159a834a4d9d7d085
Author: John C. Vernaleo <[email protected]>
Date: 2013-05-31 (Fri, 31 May 2013)
Changed paths:
M jsonapi.go
M jsonapi_test.go
Log Message:
-----------
Add code to test for allowable types in json rpc id field along with test
code for the new function.
Commit: 27b69ccca3819cc9e9f3a45cf5115a03b4866c0a
https://github.com/btcsuite/btcd/commit/27b69ccca3819cc9e9f3a45cf5115a03b4866c0a
Author: AndreasM <[email protected]>
Date: 2013-06-13 (Thu, 13 Jun 2013)
Changed paths:
M jsonapi.go
M jsonfxns.go
Log Message:
-----------
unhide error message from jsonRpcSend
Commit: e4a80edc9572f8bc07638211b946dd1f50121501
https://github.com/btcsuite/btcd/commit/e4a80edc9572f8bc07638211b946dd1f50121501
Author: John C. Vernaleo <[email protected]>
Date: 2013-06-14 (Fri, 14 Jun 2013)
Changed paths:
M jsonfxns.go
Log Message:
-----------
Clean the error message on connect failure so username and password is not
shown.
Commit: 21d1240502acfa40881d128e0fb6d6f45aaf1ee0
https://github.com/btcsuite/btcd/commit/21d1240502acfa40881d128e0fb6d6f45aaf1ee0
Author: John C. Vernaleo <[email protected]>
Date: 2013-06-14 (Fri, 14 Jun 2013)
Changed paths:
M test_coverage.txt
Log Message:
-----------
Update test_coverage.txt
Commit: 2a475d729999ff71607acd07d97b906175e2285c
https://github.com/btcsuite/btcd/commit/2a475d729999ff71607acd07d97b906175e2285c
Author: John C. Vernaleo <[email protected]>
Date: 2013-06-14 (Fri, 14 Jun 2013)
Changed paths:
M jsonfxns.go
M test_coverage.txt
Log Message:
-----------
Need to test for nil before regex.
Commit: 10542e057389ef8d282bec4aadf7e99dd9b8eac6
https://github.com/btcsuite/btcd/commit/10542e057389ef8d282bec4aadf7e99dd9b8eac6
Author: Dave Collins <[email protected]>
Date: 2013-06-14 (Fri, 14 Jun 2013)
Changed paths:
M jsonfxns.go
M test_coverage.txt
Log Message:
-----------
Optimize and improve credential stripping code.
Since we already have the specific username and password we want to strip
from errors, use a specific search string rather than a generic regular
expression. This is quite a bit more efficient than using regular
expressions and also has the benefit of being more accurate.
Also, rather than using the added overhead of fmt to convert the error to
a string, just call Error() directly on it to get the string.
Finally, instead of just stripping it, replace it with the literal
string "<username>:<password>" to avoid any possible confusion in the
error messages where it might otherwise appear the url was being
constructed incorrectly.
ok jcv@
Commit: 39cef5e76a845248e325c6bb07bf78dac96c3def
https://github.com/btcsuite/btcd/commit/39cef5e76a845248e325c6bb07bf78dac96c3def
Author: John C. Vernaleo <[email protected]>
Date: 2013-07-08 (Mon, 08 Jul 2013)
Changed paths:
M jsonapi.go
Log Message:
-----------
Fix typo in command name getaddressesbyaccount.
Caught by jrick@
Commit: 86f848ddd478003483eb4d86fcd7805828b68d0a
https://github.com/btcsuite/btcd/commit/86f848ddd478003483eb4d86fcd7805828b68d0a
Author: John C. Vernaleo <[email protected]>
Date: 2013-07-08 (Mon, 08 Jul 2013)
Changed paths:
M jsonapi.go
M jsonapi_test.go
M test_coverage.txt
Log Message:
-----------
Convert floats to int64.
Following the example of bitcoind and the bitcoin wiki, provide a
function to convert floats (which are returned by the json-rpc server)
to int64 (which is the normal representation for most values involving
bitcoins).
Commit: 39a1be8682426a94a6d354a16f8362ca40f0f02e
https://github.com/btcsuite/btcd/commit/39a1be8682426a94a6d354a16f8362ca40f0f02e
Author: John C. Vernaleo <[email protected]>
Date: 2013-07-11 (Thu, 11 Jul 2013)
Changed paths:
M internal_test.go
M test_coverage.txt
Log Message:
-----------
Increase test coverage.
Commit: e3c9ebd26f1e37b4874f911140721805253265bb
https://github.com/btcsuite/btcd/commit/e3c9ebd26f1e37b4874f911140721805253265bb
Author: John C. Vernaleo <[email protected]>
Date: 2013-07-11 (Thu, 11 Jul 2013)
Changed paths:
M internal_test.go
M jsonapi.go
M test_coverage.txt
Log Message:
-----------
Add more concrete types.
Add concrete return type for getaddressesbyaccount and make some of
the other command type handeling more explicit in the code.
Commit: 796df5b105e64fb5178d2a7594e61f9660276bd5
https://github.com/btcsuite/btcd/commit/796df5b105e64fb5178d2a7594e61f9660276bd5
Author: John C. Vernaleo <[email protected]>
Date: 2013-07-12 (Fri, 12 Jul 2013)
Changed paths:
M README.md
M internal_test.go
M jsonapi.go
M test_coverage.txt
Log Message:
-----------
Tests and typos.
Increase test coverage.
Fix spelling and typos in a comment.
Minor update to todo in README.md
Commit: a0dd367cd9c19fee617a7bfe75199317f6c12bf5
https://github.com/btcsuite/btcd/commit/a0dd367cd9c19fee617a7bfe75199317f6c12bf5
Author: John C. Vernaleo <[email protected]>
Date: 2013-07-12 (Fri, 12 Jul 2013)
Changed paths:
M jsonapi.go
M test_coverage.txt
Log Message:
-----------
Add a few more commands with known types.
Commit: 7a1a05d69536b97095dace9c5b7b81328fd958b0
https://github.com/btcsuite/btcd/commit/7a1a05d69536b97095dace9c5b7b81328fd958b0
Author: John C. Vernaleo <[email protected]>
Date: 2013-07-15 (Mon, 15 Jul 2013)
Changed paths:
M jsonapi.go
Log Message:
-----------
Clarify comment and add command to concrete type list.
Commit: ed7214afda98d5f83da644fa0f9e0b632c279965
https://github.com/btcsuite/btcd/commit/ed7214afda98d5f83da644fa0f9e0b632c279965
Author: John C. Vernaleo <[email protected]>
Date: 2013-07-16 (Tue, 16 Jul 2013)
Changed paths:
M internal_test.go
M jsonapi.go
M test_coverage.txt
Log Message:
-----------
Add types for a few more commands.
Add types for getmininginfo, getrawmempool, stop, and settxfee along
with tests.
Commit: 3b6c9b6d78452439254d0a71c733212b5858b427
https://github.com/btcsuite/btcd/commit/3b6c9b6d78452439254d0a71c733212b5858b427
Author: John C. Vernaleo <[email protected]>
Date: 2013-07-16 (Tue, 16 Jul 2013)
Changed paths:
M internal_test.go
M jsonapi.go
M test_coverage.txt
Log Message:
-----------
Simplify some code and increase test coverage.
Commit: f8fdabe53b361f8b78595153150ae15c52d4f3a2
https://github.com/btcsuite/btcd/commit/f8fdabe53b361f8b78595153150ae15c52d4f3a2
Author: John C. Vernaleo <[email protected]>
Date: 2013-07-16 (Tue, 16 Jul 2013)
Changed paths:
M jsonapi.go
M jsonapi_test.go
Log Message:
-----------
Fix some error formatting from go vet.
Commit: 285faf8c75170bf0bb02055de212008f523b1b7f
https://github.com/btcsuite/btcd/commit/285faf8c75170bf0bb02055de212008f523b1b7f
Author: John C. Vernaleo <[email protected]>
Date: 2013-08-05 (Mon, 05 Aug 2013)
Changed paths:
M jsonapi.go
Log Message:
-----------
Add additional commands to ones we know return data type.
getaccount and getnewaddress
Commit: b28cded23e5817799108048457502098d48df32e
https://github.com/btcsuite/btcd/commit/b28cded23e5817799108048457502098d48df32e
Author: John C. Vernaleo <[email protected]>
Date: 2013-08-09 (Fri, 09 Aug 2013)
Changed paths:
M internal_test.go
M jsonapi.go
M jsonapi_test.go
M test_coverage.txt
Log Message:
-----------
Add return types for additional commands and bug fixes.
Add return types for serveral additional commands.
Fix required vs. optional arguments for createrawtransaction.
Update tests and test coverage for all changes.
Commit: da7e87235429f9a5458ca4244b6adbb8ca604ac4
https://github.com/btcsuite/btcd/commit/da7e87235429f9a5458ca4244b6adbb8ca604ac4
Author: John C. Vernaleo <[email protected]>
Date: 2013-08-09 (Fri, 09 Aug 2013)
Changed paths:
M internal_test.go
M jsonapi.go
M test_coverage.txt
Log Message:
-----------
Add proper result type for listunspent.
Commit: dc2fe40a3d9fe7749f340c6de5f4bef60c9a2df1
https://github.com/btcsuite/btcd/commit/dc2fe40a3d9fe7749f340c6de5f4bef60c9a2df1
Author: John C. Vernaleo <[email protected]>
Date: 2013-08-12 (Mon, 12 Aug 2013)
Changed paths:
M jsonapi.go
Log Message:
-----------
Fix comment typo noticed by jrick@
Commit: c8bb6b304e2fdcc8d7a875b9b2fa47128c48c79d
https://github.com/btcsuite/btcd/commit/c8bb6b304e2fdcc8d7a875b9b2fa47128c48c79d
Author: John C. Vernaleo <[email protected]>
Date: 2013-08-12 (Mon, 12 Aug 2013)
Changed paths:
M jsonapi.go
M jsonapi_test.go
Log Message:
-----------
Correct optional parameters for listsinceblock.
Fixes #3
Commit: 96a68227bdeaf8a951a16020e7cd56380cc99479
https://github.com/btcsuite/btcd/commit/96a68227bdeaf8a951a16020e7cd56380cc99479
Author: John C. Vernaleo <[email protected]>
Date: 2013-08-13 (Tue, 13 Aug 2013)
Changed paths:
M internal_test.go
M jsonapi.go
M jsonapi_test.go
M test_coverage.txt
Log Message:
-----------
Add RpcRawCommand and export ReadResultCommand.
Add new RpcRawCommand to get []byte represtation of reply instead of
btcjson.Result.
Export ReadResultCommand to allow caller of RpcRawCommand to deal with
the reply in the same way RpcCommand does.
Adjust test code to for the above changes.
Commit: a456d195d6f2dbcb9ee482288c559742e40a1277
https://github.com/btcsuite/btcd/commit/a456d195d6f2dbcb9ee482288c559742e40a1277
Author: John C. Vernaleo <[email protected]>
Date: 2013-08-13 (Tue, 13 Aug 2013)
Changed paths:
M jsonapi.go
Log Message:
-----------
Add JSONGetMethod to get method name from raw json reply.
Commit: 2e77f0bb0e0c9ed0e17a78ec940548efd29efe97
https://github.com/btcsuite/btcd/commit/2e77f0bb0e0c9ed0e17a78ec940548efd29efe97
Author: John C. Vernaleo <[email protected]>
Date: 2013-08-13 (Tue, 13 Aug 2013)
Changed paths:
M internal_test.go
M jsonapi.go
M test_coverage.txt
Log Message:
-----------
Add CreateMessageWithId to allow custom id to be sent with message.
Commit: 7a7fa56407005328f81440869a533d0ca486baae
https://github.com/btcsuite/btcd/commit/7a7fa56407005328f81440869a533d0ca486baae
Author: John C. Vernaleo <[email protected]>
Date: 2013-08-13 (Tue, 13 Aug 2013)
Changed paths:
M jsonapi.go
Log Message:
-----------
Make id an interface in CreateMessageWithId to match the struct better.
Commit: 5d40d51672376946bf32ae70921efd870976f2e8
https://github.com/btcsuite/btcd/commit/5d40d51672376946bf32ae70921efd870976f2e8
Author: John C. Vernaleo <[email protected]>
Date: 2013-08-14 (Wed, 14 Aug 2013)
Changed paths:
M jsonapi.go
M jsonapi_test.go
M test_coverage.txt
Log Message:
-----------
Correct bug in walletpassphrase arguements.
Thanks to pureveg and hngchiming for pointing it out.
Commit: b0ca6d590325a42c870a8511ad2d0c0c11f627ba
https://github.com/btcsuite/btcd/commit/b0ca6d590325a42c870a8511ad2d0c0c11f627ba
Author: John C. Vernaleo <[email protected]>
Date: 2013-08-15 (Thu, 15 Aug 2013)
Changed paths:
M jsonfxns.go
Log Message:
-----------
Fix typo in comment.
Commit: dc9618c9ab1ec795fb76aaa3edd3aea94fbdfbf0
https://github.com/btcsuite/btcd/commit/dc9618c9ab1ec795fb76aaa3edd3aea94fbdfbf0
Author: John C. Vernaleo <[email protected]>
Date: 2013-10-01 (Tue, 01 Oct 2013)
Changed paths:
M jsonapi.go
M test_coverage.txt
Log Message:
-----------
Add a Error() to the Error struct.
Resolves #6
Commit: 5444d262b80de5056fce0d6a9194c0ade3a73268
https://github.com/btcsuite/btcd/commit/5444d262b80de5056fce0d6a9194c0ade3a73268
Author: John C. Vernaleo <[email protected]>
Date: 2013-10-04 (Fri, 04 Oct 2013)
Changed paths:
M jsonapi.go
M jsonapi_test.go
M test_coverage.txt
Log Message:
-----------
Fix for signrawtransaction.
Add sendrawtransaction to list of commands we know the return type
for.
Commit: 7ad6d73416fb3c31f5bfcbb073f93a79ee709089
https://github.com/btcsuite/btcd/commit/7ad6d73416fb3c31f5bfcbb073f93a79ee709089
Author: John C. Vernaleo <[email protected]>
Date: 2013-10-11 (Fri, 11 Oct 2013)
Changed paths:
M jsonapi.go
M jsonapi_test.go
Log Message:
-----------
Add support for recent commands:
getrawchangeaddress and getbestblockhash.
Commit: 31489c15b3a178562aa4245a83e353414ddeb044
https://github.com/btcsuite/btcd/commit/31489c15b3a178562aa4245a83e353414ddeb044
Author: Josh Rickmar <[email protected]>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M jsonapi.go
M jsonapi_test.go
Log Message:
-----------
Remove the embedded error and satisify the builtin error interface
This also adds tests to verify that the created error string follows
the expected format of "code: message" and tests to verify that Error
can be used as an error. Additionally, the idiom
var _, _ error = Error{}, &Error{}
was added so the build will fail if the builtin error interface is
never satisified in the future.
Commit: 440f336d349869a00d7367b94caa9606873492c3
https://github.com/btcsuite/btcd/commit/440f336d349869a00d7367b94caa9606873492c3
Author: John C. Vernaleo <[email protected]>
Date: 2013-10-21 (Mon, 21 Oct 2013)
Changed paths:
M jsonapi.go
M jsonapi_test.go
Log Message:
-----------
Correct addnode's required argument type.
Commit: 850870f14b3ce35da30bb765df5472b6102d9537
https://github.com/btcsuite/btcd/commit/850870f14b3ce35da30bb765df5472b6102d9537
Author: John C. Vernaleo <[email protected]>
Date: 2013-10-22 (Tue, 22 Oct 2013)
Changed paths:
M jsonapi.go
Log Message:
-----------
Fix some doc typos (from oga@)
Commit: 9ddb768c47601c0ad3838303a9228bd1cc6f9a70
https://github.com/btcsuite/btcd/commit/9ddb768c47601c0ad3838303a9228bd1cc6f9a70
Author: John C. Vernaleo <[email protected]>
Date: 2013-10-22 (Tue, 22 Oct 2013)
Changed paths:
A jsonerr.go
Log Message:
-----------
Define errors.
Define errors (previously done in btcwallet and btcd's rpcserver) in
one place so they can just be called by name rather than generated in
code using btcjson.
Closes #5
Commit: cbd3d730a91fa92a851aa4aa97053a0dc628e8c4
https://github.com/btcsuite/btcd/commit/cbd3d730a91fa92a851aa4aa97053a0dc628e8c4
Author: John C. Vernaleo <[email protected]>
Date: 2013-10-22 (Tue, 22 Oct 2013)
Changed paths:
M jsonapi.go
M jsonapi_test.go
Log Message:
-----------
Add initial support for submitblock command.
Closes #7
Commit: 6227c446d3a9871f66a84763adff83091022686f
https://github.com/btcsuite/btcd/commit/6227c446d3a9871f66a84763adff83091022686f
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
A jsoncmd.go
A jsoncmd_test.go
Log Message:
-----------
Add a framewowrk for parsing and creating json commands.
Initial prototype for one command mostly from jrick, with discussion
with me and jcv. Other commands mocked up in a couple of long boring days by
yours truly.
Code isn't fully tested yet so may well still be buggy in the type conversions.
Test will be added over the next few days to get this up to snuff.
Commit: bac56001459fa92eadc476531e6f567fd3bf4da1
https://github.com/btcsuite/btcd/commit/bac56001459fa92eadc476531e6f567fd3bf4da1
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M jsoncmd_test.go
Log Message:
-----------
basic functionality test for decoderawtransactioncmd
Commit: 77316a003a160108a06e95abd8309cde7a330a5d
https://github.com/btcsuite/btcd/commit/77316a003a160108a06e95abd8309cde7a330a5d
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
fix method for getaccountaddress.
and test dumpprivkey, dumpwallet, encryptwallet, getaccount and
getaccountaddress
Commit: b3b8b37855011495127b1949e78f1ea315e3b580
https://github.com/btcsuite/btcd/commit/b3b8b37855011495127b1949e78f1ea315e3b580
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
test and fix bugs in getaddednodeinfo
Commit: fedafbdd498645ef86f823c615db311d93da28a9
https://github.com/btcsuite/btcd/commit/fedafbdd498645ef86f823c615db311d93da28a9
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
go fmt
Commit: d1ac7b938410743c34fcbda58258f274b95bd0e1
https://github.com/btcsuite/btcd/commit/d1ac7b938410743c34fcbda58258f274b95bd0e1
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
getaddressesbyaccoutn and getbalance test.
and one bug in the marshalling code for getbalance
Commit: ebc4c17162231a9097732f0a68ff87b86f95eefb
https://github.com/btcsuite/btcd/commit/ebc4c17162231a9097732f0a68ff87b86f95eefb
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M jsoncmd_test.go
Log Message:
-----------
Add basic test for getbestblockhash.
And move the getblock/getblockcount so they are in order.
Commit: 020444906be64188fc3fa00093dd3a1760e05a3d
https://github.com/btcsuite/btcd/commit/020444906be64188fc3fa00093dd3a1760e05a3d
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
Getblockhash and getblock template
Fix some type wranging in unmarshal for getblocktemplate
Commit: 00382bed8d19e1de95b4cf69705a0e244cc7e7cf
https://github.com/btcsuite/btcd/commit/00382bed8d19e1de95b4cf69705a0e244cc7e7cf
Author: John C. Vernaleo <[email protected]>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
Adding to tests.
Fix typo in a test name.
Update coverage report.
Commit: 0daf04f9bdef034bf56bf7b13edecbcbb297a00f
https://github.com/btcsuite/btcd/commit/0daf04f9bdef034bf56bf7b13edecbcbb297a00f
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
More get commands.
Commit: 711f229487ba2e84276d8130a04c8f51be5d5321
https://github.com/btcsuite/btcd/commit/711f229487ba2e84276d8130a04c8f51be5d5321
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
add getmininginfo to switch and move to alphabetical order.
more tests.
Commit: e396121192c60d7b1c515e60633194ca7c862bd2
https://github.com/btcsuite/btcd/commit/e396121192c60d7b1c515e60633194ca7c862bd2
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
More info commands.
Commit: c4be414921bcf67f6351f66db87fcb49001babea
https://github.com/btcsuite/btcd/commit/c4be414921bcf67f6351f66db87fcb49001babea
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-10-29 (Tue, 29 Oct 2013)
Changed paths:
M jsoncmd.go
Log Message:
-----------
Make ParseMarshaledCmd return a known error if the type isn't known.
Commit: 334a1c1f20a2916863e8571bd49962e485ff3d81
https://github.com/btcsuite/btcd/commit/334a1c1f20a2916863e8571bd49962e485ff3d81
Author: Josh Rickmar <[email protected]>
Date: 2013-10-29 (Tue, 29 Oct 2013)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
Return basic Cmd from ParseMarshaledCmd when possible.
This changes the behavior of ParseMarshaledCmd to always return a
non-nil Cmd whenever unmarshaling a valid JSON-RPC message succeeds.
This is needed for RPC server code to reply back with detailed errors
to clients using the Method and Id methods of the Cmd interface.
Commit: 07de6ea013897b13995533889d99b17d52c574df
https://github.com/btcsuite/btcd/commit/07de6ea013897b13995533889d99b17d52c574df
Author: John C. Vernaleo <[email protected]>
Date: 2013-10-30 (Wed, 30 Oct 2013)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
Add additional tests for jsoncmd code.
Test stop, signrawtransaction, setaccount, sendtoaddress, and a few
others.
Fix off by one error in the optional arguments for sendtoaddress.
Rename occurances of Minconf to MinConf for constitancy.
Commit: e1dd773e7c8d964ced5bf8b6acc64adacab4b845
https://github.com/btcsuite/btcd/commit/e1dd773e7c8d964ced5bf8b6acc64adacab4b845
Author: John C. Vernaleo <[email protected]>
Date: 2013-10-30 (Wed, 30 Oct 2013)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
Improve test coverage and fix some bugs found by tests.
Fix move need to convert amount to btc from satoshi
Fix settxfee need to convert amount to btc from satoshi
Fix for optional arg off by one in move.
Fix for gettxout in optional args along with typo in error message.
And lots of new tests.
Commit: 3f33e419a9bc67da4a06d49a042fb85e2d8c873f
https://github.com/btcsuite/btcd/commit/3f33e419a9bc67da4a06d49a042fb85e2d8c873f
Author: John C. Vernaleo <[email protected]>
Date: 2013-10-31 (Thu, 31 Oct 2013)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
Improve test coverage and fix bug found by tests.
Spell receive the same way all the time so things work.
Commit: 815a0b0a84b3a6174c3086728f57f733beefc106
https://github.com/btcsuite/btcd/commit/815a0b0a84b3a6174c3086728f57f733beefc106
Author: John C. Vernaleo <[email protected]>
Date: 2013-11-01 (Fri, 01 Nov 2013)
Changed paths:
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
Improve test coverage.
Commit: 56a62309ae43a6120c411a71a72247c83b6fe2ba
https://github.com/btcsuite/btcd/commit/56a62309ae43a6120c411a71a72247c83b6fe2ba
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-11-05 (Tue, 05 Nov 2013)
Changed paths:
M jsonerr.go
Log Message:
-----------
Add some error messages to be used by btcd.
ok jcv
Commit: d3dea375c6b2def201bb7070cb577bbeeb7ad6d6
https://github.com/btcsuite/btcd/commit/d3dea375c6b2def201bb7070cb577bbeeb7ad6d6
Author: Josh Rickmar <[email protected]>
Date: 2013-11-12 (Tue, 12 Nov 2013)
Changed paths:
M jsoncmd.go
Log Message:
-----------
Fix SendManyCmd unmarshaling.
This change fixes an incorrect parameter length check, as well as
correcting the type assertions for the address to amount pairs.
Commit: f689789be8035e7cba003c3b8a7361882632e694
https://github.com/btcsuite/btcd/commit/f689789be8035e7cba003c3b8a7361882632e694
Author: Josh Rickmar <[email protected]>
Date: 2013-11-12 (Tue, 12 Nov 2013)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
Fix parameter for GetNewAddressCmd.
The first parameter for a getnewaddress command is the account, not an
address, so name it properly in the GetNewAddressCmd struct.
Commit: d341468b872d76b16996ad8eac33dd821348fb39
https://github.com/btcsuite/btcd/commit/d341468b872d76b16996ad8eac33dd821348fb39
Author: John C. Vernaleo <[email protected]>
Date: 2013-11-12 (Tue, 12 Nov 2013)
Changed paths:
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
Add a test that was missed.
Commit: 94e74e7cc732e8e7726908beda750866b17b04ae
https://github.com/btcsuite/btcd/commit/94e74e7cc732e8e7726908beda750866b17b04ae
Author: John C. Vernaleo <[email protected]>
Date: 2013-11-12 (Tue, 12 Nov 2013)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
Increase test coverage for Cmd.
Commit: d20f958c92e1444d83215c3cf98d6eef41898dcb
https://github.com/btcsuite/btcd/commit/d20f958c92e1444d83215c3cf98d6eef41898dcb
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-11-12 (Tue, 12 Nov 2013)
Changed paths:
M jsoncmd.go
Log Message:
-----------
Make parameters to VerifyChainCmd int32.
One is a blockheight (int32 pretty much by protocol definition, it
breaks at 1e8 in a long time) and the other is between 0 and 5.
Commit: 9dbf75029f1e317fcc2702808d40cec929c4df2b
https://github.com/btcsuite/btcd/commit/9dbf75029f1e317fcc2702808d40cec929c4df2b
Author: Josh Rickmar <[email protected]>
Date: 2013-11-18 (Mon, 18 Nov 2013)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
ReScan -> Rescan
Commit: 606262514b013203220f4ae409689448da7feceb
https://github.com/btcsuite/btcd/commit/606262514b013203220f4ae409689448da7feceb
Author: John C. Vernaleo <[email protected]>
Date: 2013-11-18 (Mon, 18 Nov 2013)
Changed paths:
M jsonapi.go
Log Message:
-----------
Improve error messages.
Attempt to determine if error when sending a command is due to auth
issue and give more useful error in that case.
Commit: e43c79c74dd0df962a3e165cd8174284dd3708e9
https://github.com/btcsuite/btcd/commit/e43c79c74dd0df962a3e165cd8174284dd3708e9
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-11-19 (Tue, 19 Nov 2013)
Changed paths:
M internal_test.go
M jsonapi.go
M jsonfxns.go
Log Message:
-----------
add TlsRpcCommand and TlsRawRpcCommand.
These act the same as the !tls versions of this code but they take a PEM
encoded certificate chain to be used to verify certificates (ca verified
certs could use /etc/ssl/certs.pem) and a parameter to skip cert
verification and will use https internally.
Commit: 8d9b8fcf82500c0d6332025321ebf5229e1705e8
https://github.com/btcsuite/btcd/commit/8d9b8fcf82500c0d6332025321ebf5229e1705e8
Author: Josh Rickmar <[email protected]>
Date: 2013-11-19 (Tue, 19 Nov 2013)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
Make importprivkey rescan optarg default to true.
Commit: fa2bf4423e889807878e5c9f2b43a15feec230b1
https://github.com/btcsuite/btcd/commit/fa2bf4423e889807878e5c9f2b43a15feec230b1
Author: Josh Rickmar <[email protected]>
Date: 2013-11-20 (Wed, 20 Nov 2013)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
Add additional tests for importprivkey.
Commit: 7397dd68964bc8e7e5dd502f9969d6dfdc367dc6
https://github.com/btcsuite/btcd/commit/7397dd68964bc8e7e5dd502f9969d6dfdc367dc6
Author: John C. Vernaleo <[email protected]>
Date: 2013-11-22 (Fri, 22 Nov 2013)
Changed paths:
M jsonapi.go
Log Message:
-----------
Rename reqSig to reqSigs
Match bitcoin json name better.
Closes #9
Commit: a645c36f4558fc0316d9af00d89fc8b787a48170
https://github.com/btcsuite/btcd/commit/a645c36f4558fc0316d9af00d89fc8b787a48170
Author: Dave Collins <[email protected]>
Date: 2013-11-22 (Fri, 22 Nov 2013)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
Add new extension command named debuglevel.
ok @jcvernaleo.
Commit: 79fe2e594b5ddadab411841d1db38ab8b3355762
https://github.com/btcsuite/btcd/commit/79fe2e594b5ddadab411841d1db38ab8b3355762
Author: Josh Rickmar <[email protected]>
Date: 2013-11-22 (Fri, 22 Nov 2013)
Changed paths:
M jsoncmd.go
Log Message:
-----------
Fix a typo.
Commit: 368d6c0779cc64add2e366862248c808ca0d34b4
https://github.com/btcsuite/btcd/commit/368d6c0779cc64add2e366862248c808ca0d34b4
Author: Josh Rickmar <[email protected]>
Date: 2013-11-26 (Tue, 26 Nov 2013)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
Fix optarg handling for listtransactions and add tests.
Commit: 97a4ab6a4724ad531a56d1582c23752e4bfda0c3
https://github.com/btcsuite/btcd/commit/97a4ab6a4724ad531a56d1582c23752e4bfda0c3
Author: Josh Rickmar <[email protected]>
Date: 2013-11-26 (Tue, 26 Nov 2013)
Changed paths:
M test_coverage.txt
Log Message:
-----------
Update test coverage file.
Commit: 708dce8d99dd3a8d3586d29487d8da6f757b4e6b
https://github.com/btcsuite/btcd/commit/708dce8d99dd3a8d3586d29487d8da6f757b4e6b
Author: Josh Rickmar <[email protected]>
Date: 2013-11-27 (Wed, 27 Nov 2013)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
Fix sendmany optarg parsing and add tests.
Commit: 6325bd9df2a871ac3bbccad8b8739cc8eaa2c205
https://github.com/btcsuite/btcd/commit/6325bd9df2a871ac3bbccad8b8739cc8eaa2c205
Author: Josh Rickmar <[email protected]>
Date: 2013-11-27 (Wed, 27 Nov 2013)
Changed paths:
M test_coverage.txt
Log Message:
-----------
Update test coverage file.
Commit: 91a19dda8544d4756b03abd42a3b4a044d44f598
https://github.com/btcsuite/btcd/commit/91a19dda8544d4756b03abd42a3b4a044d44f598
Author: Francis Lam <[email protected]>
Date: 2013-12-08 (Sun, 08 Dec 2013)
Changed paths:
M jsonapi.go
M jsoncmd.go
Log Message:
-----------
Fixed TxRawResult/Vin structure and added GetBlockCmd verbose flags
Changed TxRawResult to omitempty block info for mempool tx as well as
moved Txid to Vin.TxId from Vin.ScriptSig.Txid (both match bitcoind
output)
Added support for new bitcoind [verbose=true] and added non-standard
optional verboseTx to return TxRawResults intead Txids
Commit: 8a132ffde8917b291cf62b4ebd8473667cb8f042
https://github.com/btcsuite/btcd/commit/8a132ffde8917b291cf62b4ebd8473667cb8f042
Author: Dave Collins <[email protected]>
Date: 2013-12-10 (Tue, 10 Dec 2013)
Changed paths:
A .travis.yml
M README.md
Log Message:
-----------
Add support for TravisCI.
Also add TravisCI build status badge to README.md.
Commit: 621f9006bfae62e7a5f01a30ca53c44ff4a74134
https://github.com/btcsuite/btcd/commit/621f9006bfae62e7a5f01a30ca53c44ff4a74134
Author: Dave Collins <[email protected]>
Date: 2013-12-10 (Tue, 10 Dec 2013)
Changed paths:
M jsoncmd_test.go
Log Message:
-----------
Correct tests for recent getblock updates.
Commit: 4d0cbb776bc783779a8895de369afc81a0f207e6
https://github.com/btcsuite/btcd/commit/4d0cbb776bc783779a8895de369afc81a0f207e6
Author: John C. Vernaleo <[email protected]>
Date: 2013-12-11 (Wed, 11 Dec 2013)
Changed paths:
M jsonapi.go
Log Message:
-----------
Make id omitemtpy to match spec better.
Commit: 1f52db626dd6b1df6103c6b11cf6e73b72cbe536
https://github.com/btcsuite/btcd/commit/1f52db626dd6b1df6103c6b11cf6e73b72cbe536
Author: John C. Vernaleo <[email protected]>
Date: 2013-12-11 (Wed, 11 Dec 2013)
Changed paths:
M test_coverage.txt
Log Message:
-----------
Update test coverage.
Commit: 4cb318ac025dc2e9b859f453fc2bc9984bd71d19
https://github.com/btcsuite/btcd/commit/4cb318ac025dc2e9b859f453fc2bc9984bd71d19
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-12-16 (Mon, 16 Dec 2013)
Changed paths:
M jsonapi.go
M jsonapi_test.go
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
Handle optional verbose parameter to getrawmempool.
This does remove the `nicer' type handle for getrawmempool for now since
it is no longer so simple.
ok jcv.
Commit: e0e4c8bdb67b20a0d99bdfe29984937d4e1fab52
https://github.com/btcsuite/btcd/commit/e0e4c8bdb67b20a0d99bdfe29984937d4e1fab52
Author: Dave Collins <[email protected]>
Date: 2013-12-26 (Thu, 26 Dec 2013)
Changed paths:
M jsonapi.go
Log Message:
-----------
Allow getblock result to be string or BlockResult.
The getblock command has recently added a verbose flag which alters the
output. The previous code added a new field "Hex" to the BlockResult, but
this is not consistent with the origin getblock RPC call which returns a
string when verbose is false and the BlockResult JSON object when it is
true.
This commit corrects that by first removing the Hex field from the
BlockResult and second allowing the result for getblock to be either form.
Commit: 1855c19562490e95a92ac74e90fe899ef30cd2ad
https://github.com/btcsuite/btcd/commit/1855c19562490e95a92ac74e90fe899ef30cd2ad
Author: Dave Collins <[email protected]>
Date: 2013-12-26 (Thu, 26 Dec 2013)
Changed paths:
M jsonapi.go
Log Message:
-----------
Allow getrawtransaction result to be string.
The getrawtransaction command has recently added a verbose flag which
alters the output. The previous code made use of the "Hex" field of the
TxRawResult to return the information, but this is not consistent with the
original getrawtransaction RPC call which returns a string when verbose is
false and the TxRawResult JSON object when it is true.
This commit corrects that by allowing the result for getrawtransaction to
be either form.
Commit: 509bf830b103c4de6537fa9e9f05115145c78611
https://github.com/btcsuite/btcd/commit/509bf830b103c4de6537fa9e9f05115145c78611
Author: Dave Collins <[email protected]>
Date: 2013-12-27 (Fri, 27 Dec 2013)
Changed paths:
M jsonapi.go
Log Message:
-----------
Correct Vin ScriptSig to properly omit when empty.
In order for a field which is a struct to be omitted from JSON
marshal/unmarshal, it must be a pointer so the json package can tell when
it's empty (when it's nil).
Commit: d3b76da91993c226e9e05c3a63d455a2997c0006
https://github.com/btcsuite/btcd/commit/d3b76da91993c226e9e05c3a63d455a2997c0006
Author: Dave Collins <[email protected]>
Date: 2013-12-27 (Fri, 27 Dec 2013)
Changed paths:
M jsonapi.go
Log Message:
-----------
Make ScriptSig anonymous struct an exported type.
The previous commit modified the Vin ScriptSig field to be a pointer to an
anonymous struct so it could be properly omitted. However, the callers
need to be able to create a new object to assign to the field, so this
commit makes the previous anonymous struct an exported type named
ScriptSig.
Commit: 11d39125dee8da4551814129d304bfcf6a971c16
https://github.com/btcsuite/btcd/commit/11d39125dee8da4551814129d304bfcf6a971c16
Author: Dave Collins <[email protected]>
Date: 2013-12-27 (Fri, 27 Dec 2013)
Changed paths:
M jsonapi.go
Log Message:
-----------
The sequence num of a tx input is a uint32.
Commit: c0236b5a2fdaadd28fa2589e9f44e60d01724de0
https://github.com/btcsuite/btcd/commit/c0236b5a2fdaadd28fa2589e9f44e60d01724de0
Author: Dave Collins <[email protected]>
Date: 2013-12-30 (Mon, 30 Dec 2013)
Changed paths:
M jsonapi.go
Log Message:
-----------
Change LockTime in TxRawDecodeResult to uint32.
Commit: 5d91e16e7c71b36d595a6d6a582e29fd3fcfacef
https://github.com/btcsuite/btcd/commit/5d91e16e7c71b36d595a6d6a582e29fd3fcfacef
Author: Francis Lam <[email protected]>
Date: 2013-12-30 (Mon, 30 Dec 2013)
Changed paths:
M jsonapi.go
Log Message:
-----------
Added MarshalJSON to Vin and changed Vout.ScriptPubKey
Added MarshalJSON method to Vin which properly omits the Vout field
from coinbase Vin's by using anonymous structs with the proper
subsets of fields outputted by bitcoind
Changed Vout.ScriptPubKey to add omitempty for ReqSigs and Addresses:
both fields are not shown when there is an error identifying to
scriptType or parsing addresses in bitcoind
Commit: 8d7354f45b87bc0538cc2ff1652b180361f6d230
https://github.com/btcsuite/btcd/commit/8d7354f45b87bc0538cc2ff1652b180361f6d230
Author: Dave Collins <[email protected]>
Date: 2014-01-03 (Fri, 03 Jan 2014)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
Gofmt.
Commit: 84cb4c7130dde83eb05eea93be9c9f61ea71fd65
https://github.com/btcsuite/btcd/commit/84cb4c7130dde83eb05eea93be9c9f61ea71fd65
Author: Dave Collins <[email protected]>
Date: 2014-01-03 (Fri, 03 Jan 2014)
Changed paths:
M jsoncmd.go
Log Message:
-----------
Export new function ConvertCreateRawTxParams.
The inputs to the createrawtransaction command are JSON strings, however
the NewCreateRawTransactionCmd function takes concrete types. Thus,
callers which deal with the raw JSON need a method to perform the
validation and conversion. This logic is the same as what needs to happen
when unmashalling a full JSON-RPC command, so this commit factors that
logic out into a separate function and exports it.
Commit: 2944ccb86bcbb80a4c7acad13a519cb3915a6586
https://github.com/btcsuite/btcd/commit/2944ccb86bcbb80a4c7acad13a519cb3915a6586
Author: John C. Vernaleo <[email protected]>
Date: 2014-01-03 (Fri, 03 Jan 2014)
Changed paths:
M test_coverage.txt
Log Message:
-----------
Update coverage report.
Commit: 258e9ef4c6d50e79dc74eaf6010496f7910e896d
https://github.com/btcsuite/btcd/commit/258e9ef4c6d50e79dc74eaf6010496f7910e896d
Author: John C. Vernaleo <[email protected]>
Date: 2014-01-03 (Fri, 03 Jan 2014)
Changed paths:
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
Add test for the Cmd.Id() functions.
Commit: f78d054700f5f14c5dd369f17af454bf0f4b9d37
https://github.com/btcsuite/btcd/commit/f78d054700f5f14c5dd369f17af454bf0f4b9d37
Author: Dave Collins <[email protected]>
Date: 2014-01-03 (Fri, 03 Jan 2014)
Changed paths:
M jsonapi.go
Log Message:
-----------
Add struct for DecodeScriptResult.
Commit: e1053b4a958750cd10b30496504a83c9313d7aa1
https://github.com/btcsuite/btcd/commit/e1053b4a958750cd10b30496504a83c9313d7aa1
Author: Dave Collins <[email protected]>
Date: 2014-01-04 (Sat, 04 Jan 2014)
Changed paths:
M jsonapi.go
Log Message:
-----------
Add P2sh field to DecodeScriptResult.
Commit: 0ef14522477a573ffd1d53e0ea20c16f0e36a56d
https://github.com/btcsuite/btcd/commit/0ef14522477a573ffd1d53e0ea20c16f0e36a56d
Author: John C. Vernaleo <[email protected]>
Date: 2014-01-06 (Mon, 06 Jan 2014)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
Improve test coverage a bit.
Fix bug in a json command caught by new test.
Commit: 5ced990c2234be842068a628ea025b5db9269a4c
https://github.com/btcsuite/btcd/commit/5ced990c2234be842068a628ea025b5db9269a4c
Author: John C. Vernaleo <[email protected]>
Date: 2014-01-06 (Mon, 06 Jan 2014)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
Add test for listsinceblock.
Fix bug in listsinceblock found by test.
Commit: cea1120a0aef7d76a81008f47ee9809a08473ab1
https://github.com/btcsuite/btcd/commit/cea1120a0aef7d76a81008f47ee9809a08473ab1
Author: John C. Vernaleo <[email protected]>
Date: 2014-01-07 (Tue, 07 Jan 2014)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
Add tests for listreceivebyaddress.
Fix bug with minconf type caught by test (thanks oga).
Commit: ee378dc0c0003ca98852b80a069aa015ce33a138
https://github.com/btcsuite/btcd/commit/ee378dc0c0003ca98852b80a069aa015ce33a138
Author: John C. Vernaleo <[email protected]>
Date: 2014-01-07 (Tue, 07 Jan 2014)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
Add additional tests for listreceivedbyaccount.
Fix bug caught by tests.
Commit: d1efe0c10941ff3a994f35e0f15fee9e78c52e21
https://github.com/btcsuite/btcd/commit/d1efe0c10941ff3a994f35e0f15fee9e78c52e21
Author: John C. Vernaleo <[email protected]>
Date: 2014-01-08 (Wed, 08 Jan 2014)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
Add SetId() to Cmd along with tests.
Commit: 6747e36f51b66494080899c3bbc5aff88c66b223
https://github.com/btcsuite/btcd/commit/6747e36f51b66494080899c3bbc5aff88c66b223
Author: John C. Vernaleo <[email protected]>
Date: 2014-01-08 (Wed, 08 Jan 2014)
Changed paths:
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
Slight increase in test coverage.
Commit: bf90ed21428dac774da33a6b965e46c54cb14d38
https://github.com/btcsuite/btcd/commit/bf90ed21428dac774da33a6b965e46c54cb14d38
Author: Dave Collins <[email protected]>
Date: 2014-01-08 (Wed, 08 Jan 2014)
Changed paths:
M LICENSE
M doc.go
M internal_test.go
M jsonapi.go
M jsonapi_test.go
M jsoncmd.go
M jsoncmd_test.go
M jsonerr.go
M jsonfxns.go
M jsonfxns_test.go
Log Message:
-----------
Add 2014 to copyright dates.
Commit: b677a421d067a87f66c359e9b2225d29e9d3adfb
https://github.com/btcsuite/btcd/commit/b677a421d067a87f66c359e9b2225d29e9d3adfb
Author: Owain G. Ainsworth <[email protected]>
Date: 2014-01-22 (Wed, 22 Jan 2014)
Changed paths:
A cmdhelp.go
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
Add an interface to provide help text for supported commands.
This changes the api to register new commands to also pass in the help
text.
Commit: 5619604c212805ecc3a9a1ef82c57dacdcdb81a2
https://github.com/btcsuite/btcd/commit/5619604c212805ecc3a9a1ef82c57dacdcdb81a2
Author: Owain G. Ainsworth <[email protected]>
Date: 2014-01-22 (Wed, 22 Jan 2014)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
Add addresses member to ListUnspentCmd
Commit: 99fdcf5d0972416b92503ebbda974bf4a72fccd9
https://github.com/btcsuite/btcd/commit/99fdcf5d0972416b92503ebbda974bf4a72fccd9
Author: Owain G. Ainsworth <[email protected]>
Date: 2014-01-22 (Wed, 22 Jan 2014)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
Add allowhighfees to SendRawTransactionCmd
Commit: 3c1bcb86ee5966b8a5396d1646deb1f91e731c71
https://github.com/btcsuite/btcd/commit/3c1bcb86ee5966b8a5396d1646deb1f91e731c71
Author: Owain G. Ainsworth <[email protected]>
Date: 2014-01-22 (Wed, 22 Jan 2014)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
add newsize parameter to keypoolrefill
Commit: 908945ed53d102a8627d90b5c0e5ac685c94e017
https://github.com/btcsuite/btcd/commit/908945ed53d102a8627d90b5c0e5ac685c94e017
Author: David Hill <[email protected]>
Date: 2014-01-23 (Thu, 23 Jan 2014)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
fix getwork API
closes #12
Commit: 4a93564b0489530a084efeedcc1359aa2f854a53
https://github.com/btcsuite/btcd/commit/4a93564b0489530a084efeedcc1359aa2f854a53
Author: David Hill <[email protected]>
Date: 2014-01-23 (Thu, 23 Jan 2014)
Changed paths:
M jsonapi.go
M jsoncmd.go
Log Message:
-----------
Add getwork result infrastructure. Make the work request optional.
Commit: 421f4c54a057f52e272c30513db66c2ebf3d1de2
https://github.com/btcsuite/btcd/commit/421f4c54a057f52e272c30513db66c2ebf3d1de2
Author: Dave Collins <[email protected]>
Date: 2014-01-24 (Fri, 24 Jan 2014)
Changed paths:
M jsonapi.go
Log Message:
-----------
Add support for GetAddedNodeInfoResult.
ok @jcvernaleo.
Commit: 6e2fa5aad7d966f7d22a05bb92fb15ff0e153229
https://github.com/btcsuite/btcd/commit/6e2fa5aad7d966f7d22a05bb92fb15ff0e153229
Author: Dave Collins <[email protected]>
Date: 2014-01-24 (Fri, 24 Jan 2014)
Changed paths:
M jsonapi.go
Log Message:
-----------
Allow getaddednodeinfo result to be string slice.
The getaddednode command dns flag alters the output. It is a JSON object
when true and a slice of strings containing the addresses when false.
Note there is a bug in bitcoind as of version 0.8.6 which returns the
addresses as a JSON object with duplicate keys. This has been reported as
issue 3581 on the bitcoind issue tracker.
This commit allows the result for getaddednodeinfo to be either the JSON
object or the string slice.
Commit: cbe4b140b9ccca2918a9e9e9a7138256b6721f2e
https://github.com/btcsuite/btcd/commit/cbe4b140b9ccca2918a9e9e9a7138256b6721f2e
Author: David Hill <[email protected]>
Date: 2014-01-29 (Wed, 29 Jan 2014)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
Change the optional parameter for getrawtransaction from bool to int.
This matches bitcoind.
ok oga@
Commit: ced679c4e5c99c07c9a74227f0afd0b5a59779b0
https://github.com/btcsuite/btcd/commit/ced679c4e5c99c07c9a74227f0afd0b5a59779b0
Author: David Hill <[email protected]>
Date: 2014-01-30 (Thu, 30 Jan 2014)
Changed paths:
M jsoncmd.go
Log Message:
-----------
Fix getreceivedby[account|address] api. The first parameter is not
optional.
Commit: 25bb31ebd5847227bca0b56a7bb15618e94c5e80
https://github.com/btcsuite/btcd/commit/25bb31ebd5847227bca0b56a7bb15618e94c5e80
Author: David Hill <[email protected]>
Date: 2014-02-04 (Tue, 04 Feb 2014)
Changed paths:
M jsonapi_test.go
Log Message:
-----------
use bytes.Equal instead.
Commit: ae21689a57f2127300461220fca543992613c5f6
https://github.com/btcsuite/btcd/commit/ae21689a57f2127300461220fca543992613c5f6
Author: David Hill <[email protected]>
Date: 2014-02-04 (Tue, 04 Feb 2014)
Changed paths:
M jsoncmd_test.go
Log Message:
-----------
gofmt
Commit: 0d1539118b5b6be03b4d2c260177ac978fdb4f3a
https://github.com/btcsuite/btcd/commit/0d1539118b5b6be03b4d2c260177ac978fdb4f3a
Author: John C. Vernaleo <[email protected]>
Date: 2014-02-04 (Tue, 04 Feb 2014)
Changed paths:
M jsonapi.go
M jsoncmd.go
Log Message:
-----------
Add some missing comments on exported items.
Commit: 4661be87589e621d9645a830b9b3ba111f334c19
https://github.com/btcsuite/btcd/commit/4661be87589e621d9645a830b9b3ba111f334c19
Author: Dave Collins <[email protected]>
Date: 2014-02-05 (Wed, 05 Feb 2014)
Changed paths:
M jsonapi.go
Log Message:
-----------
Add support for GetNetTotalsResult.
ok @jcvernaleo
Commit: 397c4caefed16631b03dcd24e704f336ef65c68b
https://github.com/btcsuite/btcd/commit/397c4caefed16631b03dcd24e704f336ef65c68b
Author: Dave Collins <[email protected]>
Date: 2014-02-05 (Wed, 05 Feb 2014)
Changed paths:
M cmdhelp.go
Log Message:
-----------
Correct getnettotals help message.
Commit: 7623d13c3732c2e7d0fbeb167c3e43507929b68a
https://github.com/btcsuite/btcd/commit/7623d13c3732c2e7d0fbeb167c3e43507929b68a
Author: Dave Collins <[email protected]>
Date: 2014-02-07 (Fri, 07 Feb 2014)
Changed paths:
M jsonapi.go
Log Message:
-----------
Make getnetworkhashps result an int64.
Commit: 773efd633d23e1f96984a202e1cc17937d4014e7
https://github.com/btcsuite/btcd/commit/773efd633d23e1f96984a202e1cc17937d4014e7
Author: Francis Lam <[email protected]>
Date: 2014-02-08 (Sat, 08 Feb 2014)
Changed paths:
M jsoncmd.go
Log Message:
-----------
Added RegisterCustomCmdGenerator to btcjson package
Allows for addition of custom Cmd classes that implement UnmarshalJSON
directly as opposed to via RawCmd object and RawCmdParser
Commit: bfe374e735eaa99b9ce1dabc3cba6488615e8685
https://github.com/btcsuite/btcd/commit/bfe374e735eaa99b9ce1dabc3cba6488615e8685
Author: Francis Lam <[email protected]>
Date: 2014-02-08 (Sat, 08 Feb 2014)
Changed paths:
M jsoncmd.go
Log Message:
-----------
Added comments for CmdGenerator and RegisterCustomCmdGenerator
Commit: cace9187d7973c7a797345f8c4dd4d340b69413b
https://github.com/btcsuite/btcd/commit/cace9187d7973c7a797345f8c4dd4d340b69413b
Author: Dave Collins <[email protected]>
Date: 2014-02-09 (Sun, 09 Feb 2014)
Changed paths:
M jsoncmd.go
Log Message:
-----------
Correct typo in CmdGenerator comment.
Commit: a73363368564bc3e03e9ec15dc243a895002706f
https://github.com/btcsuite/btcd/commit/a73363368564bc3e03e9ec15dc243a895002706f
Author: Dave Collins <[email protected]>
Date: 2014-02-11 (Tue, 11 Feb 2014)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
Correct GetWorkCmd.
The getwork RPC now only accepts a single optional parameter which, if
present, is a string containing the hex-encoded block data to solve.
Also update the tests for the new correct parameters.
ok @jcvernaleo
Commit: 5135fd32034c9cdcd32ce49248316b5778046976
https://github.com/btcsuite/btcd/commit/5135fd32034c9cdcd32ce49248316b5778046976
Author: Dave Collins <[email protected]>
Date: 2014-02-11 (Tue, 11 Feb 2014)
Changed paths:
M jsonapi.go
Log Message:
-----------
Allow getwork result to be a bool or JSON object.
The getwork command alters the output depending on whether or not the
optional data parameter was specified. It is a JSON object when no data
was provided, and a boolean indicating whether a solution was found
when data was provided.
Commit: 6a2b93e622a353bef32467785b2d1ef8659bbbf9
https://github.com/btcsuite/btcd/commit/6a2b93e622a353bef32467785b2d1ef8659bbbf9
Author: Dave Collins <[email protected]>
Date: 2014-02-16 (Sun, 16 Feb 2014)
Changed paths:
M jsonapi.go
Log Message:
-----------
Add support for GetPeerInfoResult.
Commit: 81843d269f7ef0f9cf432910a0d014073c798329
https://github.com/btcsuite/btcd/commit/81843d269f7ef0f9cf432910a0d014073c798329
Author: Dave Collins <[email protected]>
Date: 2014-02-16 (Sun, 16 Feb 2014)
Changed paths:
M jsonapi.go
Log Message:
-----------
Add support for GetRawMempoolResult.
Commit: 21b974e2715f48e36dbcb759314dfe96cdfb094d
https://github.com/btcsuite/btcd/commit/21b974e2715f48e36dbcb759314dfe96cdfb094d
Author: John C. Vernaleo <[email protected]>
Date: 2014-02-20 (Thu, 20 Feb 2014)
Changed paths:
M jsonapi.go
Log Message:
-----------
Fix missing ) in comment.
Commit: f65ea832deb0cbd6a6aff3e4a168396f6cf6baa3
https://github.com/btcsuite/btcd/commit/f65ea832deb0cbd6a6aff3e4a168396f6cf6baa3
Author: Dave Collins <[email protected]>
Date: 2014-03-12 (Wed, 12 Mar 2014)
Changed paths:
M jsonerr.go
Log Message:
-----------
Export a couple of peer-to-peer client errors.
ok @jcvernaleo
Commit: 1bc63bfd5d9901aab6eb321e4adf2925ebed1053
https://github.com/btcsuite/btcd/commit/1bc63bfd5d9901aab6eb321e4adf2925ebed1053
Author: jolan <[email protected]>
Date: 2014-03-14 (Fri, 14 Mar 2014)
Changed paths:
M cmdhelp.go
Log Message:
-----------
recieve->receive
Commit: 8f69a0bf690a5e19878bf0ba90dab0dd737b0659
https://github.com/btcsuite/btcd/commit/8f69a0bf690a5e19878bf0ba90dab0dd737b0659
Author: Francis Lam <[email protected]>
Date: 2014-03-15 (Sat, 15 Mar 2014)
Changed paths:
M jsonapi.go
Log Message:
-----------
Added new RelayFee field and missing TimeOffset field to InfoResult
Commit: 71e31f03a25235aaf603a36b29052359b179ade0
https://github.com/btcsuite/btcd/commit/71e31f03a25235aaf603a36b29052359b179ade0
Author: John C. Vernaleo <[email protected]>
Date: 2014-03-16 (Sun, 16 Mar 2014)
Changed paths:
M test_coverage.txt
Log Message:
-----------
Update coverage report.
Commit: b0242a8793cc210f09c67824140cd8988a5d2593
https://github.com/btcsuite/btcd/commit/b0242a8793cc210f09c67824140cd8988a5d2593
Author: David Hill <[email protected]>
Date: 2014-04-07 (Mon, 07 Apr 2014)
Changed paths:
M jsonapi.go
Log Message:
-----------
Add missing fields to ValidateAddressResult structure
ok @jrick
Commit: 7c39a02ed1de4a8926080d8757171cbfa9d5b0b7
https://github.com/btcsuite/btcd/commit/7c39a02ed1de4a8926080d8757171cbfa9d5b0b7
Author: Dave Collins <[email protected]>
Date: 2014-04-08 (Tue, 08 Apr 2014)
Changed paths:
M jsonapi.go
M test_coverage.txt
Log Message:
-----------
Correct ReadResultCmd for getaddednodeinfo.
The returned result was previously a []interface{} instead of a
[]GetAddedNodeInfoResult. This commit resolves that issue.
ok @jcvernaleo
Commit: dd926bfdf93de2f95d341d22ac7db1d61e1a3a76
https://github.com/btcsuite/btcd/commit/dd926bfdf93de2f95d341d22ac7db1d61e1a3a76
Author: Dave Collins <[email protected]>
Date: 2014-04-09 (Wed, 09 Apr 2014)
Changed paths:
M jsonapi.go
M test_coverage.txt
Log Message:
-----------
Add support for ListTransactionsResult.
ok @jcvernaleo.
Commit: 50473f6ed3c11661ee4a1514c14444c4ce641fc8
https://github.com/btcsuite/btcd/commit/50473f6ed3c11661ee4a1514c14444c4ce641fc8
Author: David Hill <[email protected]>
Date: 2014-04-09 (Wed, 09 Apr 2014)
Changed paths:
M jsonapi.go
M jsonapi_test.go
M test_coverage.txt
Log Message:
-----------
Add support for CreateMultiSigResult.
ok @jcvernaleo
Commit: 8a503c614839cf6f6ea7ea006932cec84de1c7da
https://github.com/btcsuite/btcd/commit/8a503c614839cf6f6ea7ea006932cec84de1c7da
Author: David Hill <[email protected]>
Date: 2014-04-09 (Wed, 09 Apr 2014)
Changed paths:
M jsonapi.go
Log Message:
-----------
Add addrlocal to GetPeerInfoResult.
ok @davecgh
Commit: 016e69cd510bf9b1c7dbd671152959b13fd8adcd
https://github.com/btcsuite/btcd/commit/016e69cd510bf9b1c7dbd671152959b13fd8adcd
Author: Dave Collins <[email protected]>
Date: 2014-04-10 (Thu, 10 Apr 2014)
Changed paths:
M jsoncmd.go
M test_coverage.txt
Log Message:
-----------
Convert RawCmd to use raw messages for params.
This commit modifies the RawCmd type to use a slice of json.RawMessages so
that unmarshalling each individual parameter can be deferred to the
handler for the command.
This is superior to the old method of using a []interface{} because it
means that each parameter is now unmarshalled into the expected concrete
type directly instead of whatever it happens to be in the JSON. Due to
this, the old behavior where every number was unmarshlled as a float64 and
converted to the appropriate final type, which could lead to odd behavior
when going through marshal/unmarshal cycles, has been eliminated. This
change also means each individual parameter can now be full blown structs
(JSON objects) that marshal and unmarshal themselves which greatly
simplifies complex parameters and removes the need for additional and
error prone code.
This commit contains a lot of changes because every command needed its
MarshalJSON and UnmarshalJSON methods updated to support the new
mechanism. As a part of changing these functions, a new common creation
function for the the RawCmd struct was added to avoid the previous
duplication of the common fields. Also, rather than repeating the method
string in each MarshJSON functon, it makes use of cmd.Method().
Finally, some of the error messages were incorrect and have been corrected
as well as made consistent.
ok @jcvernaleo, @jrick, @owainga
Commit: d211c4c6c8de00052ccf5e836132c794d873d2c2
https://github.com/btcsuite/btcd/commit/d211c4c6c8de00052ccf5e836132c794d873d2c2
Author: Dave Collins <[email protected]>
Date: 2014-04-10 (Thu, 10 Apr 2014)
Changed paths:
M jsonapi.go
Log Message:
-----------
Correct TxID JSON key of ListTransactionsResult.
Commit: 75a237bc0d34439c4b4a4761aaf46fe53d4d2cd3
https://github.com/btcsuite/btcd/commit/75a237bc0d34439c4b4a4761aaf46fe53d4d2cd3
Author: David Hill <[email protected]>
Date: 2014-04-11 (Fri, 11 Apr 2014)
Changed paths:
M jsonapi.go
M jsonapi_test.go
M test_coverage.txt
Log Message:
-----------
Add support for GetTransactionResult.
ok @jcvernaleo
Commit: 0512ddd8f828f6f3350049d97e2f93242a843111
https://github.com/btcsuite/btcd/commit/0512ddd8f828f6f3350049d97e2f93242a843111
Author: Dave Collins <[email protected]>
Date: 2014-04-11 (Fri, 11 Apr 2014)
Changed paths:
M jsonapi.go
Log Message:
-----------
Correct ListTransactionsResult.
This commit tweaks the ListTransactions result a bit so it is compatible
with the reference implementation.
Commit: 1ff465ae88357aed20ae7ba42dbb417769de371d
https://github.com/btcsuite/btcd/commit/1ff465ae88357aed20ae7ba42dbb417769de371d
Author: Dave Collins <[email protected]>
Date: 2014-04-11 (Fri, 11 Apr 2014)
Changed paths:
M jsoncmd.go
M test_coverage.txt
Log Message:
-----------
Remove RegisterCustomCmdGenerator.
This is no longer required since the RawCmd params now consist of a slice
of raw JSON messages which the registered parser can directly unmarshal.
ok @jcvernaleo
Commit: 351365493395d43392a33485a62120ac56efe71e
https://github.com/btcsuite/btcd/commit/351365493395d43392a33485a62120ac56efe71e
Author: Dave Collins <[email protected]>
Date: 2014-04-11 (Fri, 11 Apr 2014)
Changed paths:
M jsonapi.go
M test_coverage.txt
Log Message:
-----------
Add new (Tls)RpcSend funcs to send a Cmd.
The existing RpcCommand and TlsRpcCommand were build with
CreateMessage(WithID) in mind since they return an already marshalled
command. The approach was changed to use concrete commands created via
the New<command>Cmd family of functions. However, this means the caller
had to manually marshal the command before calling (Tls)RpcCommand which
was not very user friendly.
This commit adds two new functions named RpcSend and TlsRpcSend which
directly accepts a btcjson.Cmd and handles the marshalling itself.
ok @jcvernaleo
Commit: 95f8e5d6d8c117c91fbd93dc0ffffe98c96fd274
https://github.com/btcsuite/btcd/commit/95f8e5d6d8c117c91fbd93dc0ffffe98c96fd274
Author: Dave Collins <[email protected]>
Date: 2014-04-11 (Fri, 11 Apr 2014)
Changed paths:
M doc.go
M jsonapi.go
Log Message:
-----------
Deprecate CreateMessage(WithId) and update docs.
This commit marks the CreateMessage and CreateMessageWithId functions as
deprecated as they are no longer maintained due to the new concrete
command approach.
It also updates the package documentation to show the new preferred method
as well as add details about btcd.
ok @jcvernaleo
Commit: 48bcbc5a22141519d9a0d229d5a1b97d81d5e956
https://github.com/btcsuite/btcd/commit/48bcbc5a22141519d9a0d229d5a1b97d81d5e956
Author: Dave Collins <[email protected]>
Date: 2014-04-11 (Fri, 11 Apr 2014)
Changed paths:
M jsonapi.go
M jsonapi_test.go
A jsonresult_test.go
A jsonresults.go
M test_coverage.txt
Log Message:
-----------
Move result structs and funcs to jsonresults.go.
This commit moves all of the structs which deal with command results and
related functions to a new file named jsonresults.go.
This is in preparation of allowing custom results to be registered.
ok @jcvernaleo
Commit: fbe04b73ab2af52dd3cb3415aafed546f3d4f1bd
https://github.com/btcsuite/btcd/commit/fbe04b73ab2af52dd3cb3415aafed546f3d4f1bd
Author: Dave Collins <[email protected]>
Date: 2014-04-11 (Fri, 11 Apr 2014)
Changed paths:
R jsonresult_test.go
A jsonresults_test.go
Log Message:
-----------
Rename jsonresult_test.go -> jsonresults_test.go.
This matches the name of the file that contains the code it is testing.
Commit: c6149949a2115c12f08b6daa6df9b7225ce66ef5
https://github.com/btcsuite/btcd/commit/c6149949a2115c12f08b6daa6df9b7225ce66ef5
Author: Josh Rickmar <[email protected]>
Date: 2014-04-11 (Fri, 11 Apr 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Redo the ListTransactionsResult amount->txid fix.
This likely got lost in a merge or the move to the jsonresults.go
file.
Commit: c2dd398b1e148a7ee247ae3e4a2548336ebbae20
https://github.com/btcsuite/btcd/commit/c2dd398b1e148a7ee247ae3e4a2548336ebbae20
Author: David Hill <[email protected]>
Date: 2014-04-11 (Fri, 11 Apr 2014)
Changed paths:
M jsonresults.go
M jsonresults_test.go
M test_coverage.txt
Log Message:
-----------
Add support for GetTransactionResult.
ok @jcvernaleo
Commit: 31a354e58581b8c659eae665e1346360867403af
https://github.com/btcsuite/btcd/commit/31a354e58581b8c659eae665e1346360867403af
Author: Dave Collins <[email protected]>
Date: 2014-04-11 (Fri, 11 Apr 2014)
Changed paths:
M jsoncmd.go
M jsonresults.go
M test_coverage.txt
Log Message:
-----------
Add support for registering custom reply parsers.
This commit extends the RegisterCustomCmd function to also accept a reply
parser which will be invoked for replies to the custom command via
ReadResultCmd. This allows replies to custom commands to be returned a
concrete structs instead of map[string]interface{}.
ok @jcvernaleo, @jrick
Commit: 0a14b19276a20aa857dbef274b18c0c36d7af973
https://github.com/btcsuite/btcd/commit/0a14b19276a20aa857dbef274b18c0c36d7af973
Author: Dave Collins <[email protected]>
Date: 2014-04-11 (Fri, 11 Apr 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Redo ListTransactionsResult fix.
This was also lost in the move to jsonresults.go.
Commit: e6dca4de6f67556c5039a38aa1790d5630f580a5
https://github.com/btcsuite/btcd/commit/e6dca4de6f67556c5039a38aa1790d5630f580a5
Author: David Hill <[email protected]>
Date: 2014-04-11 (Fri, 11 Apr 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Add UnlockedUntil to InfoResult.
Commit: 372e8c19262441519620cf341317fc195090e769
https://github.com/btcsuite/btcd/commit/372e8c19262441519620cf341317fc195090e769
Author: David Hill <[email protected]>
Date: 2014-04-11 (Fri, 11 Apr 2014)
Changed paths:
M jsonresults.go
M jsonresults_test.go
M test_coverage.txt
Log Message:
-----------
Add support for ListSinceBlockResult
ok @davecgh
Commit: 0ca3d386ed9bb1aed103effc7347a4ba8bc0c77b
https://github.com/btcsuite/btcd/commit/0ca3d386ed9bb1aed103effc7347a4ba8bc0c77b
Author: Dave Collins <[email protected]>
Date: 2014-04-12 (Sat, 12 Apr 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Add support for listaccounts concrete result.
Commit: ea7947f74e462c51b4095392e62644c055c4e1f3
https://github.com/btcsuite/btcd/commit/ea7947f74e462c51b4095392e62644c055c4e1f3
Author: David Hill <[email protected]>
Date: 2014-04-12 (Sat, 12 Apr 2014)
Changed paths:
M jsonresults.go
M jsonresults_test.go
M test_coverage.txt
Log Message:
-----------
Add support for decodescript concrete result.
Commit: 997d98bddf87d95e0d3f71a2aa34ec42bce8a599
https://github.com/btcsuite/btcd/commit/997d98bddf87d95e0d3f71a2aa34ec42bce8a599
Author: David Hill <[email protected]>
Date: 2014-04-12 (Sat, 12 Apr 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
add a few missing and fix misspelled commands.
Commit: 1349f96d8ef3c3328e9ba498c384884c821a4099
https://github.com/btcsuite/btcd/commit/1349f96d8ef3c3328e9ba498c384884c821a4099
Author: Dave Collins <[email protected]>
Date: 2014-04-18 (Fri, 18 Apr 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Correct GetRawMempoolResult types.
The StartingPriority and CurrentPriority fields of the GetRawMempoolResult
are float64s instead of ints.
Commit: 4595c9d90da28eb3d4b29cf8911ff458a140a0aa
https://github.com/btcsuite/btcd/commit/4595c9d90da28eb3d4b29cf8911ff458a140a0aa
Author: Dave Collins <[email protected]>
Date: 2014-04-23 (Wed, 23 Apr 2014)
Changed paths:
M jsonresults.go
M test_coverage.txt
Log Message:
-----------
Add listreceivedbyaccount concrete result.
ok @jcvernaleo.
Commit: 3fd59048591784997016540df555baf65221726d
https://github.com/btcsuite/btcd/commit/3fd59048591784997016540df555baf65221726d
Author: Josh Rickmar <[email protected]>
Date: 2014-04-25 (Fri, 25 Apr 2014)
Changed paths:
M jsoncmd.go
M test_coverage.txt
Log Message:
-----------
Always return unparsableCmds when possible.
This change overrides the cmd return value of custom registered
methods to always return an unparsableCmd if the marshaling as a
JSON-RPC request succeeded, but the request was an invalid structure
for the custom method.
Commit: d0a2506a968d8907b995c9a457147c214cdc7bed
https://github.com/btcsuite/btcd/commit/d0a2506a968d8907b995c9a457147c214cdc7bed
Author: Dave Collins <[email protected]>
Date: 2014-05-03 (Sat, 03 May 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Improve GetMiningInfoResult.
This commit modifies the types of the GetMiningInfoResult to better match
their underlying types. While the information was all available and
accurate, it's nicer to treat numeric values as proper types instead of
all float64s.
Also, a new networkhashps field has been added for compatibility with the
reference implementation.
Commit: d443b489944bf3e717e98433130d2af429b27473
https://github.com/btcsuite/btcd/commit/d443b489944bf3e717e98433130d2af429b27473
Author: Dave Collins <[email protected]>
Date: 2014-05-03 (Sat, 03 May 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Improve InfoResult.
This commit modifies InfoResult to remove all of the omitempty tags since
the fields should be present in the marshalled JSON regardless of them
being zero values or not.
Commit: 4202bf2e93f150ed9ef899116ccaa35155891ae8
https://github.com/btcsuite/btcd/commit/4202bf2e93f150ed9ef899116ccaa35155891ae8
Author: Dave Collins <[email protected]>
Date: 2014-05-03 (Sat, 03 May 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Make TestNet field name consistent.
The commit makes the TestNet field in GetMiningInfoResult consistent with
InfoResult.
Commit: 4fb52720636a06de7fe22ea2f22538e9458681a5
https://github.com/btcsuite/btcd/commit/4fb52720636a06de7fe22ea2f22538e9458681a5
Author: GeertJohan <[email protected]>
Date: 2014-05-04 (Sun, 04 May 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Return pointer to TxRawResult and use bytes.IndexByte instead of
Strings.Contains
Commit: 94451d7a9cd82e3a7a82424b67f9142504abb6d9
https://github.com/btcsuite/btcd/commit/94451d7a9cd82e3a7a82424b67f9142504abb6d9
Author: Geert-Johan Riemer <[email protected]>
Date: 2014-05-05 (Mon, 05 May 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Changed strings.Contains(?, "{") to bytes.IndexOf(?, '{')>-1
Commit: a5169bd8804f816f23198a8a4861fa98a732f559
https://github.com/btcsuite/btcd/commit/a5169bd8804f816f23198a8a4861fa98a732f559
Author: John C. Vernaleo <[email protected]>
Date: 2014-05-05 (Mon, 05 May 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Remove extraneous character that got added to comment.
Commit: 9965019da0876c7a2b16b5b0dcd5b26e8c438344
https://github.com/btcsuite/btcd/commit/9965019da0876c7a2b16b5b0dcd5b26e8c438344
Author: GeertJohan <[email protected]>
Date: 2014-05-05 (Mon, 05 May 2014)
Changed paths:
M doc.go
M jsonresults.go
Log Message:
-----------
Return pointers to structs
Update doc.go to use proper btcjson result type
Return pointers to structs
Update doc.go to use proper btcjson result type
Commit: 67abae0dbfccb6bc705519da4c7dfa1c74f279aa
https://github.com/btcsuite/btcd/commit/67abae0dbfccb6bc705519da4c7dfa1c74f279aa
Author: Dave Collins <[email protected]>
Date: 2014-05-05 (Mon, 05 May 2014)
Changed paths:
A CONTRIBUTORS
Log Message:
-----------
Add CONTRIBUTORS file.
Since the github contributors list only lasts for a period of time, it's
better to also maintain a contributors list in the repository rather than
solely relying on github.
Commit: b993af04b96b79b9a114f7a18086d38e8894870c
https://github.com/btcsuite/btcd/commit/b993af04b96b79b9a114f7a18086d38e8894870c
Author: Dave Collins <[email protected]>
Date: 2014-05-05 (Mon, 05 May 2014)
Changed paths:
M CONTRIBUTORS
Log Message:
-----------
Correct misspelled contributor name.
Commit: 2e126ef59771994224d43ab83eadbd15ae6dfa01
https://github.com/btcsuite/btcd/commit/2e126ef59771994224d43ab83eadbd15ae6dfa01
Author: Josh Rickmar <[email protected]>
Date: 2014-05-09 (Fri, 09 May 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Rename ListUnspentResult, use correct integer types.
Commit: 4f0eb662c835032c33c44250f403bd6e7b4be82d
https://github.com/btcsuite/btcd/commit/4f0eb662c835032c33c44250f403bd6e7b4be82d
Author: David Hill <[email protected]>
Date: 2014-05-12 (Mon, 12 May 2014)
Changed paths:
M jsonapi.go
M jsonapi_test.go
M jsoncmd.go
M jsoncmd_test.go
M jsonresults.go
M test_coverage.txt
Log Message:
-----------
Support getblockchaininfo
Commit: 529036ec2b77b37fea0d8c6320a4462182405118
https://github.com/btcsuite/btcd/commit/529036ec2b77b37fea0d8c6320a4462182405118
Author: David Hill <[email protected]>
Date: 2014-05-14 (Wed, 14 May 2014)
Changed paths:
M jsonapi.go
M jsonapi_test.go
M jsoncmd.go
M jsoncmd_test.go
M jsonresults.go
M jsonresults_test.go
M test_coverage.txt
Log Message:
-----------
Implement getnetworkinfo
Commit: 82e79619a5fee4c841f1309b9bfad1263e005d84
https://github.com/btcsuite/btcd/commit/82e79619a5fee4c841f1309b9bfad1263e005d84
Author: Josh Rickmar <[email protected]>
Date: 2014-05-21 (Wed, 21 May 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Add missing redeemScript to ListUnspentResult.
ok @jcvernaleo
Commit: 66afd1dbc9e4a5d65f60fabbfb418e0ac2bbee97
https://github.com/btcsuite/btcd/commit/66afd1dbc9e4a5d65f60fabbfb418e0ac2bbee97
Author: David Hill <[email protected]>
Date: 2014-06-05 (Thu, 05 Jun 2014)
Changed paths:
M jsonfxns.go
Log Message:
-----------
Use NewReader instead of NewBuffer.
Commit: 1723db03c57a65fb3b0abdc8321884248ca1dbd6
https://github.com/btcsuite/btcd/commit/1723db03c57a65fb3b0abdc8321884248ca1dbd6
Author: Nicola 'tekNico' Larosa <[email protected]>
Date: 2014-06-10 (Tue, 10 Jun 2014)
Changed paths:
M jsonresults.go
M jsonresults_test.go
Log Message:
-----------
Add type and handling for listreceivedbyaddress.
Commit: 92c7716dd43458394cf5b1ca328addc21ba1e646
https://github.com/btcsuite/btcd/commit/92c7716dd43458394cf5b1ca328addc21ba1e646
Author: John C. Vernaleo <[email protected]>
Date: 2014-06-10 (Tue, 10 Jun 2014)
Changed paths:
M test_coverage.txt
Log Message:
-----------
Update coverage report.
Commit: 39b09f7be1f1880323dcb688d8336653ab899fc7
https://github.com/btcsuite/btcd/commit/39b09f7be1f1880323dcb688d8336653ab899fc7
Author: David Hill <[email protected]>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Changed paths:
M cmdhelp.go
M jsonapi.go
M jsonapi_test.go
M jsoncmd.go
M jsoncmd_test.go
M jsonresults.go
M test_coverage.txt
Log Message:
-----------
Add support for estimatefee and estimatepriority.
Commit: 65c0570234fdb4f809f2b911c72fca2052e45ead
https://github.com/btcsuite/btcd/commit/65c0570234fdb4f809f2b911c72fca2052e45ead
Author: Josh Rickmar <[email protected]>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
Remove SetId from Cmd interface.
Commit: 93f5aab0dba53d2782903a6b7949e11045d2c2a7
https://github.com/btcsuite/btcd/commit/93f5aab0dba53d2782903a6b7949e11045d2c2a7
Author: Josh Rickmar <[email protected]>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Changed paths:
M test_coverage.txt
Log Message:
-----------
Update test coverage report.
Commit: ac5cc1d64ee48460cd4c65a2b537e4846c424911
https://github.com/btcsuite/btcd/commit/ac5cc1d64ee48460cd4c65a2b537e4846c424911
Author: Dave Collins <[email protected]>
Date: 2014-06-12 (Thu, 12 Jun 2014)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
Use default genproclimit of -1 on setgenerate RPC.
The correct default for the genproclimit on the setgenerate RPC is -1.
ok @jcvernaleo.
Commit: 3d7749fceabbe6c8ffae2411444a658b6dbe5405
https://github.com/btcsuite/btcd/commit/3d7749fceabbe6c8ffae2411444a658b6dbe5405
Author: John C. Vernaleo <[email protected]>
Date: 2014-06-12 (Thu, 12 Jun 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Change PingTime and PingWait to float64.
This is to match bitcoin-core. Caught by Skelsey.
Closes #24
Commit: 1997d73c652c3888ecab6042918ecec65c757abc
https://github.com/btcsuite/btcd/commit/1997d73c652c3888ecab6042918ecec65c757abc
Author: Dave Collins <[email protected]>
Date: 2014-06-13 (Fri, 13 Jun 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Alphabetize result type declarations.
Commit: b585d4e3a0233f5933d5fb7bad7960480890fdb7
https://github.com/btcsuite/btcd/commit/b585d4e3a0233f5933d5fb7bad7960480890fdb7
Author: Dave Collins <[email protected]>
Date: 2014-06-16 (Mon, 16 Jun 2014)
Changed paths:
M jsonapi.go
M jsonapi_test.go
M jsoncmd.go
M jsonresults.go
Log Message:
-----------
Make params which reference txout indices uint32.
This reasons for this change follow:
- All instances of the same key should be consistent amongst the commands
and returns
- Output indices can't be negative, so rather than adding more code to
check for a negative after unmarshal, just allow the unmarshal to weed
out negatives
ok @jcvernaleo
Commit: 370899e1fc9335624ba9858196caa904fed8a41e
https://github.com/btcsuite/btcd/commit/370899e1fc9335624ba9858196caa904fed8a41e
Author: Dave Collins <[email protected]>
Date: 2014-06-16 (Mon, 16 Jun 2014)
Changed paths:
M jsoncmd.go
Log Message:
-----------
Change RawTxInput.Vout to uint32 as well.
This was missed by the previous commit.
Commit: 00874b6ec24ee41f0c7a5774728b06049e7623e8
https://github.com/btcsuite/btcd/commit/00874b6ec24ee41f0c7a5774728b06049e7623e8
Author: Josh Rickmar <[email protected]>
Date: 2014-06-23 (Mon, 23 Jun 2014)
Changed paths:
M jsoncmd.go
Log Message:
-----------
Unmarshal correct lockunspent outpoints parameter.
Commit: dc84f95fe9ed33926a0b21163b62763fb0ed0506
https://github.com/btcsuite/btcd/commit/dc84f95fe9ed33926a0b21163b62763fb0ed0506
Author: Dave Collins <[email protected]>
Date: 2014-06-27 (Fri, 27 Jun 2014)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
Name field WorkID to make golint happy.
Commit: 5290cb1186db65e12172231dd6b50afbafe01e6e
https://github.com/btcsuite/btcd/commit/5290cb1186db65e12172231dd6b50afbafe01e6e
Author: Dave Collins <[email protected]>
Date: 2014-06-27 (Fri, 27 Jun 2014)
Changed paths:
M jsoncmd.go
Log Message:
-----------
Allow more BIP0022 fields in GetBlockTemplateCmd.
BIP0022 defines optional fields in a getblocktemplate request for long
polling and template tweaking.
In addition, for template tweaking, there are two fields, sigoplimit and
sizelimit, which are atypical in that they are allowed to be either
booleans or numeric. This requires the fields to be represented as
interfaces which means any code making use of the struct will need to use
type assertions or a type switch.
This commit updates GetBlockTemplateCmd accordingly.
ok @jcvernaleo
Commit: b6c474de2a8de7535db5b2ebcf560690f3b6deb3
https://github.com/btcsuite/btcd/commit/b6c474de2a8de7535db5b2ebcf560690f3b6deb3
Author: Dave Collins <[email protected]>
Date: 2014-06-27 (Fri, 27 Jun 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Add support for BIP0022 GetBlockTemplateResult.
This commit adds a new result type for the getblocktemplate RPC which
provides the fields as defined by BIP0022. The extension fields defined
by BIP0023 are not included yet.
ok @jcvernaleo
Commit: b5db9fb48569b906a526fa5242cbf8d30e2aa07e
https://github.com/btcsuite/btcd/commit/b5db9fb48569b906a526fa5242cbf8d30e2aa07e
Author: Dave Collins <[email protected]>
Date: 2014-06-27 (Fri, 27 Jun 2014)
Changed paths:
M jsoncmd.go
M jsonresults.go
Log Message:
-----------
Add BIP0023 basic pool extension fields.
This commit adds the optional basic pool extension fields defined by
BIP0023 to the GetBlockTemplateResult GetBlockTemplateCmd types.
ok @jcvernaleo
Commit: ed76ff2172b7525689275a3db256e82889931323
https://github.com/btcsuite/btcd/commit/ed76ff2172b7525689275a3db256e82889931323
Author: Dave Collins <[email protected]>
Date: 2014-06-27 (Fri, 27 Jun 2014)
Changed paths:
M jsoncmd.go
M jsonresults.go
Log Message:
-----------
Add BIP0023 block proposal fields.
This commit adds the optional block proposal fields defined by BIP0023 to
the GetBlockTemplateResult and TemplateRequest types.
ok @jcvernaleo
Commit: e2e688e3d62a917d361762d22a47b6ee63f29741
https://github.com/btcsuite/btcd/commit/e2e688e3d62a917d361762d22a47b6ee63f29741
Author: Dave Collins <[email protected]>
Date: 2014-06-29 (Sun, 29 Jun 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Make a compatibility pass.
This commit modifies some of the types of the values to better match the
reference client JSON-RPC API.
Commit: 2d32ed6ba741bd24eaf0da91d9d19271f5b30ea3
https://github.com/btcsuite/btcd/commit/2d32ed6ba741bd24eaf0da91d9d19271f5b30ea3
Author: Dave Collins <[email protected]>
Date: 2014-06-30 (Mon, 30 Jun 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Add MaxTime field support from BIP0023 mutations.
Commit: 6aa6bec7fc1fb46f086af45f02384b6d50e4e69b
https://github.com/btcsuite/btcd/commit/6aa6bec7fc1fb46f086af45f02384b6d50e4e69b
Author: Dave Collins <[email protected]>
Date: 2014-07-02 (Wed, 02 Jul 2014)
Changed paths:
M jsonapi_test.go
M jsoncmd_test.go
M jsonfxns_test.go
M jsonresults_test.go
Log Message:
-----------
goimports -w .
Commit: 2e0a2433834736123ff440c3ca73ebdf3331f052
https://github.com/btcsuite/btcd/commit/2e0a2433834736123ff440c3ca73ebdf3331f052
Author: David Hill <[email protected]>
Date: 2014-07-04 (Fri, 04 Jul 2014)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
M jsonresults.go
M jsonresults_test.go
M test_coverage.txt
Log Message:
-----------
Support gettxout
Commit: 8005d2e455d3fabf0e2bf512f30a282556b42718
https://github.com/btcsuite/btcd/commit/8005d2e455d3fabf0e2bf512f30a282556b42718
Author: Dave Collins <[email protected]>
Date: 2014-07-07 (Mon, 07 Jul 2014)
Changed paths:
M README.md
Log Message:
-----------
Update TODO list in README.
This package has supported https for quite some time.
Commit: 033b00dd1cc886c2d7f2257b7b1ae4107693ca29
https://github.com/btcsuite/btcd/commit/033b00dd1cc886c2d7f2257b7b1ae4107693ca29
Author: Olaoluwa Osuntokun <[email protected]>
Date: 2014-07-15 (Tue, 15 Jul 2014)
Changed paths:
M jsonerr.go
M jsonresults.go
Log Message:
-----------
Properly set reply.Result to output of unmarshalled GetTxOutResult JSON.
Fix panic caused by nil pointer dereference.
Create new error type for invalid tx vout (gettxout).
Commit: 6aea36c5500cf97ee6fce432ea535e7e3065d0b5
https://github.com/btcsuite/btcd/commit/6aea36c5500cf97ee6fce432ea535e7e3065d0b5
Author: John C. Vernaleo <[email protected]>
Date: 2014-07-15 (Tue, 15 Jul 2014)
Changed paths:
M cmdhelp.go
M jsonapi.go
M jsonapi_test.go
M jsoncmd.go
M jsoncmd_test.go
M jsonfxns.go
M jsonresults.go
Log Message:
-----------
Various changes to make golint happier.
Commit: 766d571317a53de92d05504a6fab371d2c5e8864
https://github.com/btcsuite/btcd/commit/766d571317a53de92d05504a6fab371d2c5e8864
Author: John C. Vernaleo <[email protected]>
Date: 2014-07-24 (Thu, 24 Jul 2014)
Changed paths:
M jsonapi.go
M test_coverage.txt
Log Message:
-----------
Replace common error with defined value.
Commit: 3d76571621d9f34d7c0470b7d621aea916ceb0f6
https://github.com/btcsuite/btcd/commit/3d76571621d9f34d7c0470b7d621aea916ceb0f6
Author: David Hill <[email protected]>
Date: 2014-08-29 (Fri, 29 Aug 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Update getnetworkinfo structure.
This matches the changes in Bitcoin Core.
Tested with btcctl.
OK @jcvernaleo
Commit: d6a4b896015c71ccff1e3b08d4a6a028213a0642
https://github.com/btcsuite/btcd/commit/d6a4b896015c71ccff1e3b08d4a6a028213a0642
Author: Javed Khan <[email protected]>
Date: 2014-09-04 (Thu, 04 Sep 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
updated ListReceivedByAddressResult for Tx ids
also added InvolvesWatchonly while here
Commit: c630b6ca1fa86bead0d13f3e32fede47a40f32d3
https://github.com/btcsuite/btcd/commit/c630b6ca1fa86bead0d13f3e32fede47a40f32d3
Author: John C. Vernaleo <[email protected]>
Date: 2014-09-05 (Fri, 05 Sep 2014)
Changed paths:
M internal_test.go
M jsonapi.go
M jsonfxns.go
Log Message:
-----------
Minor golint cleanups.
Commit: 8f4643df14832a09183427810ddef051a7a4aeec
https://github.com/btcsuite/btcd/commit/8f4643df14832a09183427810ddef051a7a4aeec
Author: John C. Vernaleo <[email protected]>
Date: 2014-09-08 (Mon, 08 Sep 2014)
Changed paths:
M .travis.yml
Log Message:
-----------
Add go vet and golint to travis-ci config.
For golint, min_confidence is set to 0.9 since things aren't totally
golint clean yet.
Commit: 4bc2c7f04f2a252b304c13ce5315431909994681
https://github.com/btcsuite/btcd/commit/4bc2c7f04f2a252b304c13ce5315431909994681
Author: John C. Vernaleo <[email protected]>
Date: 2014-09-08 (Mon, 08 Sep 2014)
Changed paths:
M .travis.yml
Log Message:
-----------
Slight siplification in .travis.yml
Commit: 036daa58178a284c864a294a556a0954f96a3af4
https://github.com/btcsuite/btcd/commit/036daa58178a284c864a294a556a0954f96a3af4
Author: John C. Vernaleo <[email protected]>
Date: 2014-09-16 (Tue, 16 Sep 2014)
Changed paths:
M .travis.yml
Log Message:
-----------
Bring .travis.yml in line with others.
Add tip too.
Commit: 3e465b2012afb194e9d4d4410f33ac4eb6e2ad9e
https://github.com/btcsuite/btcd/commit/3e465b2012afb194e9d4d4410f33ac4eb6e2ad9e
Author: John C. Vernaleo <[email protected]>
Date: 2014-09-16 (Tue, 16 Sep 2014)
Changed paths:
M .travis.yml
Log Message:
-----------
Remove extra go vet
Commit: 26802c7eccfb484141a1488c9ef40e5b5805d96c
https://github.com/btcsuite/btcd/commit/26802c7eccfb484141a1488c9ef40e5b5805d96c
Author: Josh Rickmar <[email protected]>
Date: 2014-09-16 (Tue, 16 Sep 2014)
Changed paths:
M jsonapi.go
Log Message:
-----------
Fix JSONGetMethod to prevent panics on bad input.
ok @jcvernaleo
Commit: 1caddd4a37d2e85c65e36065bdd47cf946e9e4c1
https://github.com/btcsuite/btcd/commit/1caddd4a37d2e85c65e36065bdd47cf946e9e4c1
Author: Javed Khan <[email protected]>
Date: 2014-09-16 (Tue, 16 Sep 2014)
Changed paths:
M jsonapi.go
M jsonresults.go
Log Message:
-----------
handle http errors
ok @jrick, @jcvernaleo
Commit: a5b1a31e073d67be0215e68ce3714b2cfd661bfd
https://github.com/btcsuite/btcd/commit/a5b1a31e073d67be0215e68ce3714b2cfd661bfd
Author: Dave Collins <[email protected]>
Date: 2014-09-20 (Sat, 20 Sep 2014)
Changed paths:
M jsonfxns.go
Log Message:
-----------
Use the net package function for credentials.
This change ensures any usernames or passwords which contain symbols that
would confuse the URL parser are properly escaped.
Commit: dd4763c7260c53f513b6981fec1b90174038686e
https://github.com/btcsuite/btcd/commit/dd4763c7260c53f513b6981fec1b90174038686e
Author: Dave Collins <[email protected]>
Date: 2014-10-23 (Thu, 23 Oct 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Don't modify nil getnetworkinfo result.
Since the result might not be set when the response does not contain one,
such as in the case when the command is not implemented by the server,
don't attempt to modify it until ensuring it exists.
Commit: e316258f6de796341e89f51a51986953982690c4
https://github.com/btcsuite/btcd/commit/e316258f6de796341e89f51a51986953982690c4
Author: Dave Collins <[email protected]>
Date: 2014-10-26 (Sun, 26 Oct 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
Update ListReceivedByAddressResult txids field.
The name of the field in the returned JSON is txids, not tx.
Commit: d87778df6dc5d5f1716021c0fca26e035ed7ac73
https://github.com/btcsuite/btcd/commit/d87778df6dc5d5f1716021c0fca26e035ed7ac73
Author: Javed Khan <[email protected]>
Date: 2014-10-29 (Wed, 29 Oct 2014)
Changed paths:
M jsonresults.go
Log Message:
-----------
update ValidateAddressResult for IsWatchOnly
Commit: 503670f7a576b10227b12fe5526c6f05924fcf3e
https://github.com/btcsuite/btcd/commit/503670f7a576b10227b12fe5526c6f05924fcf3e
Author: John C. Vernaleo <[email protected]>
Date: 2014-12-02 (Tue, 02 Dec 2014)
Changed paths:
M .travis.yml
Log Message:
-----------
For now, do not have travis build tip.
The location of go vet moved but the new version only works with tip
while the old one works with release. So for now, not building tip.
Commit: e0d536640da2eaf6720b01e3b489e2e8886c4194
https://github.com/btcsuite/btcd/commit/e0d536640da2eaf6720b01e3b489e2e8886c4194
Author: John C. Vernaleo <[email protected]>
Date: 2014-12-02 (Tue, 02 Dec 2014)
Changed paths:
M cmdhelp.go
M jsonapi.go
M jsonapi_test.go
M jsoncmd.go
M jsoncmd_test.go
M test_coverage.txt
Log Message:
-----------
Add invalidateblock and reconsiderblock.
Commit: 43b4cad8b69e3056018eaeb9b2bc9bba7a42af86
https://github.com/btcsuite/btcd/commit/43b4cad8b69e3056018eaeb9b2bc9bba7a42af86
Author: Dave Collins <[email protected]>
Date: 2014-12-11 (Thu, 11 Dec 2014)
Changed paths:
M .travis.yml
Log Message:
-----------
Update TracisCI for Go 1.4 release.
Our policy is to only ensure the code compiles for the latest Go release
minus one version. Since Go 1.4 has now been released, this commit
updates TravisCI to remove Go 1.2 from the build matrix and add Go 1.3.
Also, go vet changed locations in between Go 1.3 and Go 1.4, so a check
has been added to download the appropriate version based on which version
of Go is running the integration tests.
Finally, the previous removed Go tip entry in the build matrix has been
reintroduced since it will now work again.
Commit: d041b80301541bbcf940ce16457f1c730f1c818f
https://github.com/btcsuite/btcd/commit/d041b80301541bbcf940ce16457f1c730f1c818f
Author: Dave Collins <[email protected]>
Date: 2014-12-11 (Thu, 11 Dec 2014)
Changed paths:
M .travis.yml
Log Message:
-----------
Correct recent TravisCI go vet fetch script.
Commit: 7214218925f33b31e4aba04add7f989a61d9c40a
https://github.com/btcsuite/btcd/commit/7214218925f33b31e4aba04add7f989a61d9c40a
Author: Dave Collins <[email protected]>
Date: 2014-12-11 (Thu, 11 Dec 2014)
Changed paths:
M .travis.yml
Log Message:
-----------
Be more specific in TravisCI go vet version test.
Commit: 39d758c2c39841e32a6d34e77840485bf07aea08
https://github.com/btcsuite/btcd/commit/39d758c2c39841e32a6d34e77840485bf07aea08
Author: Dave Collins <[email protected]>
Date: 2015-01-06 (Tue, 06 Jan 2015)
Changed paths:
M .travis.yml
Log Message:
-----------
Fix TravisCI build for Go release version.
Commit: effe99b4b59bb4b1b7b9e969552bfa82e617eff1
https://github.com/btcsuite/btcd/commit/effe99b4b59bb4b1b7b9e969552bfa82e617eff1
Author: Olaoluwa Osuntokun <[email protected]>
Date: 2015-01-07 (Wed, 07 Jan 2015)
Changed paths:
M jsoncmd.go
Log Message:
-----------
Correct typo: Unmashal -> Unmarshal
Commit: b9c8ec92d630bcb157e33332c2d7fa587edf85de
https://github.com/btcsuite/btcd/commit/b9c8ec92d630bcb157e33332c2d7fa587edf85de
Author: Olaoluwa Osuntokun <[email protected]>
Date: 2015-01-07 (Wed, 07 Jan 2015)
Changed paths:
M cmdhelp.go
M jsonapi.go
M jsonapi_test.go
M jsoncmd.go
M jsoncmd_test.go
M jsonresults.go
M jsonresults_test.go
M test_coverage.txt
Log Message:
-----------
Add searchrawtransaction
Commit: 62eb2f219809162ce674e23bdc789ab896da05f2
https://github.com/btcsuite/btcd/commit/62eb2f219809162ce674e23bdc789ab896da05f2
Author: Javed Khan <[email protected]>
Date: 2015-01-12 (Mon, 12 Jan 2015)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
Accept nil string for account name
Commit: b94598da551c45887de16d96634ed09163a9dcbc
https://github.com/btcsuite/btcd/commit/b94598da551c45887de16d96634ed09163a9dcbc
Author: Olaoluwa Osuntokun <[email protected]>
Date: 2015-01-16 (Fri, 16 Jan 2015)
Changed paths:
M jsonresults.go
Log Message:
-----------
Remove `omitempty` fromTxRawResult confirmations
* Previously both searchrawtransaction and getrawtransaction would omit
the 'Confirmations' field by default if the transaction was found in
the mempool.
* By removing `omitempty`, a mempool transaction will now have
'Confirmations:0'
Commit: 578d1debc5a33c908a547a5460131663ef4b0c42
https://github.com/btcsuite/btcd/commit/578d1debc5a33c908a547a5460131663ef4b0c42
Author: Dave Collins <[email protected]>
Date: 2015-01-16 (Fri, 16 Jan 2015)
Changed paths:
M README.md
M jsonapi_test.go
M jsonfxns_test.go
M jsonresults_test.go
Log Message:
-----------
Update btcjson import paths to new location.
Commit: dc4989461a826fb68c15972716bd21d4dd26d4f7
https://github.com/btcsuite/btcd/commit/dc4989461a826fb68c15972716bd21d4dd26d4f7
Author: Olaoluwa Osuntokun <[email protected]>
Date: 2015-01-26 (Mon, 26 Jan 2015)
Changed paths:
M cmdhelp.go
Log Message:
-----------
Add new logging subsystem ADXR to debuglevel help
Commit: 1b57f5bf8787714b6363feed6e4e236235ca798d
https://github.com/btcsuite/btcd/commit/1b57f5bf8787714b6363feed6e4e236235ca798d
Author: Olaoluwa Osuntokun <[email protected]>
Date: 2015-02-05 (Thu, 05 Feb 2015)
Changed paths:
M cmdhelp.go
M jsonapi.go
M jsonapi_test.go
M jsoncmd.go
M jsoncmd_test.go
M jsonresults.go
M jsonresults_test.go
Log Message:
-----------
Change searchrawtransaction to be compatible with bitcoind
* Pluralise `searchrawtransaction` -> `searchrawtransactions`
* Change the `verbose` parameter from a bool to an int.
Commit: 316d92d613a8adfe69a428645774c3b3a974f202
https://github.com/btcsuite/btcd/commit/316d92d613a8adfe69a428645774c3b3a974f202
Author: Josh Rickmar <[email protected]>
Date: 2015-02-06 (Fri, 06 Feb 2015)
Changed paths:
M .travis.yml
Log Message:
-----------
Update Go versions for Travis.
Also use Travis' container-based build infrastructure.
Commit: 78e2c8401beca63ebec3c708b65e50fc2d27b589
https://github.com/btcsuite/btcd/commit/78e2c8401beca63ebec3c708b65e50fc2d27b589
Author: Javed Khan <[email protected]>
Date: 2015-02-07 (Sat, 07 Feb 2015)
Changed paths:
M jsoncmd.go
M jsoncmd_test.go
Log Message:
-----------
Added new cmds importaddress, importpubkey
Commit: fca277e194ced12d09f754d24d31e772489884ae
https://github.com/btcsuite/btcd/commit/fca277e194ced12d09f754d24d31e772489884ae
Author: Olaoluwa Osuntokun <[email protected]>
Date: 2015-02-14 (Sat, 14 Feb 2015)
Changed paths:
M jsonresults.go
Log Message:
-----------
Extend getpeerinfo result with current block height.
* This adds support for displaying the progress of dynamically
updating the current height of connected peers.
Commit: cb7c24141aee94f82adb57d6dd0c9fa2b45c1043
https://github.com/btcsuite/btcd/commit/cb7c24141aee94f82adb57d6dd0c9fa2b45c1043
Author: Dave Collins <[email protected]>
Date: 2015-02-19 (Thu, 19 Feb 2015)
Changed paths:
M README.md
A v2/btcjson/btcdextcmds.go
A v2/btcjson/btcdextcmds_test.go
A v2/btcjson/btcwalletextcmds.go
A v2/btcjson/btcwalletextcmds_test.go
A v2/btcjson/chainsvrcmds.go
A v2/btcjson/chainsvrcmds_test.go
A v2/btcjson/chainsvrresults.go
A v2/btcjson/chainsvrresults_test.go
A v2/btcjson/chainsvrwscmds.go
A v2/btcjson/chainsvrwscmds_test.go
A v2/btcjson/chainsvrwsntfns.go
A v2/btcjson/chainsvrwsntfns_test.go
A v2/btcjson/cmdinfo.go
A v2/btcjson/cmdinfo_test.go
A v2/btcjson/cmdparse.go
A v2/btcjson/cmdparse_test.go
A v2/btcjson/error.go
A v2/btcjson/error_test.go
A v2/btcjson/export_test.go
A v2/btcjson/help.go
A v2/btcjson/helpers.go
A v2/btcjson/helpers_test.go
A v2/btcjson/jsonrpc.go
A v2/btcjson/jsonrpc_test.go
A v2/btcjson/jsonrpcerr.go
A v2/btcjson/register.go
A v2/btcjson/register_test.go
A v2/btcjson/walletsvrcmds.go
A v2/btcjson/walletsvrcmds_test.go
A v2/btcjson/walletsvrresults.go
A v2/btcjson/walletsvrwscmds.go
A v2/btcjson/walletsvrwscmds_test.go
A v2/btcjson/walletsvrwsntfns.go
A v2/btcjson/walletsvrwsntfns_test.go
Log Message:
-----------
Reimagine btcjson package with version 2.
This commit implements a reimagining of the way the btcjson package
functions based upon how the project has evolved and lessons learned while
using it since it was first written. It therefore contains significant
changes to the API. For now, it has been implemented in a v2 subdirectory
to prevent breaking existing callers, but the ultimate goal is to update
all callers to use the new version and then to replace the old API with
the new one.
This also removes the need for the btcws completely since those commands
have been rolled in.
The following is an overview of the changes and some reasoning behind why
they were made:
- The infrastructure has been completely changed to be reflection based instead
of requiring thousands and thousands of lines of manual, and therefore error
prone, marshal/unmarshal code
- This makes it much easier to add new commands without making marshalling
mistakes since it is simply a struct definition and a call to register that
new struct (plus a trivial New<foo>Cmd function and tests, of course)
- It also makes it much easier to gain a lot of information from simply
looking at the struct definition which was previously not possible
such as the order of the parameters, which parameters are required
versus optional, and what the default values for optional parameters
are
- Each command now has usage flags associated with them that can be
queried which are intended to allow classification of the commands such
as for chain server and wallet server and websocket-only
- The help infrastructure has been completely redone to provide automatic
generation with caller provided description map and result types. This
is in contrast to the previous method of providing the help directly
which meant it would end up in the binary of anything that imported the
package
- Many of the structs have been renamed to use the terminology from the
JSON-RPC
specification:
- RawCmd/Message is now only a single struct named Request to reflect the fact
it is a JSON-RPC request
- Error is now called RPCError to reflect the fact it is specifically an RPC
error as opposed to many of the other errors that are possible
- All RPC error codes except the standard JSON-RPC 2.0 errors have been
converted from full structs to only codes since an audit of the codebase
has shown that the messages are overridden the vast majority of the time
with specifics (as they should be) and removing them also avoids the
temptation to return non-specific, and therefore not as helpful, error
messages
- There is now an Error which provides a type assertable error with
error codes so callers can better ascertain failure reasons
programatically
- The ID is no longer a part of the command and is instead specified at the time
the command is marshalled into a JSON-RPC request. This aligns better with
the way JSON-RPC functions since it is the caller who manages the ID that is
sent with any given _request_, not the package
- All <Foo>Cmd structs now treat non-pointers as required fields and pointers as
optional fields
- All New<Foo>Cmd functions now accept the exact number of parameters, with
pointers to the appropriate type for optional parameters
- This is preferrable to the old vararg syntax since it means the code will
fail to compile if the optional arguments are changed now which helps
prevent errors creep in over time from missed modifications to optional args
- All of the connection related code has been completely eliminated since this
package is not intended to used a client, rather it is intended to provide
the infrastructure needed to marshal/unmarshal Bitcoin-specific JSON-RPC
requests and replies from static types
- The btcrpcclient package provides a robust client with connection management
and higher-level types that in turn uses the primitives provided by this
package
- Even if the caller does not wish to use btcrpcclient for some reason, they
should still be responsible for connection management since they might want
to use any number of connection features which the package would not
necessarily support
- Synced a few of the commands that have added new optional fields that
have since been added to Bitcoin Core
- Includes all of the commands and notifications that were previously in
btcws
- Now provides 100% test coverage with parallel tests
- The code is completely golint and go vet clean
This has the side effect of addressing nearly everything in, and therefore
closes #26.
Also fixes #18 and closes #19.
Commit: f4fc117b666fb6f4493351daf589d770858c8265
https://github.com/btcsuite/btcd/commit/f4fc117b666fb6f4493351daf589d770858c8265
Author: Dave Collins <[email protected]>
Date: 2015-02-19 (Thu, 19 Feb 2015)
Changed paths:
M .travis.yml
M README.md
A goclean.sh
Log Message:
-----------
Update TravisCI to goclean script.
- Also update to use the new container-based builds
- Add coveralls.io support
- Update build badge to use SVG
- Add badges for coverage, license, and godoc
- For now, set it to change to he v2 directory
- This will need to be changed once the v1 code is replaced
Commit: f61b8c808d233c7aa9bfbdbbadbb1bef4cb4a25b
https://github.com/btcsuite/btcd/commit/f61b8c808d233c7aa9bfbdbbadbb1bef4cb4a25b
Author: Dave Collins <[email protected]>
Date: 2015-02-19 (Thu, 19 Feb 2015)
Changed paths:
A v2/btcjson/help_test.go
Log Message:
-----------
Add missing file for help generate tests.
Commit: 586ea151a94707564154a71f24ce260cc2bd7dc8
https://github.com/btcsuite/btcd/commit/586ea151a94707564154a71f24ce260cc2bd7dc8
Author: Dave Collins <[email protected]>
Date: 2015-02-19 (Thu, 19 Feb 2015)
Changed paths:
M v2/btcjson/help_test.go
Log Message:
-----------
Use exported field with struct tag in tests.
Found by golint.
Commit: 6b3c3c7498cb901b1c5c2a9e4b23855fe64d52be
https://github.com/btcsuite/btcd/commit/6b3c3c7498cb901b1c5c2a9e4b23855fe64d52be
Author: Dave Collins <[email protected]>
Date: 2015-02-19 (Thu, 19 Feb 2015)
Changed paths:
R .gitignore
R .travis.yml
R CONTRIBUTORS
R LICENSE
R README.md
A btcjson/CONTRIBUTORS
A btcjson/README.md
A btcjson/cmdhelp.go
A btcjson/doc.go
A btcjson/internal_test.go
A btcjson/jsonapi.go
A btcjson/jsonapi_test.go
A btcjson/jsoncmd.go
A btcjson/jsoncmd_test.go
A btcjson/jsonerr.go
A btcjson/jsonfxns.go
A btcjson/jsonfxns_test.go
A btcjson/jsonresults.go
A btcjson/jsonresults_test.go
A btcjson/v2/btcjson/btcdextcmds.go
A btcjson/v2/btcjson/btcdextcmds_test.go
A btcjson/v2/btcjson/btcwalletextcmds.go
A btcjson/v2/btcjson/btcwalletextcmds_test.go
A btcjson/v2/btcjson/chainsvrcmds.go
A btcjson/v2/btcjson/chainsvrcmds_test.go
A btcjson/v2/btcjson/chainsvrresults.go
A btcjson/v2/btcjson/chainsvrresults_test.go
A btcjson/v2/btcjson/chainsvrwscmds.go
A btcjson/v2/btcjson/chainsvrwscmds_test.go
A btcjson/v2/btcjson/chainsvrwsntfns.go
A btcjson/v2/btcjson/chainsvrwsntfns_test.go
A btcjson/v2/btcjson/cmdinfo.go
A btcjson/v2/btcjson/cmdinfo_test.go
A btcjson/v2/btcjson/cmdparse.go
A btcjson/v2/btcjson/cmdparse_test.go
A btcjson/v2/btcjson/error.go
A btcjson/v2/btcjson/error_test.go
A btcjson/v2/btcjson/export_test.go
A btcjson/v2/btcjson/help.go
A btcjson/v2/btcjson/help_test.go
A btcjson/v2/btcjson/helpers.go
A btcjson/v2/btcjson/helpers_test.go
A btcjson/v2/btcjson/jsonrpc.go
A btcjson/v2/btcjson/jsonrpc_test.go
A btcjson/v2/btcjson/jsonrpcerr.go
A btcjson/v2/btcjson/register.go
A btcjson/v2/btcjson/register_test.go
A btcjson/v2/btcjson/walletsvrcmds.go
A btcjson/v2/btcjson/walletsvrcmds_test.go
A btcjson/v2/btcjson/walletsvrresults.go
A btcjson/v2/btcjson/walletsvrwscmds.go
A btcjson/v2/btcjson/walletsvrwscmds_test.go
A btcjson/v2/btcjson/walletsvrwsntfns.go
A btcjson/v2/btcjson/walletsvrwsntfns_test.go
R cmdhelp.go
R cov_report.sh
R doc.go
R goclean.sh
R internal_test.go
R jsonapi.go
R jsonapi_test.go
R jsoncmd.go
R jsoncmd_test.go
R jsonerr.go
R jsonfxns.go
R jsonfxns_test.go
R jsonresults.go
R jsonresults_test.go
R test_coverage.txt
R v2/btcjson/btcdextcmds.go
R v2/btcjson/btcdextcmds_test.go
R v2/btcjson/btcwalletextcmds.go
R v2/btcjson/btcwalletextcmds_test.go
R v2/btcjson/chainsvrcmds.go
R v2/btcjson/chainsvrcmds_test.go
R v2/btcjson/chainsvrresults.go
R v2/btcjson/chainsvrresults_test.go
R v2/btcjson/chainsvrwscmds.go
R v2/btcjson/chainsvrwscmds_test.go
R v2/btcjson/chainsvrwsntfns.go
R v2/btcjson/chainsvrwsntfns_test.go
R v2/btcjson/cmdinfo.go
R v2/btcjson/cmdinfo_test.go
R v2/btcjson/cmdparse.go
R v2/btcjson/cmdparse_test.go
R v2/btcjson/error.go
R v2/btcjson/error_test.go
R v2/btcjson/export_test.go
R v2/btcjson/help.go
R v2/btcjson/help_test.go
R v2/btcjson/helpers.go
R v2/btcjson/helpers_test.go
R v2/btcjson/jsonrpc.go
R v2/btcjson/jsonrpc_test.go
R v2/btcjson/jsonrpcerr.go
R v2/btcjson/register.go
R v2/btcjson/register_test.go
R v2/btcjson/walletsvrcmds.go
R v2/btcjson/walletsvrcmds_test.go
R v2/btcjson/walletsvrresults.go
R v2/btcjson/walletsvrwscmds.go
R v2/btcjson/walletsvrwscmds_test.go
R v2/btcjson/walletsvrwsntfns.go
R v2/btcjson/walletsvrwsntfns_test.go
Log Message:
-----------
Import btcjson repo into btcjson directory.
This commit contains the entire btcjson repository along with several
changes needed to move all of the files into the btcjson directory in
order to prepare it for merging. This does NOT update btcd or any of the
other packages to use the new location as that will be done separately.
- All import paths in the old btcjson test files have been changed to the
new location
- The coveralls badge has been removed since it unfortunately doesn't
support coverage of sub-packages
This is ongoing work toward #214.
Commit: 45f7a514b6feeaf34f584f214d2c425788f7b521
https://github.com/btcsuite/btcd/commit/45f7a514b6feeaf34f584f214d2c425788f7b521
Author: Dave Collins <[email protected]>
Date: 2015-02-19 (Thu, 19 Feb 2015)
Changed paths:
A btcjson/CONTRIBUTORS
A btcjson/README.md
A btcjson/cmdhelp.go
A btcjson/doc.go
A btcjson/internal_test.go
A btcjson/jsonapi.go
A btcjson/jsonapi_test.go
A btcjson/jsoncmd.go
A btcjson/jsoncmd_test.go
A btcjson/jsonerr.go
A btcjson/jsonfxns.go
A btcjson/jsonfxns_test.go
A btcjson/jsonresults.go
A btcjson/jsonresults_test.go
A btcjson/v2/btcjson/btcdextcmds.go
A btcjson/v2/btcjson/btcdextcmds_test.go
A btcjson/v2/btcjson/btcwalletextcmds.go
A btcjson/v2/btcjson/btcwalletextcmds_test.go
A btcjson/v2/btcjson/chainsvrcmds.go
A btcjson/v2/btcjson/chainsvrcmds_test.go
A btcjson/v2/btcjson/chainsvrresults.go
A btcjson/v2/btcjson/chainsvrresults_test.go
A btcjson/v2/btcjson/chainsvrwscmds.go
A btcjson/v2/btcjson/chainsvrwscmds_test.go
A btcjson/v2/btcjson/chainsvrwsntfns.go
A btcjson/v2/btcjson/chainsvrwsntfns_test.go
A btcjson/v2/btcjson/cmdinfo.go
A btcjson/v2/btcjson/cmdinfo_test.go
A btcjson/v2/btcjson/cmdparse.go
A btcjson/v2/btcjson/cmdparse_test.go
A btcjson/v2/btcjson/error.go
A btcjson/v2/btcjson/error_test.go
A btcjson/v2/btcjson/export_test.go
A btcjson/v2/btcjson/help.go
A btcjson/v2/btcjson/help_test.go
A btcjson/v2/btcjson/helpers.go
A btcjson/v2/btcjson/helpers_test.go
A btcjson/v2/btcjson/jsonrpc.go
A btcjson/v2/btcjson/jsonrpc_test.go
A btcjson/v2/btcjson/jsonrpcerr.go
A btcjson/v2/btcjson/register.go
A btcjson/v2/btcjson/register_test.go
A btcjson/v2/btcjson/walletsvrcmds.go
A btcjson/v2/btcjson/walletsvrcmds_test.go
A btcjson/v2/btcjson/walletsvrresults.go
A btcjson/v2/btcjson/walletsvrwscmds.go
A btcjson/v2/btcjson/walletsvrwscmds_test.go
A btcjson/v2/btcjson/walletsvrwsntfns.go
A btcjson/v2/btcjson/walletsvrwsntfns_test.go
Log Message:
-----------
Merge btcjson repo into btcjson directory.
Compare: https://github.com/btcsuite/btcd/compare/2519ff285628...45f7a514b6fe