98e779a102
To fix a bug where specifying multiple UTXOs that are by themselves large enough to satisfy the output amount would lead to the rest of them being added to fees, we need to provide the transaction author with a constant list of UTXOs. If we didn't, the author would only consider one input and calculate the change based on that alone. But since we'd add all inputs to the PSBT, the rest of the amounts would go to fees. |
||
---|---|---|
.. | ||
txauthor | ||
txrules | ||
txsizes | ||
chainntfns.go | ||
chainntfns_test.go | ||
common.go | ||
createtx.go | ||
createtx_test.go | ||
disksync.go | ||
doc.go | ||
example_test.go | ||
loader.go | ||
log.go | ||
mock.go | ||
multisig.go | ||
notifications.go | ||
psbt.go | ||
psbt_test.go | ||
README.md | ||
recovery.go | ||
recovery_test.go | ||
rescan.go | ||
signer.go | ||
signer_test.go | ||
unstable.go | ||
utxos.go | ||
utxos_test.go | ||
wallet.go | ||
wallet_test.go | ||
watchingonly_test.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.