lbcwallet/wallet
Wilmer Paulino e1dfc4d1b7
waddrmgr+wallet: allow account import for simnet wallets
Simnet was previously left out as it didn't have defined HD versions for
some of our key scopes. To allow testing importing accounts into simnet
wallets, we fall back to use the mainnet HD versions.

This commit also addresses an issue with simnet wallets that would arise
whenever ScopedKeyManager.AccountProperties was invoked:

`failed to retrieve account public key: unsupported net SimNet`
2021-04-14 17:21:07 -07:00
..
txauthor wallet: extend ChangeSource to support all key scopes 2021-03-29 16:00:53 -07:00
txrules wallet/txrules: create new wallet/txrules module 2019-09-05 17:24:09 -07:00
txsizes wallet: extend ChangeSource to support all key scopes 2021-03-29 16:00:53 -07:00
chainntfns.go multi: fix linter issues 2021-03-24 14:44:32 +01: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: extend ChangeSource to support all key scopes 2021-03-29 16:00:53 -07:00
createtx_test.go wallet: require key scope of account for transaction creation methods 2021-03-29 16:00:48 -07: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 waddrmgr+wallet: allow account import for simnet wallets 2021-04-14 17:21:07 -07:00
import_test.go multi: fix linter issues 2021-03-24 14:44:32 +01:00
loader.go multi: unify WalletDBName and DefaultDBTimeout in loader 2020-11-07 22:01:51 +08: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: include redeem script for NP2WKH inputs in PSBT generation 2021-03-29 16:00:53 -07:00
psbt_test.go wallet: require key scope of account for transaction creation methods 2021-03-29 16:00:48 -07: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: expose AccountPropertiesByName 2021-03-29 16:00:52 -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.