lbcwallet/wallet
Wilmer Paulino 0492cb4507
waddrmgr: use correct DerivationPath for watch-only accounts
Previously, addresses that belong to a watch-only account would have a
derivation path using the internal account number used to identify
accounts within the databse, rather than the actual account number based
on the account's master public key child index. This wasn't an issue
before as only one account would exist within the wallet, the 0 account,
which is also the default. To ensure users of the DerivationPath struct
can arrive at addresses correctly, we introduce a new field
InternalAccount to denote the internal account number and repurpose the
existing Account field to its actual meaning.
2021-03-15 19:27:04 -07:00
..
txauthor wallet/txauthor: rename relayFeePerKb to feeRatePerKb 2020-08-13 16:57:32 -07:00
txrules wallet/txrules: create new wallet/txrules module 2019-09-05 17:24:09 -07:00
txsizes wallet/txsizes: create new txsizes package+module, remove internal version 2019-09-05 17:18:14 -07:00
chainntfns.go wallet: improve error logging for unsuccessful notification handling 2019-06-13 18:09:05 -07: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: extract addrMgrWithChangeSource 2020-08-27 21:14:56 +02:00
createtx_test.go wallet: extract addUtxo in create TX test 2020-08-27 21:14: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: use db timeout in loader 2020-11-07 22:01:35 +08:00
history.go wallet: add DropTransactionHistory function 2020-10-24 16:39:41 +02:00
loader.go multi: unify WalletDBName and DefaultDBTimeout in loader 2020-11-07 22:01:51 +08:00
log.go wtxmgr+wallet: add wtxmgr sublogger 2018-11-14 18:09:10 -08:00
mock.go chain: add IsCurrent method to chain.Interface 2019-06-13 18:08:59 -07:00
multisig.go multi: switch import paths back to upstream 2018-05-23 19:38:56 -07:00
notifications.go waddrmgr: use correct DerivationPath for watch-only accounts 2021-03-15 19:27:04 -07:00
psbt.go psbt: don't add scriptSig to txIn 2020-10-05 11:33:51 +02:00
psbt_test.go psbt: don't add scriptSig to txIn 2020-10-05 11:33:51 +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: switch import paths back to upstream 2018-05-23 19:38:56 -07:00
rescan.go wallet: make wallet initial sync synchronous 2019-06-13 18:08:58 -07:00
signer.go wallet: add ComputeInputScript 2020-08-27 21:14:59 +02:00
signer_test.go wallet: add ComputeInputScript 2020-08-27 21:14:59 +02:00
unstable.go multi: switch import paths back to upstream 2018-05-23 19:38:56 -07:00
utxos.go wallet: add FetchInputInfo 2020-08-27 21:14:57 +02:00
utxos_test.go wallet: add FetchInputInfo 2020-08-27 21:14:57 +02:00
wallet.go waddrmgr: use correct DerivationPath for watch-only accounts 2021-03-15 19:27:04 -07:00
wallet_test.go wallet: add label transaction function 2020-05-11 15:19:42 +02: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.