lbcwallet/wallet
Oliver Gugger 45a94de617 wallet: return unsigned TX in watch-only SendOutputs
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.
2022-05-24 03:09:33 -07:00
..
txauthor wallet/txauthor+txrules: update go mod to include btcd changes 2022-05-24 03:09:33 -07:00
txrules wallet/txauthor+txrules: update go mod to include btcd changes 2022-05-24 03:09:33 -07:00
txsizes wallet: add random coin selection 2021-05-19 08:34:55 +02:00
chainntfns.go wallet: call InsertTxCheckIfExists to add a relevant tx 2021-07-13 09:24:53 +02:00
chainntfns_test.go wallet: locate birthday block without scanning chain from genesis 2019-06-13 18:09:01 -07:00
common.go multi: switch import paths back to upstream 2018-05-23 19:38:56 -07:00
createtx.go wallet: refactor txToOutputs to use walletdb.Update 2021-07-23 12:49:38 +02:00
createtx_test.go wallet: add random coin selection 2021-05-19 08:34:55 +02:00
disksync.go Use LICENSE file and short license headers. 2016-02-28 22:22:34 -05:00
doc.go Use LICENSE file and short license headers. 2016-02-28 22:22:34 -05:00
example_test.go wallet: add derived public key import 2021-03-15 19:27:12 -07:00
history.go wallet: add DropTransactionHistory function 2020-10-24 16:39:41 +02:00
import.go wallet: add ImportAccountWithScope 2022-05-24 03:09:33 -07:00
import_test.go wallet: add dry run implementation of ImportAccount 2021-05-06 16:32:58 -07:00
loader.go wallet+waddrmgr: refactor to use extended key instead of seed 2022-05-24 03:09:33 -07:00
log.go multi: fix linter issues 2021-03-24 14:44:32 +01:00
mock.go chain: add IsCurrent method to chain.Interface 2019-06-13 18:08:59 -07:00
multisig.go multi: fix linter issues 2021-03-24 14:44:32 +01:00
notifications.go multi: fix linter issues 2021-03-24 14:44:32 +01:00
psbt.go wallet: add minimum confirmation parameter to FundPsbt 2022-05-24 03:09:33 -07:00
psbt_test.go wallet: add minimum confirmation parameter to FundPsbt 2022-05-24 03:09:33 -07:00
rand.go wallet: add random coin selection 2021-05-19 08:34:55 +02:00
README.md multi: switch import paths back to upstream 2018-05-23 19:38:56 -07:00
recovery.go wallet: update HD recovery logic to map outpoints to addresses 2018-07-16 19:47:17 -07:00
recovery_test.go multi: fix linter issues 2021-03-24 14:44:32 +01:00
rescan.go wallet: make wallet initial sync synchronous 2019-06-13 18:08:58 -07:00
signer.go wallet: include redeem script for NP2WKH inputs in PSBT generation 2021-03-29 16:00:53 -07:00
signer_test.go multi: fix linter issues 2021-03-24 14:44:32 +01:00
unstable.go multi: fix linter issues 2021-03-24 14:44:32 +01:00
utxos.go waddrmgr: include master key fingerprint in derivation path 2021-03-29 16:00:47 -07:00
utxos_test.go wallet: require key scope of account for transaction creation methods 2021-03-29 16:00:48 -07:00
wallet.go wallet: return unsigned TX in watch-only SendOutputs 2022-05-24 03:09:33 -07:00
wallet_test.go multi: fix linter issues 2021-03-24 14:44:32 +01:00
watchingonly_test.go wallet: use db timeout in loader 2020-11-07 22:01:35 +08:00

wallet

[Build Status] (https://travis-ci.org/btcsuite/btcwallet)

Feature Overview

TODO: Flesh out this section

Documentation

[GoDoc] (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.