4d9c43593d
This introduce a new internal package to deal with the explicit clearing of data (such as private keys) in byte slices, byte arrays (32 and 64-bytes long), and multi-precision "big" integers. Benchmarks from a xeon e3 (Xor is the zeroing funcion which Bytes replaces): BenchmarkXor32 30000000 52.1 ns/op BenchmarkXor64 20000000 91.5 ns/op BenchmarkRange32 50000000 31.8 ns/op BenchmarkRange64 30000000 49.5 ns/op BenchmarkBytes32 200000000 10.1 ns/op BenchmarkBytes64 100000000 15.4 ns/op BenchmarkBytea32 1000000000 2.24 ns/op BenchmarkBytea64 300000000 4.46 ns/op Removes an XXX from the votingpool package. |
||
---|---|---|
.. | ||
cov_report.sh | ||
db.go | ||
doc.go | ||
example_test.go | ||
internal_test.go | ||
pool.go | ||
pool_test.go | ||
README.md | ||
test_coverage.txt |
votingpool
[] (https://travis-ci.org/btcsuite/btcwallet)
Package votingpool provides voting pool functionality for btcwallet as described here: Voting Pools.
A suite of tests is provided to ensure proper functionality. See
test_coverage.txt
for the gocov coverage report. Alternatively, if you are
running a POSIX OS, you can run the cov_report.sh
script for a real-time
report. Package votingpool is licensed under the liberal ISC license.
Note that this is still a work in progress.
Feature Overview
- Create/Load pools
- Create series
- Replace series
- Create deposit addresses
- Comprehensive test coverage
Documentation
[] (http://godoc.org/github.com/btcsuite/btcwallet/votingpool)
Full go doc
style documentation for the project can be viewed online without
installing this package by using the GoDoc site here:
http://godoc.org/github.com/btcsuite/btcwallet/votingpool
You can also view the documentation locally once the package is installed with
the godoc
tool by running godoc -http=":6060"
and pointing your browser to
http://localhost:6060/pkg/github.com/btcsuite/btcwallet/votingpool
Package votingpool is licensed under the copyfree ISC License.