This contains the APIs to create and retrieve Voting Pools and Series (with public/private keys) from a walletdb namespace, plus the generation of deposit addresses (using m-of-n multi-sig P2SH scripts according to the series configuration).
1.4 KiB
votingpool
[
]
(https://travis-ci.org/conformal/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/conformal/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/conformal/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/conformal/btcwallet/votingpool
Package votingpool is licensed under the copyfree ISC License.