2015-04-06 21:18:04 +02:00
|
|
|
wtxmgr
|
|
|
|
======
|
|
|
|
|
2017-06-06 02:54:35 +02:00
|
|
|
[![Build Status](https://travis-ci.org/roasbeef/btcwallet.png?branch=master)]
|
|
|
|
(https://travis-ci.org/roasbeef/btcwallet)
|
2015-04-06 21:18:04 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2017-06-06 02:54:35 +02:00
|
|
|
[![GoDoc](https://godoc.org/github.com/roasbeef/btcwallet/wtxmgr?status.png)]
|
|
|
|
(http://godoc.org/github.com/roasbeef/btcwallet/wtxmgr)
|
2015-04-06 21:18:04 +02:00
|
|
|
|
|
|
|
Full `go doc` style documentation for the project can be viewed online without
|
|
|
|
installing this package by using the GoDoc site here:
|
2017-06-06 02:54:35 +02:00
|
|
|
http://godoc.org/github.com/roasbeef/btcwallet/wtxmgr
|
2015-04-06 21:18:04 +02:00
|
|
|
|
|
|
|
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
|
2017-06-06 02:54:35 +02:00
|
|
|
http://localhost:6060/pkg/github.com/roasbeef/btcwallet/wtxmgr
|
2015-04-06 21:18:04 +02:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
```bash
|
2017-06-06 02:54:35 +02:00
|
|
|
$ go get github.com/roasbeef/btcwallet/wtxmgr
|
2015-04-06 21:18:04 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
Package wtxmgr is licensed under the [copyfree](http://copyfree.org) ISC
|
|
|
|
License.
|