lbcwallet/wallet
Wilmer Paulino fa65c1b5f7
wallet: store reorg safe height upon initial sync
Currently, wallet rescans start from its known tip of the chain. Since
we no longer store blocks all the way from genesis to the tip of the
chain, performing a rescan would cause us to scan blocks all the way
from genesis, which we want to avoid. To prevent this, we set the
wallet's tip to be the current reorg safe height. This ensures that
we're unable to scan any blocks before it, and that we maintain
MaxReorgDepth blocks stored.
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: store reorg safe height upon initial sync 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.