45a94de617
If SendOutputs is called on a watch-only wallet then a transaction is created but without any signatures. Publishing that transaction will always fail. But the attempt to publish will already update the internal state of the wallet so we shouldn't try to publish this unsigned TX. Instead we return a new error along with the unsigned transaction to give the caller the chance to sign and publish it through other means. |
||
---|---|---|
.. | ||
txauthor | ||
txrules | ||
txsizes | ||
chainntfns.go | ||
chainntfns_test.go | ||
common.go | ||
createtx.go | ||
createtx_test.go | ||
disksync.go | ||
doc.go | ||
example_test.go | ||
history.go | ||
import.go | ||
import_test.go | ||
loader.go | ||
log.go | ||
mock.go | ||
multisig.go | ||
notifications.go | ||
psbt.go | ||
psbt_test.go | ||
rand.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.