lbcwallet/wtxmgr
Wilmer Paulino 690a12fa8b
wtxmgr: ignore ErrBucketNotFound error upon locked outputs bucket deletion
This error would be seen when an old wallet that has yet to update is
performing the latest wtxmgr migration. It's possible for the locked
outputs bucket to not exist if outputs haven't been locked before, so we
should its deletion correctly.
2021-02-15 14:40:34 -08:00
..
db.go wtxmgr: ignore ErrBucketNotFound error upon locked outputs bucket deletion 2021-02-15 14:40:34 -08:00
doc.go Use LICENSE file and short license headers. 2016-02-28 22:22:34 -05:00
error.go Improve wallet atomicity. 2018-05-23 19:38:56 -07:00
example_test.go wtxmgr: convert unit tests to be package-level 2018-11-14 18:09:10 -08:00
go.mod wtxmgr: update to walletdb v1.3.4 2020-12-01 19:12:58 -08:00
go.sum wtxmgr: update to walletdb v1.3.4 2020-12-01 19:12:58 -08:00
kahnsort.go wtxmgr: export dependencySort 2019-01-31 16:42:53 -08:00
kahnsort_test.go wtxmgr/khansort_test: add DependencySort unit tests 2019-01-31 16:43:22 -08:00
log.go wtxmgr+wallet: add wtxmgr sublogger 2018-11-14 18:09:10 -08:00
migrations.go wtxmgr/migrations: add drop transaction history migration 2018-11-14 18:09:10 -08:00
migrations_test.go wtxmgr/migrations: add drop transaction history migration 2018-11-14 18:09:10 -08:00
query.go wtxmgr: add transaction label to TxDetails 2020-05-11 15:18:15 +02:00
query_test.go wtxmgr: convert unit tests to be package-level 2018-11-14 18:09:10 -08:00
README.md multi: switch import paths back to upstream 2018-05-23 19:38:56 -07:00
tx.go wtxmgr: introduce persistent output leases 2020-05-28 17:53:49 -07:00
tx_test.go wtxmgr: update tests to use db timeout param 2020-11-06 23:58:09 +08:00
unconfirmed.go wtxmgr: prevent adding existing confirmed transactions as unconfirmed 2019-07-10 16:25:00 -07:00

wtxmgr

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

Package wtxmgr provides storage and spend tracking of wallet transactions and their relevant input and outputs.

Feature overview

  • Storage for relevant wallet transactions
  • Ability to mark outputs as controlled by wallet
  • Unspent transaction output index
  • Balance tracking
  • Automatic spend tracking for transaction inserts and removals
  • Double spend detection and correction after blockchain reorgs
  • Scalable design:
    • Utilizes similar prefixes to allow cursor iteration over relevant transaction inputs and outputs
    • Programmatically detectable errors, including encapsulation of errors from packages it relies on
    • Operates under its own walletdb namespace

Documentation

[GoDoc] (http://godoc.org/github.com/btcsuite/btcwallet/wtxmgr)

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/wtxmgr

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/wtxmgr

Installation

$ go get github.com/btcsuite/btcwallet/wtxmgr

Package wtxmgr is licensed under the copyfree ISC License.