lbcwallet/wallet
Wilmer Paulino e754478496
wallet: modify recovery logic to not start from genesis
This commit serves as another building point to allow the wallet to not
store blocks all the way from genesis to the tip of chain. We modify the
wallet's recovery logic to now start from either its birthday block, or
the current reorg safe height if it's before the birthday, to ensure the
wallet properly only stores MaxReorgDepth blocks.

We also refactor things a bit in hopes of making the logic a bit more
readable.
2019-06-13 18:09:02 -07:00
..
internal/txsizes multi: switch import paths back to upstream 2018-05-23 19:38:56 -07:00
txauthor multi: update due to latest API changes 2018-05-23 19:38:56 -07:00
txrules multi: switch import paths back to upstream 2018-05-23 19:38:56 -07:00
chainntfns.go wallet: make wallet initial sync synchronous 2019-06-13 18:08:58 -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: add dryrun arg to tx create, rolling back db if set 2019-02-27 13:08:18 -03:00
createtx_test.go wallet: add dryrun arg to tx create, rolling back db if set 2019-02-27 13:08:18 -03: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
loader.go multi: switch import paths back to upstream 2018-05-23 19:38:56 -07: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 multi: switch import paths back to upstream 2018-05-23 19:38:56 -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: 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
unstable.go multi: switch import paths back to upstream 2018-05-23 19:38:56 -07:00
utxos.go multi: switch import paths back to upstream 2018-05-23 19:38:56 -07:00
wallet.go wallet: modify recovery logic to not start from genesis 2019-06-13 18:09:02 -07:00
wallet_test.go wallet: locate birthday block without scanning chain from genesis 2019-06-13 18:09:01 -07: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.