Commit Graph

11 Commits

Author SHA1 Message Date
David Hill
d25931fd35
multi: preallocate memory. 2019-03-09 16:43:48 -06:00
Dave Collins
e2232a5c3d
dcrjson: Remove unused vote bit concat codec funcs.
These functions and associated tests are being removed because nothing
depends on them and they end up creating a dependency on
blockchain/stake package, which is not desirable.
2018-08-05 16:24:56 -05:00
Dave Collins
d75e22a52d
dcrjson: Consolidate tests into dcrjson package.
Putting the test code in the same package makes it easier for forks
since they don't have to change the import paths as much and it also
gets rid of the need for export_test.go to bridge.

Also, correct a couple of comments while here.
2018-07-23 18:20:13 -05:00
David Hill
a261760b9b travis: test in docker container 2018-02-18 10:27:18 -06:00
Markus Richter
658286aa2d goimports -w . 2018-01-09 12:43:07 -06:00
David Hill
b13f5dfbda travis: add ineffassign linter 2017-12-01 09:14:04 -05:00
David Hill
bfc076ecf1 dcrjson: Add negative DecodeConcatenatedHashes tests (#423) 2017-02-03 12:17:42 -05:00
Dave Collins
67b9004bab
stake/dcrjson: Simplify code with gofmt -s. 2016-11-21 11:03:17 -06:00
Jonathan Chappelow
15be7b5ddc Add EncodeConcatenatedHashes with test. (#432) 2016-11-01 18:04:54 -04:00
cjepson
cc25399f6a Add new setticketsvotebits command
The dcrwallet command to set multiple tickets vote bits fields at
the same time has been added.  Functions to encode/decode relevant
hex strings (as passed over JSON) were also added, along with tests.
2016-10-14 13:06:30 -04:00
Josh Rickmar
024017c543 Add dcrjson decode func for concatenated hex hashes. (#421) 2016-10-13 09:35:35 -05:00