Branch: refs/heads/master
Home: https://github.com/btcsuite/btcrpcclient
Commit: 9ca93b30ad11ec34348d2d788c58019571bf9524
https://github.com/btcsuite/btcrpcclient/commit/9ca93b30ad11ec34348d2d788c58019571bf9524
Author: Dave Collins <[email protected]>
Date: 2015-04-05 (Sun, 05 Apr 2015)
Changed paths:
M chain.go
M doc.go
M extensions.go
M infrastructure.go
M mining.go
M net.go
M notify.go
M rawrequest.go
M rawtransactions.go
M wallet.go
Log Message:
-----------
Update to make use of latest version of btcjson.
This commit contains several changes needed to update the client to use
the latest version of btcjson. In addition, it contains a couple of other
minor changes along the way.
While the underlying changes are quite large, the public API of this
package is still the same, so caller should generally not have to update
their code due to that. However, the underlying btcjson package API has
changed significantly. Since this package hides the vast majority of that
from callers, it should not afffect them very much. However, one area in
particular to watch out for is that the old btcjson.Error is now
btcjson.RPCError, so any callers doing any type assertions there will need
to update.
The following is a summary of the changes:
- The underlying btcjson significantly changed how commands work, so the
internals of this package have been reworked to be based off of requests
instead of the now non-existant btcjson.Cmd interface
- Update all call sites of btcjson.New<Foo>Cmd since they can no longer
error or take varargs
- The ids for each request are part of the request now instead of the
command to match the new btcjson model and are strict uint64s so type
assertions are no longer needed (slightly improved efficiency)
- Remove the old temporary workaround for the getbalance command with an
account of "*" since btcwallet has since been fixed
- Change all instances of JSONToAmount to btcutil.NewAmount since that
function was removed in favor of btcutil.Amount
- Change all btcws invocations to btcjson since they have been combined
Commit: 04a3ed28f561eb17831f56ae84f47f49d262985d
https://github.com/btcsuite/btcrpcclient/commit/04a3ed28f561eb17831f56ae84f47f49d262985d
Author: Javed Khan <[email protected]>
Date: 2015-04-05 (Sun, 05 Apr 2015)
Changed paths:
M wallet.go
Log Message:
-----------
Added ImportAddress and ImportPubKey support.
Commit: 3daafd5617beef393a676a6ab578290b51881fba
https://github.com/btcsuite/btcrpcclient/commit/3daafd5617beef393a676a6ab578290b51881fba
Author: Dave Collins <[email protected]>
Date: 2015-04-05 (Sun, 05 Apr 2015)
Changed paths:
M rawtransactions.go
Log Message:
-----------
Add SearchRawTransactions support.
Commit: c4bc5220bcdd551d67ca2e01ed0f42a88d82baa0
https://github.com/btcsuite/btcrpcclient/commit/c4bc5220bcdd551d67ca2e01ed0f42a88d82baa0
Author: Dave Collins <[email protected]>
Date: 2015-04-05 (Sun, 05 Apr 2015)
Changed paths:
M chain.go
Log Message:
-----------
Update for recent GetTxOut argument change.
Commit: 774eb787a88ce1be75d56cfc1a3e30aedd916aac
https://github.com/btcsuite/btcrpcclient/commit/774eb787a88ce1be75d56cfc1a3e30aedd916aac
Author: Dave Collins <[email protected]>
Date: 2015-04-05 (Sun, 05 Apr 2015)
Changed paths:
M examples/bitcoincorehttp/main.go
M infrastructure.go
M notify.go
Log Message:
-----------
Rename HttpPostMode conn param to HTTPPostMode.
This rename is to make golint happy.
Commit: 34c87a73404c6bf1cc9648e0042f8817763f507b
https://github.com/btcsuite/btcrpcclient/commit/34c87a73404c6bf1cc9648e0042f8817763f507b
Author: Dave Collins <[email protected]>
Date: 2015-04-05 (Sun, 05 Apr 2015)
Changed paths:
M goclean.sh
Log Message:
-----------
Add golint to TravisCI builds.
Compare:
https://github.com/btcsuite/btcrpcclient/compare/d45f4c47a212...34c87a73404c