beb3231a03
This commit enabled the wallet to properly spend nested and normal p2wkh outputs under its control. For regular p2wkh outputs, spending simply involves presenting the original pub key, and signature as the witness data. For nested p2wkh outputs, in addition to the above, the version zero witness p2wkh witness program is placed in the sigScript in order to allow clients who are aware of BIP 16 to validate the witness spend. |
||
---|---|---|
.. | ||
internal/txsizes | ||
txauthor | ||
txrules | ||
chainntfns.go | ||
createtx.go | ||
disksync.go | ||
doc.go | ||
loader.go | ||
log.go | ||
notifications.go | ||
README.md | ||
rescan.go | ||
wallet.go |
wallet
[] (https://travis-ci.org/btcsuite/btcwallet)
Feature Overview
TODO: Flesh out this section
Documentation
[] (http://godoc.org/github.com/btcsuite/btcwallet/wallet)
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/wallet
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/wallet
Installation
$ go get github.com/btcsuite/btcwallet/wallet
Package wallet is licensed under the copyfree ISC License.