multi: switch import paths back to upstream
This commit is contained in:
parent
4c6b9053b8
commit
7770cac383
96 changed files with 529 additions and 862 deletions
20
README.md
20
README.md
|
@ -1,7 +1,7 @@
|
||||||
btcwallet
|
btcwallet
|
||||||
=========
|
=========
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/roasbeef/btcwallet.png?branch=master)](https://travis-ci.org/roasbeef/btcwallet)
|
[![Build Status](https://travis-ci.org/btcsuite/btcwallet.png?branch=master)](https://travis-ci.org/btcsuite/btcwallet)
|
||||||
[![Build status](https://ci.appveyor.com/api/projects/status/88nxvckdj8upqr36/branch/master?svg=true)](https://ci.appveyor.com/project/jrick/btcwallet/branch/master)
|
[![Build status](https://ci.appveyor.com/api/projects/status/88nxvckdj8upqr36/branch/master?svg=true)](https://ci.appveyor.com/project/jrick/btcwallet/branch/master)
|
||||||
|
|
||||||
btcwallet is a daemon handling bitcoin wallet functionality for a
|
btcwallet is a daemon handling bitcoin wallet functionality for a
|
||||||
|
@ -30,7 +30,7 @@ encryption will extend to transactions as well.
|
||||||
btcwallet is not an SPV client and requires connecting to a local or
|
btcwallet is not an SPV client and requires connecting to a local or
|
||||||
remote btcd instance for asynchronous blockchain queries and
|
remote btcd instance for asynchronous blockchain queries and
|
||||||
notifications over websockets. Full btcd installation instructions
|
notifications over websockets. Full btcd installation instructions
|
||||||
can be found [here](https://github.com/roasbeef/btcd). An alternative
|
can be found [here](https://github.com/btcsuite/btcd). An alternative
|
||||||
SPV mode that is compatible with btcd and Bitcoin Core is planned for
|
SPV mode that is compatible with btcd and Bitcoin Core is planned for
|
||||||
a future release.
|
a future release.
|
||||||
|
|
||||||
|
@ -60,9 +60,9 @@ Wallet clients can use one of two RPC servers:
|
||||||
|
|
||||||
Install the latest MSIs available here:
|
Install the latest MSIs available here:
|
||||||
|
|
||||||
https://github.com/roasbeef/btcd/releases
|
https://github.com/btcsuite/btcd/releases
|
||||||
|
|
||||||
https://github.com/roasbeef/btcwallet/releases
|
https://github.com/btcsuite/btcwallet/releases
|
||||||
|
|
||||||
### Windows/Linux/BSD/POSIX - Build from source
|
### Windows/Linux/BSD/POSIX - Build from source
|
||||||
|
|
||||||
|
@ -96,8 +96,8 @@ For a first time installation, the project and dependency sources can be
|
||||||
obtained manually with `git` and `glide` (create directories as needed):
|
obtained manually with `git` and `glide` (create directories as needed):
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://github.com/roasbeef/btcwallet $GOPATH/src/github.com/roasbeef/btcwallet
|
git clone https://github.com/btcsuite/btcwallet $GOPATH/src/github.com/btcsuite/btcwallet
|
||||||
cd $GOPATH/src/github.com/roasbeef/btcwallet
|
cd $GOPATH/src/github.com/btcsuite/btcwallet
|
||||||
glide install
|
glide install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -105,7 +105,7 @@ To update an existing source tree, pull the latest changes and install the
|
||||||
matching dependencies:
|
matching dependencies:
|
||||||
|
|
||||||
```
|
```
|
||||||
cd $GOPATH/src/github.com/roasbeef/btcwallet
|
cd $GOPATH/src/github.com/btcsuite/btcwallet
|
||||||
git pull
|
git pull
|
||||||
glide install
|
glide install
|
||||||
```
|
```
|
||||||
|
@ -182,15 +182,15 @@ PS> $editor $env:LOCALAPPDATA\Btcwallet\btcwallet.conf
|
||||||
|
|
||||||
Linux/BSD/POSIX (Installed from source):
|
Linux/BSD/POSIX (Installed from source):
|
||||||
```bash
|
```bash
|
||||||
$ cp $GOPATH/src/github.com/roasbeef/btcd/sample-btcd.conf ~/.btcd/btcd.conf
|
$ cp $GOPATH/src/github.com/btcsuite/btcd/sample-btcd.conf ~/.btcd/btcd.conf
|
||||||
$ cp $GOPATH/src/github.com/roasbeef/btcwallet/sample-btcwallet.conf ~/.btcwallet/btcwallet.conf
|
$ cp $GOPATH/src/github.com/btcsuite/btcwallet/sample-btcwallet.conf ~/.btcwallet/btcwallet.conf
|
||||||
$ $EDITOR ~/.btcd/btcd.conf
|
$ $EDITOR ~/.btcd/btcd.conf
|
||||||
$ $EDITOR ~/.btcwallet/btcwallet.conf
|
$ $EDITOR ~/.btcwallet/btcwallet.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
## Issue Tracker
|
## Issue Tracker
|
||||||
|
|
||||||
The [integrated github issue tracker](https://github.com/roasbeef/btcwallet/issues)
|
The [integrated github issue tracker](https://github.com/btcsuite/btcwallet/issues)
|
||||||
is used for this project.
|
is used for this project.
|
||||||
|
|
||||||
## GPG Verification Key
|
## GPG Verification Key
|
||||||
|
|
|
@ -15,10 +15,10 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/lightninglabs/neutrino"
|
"github.com/lightninglabs/neutrino"
|
||||||
"github.com/roasbeef/btcwallet/chain"
|
"github.com/btcsuite/btcwallet/chain"
|
||||||
"github.com/roasbeef/btcwallet/rpc/legacyrpc"
|
"github.com/btcsuite/btcwallet/rpc/legacyrpc"
|
||||||
"github.com/roasbeef/btcwallet/wallet"
|
"github.com/btcsuite/btcwallet/wallet"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -11,15 +11,15 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/lightninglabs/gozmq"
|
"github.com/lightninglabs/gozmq"
|
||||||
"github.com/roasbeef/btcd/btcjson"
|
"github.com/btcsuite/btcd/btcjson"
|
||||||
"github.com/roasbeef/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcd/rpcclient"
|
"github.com/btcsuite/btcd/rpcclient"
|
||||||
"github.com/roasbeef/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BitcoindClient represents a persistent client connection to a bitcoind server
|
// BitcoindClient represents a persistent client connection to a bitcoind server
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
package chain
|
package chain
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/roasbeef/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/roasbeef/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BlockFilterer is used to iteratively scan blocks for a set of addresses of
|
// BlockFilterer is used to iteratively scan blocks for a set of addresses of
|
||||||
|
|
|
@ -5,10 +5,10 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcwallet/chain"
|
"github.com/btcsuite/btcwallet/chain"
|
||||||
)
|
)
|
||||||
|
|
||||||
var Block100000 = wire.MsgBlock{
|
var Block100000 = wire.MsgBlock{
|
||||||
|
|
|
@ -3,11 +3,11 @@ package chain
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BackEnds returns a list of the available back ends.
|
// BackEnds returns a list of the available back ends.
|
||||||
|
|
|
@ -7,16 +7,16 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/lightninglabs/neutrino"
|
"github.com/lightninglabs/neutrino"
|
||||||
"github.com/roasbeef/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcd/rpcclient"
|
"github.com/btcsuite/btcd/rpcclient"
|
||||||
"github.com/roasbeef/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcutil/gcs"
|
"github.com/btcsuite/btcutil/gcs"
|
||||||
"github.com/roasbeef/btcutil/gcs/builder"
|
"github.com/btcsuite/btcutil/gcs/builder"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// NeutrinoClient is an implementation of the btcwalet chain.Interface interface.
|
// NeutrinoClient is an implementation of the btcwalet chain.Interface interface.
|
||||||
|
|
|
@ -15,10 +15,10 @@ import (
|
||||||
"github.com/btcsuite/btcd/rpcclient"
|
"github.com/btcsuite/btcd/rpcclient"
|
||||||
"github.com/btcsuite/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/btcsuite/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
|
"github.com/btcsuite/btcutil/gcs"
|
||||||
|
"github.com/btcsuite/btcutil/gcs/builder"
|
||||||
"github.com/btcsuite/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/btcsuite/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
"github.com/ltcsuite/ltcutil/gcs"
|
|
||||||
"github.com/ltcsuite/ltcutil/gcs/builder"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// RPCClient represents a persistent client connection to a bitcoin RPC server
|
// RPCClient represents a persistent client connection to a bitcoin RPC server
|
||||||
|
@ -425,7 +425,7 @@ out:
|
||||||
// TODO: A minute timeout is used to prevent the handler loop from
|
// TODO: A minute timeout is used to prevent the handler loop from
|
||||||
// blocking here forever, but this is much larger than it needs to
|
// blocking here forever, but this is much larger than it needs to
|
||||||
// be due to dcrd processing websocket requests synchronously (see
|
// be due to dcrd processing websocket requests synchronously (see
|
||||||
// https://github.com/roasbeef/btcd/issues/504). Decrease this to
|
// https://github.com/btcsuite/btcd/issues/504). Decrease this to
|
||||||
// something saner like 3s when the above issue is fixed.
|
// something saner like 3s when the above issue is fixed.
|
||||||
type sessionResult struct {
|
type sessionResult struct {
|
||||||
err error
|
err error
|
||||||
|
|
|
@ -12,10 +12,10 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"github.com/jessevdk/go-flags"
|
"github.com/jessevdk/go-flags"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
_ "github.com/roasbeef/btcwallet/walletdb/bdb"
|
_ "github.com/btcsuite/btcwallet/walletdb/bdb"
|
||||||
"github.com/roasbeef/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
const defaultNet = "mainnet"
|
const defaultNet = "mainnet"
|
||||||
|
|
|
@ -13,16 +13,16 @@ import (
|
||||||
"golang.org/x/crypto/ssh/terminal"
|
"golang.org/x/crypto/ssh/terminal"
|
||||||
|
|
||||||
"github.com/jessevdk/go-flags"
|
"github.com/jessevdk/go-flags"
|
||||||
"github.com/roasbeef/btcd/btcjson"
|
"github.com/btcsuite/btcd/btcjson"
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcd/rpcclient"
|
"github.com/btcsuite/btcd/rpcclient"
|
||||||
"github.com/roasbeef/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/internal/cfgutil"
|
"github.com/btcsuite/btcwallet/internal/cfgutil"
|
||||||
"github.com/roasbeef/btcwallet/netparams"
|
"github.com/btcsuite/btcwallet/netparams"
|
||||||
"github.com/roasbeef/btcwallet/wallet/txauthor"
|
"github.com/btcsuite/btcwallet/wallet/txauthor"
|
||||||
"github.com/roasbeef/btcwallet/wallet/txrules"
|
"github.com/btcsuite/btcwallet/wallet/txrules"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
10
config.go
10
config.go
|
@ -17,11 +17,11 @@ import (
|
||||||
|
|
||||||
flags "github.com/jessevdk/go-flags"
|
flags "github.com/jessevdk/go-flags"
|
||||||
"github.com/lightninglabs/neutrino"
|
"github.com/lightninglabs/neutrino"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/internal/cfgutil"
|
"github.com/btcsuite/btcwallet/internal/cfgutil"
|
||||||
"github.com/roasbeef/btcwallet/internal/legacy/keystore"
|
"github.com/btcsuite/btcwallet/internal/legacy/keystore"
|
||||||
"github.com/roasbeef/btcwallet/netparams"
|
"github.com/btcsuite/btcwallet/netparams"
|
||||||
"github.com/roasbeef/btcwallet/wallet"
|
"github.com/btcsuite/btcwallet/wallet"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
### Guides
|
### Guides
|
||||||
|
|
||||||
[Rebuilding all transaction history with forced rescans](https://github.com/roasbeef/btcwallet/tree/master/docs/force_rescans.md)
|
[Rebuilding all transaction history with forced rescans](https://github.com/btcsuite/btcwallet/tree/master/docs/force_rescans.md)
|
||||||
|
|
|
@ -40,7 +40,7 @@ drop the wallet transaction manager (wtxmgr) history from a wallet database.
|
||||||
The tool may already be installed in your PATH, but if not, installing it is easy:
|
The tool may already be installed in your PATH, but if not, installing it is easy:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cd $GOPATH/src/github.com/roasbeef/btcwallet/cmd/dropwtxmgr
|
$ cd $GOPATH/src/github.com/btcsuite/btcwallet/cmd/dropwtxmgr
|
||||||
$ go get
|
$ go get
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
331
glide.lock
generated
331
glide.lock
generated
|
@ -1,331 +0,0 @@
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
hash: 2fe59efc96b0a2839297653da88cde89208f8f8cf4ced2bb1e828def57e3611b
|
|
||||||
updated: 2017-07-19T11:33:58.0769452-04:00
|
|
||||||
=======
|
|
||||||
hash: a567152c861b11d05c72b812d894a657b95ae39d08f85c0b7cbf1a235dd8a1a7
|
|
||||||
updated: 2017-05-18T20:28:25.480256291-06:00
|
|
||||||
>>>>>>> 4d479d4... Move spvchain into neutrino and start integration w/btcwallet
|
|
||||||
=======
|
|
||||||
hash: 59de122918c56a47f9987706a303d54c95929728a1dd74e2f17f38b03274366e
|
|
||||||
updated: 2017-06-05T18:12:20.300008456-07:00
|
|
||||||
>>>>>>> afb1cbf... build: update glide files to point to roasbeef+neutrino proper
|
|
||||||
=======
|
|
||||||
hash: 8f57e2b090be9737f3c4d3157b3675ff5df4a9182928089f48c68593fdc80776
|
|
||||||
updated: 2017-06-29T21:02:00.000000000-07:00
|
|
||||||
>>>>>>> 249dae0... log: update to new logging API
|
|
||||||
=======
|
|
||||||
hash: ec2fde7c4ec4cd438d8c53646a41743440355e53bdd417192a9e9f1db49f19a2
|
|
||||||
updated: 2017-08-24T17:24:41.5846735-07:00
|
|
||||||
>>>>>>> ea0c0b9... build: update glide files to point to latest btcsuite/btcd commits
|
|
||||||
=======
|
|
||||||
hash: cfe436dab405e09a50d3611edb83f5a238f71fd61c12ba7e47c2b02882a75cdf
|
|
||||||
=======
|
|
||||||
hash: a7b6593b62ad571ed749736405aa456bf2b6163f5d54e61241be56a7baaad6bd
|
|
||||||
>>>>>>> a9231df... build: use neutrino with StartTime rescan option
|
|
||||||
updated: 2017-08-29T15:22:10.322166424-07:00
|
|
||||||
>>>>>>> e4e29cf... build: update glide files to point to latest btcd+neutrino
|
|
||||||
=======
|
|
||||||
hash: c781beec4754f9e6c48a9521115015d060430c78dae18d419089ef1dff0f3bde
|
|
||||||
updated: 2017-09-21T18:16:37.809204283-06:00
|
|
||||||
>>>>>>> 24684c8... build: update glide for new neutrino version
|
|
||||||
=======
|
|
||||||
hash: 63c716f4c97cabee9b5a1c8cecd5c026550da120b23cfdcb3611492fde5b31bf
|
|
||||||
updated: 2017-10-01T14:31:37.016793293-07:00
|
|
||||||
>>>>>>> 30ed6c8... build: update glide files to point to latest neutrino+btcutil
|
|
||||||
=======
|
|
||||||
hash: e472a40c67ce1626e80d8d89631dde8e214903214a72d3a0e8d96e04bcaabd06
|
|
||||||
updated: 2017-11-02T19:08:54.780005689-07:00
|
|
||||||
>>>>>>> ba1ef88... build: update glide files for latest btcutil, btcd, and neutrino
|
|
||||||
=======
|
|
||||||
hash: 9c53c13264c73f55b38f70bc6075962334438be3877fa92e51f6d35f90fe1f1a
|
|
||||||
updated: 2017-11-03T12:30:39.76652975-07:00
|
|
||||||
>>>>>>> 80e2080... build: update to latest btcd+btcutil+neutrino
|
|
||||||
=======
|
|
||||||
hash: 8217b51c2a5fc4df53200de6315f4c1f4a084a516f38c77b815e0a02ac71e332
|
|
||||||
updated: 2017-11-18T15:17:20.95646706-08:00
|
|
||||||
>>>>>>> dc5f652... build: update to latest btcd and neutrino
|
|
||||||
=======
|
|
||||||
hash: 83bb1c0a0f5c6396d2387746544592662898af52596d5cdca898b6fbfaa60841
|
|
||||||
updated: 2017-11-29T14:42:36.82153259-06:00
|
|
||||||
>>>>>>> 7a32017... multi: add bitcoind back-end (only for API use for now)
|
|
||||||
=======
|
|
||||||
hash: 8fdbf966a888ff626d377d985e34c32518f81e96dc661433184ce011bad062b2
|
|
||||||
updated: 2018-01-12T18:42:39.220877425-07:00
|
|
||||||
>>>>>>> 6c1491e... build+chain: replace pebbe/zmq4 with lightninglabs/gozmq (native Go)
|
|
||||||
=======
|
|
||||||
hash: 7ff104fae6ac78353955c2ef70405dce8a8c0f071111beaf0fc6ea392c5d9bbd
|
|
||||||
updated: 2018-01-17T18:11:30.867494300-07:00
|
|
||||||
>>>>>>> de6548c... build: update glide to latest btcd, neutrino, and gozmq
|
|
||||||
imports:
|
|
||||||
- name: github.com/aead/siphash
|
|
||||||
version: e404fcfc888570cadd1610538e2dbc89f66af814
|
|
||||||
- name: github.com/boltdb/bolt
|
|
||||||
<<<<<<< HEAD
|
|
||||||
version: 583e8937c61f1af6513608ccc75c97b6abdf4ff9
|
|
||||||
<<<<<<< HEAD
|
|
||||||
- name: github.com/btcsuite/btcd
|
|
||||||
<<<<<<< HEAD
|
|
||||||
version: 47885ab8702485be6b6f87a03d4f3be0bc5c982c
|
|
||||||
=======
|
|
||||||
version: 58668c182103a00c5038c7130d7a23fad3a3bd34
|
|
||||||
repo: git@github.com:companyzero/btcdln
|
|
||||||
>>>>>>> 4d479d4... Move spvchain into neutrino and start integration w/btcwallet
|
|
||||||
subpackages:
|
|
||||||
- addrmgr
|
|
||||||
- blockchain
|
|
||||||
- btcec
|
|
||||||
- btcjson
|
|
||||||
- chaincfg
|
|
||||||
- chaincfg/chainhash
|
|
||||||
- connmgr
|
|
||||||
- database
|
|
||||||
- peer
|
|
||||||
- txscript
|
|
||||||
- wire
|
|
||||||
- name: github.com/btcsuite/btclog
|
|
||||||
version: 84c8d2346e9fc8c7b947e243b9c24e6df9fd206a
|
|
||||||
- name: github.com/btcsuite/btcrpcclient
|
|
||||||
<<<<<<< HEAD
|
|
||||||
version: c72658166ae09457e6beb14e9112241e352ebd35
|
|
||||||
- name: github.com/btcsuite/btcutil
|
|
||||||
version: 5ffa719c3882fd2ec1e8b9f4978066701c31a343
|
|
||||||
=======
|
|
||||||
version: e15bd09b466511d8836c4017bc4cbc2e0ff05f82
|
|
||||||
repo: git@github.com:companyzero/btcrpcclientln
|
|
||||||
- name: github.com/btcsuite/btcutil
|
|
||||||
version: f814b35f15362b1122f55bd9034b6275552cc2f7
|
|
||||||
repo: git@github.com:companyzero/btcutilln
|
|
||||||
>>>>>>> 4d479d4... Move spvchain into neutrino and start integration w/btcwallet
|
|
||||||
subpackages:
|
|
||||||
- base58
|
|
||||||
- gcs
|
|
||||||
- gcs/builder
|
|
||||||
- hdkeychain
|
|
||||||
=======
|
|
||||||
- name: github.com/btcsuite/btclog
|
|
||||||
<<<<<<< HEAD
|
|
||||||
version: 73889fb79bd687870312b6e40effcecffbd57d30
|
|
||||||
>>>>>>> afb1cbf... build: update glide files to point to roasbeef+neutrino proper
|
|
||||||
=======
|
|
||||||
version: 266a29b6e5ad061d4c055cec1c0049e4aae47092
|
|
||||||
>>>>>>> 249dae0... log: update to new logging API
|
|
||||||
- name: github.com/btcsuite/fastsha256
|
|
||||||
version: 637e656429416087660c84436a2a035d69d54e2e
|
|
||||||
=======
|
|
||||||
version: 2f1ce7a837dcb8da3ec595b1dac9d0632f0f99e8
|
|
||||||
=======
|
|
||||||
hash: 7513f0ab812dca7cbcb30de742d99b5d1f51b246a7ed9f83ccc7e705dd2d4665
|
|
||||||
updated: 2018-03-10T18:35:25.074565861-08:00
|
|
||||||
imports:
|
|
||||||
- name: github.com/aead/siphash
|
|
||||||
version: e404fcfc888570cadd1610538e2dbc89f66af814
|
|
||||||
>>>>>>> 46f7390... build: switch from bolt to bbolt
|
|
||||||
- name: github.com/btcsuite/btclog
|
|
||||||
version: 84c8d2346e9fc8c7b947e243b9c24e6df9fd206a
|
|
||||||
>>>>>>> ea0c0b9... build: update glide files to point to latest btcsuite/btcd commits
|
|
||||||
- name: github.com/btcsuite/go-socks
|
|
||||||
version: 4720035b7bfd2a9bb130b1c184f8bbe41b6f0d0f
|
|
||||||
subpackages:
|
|
||||||
- socks
|
|
||||||
- name: github.com/btcsuite/golangcrypto
|
|
||||||
version: 53f62d9b43e87a6c56975cf862af7edf33a8d0df
|
|
||||||
subpackages:
|
|
||||||
- nacl/secretbox
|
|
||||||
- pbkdf2
|
|
||||||
- poly1305
|
|
||||||
- ripemd160
|
|
||||||
- salsa20/salsa
|
|
||||||
- scrypt
|
|
||||||
- ssh/terminal
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
- name: github.com/btcsuite/seelog
|
|
||||||
version: ae8891d029dd3c269dcfd6f261ad23e761acd99f
|
|
||||||
>>>>>>> 4d479d4... Move spvchain into neutrino and start integration w/btcwallet
|
|
||||||
=======
|
|
||||||
>>>>>>> 249dae0... log: update to new logging API
|
|
||||||
- name: github.com/btcsuite/websocket
|
|
||||||
version: 31079b6807923eb23992c421b114992b95131b55
|
|
||||||
- name: github.com/coreos/bbolt
|
|
||||||
version: 4f5275f4ebbf6fe7cb772de987fa96ee674460a7
|
|
||||||
- name: github.com/davecgh/go-spew
|
|
||||||
version: 346938d642f2ec3594ed81d874461961cd0faa76
|
|
||||||
subpackages:
|
|
||||||
- spew
|
|
||||||
- name: github.com/golang/protobuf
|
|
||||||
version: ab9f9a6dab164b7d1246e0e688b0ab7b94d8553e
|
|
||||||
subpackages:
|
|
||||||
- proto
|
|
||||||
- ptypes/any
|
|
||||||
- name: github.com/jessevdk/go-flags
|
|
||||||
version: 1679536dcc895411a9f5848d9a0250be7856448c
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
>>>>>>> ea0c0b9... build: update glide files to point to latest btcsuite/btcd commits
|
|
||||||
- name: github.com/jrick/logrotate
|
|
||||||
version: a93b200c26cbae3bb09dd0dc2c7c7fe1468a034a
|
|
||||||
subpackages:
|
|
||||||
- rotator
|
|
||||||
<<<<<<< HEAD
|
|
||||||
- name: golang.org/x/crypto
|
|
||||||
version: 84f24dfdf3c414ed893ca1b318d0045ef5a1f607
|
|
||||||
subpackages:
|
|
||||||
- ripemd160
|
|
||||||
- name: golang.org/x/net
|
|
||||||
version: 8663ed5da4fd087c3cfb99a996e628b72e2f0948
|
|
||||||
=======
|
|
||||||
=======
|
|
||||||
>>>>>>> ea0c0b9... build: update glide files to point to latest btcsuite/btcd commits
|
|
||||||
- name: github.com/kkdai/bstream
|
|
||||||
version: f391b8402d23024e7c0f624b31267a89998fca95
|
|
||||||
- name: github.com/lightninglabs/gozmq
|
|
||||||
version: 0d266ba6d55ea65c18c7a02d8992c89355149e80
|
|
||||||
- name: github.com/lightninglabs/neutrino
|
|
||||||
version: 2241200df496ac8fbbe3ffac5be0f1866ad4330c
|
|
||||||
subpackages:
|
|
||||||
- filterdb
|
|
||||||
- headerfs
|
|
||||||
- name: github.com/roasbeef/btcd
|
|
||||||
version: 9978b939c33973be19b932fa7b936079bb7ba38d
|
|
||||||
subpackages:
|
|
||||||
- addrmgr
|
|
||||||
- blockchain
|
|
||||||
- btcec
|
|
||||||
- btcjson
|
|
||||||
- chaincfg
|
|
||||||
- chaincfg/chainhash
|
|
||||||
- connmgr
|
|
||||||
- database
|
|
||||||
- peer
|
|
||||||
- rpcclient
|
|
||||||
- txscript
|
|
||||||
- wire
|
|
||||||
- name: github.com/roasbeef/btcutil
|
|
||||||
version: c3ff179366044979fb9856c2feb79bd4c2184c7a
|
|
||||||
subpackages:
|
|
||||||
- base58
|
|
||||||
- bech32
|
|
||||||
- gcs
|
|
||||||
- gcs/builder
|
|
||||||
- hdkeychain
|
|
||||||
- name: golang.org/x/crypto
|
|
||||||
version: 49796115aa4b964c318aad4f3084fdb41e9aa067
|
|
||||||
subpackages:
|
|
||||||
- ripemd160
|
|
||||||
- ssh/terminal
|
|
||||||
- name: golang.org/x/net
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
version: 513929065c19401a1c7b76ecd942f9f86a0c061b
|
|
||||||
>>>>>>> 4d479d4... Move spvchain into neutrino and start integration w/btcwallet
|
|
||||||
=======
|
|
||||||
version: 57efc9c3d9f91fb3277f8da1cff370539c4d3dc5
|
|
||||||
>>>>>>> ea0c0b9... build: update glide files to point to latest btcsuite/btcd commits
|
|
||||||
=======
|
|
||||||
version: 66aacef3dd8a676686c7ae3716979581e8b03c47
|
|
||||||
>>>>>>> e4e29cf... build: update glide files to point to latest btcd+neutrino
|
|
||||||
=======
|
|
||||||
version: 1087133bc4af3073e18add999345c6ae75918503
|
|
||||||
>>>>>>> ba1ef88... build: update glide files for latest btcutil, btcd, and neutrino
|
|
||||||
=======
|
|
||||||
version: 66aacef3dd8a676686c7ae3716979581e8b03c47
|
|
||||||
>>>>>>> dc5f652... build: update to latest btcd and neutrino
|
|
||||||
subpackages:
|
|
||||||
- context
|
|
||||||
- http2
|
|
||||||
- http2/hpack
|
|
||||||
- idna
|
|
||||||
- internal/timeseries
|
|
||||||
- lex/httplex
|
|
||||||
- trace
|
|
||||||
- name: golang.org/x/sys
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
version: cd2c276457edda6df7fb04895d3fd6a6add42926
|
|
||||||
subpackages:
|
|
||||||
- unix
|
|
||||||
- name: golang.org/x/text
|
|
||||||
version: 6353ef0f924300eea566d3438817aa4d3374817e
|
|
||||||
=======
|
|
||||||
version: e62c3de784db939836898e5c19ffd41bece347da
|
|
||||||
=======
|
|
||||||
version: 07c182904dbd53199946ba614a412c61d3c548f5
|
|
||||||
>>>>>>> ea0c0b9... build: update glide files to point to latest btcsuite/btcd commits
|
|
||||||
=======
|
|
||||||
version: ab9e364efd8b52800ff7ee48a9ffba4e0ed78dfb
|
|
||||||
>>>>>>> e4e29cf... build: update glide files to point to latest btcd+neutrino
|
|
||||||
=======
|
|
||||||
version: 686000749eaec0b8855b8eef5336cf63899fe51d
|
|
||||||
>>>>>>> ba1ef88... build: update glide files for latest btcutil, btcd, and neutrino
|
|
||||||
=======
|
|
||||||
version: ab9e364efd8b52800ff7ee48a9ffba4e0ed78dfb
|
|
||||||
>>>>>>> dc5f652... build: update to latest btcd and neutrino
|
|
||||||
subpackages:
|
|
||||||
- unix
|
|
||||||
- windows
|
|
||||||
- name: golang.org/x/text
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
version: 19e51611da83d6be54ddafce4a4af510cb3e9ea4
|
|
||||||
>>>>>>> 4d479d4... Move spvchain into neutrino and start integration w/btcwallet
|
|
||||||
=======
|
|
||||||
version: cc24f0397b10b6321b1a1322b6bd592984fdabf2
|
|
||||||
>>>>>>> ea0c0b9... build: update glide files to point to latest btcsuite/btcd commits
|
|
||||||
=======
|
|
||||||
version: 18c65dde6afd36dbc39197ca72008895b8dfbfb6
|
|
||||||
>>>>>>> e4e29cf... build: update glide files to point to latest btcd+neutrino
|
|
||||||
=======
|
|
||||||
version: c01e4764d870b77f8abe5096ee19ad20d80e8075
|
|
||||||
>>>>>>> ba1ef88... build: update glide files for latest btcutil, btcd, and neutrino
|
|
||||||
=======
|
|
||||||
version: 18c65dde6afd36dbc39197ca72008895b8dfbfb6
|
|
||||||
>>>>>>> dc5f652... build: update to latest btcd and neutrino
|
|
||||||
subpackages:
|
|
||||||
- secure/bidirule
|
|
||||||
- transform
|
|
||||||
- unicode/bidi
|
|
||||||
- unicode/norm
|
|
||||||
- name: google.golang.org/genproto
|
|
||||||
version: 411e09b969b1170a9f0c467558eb4c4c110d9c77
|
|
||||||
subpackages:
|
|
||||||
- googleapis/rpc/status
|
|
||||||
- name: google.golang.org/grpc
|
|
||||||
version: b15215fb911b24a5d61d57feec4233d610530464
|
|
||||||
subpackages:
|
|
||||||
- codes
|
|
||||||
- credentials
|
|
||||||
- grpclb/grpc_lb_v1
|
|
||||||
- grpclog
|
|
||||||
- internal
|
|
||||||
- keepalive
|
|
||||||
- metadata
|
|
||||||
- naming
|
|
||||||
- peer
|
|
||||||
- stats
|
|
||||||
- status
|
|
||||||
- tap
|
|
||||||
- transport
|
|
||||||
testImports: []
|
|
|
@ -1,9 +1,8 @@
|
||||||
package: github.com/roasbeef/btcwallet
|
package: github.com/btcsuite/btcwallet
|
||||||
import:
|
import:
|
||||||
- package: github.com/coreos/bbolt
|
- package: github.com/coreos/bbolt
|
||||||
version: 4f5275f4ebbf6fe7cb772de987fa96ee674460a7
|
version: 4f5275f4ebbf6fe7cb772de987fa96ee674460a7
|
||||||
- package: github.com/roasbeef/btcd
|
- package: github.com/btcsuite/btcd
|
||||||
version: 9978b939c33973be19b932fa7b936079bb7ba38d
|
|
||||||
subpackages:
|
subpackages:
|
||||||
- blockchain
|
- blockchain
|
||||||
- btcec
|
- btcec
|
||||||
|
@ -13,8 +12,7 @@ import:
|
||||||
- txscript
|
- txscript
|
||||||
- wire
|
- wire
|
||||||
- package: github.com/btcsuite/btclog
|
- package: github.com/btcsuite/btclog
|
||||||
- package: github.com/roasbeef/btcutil
|
- package: github.com/btcsuite/btcutil
|
||||||
version: c3ff179366044979fb9856c2feb79bd4c2184c7a
|
|
||||||
subpackages:
|
subpackages:
|
||||||
- hdkeychain
|
- hdkeychain
|
||||||
- package: github.com/lightninglabs/neutrino
|
- package: github.com/lightninglabs/neutrino
|
||||||
|
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
// AmountFlag embeds a btcutil.Amount and implements the flags.Marshaler and
|
// AmountFlag embeds a btcutil.Amount and implements the flags.Marshaler and
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
package helpers
|
package helpers
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
// SumOutputValues sums up the list of TxOuts and returns an Amount.
|
// SumOutputValues sums up the list of TxOuts and returns an Amount.
|
||||||
|
|
|
@ -12,8 +12,8 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/roasbeef/btcutil/hdkeychain"
|
"github.com/btcsuite/btcutil/hdkeychain"
|
||||||
"github.com/roasbeef/btcwallet/internal/legacy/keystore"
|
"github.com/btcsuite/btcwallet/internal/legacy/keystore"
|
||||||
"github.com/btcsuite/golangcrypto/ssh/terminal"
|
"github.com/btcsuite/golangcrypto/ssh/terminal"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,8 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/btcjson"
|
"github.com/btcsuite/btcd/btcjson"
|
||||||
"github.com/roasbeef/btcwallet/internal/rpchelp"
|
"github.com/btcsuite/btcwallet/internal/rpchelp"
|
||||||
)
|
)
|
||||||
|
|
||||||
var outputFile = func() *os.File {
|
var outputFile = func() *os.File {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
package rpchelp
|
package rpchelp
|
||||||
|
|
||||||
import "github.com/roasbeef/btcd/btcjson"
|
import "github.com/btcsuite/btcd/btcjson"
|
||||||
|
|
||||||
// Common return types.
|
// Common return types.
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -7,7 +7,7 @@ package zero_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
. "github.com/roasbeef/btcwallet/internal/zero"
|
. "github.com/btcsuite/btcwallet/internal/zero"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -10,7 +10,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
. "github.com/roasbeef/btcwallet/internal/zero"
|
. "github.com/btcsuite/btcwallet/internal/zero"
|
||||||
)
|
)
|
||||||
|
|
||||||
func makeOneBytes(n int) []byte {
|
func makeOneBytes(n int) []byte {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
package netparams
|
package netparams
|
||||||
|
|
||||||
import "github.com/roasbeef/btcd/chaincfg"
|
import "github.com/btcsuite/btcd/chaincfg"
|
||||||
|
|
||||||
// Params is used to group parameters for various networks such as the main
|
// Params is used to group parameters for various networks such as the main
|
||||||
// network and test networks.
|
// network and test networks.
|
||||||
|
|
|
@ -4,6 +4,6 @@
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import "github.com/roasbeef/btcwallet/netparams"
|
import "github.com/btcsuite/btcwallet/netparams"
|
||||||
|
|
||||||
var activeNet = &netparams.MainNetParams
|
var activeNet = &netparams.MainNetParams
|
||||||
|
|
|
@ -52,7 +52,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
pb "github.com/roasbeef/btcwallet/rpc/walletrpc"
|
pb "github.com/btcsuite/btcwallet/rpc/walletrpc"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
"google.golang.org/grpc/credentials"
|
"google.golang.org/grpc/credentials"
|
||||||
|
@ -394,7 +394,7 @@ Full instructions for this procedure can be found
|
||||||
Generate Python stubs from the `.proto`:
|
Generate Python stubs from the `.proto`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ protoc -I /path/to/roasbeef/btcwallet/rpc --python_out=. --grpc_out=. \
|
$ protoc -I /path/to/btcsuite/btcwallet/rpc --python_out=. --grpc_out=. \
|
||||||
--plugin=protoc-gen-grpc=$(which grpc_python_plugin) \
|
--plugin=protoc-gen-grpc=$(which grpc_python_plugin) \
|
||||||
/path/to/btcwallet/rpc/api.proto
|
/path/to/btcwallet/rpc/api.proto
|
||||||
```
|
```
|
||||||
|
|
|
@ -7,7 +7,7 @@ package legacyrpc
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/btcjson"
|
"github.com/btcsuite/btcd/btcjson"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TODO(jrick): There are several error paths which 'replace' various errors
|
// TODO(jrick): There are several error paths which 'replace' various errors
|
||||||
|
|
|
@ -15,19 +15,19 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/btcec"
|
"github.com/btcsuite/btcd/btcec"
|
||||||
"github.com/roasbeef/btcd/btcjson"
|
"github.com/btcsuite/btcd/btcjson"
|
||||||
"github.com/roasbeef/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcd/rpcclient"
|
"github.com/btcsuite/btcd/rpcclient"
|
||||||
"github.com/roasbeef/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/chain"
|
"github.com/btcsuite/btcwallet/chain"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/wallet"
|
"github.com/btcsuite/btcwallet/wallet"
|
||||||
"github.com/roasbeef/btcwallet/wallet/txrules"
|
"github.com/btcsuite/btcwallet/wallet/txrules"
|
||||||
"github.com/roasbeef/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// confirmed checks whether a transaction at height txHeight has met minconf
|
// confirmed checks whether a transaction at height txHeight has met minconf
|
||||||
|
|
|
@ -18,8 +18,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/btcjson"
|
"github.com/btcsuite/btcd/btcjson"
|
||||||
"github.com/roasbeef/btcwallet/internal/rpchelp"
|
"github.com/btcsuite/btcwallet/internal/rpchelp"
|
||||||
)
|
)
|
||||||
|
|
||||||
func serverMethods() map[string]struct{} {
|
func serverMethods() map[string]struct{} {
|
||||||
|
|
|
@ -19,9 +19,9 @@ import (
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/btcjson"
|
"github.com/btcsuite/btcd/btcjson"
|
||||||
"github.com/roasbeef/btcwallet/chain"
|
"github.com/btcsuite/btcwallet/chain"
|
||||||
"github.com/roasbeef/btcwallet/wallet"
|
"github.com/btcsuite/btcwallet/wallet"
|
||||||
"github.com/btcsuite/websocket"
|
"github.com/btcsuite/websocket"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -8,11 +8,11 @@
|
||||||
// Full documentation of the API implemented by this package is maintained in a
|
// Full documentation of the API implemented by this package is maintained in a
|
||||||
// language-agnostic document:
|
// language-agnostic document:
|
||||||
//
|
//
|
||||||
// https://github.com/roasbeef/btcwallet/blob/master/rpc/documentation/api.md
|
// https://github.com/btcsuite/btcwallet/blob/master/rpc/documentation/api.md
|
||||||
//
|
//
|
||||||
// Any API changes must be performed according to the steps listed here:
|
// Any API changes must be performed according to the steps listed here:
|
||||||
//
|
//
|
||||||
// https://github.com/roasbeef/btcwallet/blob/master/rpc/documentation/serverchanges.md
|
// https://github.com/btcsuite/btcwallet/blob/master/rpc/documentation/serverchanges.md
|
||||||
package rpcserver
|
package rpcserver
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -16,10 +16,10 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/rpc/legacyrpc"
|
"github.com/btcsuite/btcwallet/rpc/legacyrpc"
|
||||||
"github.com/roasbeef/btcwallet/rpc/rpcserver"
|
"github.com/btcsuite/btcwallet/rpc/rpcserver"
|
||||||
"github.com/roasbeef/btcwallet/wallet"
|
"github.com/btcsuite/btcwallet/wallet"
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
"google.golang.org/grpc/credentials"
|
"google.golang.org/grpc/credentials"
|
||||||
)
|
)
|
||||||
|
|
|
@ -13,7 +13,7 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"runtime/debug"
|
"runtime/debug"
|
||||||
|
|
||||||
"github.com/roasbeef/btcwallet/internal/zero"
|
"github.com/btcsuite/btcwallet/internal/zero"
|
||||||
"github.com/btcsuite/golangcrypto/nacl/secretbox"
|
"github.com/btcsuite/golangcrypto/nacl/secretbox"
|
||||||
"github.com/btcsuite/golangcrypto/scrypt"
|
"github.com/btcsuite/golangcrypto/scrypt"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
votingpool
|
votingpool
|
||||||
========
|
========
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/roasbeef/btcwallet.png?branch=master)]
|
[![Build Status](https://travis-ci.org/btcsuite/btcwallet.png?branch=master)]
|
||||||
(https://travis-ci.org/roasbeef/btcwallet)
|
(https://travis-ci.org/btcsuite/btcwallet)
|
||||||
|
|
||||||
Package votingpool provides voting pool functionality for btcwallet as
|
Package votingpool provides voting pool functionality for btcwallet as
|
||||||
described here:
|
described here:
|
||||||
|
@ -25,16 +25,16 @@ Note that this is still a work in progress.
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
[![GoDoc](https://godoc.org/github.com/roasbeef/btcwallet/votingpool?status.png)]
|
[![GoDoc](https://godoc.org/github.com/btcsuite/btcwallet/votingpool?status.png)]
|
||||||
(http://godoc.org/github.com/roasbeef/btcwallet/votingpool)
|
(http://godoc.org/github.com/btcsuite/btcwallet/votingpool)
|
||||||
|
|
||||||
Full `go doc` style documentation for the project can be viewed online without
|
Full `go doc` style documentation for the project can be viewed online without
|
||||||
installing this package by using the GoDoc site here:
|
installing this package by using the GoDoc site here:
|
||||||
http://godoc.org/github.com/roasbeef/btcwallet/votingpool
|
http://godoc.org/github.com/btcsuite/btcwallet/votingpool
|
||||||
|
|
||||||
You can also view the documentation locally once the package is installed with
|
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
|
the `godoc` tool by running `godoc -http=":6060"` and pointing your browser to
|
||||||
http://localhost:6060/pkg/github.com/roasbeef/btcwallet/votingpool
|
http://localhost:6060/pkg/github.com/btcsuite/btcwallet/votingpool
|
||||||
|
|
||||||
Package votingpool is licensed under the [copyfree](http://copyfree.org) ISC
|
Package votingpool is licensed under the [copyfree](http://copyfree.org) ISC
|
||||||
License.
|
License.
|
||||||
|
|
|
@ -11,8 +11,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/btcsuite/btclog"
|
"github.com/btcsuite/btclog"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|
|
@ -10,11 +10,11 @@ import (
|
||||||
"encoding/gob"
|
"encoding/gob"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/snacl"
|
"github.com/btcsuite/btcwallet/snacl"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// These constants define the serialized length for a given encrypted extended
|
// These constants define the serialized length for a given encrypted extended
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestPutUsedAddrHash(t *testing.T) {
|
func TestPutUsedAddrHash(t *testing.T) {
|
||||||
|
|
|
@ -7,7 +7,7 @@ package votingpool_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
vp "github.com/roasbeef/btcwallet/votingpool"
|
vp "github.com/btcsuite/btcwallet/votingpool"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestErrorCodeStringer tests that all error codes has a text
|
// TestErrorCodeStringer tests that all error codes has a text
|
||||||
|
|
|
@ -23,14 +23,14 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/roasbeef/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/votingpool"
|
"github.com/btcsuite/btcwallet/votingpool"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
_ "github.com/roasbeef/btcwallet/walletdb/bdb"
|
_ "github.com/btcsuite/btcwallet/walletdb/bdb"
|
||||||
"github.com/roasbeef/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -27,15 +27,15 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcutil/hdkeychain"
|
"github.com/btcsuite/btcutil/hdkeychain"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
"github.com/roasbeef/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -21,11 +21,11 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"sort"
|
"sort"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/roasbeef/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
"github.com/roasbeef/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
const eligibleInputMinConfirmations = 100
|
const eligibleInputMinConfirmations = 100
|
||||||
|
|
|
@ -10,11 +10,11 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
"github.com/roasbeef/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
package votingpool
|
package votingpool
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil/hdkeychain"
|
"github.com/btcsuite/btcutil/hdkeychain"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
var TstLastErr = lastErr
|
var TstLastErr = lastErr
|
||||||
|
|
|
@ -8,12 +8,12 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"sort"
|
"sort"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcutil/hdkeychain"
|
"github.com/btcsuite/btcutil/hdkeychain"
|
||||||
"github.com/roasbeef/btcwallet/internal/zero"
|
"github.com/btcsuite/btcwallet/internal/zero"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -11,11 +11,11 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/roasbeef/btcutil/hdkeychain"
|
"github.com/btcsuite/btcutil/hdkeychain"
|
||||||
vp "github.com/roasbeef/btcwallet/votingpool"
|
vp "github.com/btcsuite/btcwallet/votingpool"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
_ "github.com/roasbeef/btcwallet/walletdb/bdb"
|
_ "github.com/btcsuite/btcwallet/walletdb/bdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestLoadPoolAndDepositScript(t *testing.T) {
|
func TestLoadPoolAndDepositScript(t *testing.T) {
|
||||||
|
|
|
@ -9,8 +9,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/roasbeef/btcutil/hdkeychain"
|
"github.com/btcsuite/btcutil/hdkeychain"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestPoolEnsureUsedAddr(t *testing.T) {
|
func TestPoolEnsureUsedAddr(t *testing.T) {
|
||||||
|
|
|
@ -1,142 +1,142 @@
|
||||||
|
|
||||||
github.com/roasbeef/btcwallet/votingpool/db.go serializeSeriesRow 100.00% (31/31)
|
github.com/btcsuite/btcwallet/votingpool/db.go serializeSeriesRow 100.00% (31/31)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go branchOrder 100.00% (19/19)
|
github.com/btcsuite/btcwallet/votingpool/pool.go branchOrder 100.00% (19/19)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.splitLastOutput 100.00% (16/16)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawal.splitLastOutput 100.00% (16/16)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go convertAndValidatePubKeys 100.00% (16/16)
|
github.com/btcsuite/btcwallet/votingpool/pool.go convertAndValidatePubKeys 100.00% (16/16)
|
||||||
github.com/roasbeef/btcwallet/votingpool/input_selection.go byAddress.Less 100.00% (12/12)
|
github.com/btcsuite/btcwallet/votingpool/input_selection.go byAddress.Less 100.00% (12/12)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.maybeDropRequests 100.00% (12/12)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawal.maybeDropRequests 100.00% (12/12)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTx.rollBackLastOutput 100.00% (10/10)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawalTx.rollBackLastOutput 100.00% (10/10)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go calculateSize 100.00% (10/10)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go calculateSize 100.00% (10/10)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.decryptExtendedKey 100.00% (10/10)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Pool.decryptExtendedKey 100.00% (10/10)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go OutputRequest.outBailmentIDHash 100.00% (8/8)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go OutputRequest.outBailmentIDHash 100.00% (8/8)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.ReplaceSeries 100.00% (8/8)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Pool.ReplaceSeries 100.00% (8/8)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTx.toMsgTx 100.00% (8/8)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawalTx.toMsgTx 100.00% (8/8)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.CreateSeries 100.00% (8/8)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Pool.CreateSeries 100.00% (8/8)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTx.addChange 100.00% (7/7)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawalTx.addChange 100.00% (7/7)
|
||||||
github.com/roasbeef/btcwallet/votingpool/db.go putPool 100.00% (5/5)
|
github.com/btcsuite/btcwallet/votingpool/db.go putPool 100.00% (5/5)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Create 100.00% (5/5)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Create 100.00% (5/5)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go newWithdrawalTx 100.00% (5/5)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go newWithdrawalTx 100.00% (5/5)
|
||||||
github.com/roasbeef/btcwallet/votingpool/db.go getUsedAddrHash 100.00% (4/4)
|
github.com/btcsuite/btcwallet/votingpool/db.go getUsedAddrHash 100.00% (4/4)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go CanonicalKeyOrder 100.00% (4/4)
|
github.com/btcsuite/btcwallet/votingpool/pool.go CanonicalKeyOrder 100.00% (4/4)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go SeriesData.IsEmpowered 100.00% (4/4)
|
github.com/btcsuite/btcwallet/votingpool/pool.go SeriesData.IsEmpowered 100.00% (4/4)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.DepositScriptAddress 100.00% (4/4)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Pool.DepositScriptAddress 100.00% (4/4)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go getRedeemScript 100.00% (4/4)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go getRedeemScript 100.00% (4/4)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go newWithdrawal 100.00% (4/4)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go newWithdrawal 100.00% (4/4)
|
||||||
github.com/roasbeef/btcwallet/votingpool/db.go @102:3 100.00% (4/4)
|
github.com/btcsuite/btcwallet/votingpool/db.go @102:3 100.00% (4/4)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTx.removeInput 100.00% (4/4)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawalTx.removeInput 100.00% (4/4)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTx.removeOutput 100.00% (4/4)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawalTx.removeOutput 100.00% (4/4)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.GetSeries 100.00% (4/4)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Pool.GetSeries 100.00% (4/4)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go @119:3 100.00% (4/4)
|
github.com/btcsuite/btcwallet/votingpool/pool.go @119:3 100.00% (4/4)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTx.outputTotal 100.00% (3/3)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawalTx.outputTotal 100.00% (3/3)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTx.inputTotal 100.00% (3/3)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawalTx.inputTotal 100.00% (3/3)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.highestUsedIndexFor 100.00% (3/3)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Pool.highestUsedIndexFor 100.00% (3/3)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.popRequest 100.00% (3/3)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawal.popRequest 100.00% (3/3)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go @458:26 100.00% (3/3)
|
github.com/btcsuite/btcwallet/votingpool/pool.go @458:26 100.00% (3/3)
|
||||||
github.com/roasbeef/btcwallet/votingpool/db.go uint32ToBytes 100.00% (3/3)
|
github.com/btcsuite/btcwallet/votingpool/db.go uint32ToBytes 100.00% (3/3)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go @811:3 100.00% (3/3)
|
github.com/btcsuite/btcwallet/votingpool/pool.go @811:3 100.00% (3/3)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.popInput 100.00% (3/3)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawal.popInput 100.00% (3/3)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.updateStatusFor 100.00% (3/3)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawal.updateStatusFor 100.00% (3/3)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTx.addInput 100.00% (2/2)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawalTx.addInput 100.00% (2/2)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTx.addOutput 100.00% (2/2)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawalTx.addOutput 100.00% (2/2)
|
||||||
github.com/roasbeef/btcwallet/votingpool/db.go putSeries 100.00% (2/2)
|
github.com/btcsuite/btcwallet/votingpool/db.go putSeries 100.00% (2/2)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go Ntxid 100.00% (2/2)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go Ntxid 100.00% (2/2)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.addressFor 100.00% (2/2)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Pool.addressFor 100.00% (2/2)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go zero 100.00% (2/2)
|
github.com/btcsuite/btcwallet/votingpool/pool.go zero 100.00% (2/2)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go @780:3 100.00% (2/2)
|
github.com/btcsuite/btcwallet/votingpool/pool.go @780:3 100.00% (2/2)
|
||||||
github.com/roasbeef/btcwallet/votingpool/db.go existsPool 100.00% (2/2)
|
github.com/btcsuite/btcwallet/votingpool/db.go existsPool 100.00% (2/2)
|
||||||
github.com/roasbeef/btcwallet/votingpool/db.go getUsedAddrBucketID 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/db.go getUsedAddrBucketID 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/db.go bytesToUint32 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/db.go bytesToUint32 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/error.go newError 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/error.go newError 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/input_selection.go newCredit 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/input_selection.go newCredit 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/input_selection.go credit.TxSha 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/input_selection.go credit.TxSha 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/input_selection.go credit.OutputIndex 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/input_selection.go credit.OutputIndex 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/input_selection.go credit.Address 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/input_selection.go credit.Address 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/input_selection.go byAddress.Len 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/input_selection.go byAddress.Len 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/input_selection.go byAddress.Swap 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/input_selection.go byAddress.Swap 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/input_selection.go Pool.isCharterOutput 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/input_selection.go Pool.isCharterOutput 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/log.go init 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/log.go init 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/log.go DisableLog 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/log.go DisableLog 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/log.go UseLogger 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/log.go UseLogger 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go @105:3 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/pool.go @105:3 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go newPool 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/pool.go newPool 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.Manager 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Pool.Manager 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go @250:27 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/pool.go @250:27 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go @761:3 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/pool.go @761:3 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go poolAddress.Addr 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/pool.go poolAddress.Addr 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go poolAddress.AddrIdentifier 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/pool.go poolAddress.AddrIdentifier 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go poolAddress.RedeemScript 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/pool.go poolAddress.RedeemScript 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go poolAddress.Series 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/pool.go poolAddress.Series 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go poolAddress.SeriesID 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/pool.go poolAddress.SeriesID 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go poolAddress.Branch 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/pool.go poolAddress.Branch 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go poolAddress.Index 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/pool.go poolAddress.Index 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go byAmount.Len 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go byAmount.Len 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go byAmount.Less 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go byAmount.Less 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go byAmount.Swap 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go byAmount.Swap 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go byOutBailmentID.Len 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go byOutBailmentID.Len 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go byOutBailmentID.Swap 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go byOutBailmentID.Swap 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go byOutBailmentID.Less 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go byOutBailmentID.Less 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go WithdrawalStatus.Outputs 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go WithdrawalStatus.Outputs 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go OutputRequest.String 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go OutputRequest.String 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go OutputRequest.outBailmentID 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go OutputRequest.outBailmentID 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go WithdrawalOutput.addOutpoint 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go WithdrawalOutput.addOutpoint 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go WithdrawalOutput.Status 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go WithdrawalOutput.Status 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go WithdrawalOutput.Address 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go WithdrawalOutput.Address 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go WithdrawalOutput.Outpoints 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go WithdrawalOutput.Outpoints 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go OutBailmentOutpoint.Amount 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go OutBailmentOutpoint.Amount 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTxOut.pkScript 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawalTxOut.pkScript 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go @237:20 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go @237:20 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go @240:16 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go @240:16 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTx.hasChange 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawalTx.hasChange 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.pushRequest 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawal.pushRequest 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.pushInput 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawal.pushInput 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go @246:21 100.00% (1/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go @246:21 100.00% (1/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.EmpowerSeries 96.30% (26/27)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Pool.EmpowerSeries 96.30% (26/27)
|
||||||
github.com/roasbeef/btcwallet/votingpool/db.go deserializeSeriesRow 94.59% (35/37)
|
github.com/btcsuite/btcwallet/votingpool/db.go deserializeSeriesRow 94.59% (35/37)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.fulfillNextRequest 94.44% (17/18)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawal.fulfillNextRequest 94.44% (17/18)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.putSeries 93.75% (15/16)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Pool.putSeries 93.75% (15/16)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go validateAndDecryptKeys 92.31% (24/26)
|
github.com/btcsuite/btcwallet/votingpool/pool.go validateAndDecryptKeys 92.31% (24/26)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go getRawSigs 91.43% (32/35)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go getRawSigs 91.43% (32/35)
|
||||||
github.com/roasbeef/btcwallet/votingpool/input_selection.go nextAddr 90.48% (19/21)
|
github.com/btcsuite/btcwallet/votingpool/input_selection.go nextAddr 90.48% (19/21)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.fulfillRequests 87.50% (14/16)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawal.fulfillRequests 87.50% (14/16)
|
||||||
github.com/roasbeef/btcwallet/votingpool/db.go getMaxUsedIdx 87.50% (7/8)
|
github.com/btcsuite/btcwallet/votingpool/db.go getMaxUsedIdx 87.50% (7/8)
|
||||||
github.com/roasbeef/btcwallet/votingpool/input_selection.go Pool.getEligibleInputs 85.71% (30/35)
|
github.com/btcsuite/btcwallet/votingpool/input_selection.go Pool.getEligibleInputs 85.71% (30/35)
|
||||||
github.com/roasbeef/btcwallet/votingpool/input_selection.go Pool.isCreditEligible 85.71% (6/7)
|
github.com/btcsuite/btcwallet/votingpool/input_selection.go Pool.isCreditEligible 85.71% (6/7)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Load 85.71% (6/7)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Load 85.71% (6/7)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go signMultiSigUTXO 85.19% (23/27)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go signMultiSigUTXO 85.19% (23/27)
|
||||||
github.com/roasbeef/btcwallet/votingpool/input_selection.go groupCreditsByAddr 83.33% (10/12)
|
github.com/btcsuite/btcwallet/votingpool/input_selection.go groupCreditsByAddr 83.33% (10/12)
|
||||||
github.com/roasbeef/btcwallet/votingpool/db.go loadAllSeries 83.33% (5/6)
|
github.com/btcsuite/btcwallet/votingpool/db.go loadAllSeries 83.33% (5/6)
|
||||||
github.com/roasbeef/btcwallet/votingpool/input_selection.go Pool.highestUsedSeriesIndex 81.82% (9/11)
|
github.com/btcsuite/btcwallet/votingpool/input_selection.go Pool.highestUsedSeriesIndex 81.82% (9/11)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.handleOversizeTx 80.00% (12/15)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawal.handleOversizeTx 80.00% (12/15)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.LoadAllSeries 80.00% (8/10)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Pool.LoadAllSeries 80.00% (8/10)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go LoadAndCreateSeries 80.00% (8/10)
|
github.com/btcsuite/btcwallet/votingpool/pool.go LoadAndCreateSeries 80.00% (8/10)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go LoadAndEmpowerSeries 80.00% (4/5)
|
github.com/btcsuite/btcwallet/votingpool/pool.go LoadAndEmpowerSeries 80.00% (4/5)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go LoadAndReplaceSeries 80.00% (4/5)
|
github.com/btcsuite/btcwallet/votingpool/pool.go LoadAndReplaceSeries 80.00% (4/5)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.finalizeCurrentTx 79.31% (23/29)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawal.finalizeCurrentTx 79.31% (23/29)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.ChangeAddress 76.92% (10/13)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Pool.ChangeAddress 76.92% (10/13)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.WithdrawalAddress 76.92% (10/13)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Pool.WithdrawalAddress 76.92% (10/13)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.getUsedAddr 76.47% (13/17)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Pool.getUsedAddr 76.47% (13/17)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go Pool.StartWithdrawal 75.00% (12/16)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go Pool.StartWithdrawal 75.00% (12/16)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.ensureUsedAddr 75.00% (9/12)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Pool.ensureUsedAddr 75.00% (9/12)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go validateSigScript 75.00% (6/8)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go validateSigScript 75.00% (6/8)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go LoadAndGetDepositScript 75.00% (6/8)
|
github.com/btcsuite/btcwallet/votingpool/pool.go LoadAndGetDepositScript 75.00% (6/8)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go getTxOutIndex 75.00% (3/4)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go getTxOutIndex 75.00% (3/4)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.poolAddress 75.00% (3/4)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Pool.poolAddress 75.00% (3/4)
|
||||||
github.com/roasbeef/btcwallet/votingpool/db.go putUsedAddrHash 75.00% (3/4)
|
github.com/btcsuite/btcwallet/votingpool/db.go putUsedAddrHash 75.00% (3/4)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go SeriesData.getPrivKeyFor 75.00% (3/4)
|
github.com/btcsuite/btcwallet/votingpool/pool.go SeriesData.getPrivKeyFor 75.00% (3/4)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.DepositScript 73.08% (19/26)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Pool.DepositScript 73.08% (19/26)
|
||||||
github.com/roasbeef/btcwallet/votingpool/db.go @132:3 71.43% (5/7)
|
github.com/btcsuite/btcwallet/votingpool/db.go @132:3 71.43% (5/7)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go nextChangeAddr 71.43% (5/7)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go nextChangeAddr 71.43% (5/7)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go storeTransactions 70.59% (12/17)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go storeTransactions 70.59% (12/17)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.saveSeriesToDisk 70.00% (14/20)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Pool.saveSeriesToDisk 70.00% (14/20)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.addUsedAddr 69.23% (9/13)
|
github.com/btcsuite/btcwallet/votingpool/pool.go Pool.addUsedAddr 69.23% (9/13)
|
||||||
github.com/roasbeef/btcwallet/votingpool/error.go ErrorCode.String 66.67% (2/3)
|
github.com/btcsuite/btcwallet/votingpool/error.go ErrorCode.String 66.67% (2/3)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go SignTx 62.50% (5/8)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go SignTx 62.50% (5/8)
|
||||||
github.com/roasbeef/btcwallet/votingpool/db.go putSeriesRow 53.85% (7/13)
|
github.com/btcsuite/btcwallet/votingpool/db.go putSeriesRow 53.85% (7/13)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go nBytesToSerialize 40.00% (2/5)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go nBytesToSerialize 40.00% (2/5)
|
||||||
github.com/roasbeef/btcwallet/votingpool/error.go Error.Error 0.00% (0/3)
|
github.com/btcsuite/btcwallet/votingpool/error.go Error.Error 0.00% (0/3)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go WithdrawalOutput.String 0.00% (0/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go WithdrawalOutput.String 0.00% (0/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/input_selection.go credit.String 0.00% (0/1)
|
github.com/btcsuite/btcwallet/votingpool/input_selection.go credit.String 0.00% (0/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTxOut.String 0.00% (0/1)
|
github.com/btcsuite/btcwallet/votingpool/withdrawal.go withdrawalTxOut.String 0.00% (0/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool/pool.go poolAddress.String 0.00% (0/1)
|
github.com/btcsuite/btcwallet/votingpool/pool.go poolAddress.String 0.00% (0/1)
|
||||||
github.com/roasbeef/btcwallet/votingpool ------------------------------- 87.49% (818/935)
|
github.com/btcsuite/btcwallet/votingpool ------------------------------- 87.49% (818/935)
|
||||||
|
|
||||||
|
|
|
@ -14,12 +14,12 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
"github.com/roasbeef/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Maximum tx size (in bytes). This should be the same as bitcoind's
|
// Maximum tx size (in bytes). This should be the same as bitcoind's
|
||||||
|
|
|
@ -8,9 +8,9 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcutil/hdkeychain"
|
"github.com/btcsuite/btcutil/hdkeychain"
|
||||||
vp "github.com/roasbeef/btcwallet/votingpool"
|
vp "github.com/btcsuite/btcwallet/votingpool"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestStartWithdrawal(t *testing.T) {
|
func TestStartWithdrawal(t *testing.T) {
|
||||||
|
|
|
@ -10,14 +10,14 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/roasbeef/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcutil/hdkeychain"
|
"github.com/btcsuite/btcutil/hdkeychain"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
"github.com/roasbeef/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestOutputSplittingNotEnoughInputs checks that an output will get split if we
|
// TestOutputSplittingNotEnoughInputs checks that an output will get split if we
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
waddrmgr
|
waddrmgr
|
||||||
========
|
========
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/roasbeef/btcwallet.png?branch=master)]
|
[![Build Status](https://travis-ci.org/btcsuite/btcwallet.png?branch=master)]
|
||||||
(https://travis-ci.org/roasbeef/btcwallet)
|
(https://travis-ci.org/btcsuite/btcwallet)
|
||||||
|
|
||||||
Package waddrmgr provides a secure hierarchical deterministic wallet address
|
Package waddrmgr provides a secure hierarchical deterministic wallet address
|
||||||
manager.
|
manager.
|
||||||
|
@ -41,21 +41,21 @@ report. Package waddrmgr is licensed under the liberal ISC license.
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
[![GoDoc](https://godoc.org/github.com/roasbeef/btcwallet/waddrmgr?status.png)]
|
[![GoDoc](https://godoc.org/github.com/btcsuite/btcwallet/waddrmgr?status.png)]
|
||||||
(http://godoc.org/github.com/roasbeef/btcwallet/waddrmgr)
|
(http://godoc.org/github.com/btcsuite/btcwallet/waddrmgr)
|
||||||
|
|
||||||
Full `go doc` style documentation for the project can be viewed online without
|
Full `go doc` style documentation for the project can be viewed online without
|
||||||
installing this package by using the GoDoc site here:
|
installing this package by using the GoDoc site here:
|
||||||
http://godoc.org/github.com/roasbeef/btcwallet/waddrmgr
|
http://godoc.org/github.com/btcsuite/btcwallet/waddrmgr
|
||||||
|
|
||||||
You can also view the documentation locally once the package is installed with
|
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
|
the `godoc` tool by running `godoc -http=":6060"` and pointing your browser to
|
||||||
http://localhost:6060/pkg/github.com/roasbeef/btcwallet/waddrmgr
|
http://localhost:6060/pkg/github.com/btcsuite/btcwallet/waddrmgr
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ go get github.com/roasbeef/btcwallet/waddrmgr
|
$ go get github.com/btcsuite/btcwallet/waddrmgr
|
||||||
```
|
```
|
||||||
|
|
||||||
Package waddrmgr is licensed under the [copyfree](http://copyfree.org) ISC
|
Package waddrmgr is licensed under the [copyfree](http://copyfree.org) ISC
|
||||||
|
|
|
@ -9,12 +9,12 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/btcec"
|
"github.com/btcsuite/btcd/btcec"
|
||||||
"github.com/roasbeef/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcutil/hdkeychain"
|
"github.com/btcsuite/btcutil/hdkeychain"
|
||||||
"github.com/roasbeef/btcwallet/internal/zero"
|
"github.com/btcsuite/btcwallet/internal/zero"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// AddressType represents the various address types waddrmgr is currently able
|
// AddressType represents the various address types waddrmgr is currently able
|
||||||
|
|
|
@ -12,10 +12,10 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
_ "github.com/roasbeef/btcwallet/walletdb/bdb"
|
_ "github.com/btcsuite/btcwallet/walletdb/bdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -11,9 +11,9 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/roasbeef/btcutil/hdkeychain"
|
"github.com/btcsuite/btcutil/hdkeychain"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestErrorCodeStringer tests the stringized output for the ErrorCode type.
|
// TestErrorCodeStringer tests the stringized output for the ErrorCode type.
|
||||||
|
|
|
@ -14,7 +14,7 @@ package waddrmgr
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"github.com/roasbeef/btcwallet/snacl"
|
"github.com/btcsuite/btcwallet/snacl"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TstLatestMgrVersion makes the unexported latestMgrVersion variable available
|
// TstLatestMgrVersion makes the unexported latestMgrVersion variable available
|
||||||
|
|
|
@ -11,12 +11,12 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcutil/hdkeychain"
|
"github.com/btcsuite/btcutil/hdkeychain"
|
||||||
"github.com/roasbeef/btcwallet/internal/zero"
|
"github.com/btcsuite/btcwallet/internal/zero"
|
||||||
"github.com/roasbeef/btcwallet/snacl"
|
"github.com/btcsuite/btcwallet/snacl"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -13,11 +13,11 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// newHash converts the passed big-endian hex string into a chainhash.Hash.
|
// newHash converts the passed big-endian hex string into a chainhash.Hash.
|
||||||
|
|
|
@ -4,12 +4,12 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/btcec"
|
"github.com/btcsuite/btcd/btcec"
|
||||||
"github.com/roasbeef/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcutil/hdkeychain"
|
"github.com/btcsuite/btcutil/hdkeychain"
|
||||||
"github.com/roasbeef/btcwallet/internal/zero"
|
"github.com/btcsuite/btcwallet/internal/zero"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// DerivationPath represents a derivation path from a particular key manager's
|
// DerivationPath represents a derivation path from a particular key manager's
|
||||||
|
|
|
@ -7,8 +7,8 @@ package waddrmgr
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BlockStamp defines a block (by height and a unique hash) and is used to mark
|
// BlockStamp defines a block (by height and a unique hash) and is used to mark
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
wallet
|
wallet
|
||||||
======
|
======
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/roasbeef/btcwallet.png?branch=master)]
|
[![Build Status](https://travis-ci.org/btcsuite/btcwallet.png?branch=master)]
|
||||||
(https://travis-ci.org/roasbeef/btcwallet)
|
(https://travis-ci.org/btcsuite/btcwallet)
|
||||||
|
|
||||||
## Feature Overview
|
## Feature Overview
|
||||||
|
|
||||||
|
@ -10,21 +10,21 @@ TODO: Flesh out this section
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
[![GoDoc](https://godoc.org/github.com/roasbeef/btcwallet/wallet?status.png)]
|
[![GoDoc](https://godoc.org/github.com/btcsuite/btcwallet/wallet?status.png)]
|
||||||
(http://godoc.org/github.com/roasbeef/btcwallet/wallet)
|
(http://godoc.org/github.com/btcsuite/btcwallet/wallet)
|
||||||
|
|
||||||
Full `go doc` style documentation for the project can be viewed online without
|
Full `go doc` style documentation for the project can be viewed online without
|
||||||
installing this package by using the GoDoc site here:
|
installing this package by using the GoDoc site here:
|
||||||
http://godoc.org/github.com/roasbeef/btcwallet/wallet
|
http://godoc.org/github.com/btcsuite/btcwallet/wallet
|
||||||
|
|
||||||
You can also view the documentation locally once the package is installed with
|
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
|
the `godoc` tool by running `godoc -http=":6060"` and pointing your browser to
|
||||||
http://localhost:6060/pkg/github.com/roasbeef/btcwallet/wallet
|
http://localhost:6060/pkg/github.com/btcsuite/btcwallet/wallet
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ go get github.com/roasbeef/btcwallet/wallet
|
$ go get github.com/btcsuite/btcwallet/wallet
|
||||||
```
|
```
|
||||||
|
|
||||||
Package wallet is licensed under the [copyfree](http://copyfree.org) ISC
|
Package wallet is licensed under the [copyfree](http://copyfree.org) ISC
|
||||||
|
|
|
@ -8,11 +8,11 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
"github.com/roasbeef/btcwallet/chain"
|
"github.com/btcsuite/btcwallet/chain"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
"github.com/roasbeef/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (w *Wallet) handleChainNotifications() {
|
func (w *Wallet) handleChainNotifications() {
|
||||||
|
|
|
@ -8,9 +8,9 @@ package wallet
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Note: The following common types should never reference the Wallet type.
|
// Note: The following common types should never reference the Wallet type.
|
||||||
|
|
|
@ -9,14 +9,14 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"sort"
|
"sort"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/btcec"
|
"github.com/btcsuite/btcd/btcec"
|
||||||
"github.com/roasbeef/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/wallet/txauthor"
|
"github.com/btcsuite/btcwallet/wallet/txauthor"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
"github.com/roasbeef/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// byAmount defines the methods needed to satisify sort.Interface to
|
// byAmount defines the methods needed to satisify sort.Interface to
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
package txsizes
|
package txsizes
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/roasbeef/btcd/blockchain"
|
"github.com/btcsuite/btcd/blockchain"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
|
|
||||||
h "github.com/roasbeef/btcwallet/internal/helpers"
|
h "github.com/btcsuite/btcwallet/internal/helpers"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Worst case script and input/output size estimates.
|
// Worst case script and input/output size estimates.
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
. "github.com/roasbeef/btcwallet/wallet/internal/txsizes"
|
. "github.com/btcsuite/btcwallet/wallet/internal/txsizes"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -11,10 +11,10 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/roasbeef/btcwallet/internal/prompt"
|
"github.com/btcsuite/btcwallet/internal/prompt"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -8,10 +8,10 @@ package wallet
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// MakeMultiSigScript creates a multi-signature script that can be redeemed with
|
// MakeMultiSigScript creates a multi-signature script that can be redeemed with
|
||||||
|
|
|
@ -8,13 +8,13 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
"github.com/roasbeef/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TODO: It would be good to send errors during notification creation to the rpc
|
// TODO: It would be good to send errors during notification creation to the rpc
|
||||||
|
|
|
@ -3,13 +3,13 @@ package wallet
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcutil/hdkeychain"
|
"github.com/btcsuite/btcutil/hdkeychain"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
"github.com/roasbeef/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// RecoveryManager maintains the state required to recover previously used
|
// RecoveryManager maintains the state required to recover previously used
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"runtime"
|
"runtime"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/roasbeef/btcwallet/wallet"
|
"github.com/btcsuite/btcwallet/wallet"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Harness holds the BranchRecoveryState being tested, the recovery window being
|
// Harness holds the BranchRecoveryState being tested, the recovery window being
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
package wallet
|
package wallet
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/chain"
|
"github.com/btcsuite/btcwallet/chain"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// RescanProgressMsg reports the current progress made by a rescan for a
|
// RescanProgressMsg reports the current progress made by a rescan for a
|
||||||
|
|
|
@ -8,14 +8,14 @@ package txauthor
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/roasbeef/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/wallet/txrules"
|
"github.com/btcsuite/btcwallet/wallet/txrules"
|
||||||
|
|
||||||
h "github.com/roasbeef/btcwallet/internal/helpers"
|
h "github.com/btcsuite/btcwallet/internal/helpers"
|
||||||
"github.com/roasbeef/btcwallet/wallet/internal/txsizes"
|
"github.com/btcsuite/btcwallet/wallet/internal/txsizes"
|
||||||
)
|
)
|
||||||
|
|
||||||
// InputSource provides transaction inputs referencing spendable outputs to
|
// InputSource provides transaction inputs referencing spendable outputs to
|
||||||
|
|
|
@ -7,12 +7,12 @@ package txauthor_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
. "github.com/roasbeef/btcwallet/wallet/txauthor"
|
. "github.com/btcsuite/btcwallet/wallet/txauthor"
|
||||||
"github.com/roasbeef/btcwallet/wallet/txrules"
|
"github.com/btcsuite/btcwallet/wallet/txrules"
|
||||||
|
|
||||||
"github.com/roasbeef/btcwallet/wallet/internal/txsizes"
|
"github.com/btcsuite/btcwallet/wallet/internal/txsizes"
|
||||||
)
|
)
|
||||||
|
|
||||||
func p2pkhOutputs(amounts ...btcutil.Amount) []*wire.TxOut {
|
func p2pkhOutputs(amounts ...btcutil.Amount) []*wire.TxOut {
|
||||||
|
|
|
@ -9,9 +9,9 @@ package txrules
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
// DefaultRelayFeePerKb is the default minimum relay fee policy for a mempool.
|
// DefaultRelayFeePerKb is the default minimum relay fee policy for a mempool.
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
package wallet
|
package wallet
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
"github.com/roasbeef/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type unstableAPI struct {
|
type unstableAPI struct {
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
package wallet
|
package wallet
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/roasbeef/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// OutputSelectionPolicy describes the rules for selecting an output from the
|
// OutputSelectionPolicy describes the rules for selecting an output from the
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
walletdb
|
walletdb
|
||||||
========
|
========
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/roasbeef/btcwallet.png?branch=master)]
|
[![Build Status](https://travis-ci.org/btcsuite/btcwallet.png?branch=master)]
|
||||||
(https://travis-ci.org/roasbeef/btcwallet)
|
(https://travis-ci.org/btcsuite/btcwallet)
|
||||||
|
|
||||||
Package walletdb provides a namespaced database interface for btcwallet.
|
Package walletdb provides a namespaced database interface for btcwallet.
|
||||||
|
|
||||||
|
@ -43,27 +43,27 @@ boltdb project at https://github.com/boltdb/bolt by Ben B. Johnson.
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
[![GoDoc](https://godoc.org/github.com/roasbeef/btcwallet/walletdb?status.png)]
|
[![GoDoc](https://godoc.org/github.com/btcsuite/btcwallet/walletdb?status.png)]
|
||||||
(http://godoc.org/github.com/roasbeef/btcwallet/walletdb)
|
(http://godoc.org/github.com/btcsuite/btcwallet/walletdb)
|
||||||
|
|
||||||
Full `go doc` style documentation for the project can be viewed online without
|
Full `go doc` style documentation for the project can be viewed online without
|
||||||
installing this package by using the GoDoc site here:
|
installing this package by using the GoDoc site here:
|
||||||
http://godoc.org/github.com/roasbeef/btcwallet/walletdb
|
http://godoc.org/github.com/btcsuite/btcwallet/walletdb
|
||||||
|
|
||||||
You can also view the documentation locally once the package is installed with
|
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
|
the `godoc` tool by running `godoc -http=":6060"` and pointing your browser to
|
||||||
http://localhost:6060/pkg/github.com/roasbeef/btcwallet/walletdb
|
http://localhost:6060/pkg/github.com/btcsuite/btcwallet/walletdb
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ go get github.com/roasbeef/btcwallet/walletdb
|
$ go get github.com/btcsuite/btcwallet/walletdb
|
||||||
```
|
```
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
* [Basic Usage Example]
|
* [Basic Usage Example]
|
||||||
(http://godoc.org/github.com/roasbeef/btcwallet/walletdb#example-package--BasicUsage)
|
(http://godoc.org/github.com/btcsuite/btcwallet/walletdb#example-package--BasicUsage)
|
||||||
Demonstrates creating a new database, getting a namespace from it, and using a
|
Demonstrates creating a new database, getting a namespace from it, and using a
|
||||||
managed read-write transaction against the namespace to store and retrieve
|
managed read-write transaction against the namespace to store and retrieve
|
||||||
data.
|
data.
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
bdb
|
bdb
|
||||||
===
|
===
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/roasbeef/btcwallet.png?branch=master)]
|
[![Build Status](https://travis-ci.org/btcsuite/btcwallet.png?branch=master)]
|
||||||
(https://travis-ci.org/roasbeef/btcwallet)
|
(https://travis-ci.org/btcsuite/btcwallet)
|
||||||
|
|
||||||
Package bdb implements an driver for walletdb that uses boltdb for the backing
|
Package bdb implements an driver for walletdb that uses boltdb for the backing
|
||||||
datastore. Package bdb is licensed under the copyfree ISC license.
|
datastore. Package bdb is licensed under the copyfree ISC license.
|
||||||
|
@ -29,16 +29,16 @@ if err != nil {
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
[![GoDoc](https://godoc.org/github.com/roasbeef/btcwallet/walletdb/bdb?status.png)]
|
[![GoDoc](https://godoc.org/github.com/btcsuite/btcwallet/walletdb/bdb?status.png)]
|
||||||
(http://godoc.org/github.com/roasbeef/btcwallet/walletdb/bdb)
|
(http://godoc.org/github.com/btcsuite/btcwallet/walletdb/bdb)
|
||||||
|
|
||||||
Full `go doc` style documentation for the project can be viewed online without
|
Full `go doc` style documentation for the project can be viewed online without
|
||||||
installing this package by using the GoDoc site here:
|
installing this package by using the GoDoc site here:
|
||||||
http://godoc.org/github.com/roasbeef/btcwallet/walletdb/bdb
|
http://godoc.org/github.com/btcsuite/btcwallet/walletdb/bdb
|
||||||
|
|
||||||
You can also view the documentation locally once the package is installed with
|
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
|
the `godoc` tool by running `godoc -http=":6060"` and pointing your browser to
|
||||||
http://localhost:6060/pkg/github.com/roasbeef/btcwallet/walletdb/bdb
|
http://localhost:6060/pkg/github.com/btcsuite/btcwallet/walletdb/bdb
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/coreos/bbolt"
|
"github.com/coreos/bbolt"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// convertErr converts some bolt errors to the equivalent walletdb error.
|
// convertErr converts some bolt errors to the equivalent walletdb error.
|
||||||
|
|
|
@ -7,7 +7,7 @@ package bdb
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -10,8 +10,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
_ "github.com/roasbeef/btcwallet/walletdb/bdb"
|
_ "github.com/btcsuite/btcwallet/walletdb/bdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// dbType is the database type name for this driver.
|
// dbType is the database type name for this driver.
|
||||||
|
|
|
@ -16,7 +16,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/roasbeef/btcwallet/walletdb/walletdbtest"
|
"github.com/btcsuite/btcwallet/walletdb/walletdbtest"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestInterface performs all interfaces tests for this database driver.
|
// TestInterface performs all interfaces tests for this database driver.
|
||||||
|
|
|
@ -9,8 +9,8 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
_ "github.com/roasbeef/btcwallet/walletdb/bdb"
|
_ "github.com/btcsuite/btcwallet/walletdb/bdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -10,8 +10,8 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
_ "github.com/roasbeef/btcwallet/walletdb/bdb"
|
_ "github.com/btcsuite/btcwallet/walletdb/bdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// This example demonstrates creating a new database.
|
// This example demonstrates creating a new database.
|
||||||
|
@ -19,8 +19,8 @@ func ExampleCreate() {
|
||||||
// This example assumes the bdb (bolt db) driver is imported.
|
// This example assumes the bdb (bolt db) driver is imported.
|
||||||
//
|
//
|
||||||
// import (
|
// import (
|
||||||
// "github.com/roasbeef/btcwallet/walletdb"
|
// "github.com/btcsuite/btcwallet/walletdb"
|
||||||
// _ "github.com/roasbeef/btcwallet/walletdb/bdb"
|
// _ "github.com/btcsuite/btcwallet/walletdb/bdb"
|
||||||
// )
|
// )
|
||||||
|
|
||||||
// Create a database and schedule it to be closed and removed on exit.
|
// Create a database and schedule it to be closed and removed on exit.
|
||||||
|
@ -102,8 +102,8 @@ func Example_basicUsage() {
|
||||||
// This example assumes the bdb (bolt db) driver is imported.
|
// This example assumes the bdb (bolt db) driver is imported.
|
||||||
//
|
//
|
||||||
// import (
|
// import (
|
||||||
// "github.com/roasbeef/btcwallet/walletdb"
|
// "github.com/btcsuite/btcwallet/walletdb"
|
||||||
// _ "github.com/roasbeef/btcwallet/walletdb/bdb"
|
// _ "github.com/btcsuite/btcwallet/walletdb/bdb"
|
||||||
// )
|
// )
|
||||||
|
|
||||||
// Create a database and schedule it to be closed and removed on exit.
|
// Create a database and schedule it to be closed and removed on exit.
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"reflect"
|
"reflect"
|
||||||
|
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// errSubTestFail is used to signal that a sub test returned false.
|
// errSubTestFail is used to signal that a sub test returned false.
|
||||||
|
|
|
@ -11,16 +11,16 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/btcec"
|
"github.com/btcsuite/btcd/btcec"
|
||||||
"github.com/roasbeef/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/internal/legacy/keystore"
|
"github.com/btcsuite/btcwallet/internal/legacy/keystore"
|
||||||
"github.com/roasbeef/btcwallet/internal/prompt"
|
"github.com/btcsuite/btcwallet/internal/prompt"
|
||||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/roasbeef/btcwallet/wallet"
|
"github.com/btcsuite/btcwallet/wallet"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
_ "github.com/roasbeef/btcwallet/walletdb/bdb"
|
_ "github.com/btcsuite/btcwallet/walletdb/bdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// networkDir returns the directory name of a network directory to hold wallet
|
// networkDir returns the directory name of a network directory to hold wallet
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
wtxmgr
|
wtxmgr
|
||||||
======
|
======
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/roasbeef/btcwallet.png?branch=master)]
|
[![Build Status](https://travis-ci.org/btcsuite/btcwallet.png?branch=master)]
|
||||||
(https://travis-ci.org/roasbeef/btcwallet)
|
(https://travis-ci.org/btcsuite/btcwallet)
|
||||||
|
|
||||||
Package wtxmgr provides storage and spend tracking of wallet transactions and
|
Package wtxmgr provides storage and spend tracking of wallet transactions and
|
||||||
their relevant input and outputs.
|
their relevant input and outputs.
|
||||||
|
@ -24,21 +24,21 @@ their relevant input and outputs.
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
[![GoDoc](https://godoc.org/github.com/roasbeef/btcwallet/wtxmgr?status.png)]
|
[![GoDoc](https://godoc.org/github.com/btcsuite/btcwallet/wtxmgr?status.png)]
|
||||||
(http://godoc.org/github.com/roasbeef/btcwallet/wtxmgr)
|
(http://godoc.org/github.com/btcsuite/btcwallet/wtxmgr)
|
||||||
|
|
||||||
Full `go doc` style documentation for the project can be viewed online without
|
Full `go doc` style documentation for the project can be viewed online without
|
||||||
installing this package by using the GoDoc site here:
|
installing this package by using the GoDoc site here:
|
||||||
http://godoc.org/github.com/roasbeef/btcwallet/wtxmgr
|
http://godoc.org/github.com/btcsuite/btcwallet/wtxmgr
|
||||||
|
|
||||||
You can also view the documentation locally once the package is installed with
|
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
|
the `godoc` tool by running `godoc -http=":6060"` and pointing your browser to
|
||||||
http://localhost:6060/pkg/github.com/roasbeef/btcwallet/wtxmgr
|
http://localhost:6060/pkg/github.com/btcsuite/btcwallet/wtxmgr
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ go get github.com/roasbeef/btcwallet/wtxmgr
|
$ go get github.com/btcsuite/btcwallet/wtxmgr
|
||||||
```
|
```
|
||||||
|
|
||||||
Package wtxmgr is licensed under the [copyfree](http://copyfree.org) ISC
|
Package wtxmgr is licensed under the [copyfree](http://copyfree.org) ISC
|
||||||
|
|
|
@ -11,10 +11,10 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Naming
|
// Naming
|
||||||
|
|
|
@ -7,11 +7,11 @@ package wtxmgr_test
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
"github.com/roasbeef/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
package wtxmgr
|
package wtxmgr
|
||||||
|
|
||||||
import "github.com/roasbeef/btcd/chaincfg/chainhash"
|
import "github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
|
|
||||||
type graphNode struct {
|
type graphNode struct {
|
||||||
value *TxRecord
|
value *TxRecord
|
||||||
|
|
|
@ -8,9 +8,9 @@ package wtxmgr
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// CreditRecord contains metadata regarding a transaction credit for a known
|
// CreditRecord contains metadata regarding a transaction credit for a known
|
||||||
|
|
|
@ -11,11 +11,11 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
. "github.com/roasbeef/btcwallet/wtxmgr"
|
. "github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type queryState struct {
|
type queryState struct {
|
||||||
|
|
12
wtxmgr/tx.go
12
wtxmgr/tx.go
|
@ -9,12 +9,12 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/blockchain"
|
"github.com/btcsuite/btcd/blockchain"
|
||||||
"github.com/roasbeef/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Block contains the minimum amount of data to uniquely identify any block on
|
// Block contains the minimum amount of data to uniquely identify any block on
|
||||||
|
|
|
@ -13,14 +13,14 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/roasbeef/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
_ "github.com/roasbeef/btcwallet/walletdb/bdb"
|
_ "github.com/btcsuite/btcwallet/walletdb/bdb"
|
||||||
"github.com/roasbeef/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
. "github.com/roasbeef/btcwallet/wtxmgr"
|
. "github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Received transaction output for mainnet outpoint
|
// Received transaction output for mainnet outpoint
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
package wtxmgr
|
package wtxmgr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/roasbeef/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/roasbeef/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/roasbeef/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// insertMemPoolTx inserts the unmined transaction record. It also marks
|
// insertMemPoolTx inserts the unmined transaction record. It also marks
|
||||||
|
|
Loading…
Reference in a new issue