Commit Graph

11 Commits

Author SHA1 Message Date
David Hill
5fc31ca578 multi: fix misspell linter warnings 2018-02-18 12:26:52 -06:00
Donald Adu-Poku
a0438c81c3 rpcserver: add batched request support (json 2.0) 2018-02-13 17:12:08 -06:00
Donald Adu-Poku
70bdae7b76 dcrjson: add ticket fee field to PurchaseTicketCmd. 2018-01-28 20:31:17 -06:00
Jon Chappelow
86c86d157e rpcclient: json unmarshal into unexported embedded pointer
go1.10 fixes a bug in encoding/json that allowed it to allocate an unexported field, but (*rpcclient.Client).handleMessage relied on this behavior to unmarshal into inMessage.  Address the go1.10 fix by allocating the unexported pointer types (rawResponse and rawNotification).
2017-12-08 11:20:35 -06:00
David Hill
fc31a0b39e multi: remove unused funcs and vars 2017-12-07 21:46:25 -06:00
detailyang
aed4179709 doc: tiny fix url (#928) 2017-11-27 08:35:31 -06:00
David Hill
20686cd775 travis: add gosimple linter 2017-11-20 18:49:55 -06:00
shweini
ad08e6ab30 multi: Add NoSplitTransaction to purchaseticket. 2017-10-17 17:46:01 -05:00
Josh Rickmar
6842aa006d Merge remaining dcrutil code into a dcrd package.
This merge commit adds the following code from the
github.com/decred/dcrutil package into a new
github.com/decred/dcrd/dcrutil package:

* Address handling
* Amount type
* AppDataDir func
* bitflags functions
* Block wrapper type
* Hash160 func
* Tx wrapper type
* WIF type

as well as all tests for this code.

The old github.com/decred/dcrutil/hdkeychain package has also been
merged and moved to github.com/decred/dcrd/dcrutil/hdkeychain.

dcrd packages have been updated to use the new packages and the dep
files have been updated for this change.
2017-10-11 22:06:36 -04:00
Dave Collins
80861cacf4
rpcclient: Remove docker info from README.md.
This information no longer applies since the rpcclient was merged into
dcrd proper.
2017-10-11 14:53:36 -05:00
Dave Collins
db84c7d0e0
Import dcrrpcclient repo into rpcclient directory.
This commit contains the entire dcrrpcclient repository along with
several changes needed to move all of the files into the rpcclient
directory in order to prepare it for merging.  This does NOT update dcrd
or any of the other packages to use the new location as that will be
done separately.

- All import paths in the old dcrrpcclient files have been changed to
  the new location
- All references to dcrrpcclient as the package name have been changed to
  rpcclient
2017-10-11 14:22:32 -05:00