Update btcwallet import paths to new location.

This commit is contained in:
Dave Collins 2015-01-17 00:25:53 -06:00
parent 3c60626579
commit f05ab25696
37 changed files with 97 additions and 97 deletions

View file

@ -1,8 +1,8 @@
btcwallet btcwallet
========= =========
[![Build Status](https://travis-ci.org/conformal/btcwallet.png?branch=master)] [![Build Status](https://travis-ci.org/btcsuite/btcwallet.png?branch=master)]
(https://travis-ci.org/conformal/btcwallet) (https://travis-ci.org/btcsuite/btcwallet)
btcwallet is a daemon handling bitcoin wallet functionality for a btcwallet is a daemon handling bitcoin wallet functionality for a
single user. It acts as both an RPC client to btcd and an RPC server single user. It acts as both an RPC client to btcd and an RPC server
@ -48,7 +48,7 @@ https://opensource.conformal.com/packages/windows/btcdsuite/
dependencies: dependencies:
```bash ```bash
$ go get -u -v github.com/conformal/btcd/... $ go get -u -v github.com/conformal/btcd/...
$ go get -u -v github.com/conformal/btcwallet/... $ go get -u -v github.com/btcsuite/btcwallet/...
``` ```
- btcd and btcwallet will now be installed in either ```$GOROOT/bin``` or - btcd and btcwallet will now be installed in either ```$GOROOT/bin``` or
@ -69,7 +69,7 @@ https://opensource.conformal.com/packages/windows/btcdsuite/
```bash ```bash
$ go get -u -v github.com/conformal/btcd/... $ go get -u -v github.com/conformal/btcd/...
$ go get -u -v github.com/conformal/btcwallet/... $ go get -u -v github.com/btcsuite/btcwallet/...
``` ```
## Getting Started ## Getting Started
@ -103,7 +103,7 @@ RPC username and password.
```bash ```bash
$ cp $GOPATH/src/github.com/conformal/btcd/sample-btcd.conf ~/.btcd/btcd.conf $ cp $GOPATH/src/github.com/conformal/btcd/sample-btcd.conf ~/.btcd/btcd.conf
$ cp $GOPATH/src/github.com/conformal/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
``` ```
@ -122,7 +122,7 @@ JSON (un)marshaling these requests and notifications.
## Issue Tracker ## Issue Tracker
The [integrated github issue tracker](https://github.com/conformal/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

View file

@ -24,7 +24,7 @@ import (
"os" "os"
"runtime" "runtime"
"github.com/conformal/btcwallet/chain" "github.com/btcsuite/btcwallet/chain"
) )
var ( var (

View file

@ -24,10 +24,10 @@ import (
"github.com/btcsuite/btcnet" "github.com/btcsuite/btcnet"
"github.com/btcsuite/btcrpcclient" "github.com/btcsuite/btcrpcclient"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwallet/keystore"
"github.com/btcsuite/btcwallet/txstore"
"github.com/btcsuite/btcwire" "github.com/btcsuite/btcwire"
"github.com/btcsuite/btcws" "github.com/btcsuite/btcws"
"github.com/conformal/btcwallet/keystore"
"github.com/conformal/btcwallet/txstore"
) )
type Client struct { type Client struct {

View file

@ -19,9 +19,9 @@ package main
import ( import (
"github.com/btcsuite/btcscript" "github.com/btcsuite/btcscript"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/conformal/btcwallet/chain" "github.com/btcsuite/btcwallet/chain"
"github.com/conformal/btcwallet/keystore" "github.com/btcsuite/btcwallet/keystore"
"github.com/conformal/btcwallet/txstore" "github.com/btcsuite/btcwallet/txstore"
) )
func (w *Wallet) handleChainNotifications() { func (w *Wallet) handleChainNotifications() {

View file

@ -26,9 +26,9 @@ import (
"github.com/btcsuite/btcchain" "github.com/btcsuite/btcchain"
"github.com/btcsuite/btcscript" "github.com/btcsuite/btcscript"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwallet/keystore"
"github.com/btcsuite/btcwallet/txstore"
"github.com/btcsuite/btcwire" "github.com/btcsuite/btcwire"
"github.com/conformal/btcwallet/keystore"
"github.com/conformal/btcwallet/txstore"
) )
const ( const (

View file

@ -8,9 +8,9 @@ import (
"github.com/btcsuite/btcscript" "github.com/btcsuite/btcscript"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwallet/keystore"
"github.com/btcsuite/btcwallet/txstore"
"github.com/btcsuite/btcwire" "github.com/btcsuite/btcwire"
"github.com/conformal/btcwallet/keystore"
"github.com/conformal/btcwallet/txstore"
) )
// This is a tx that transfers funds (0.371 BTC) to addresses of known privKeys. // This is a tx that transfers funds (0.371 BTC) to addresses of known privKeys.

View file

@ -14,8 +14,8 @@ import (
"github.com/btcsuite/btcscript" "github.com/btcsuite/btcscript"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwallet/tx"
"github.com/btcsuite/btcwire" "github.com/btcsuite/btcwire"
"github.com/conformal/btcwallet/tx"
) )
func init() { func init() {

View file

@ -40,8 +40,8 @@ import (
"github.com/btcsuite/btcnet" "github.com/btcsuite/btcnet"
"github.com/btcsuite/btcscript" "github.com/btcsuite/btcscript"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwallet/rename"
"github.com/btcsuite/btcwire" "github.com/btcsuite/btcwire"
"github.com/conformal/btcwallet/rename"
) )
const ( const (

4
log.go
View file

@ -21,9 +21,9 @@ import (
"os" "os"
"github.com/btcsuite/btclog" "github.com/btcsuite/btclog"
"github.com/btcsuite/btcwallet/chain"
"github.com/btcsuite/btcwallet/txstore"
"github.com/btcsuite/seelog" "github.com/btcsuite/seelog"
"github.com/conformal/btcwallet/chain"
"github.com/conformal/btcwallet/txstore"
) )
const ( const (

View file

@ -18,9 +18,9 @@ package main
import ( import (
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwallet/chain"
"github.com/btcsuite/btcwallet/keystore"
"github.com/btcsuite/btcwire" "github.com/btcsuite/btcwire"
"github.com/conformal/btcwallet/chain"
"github.com/conformal/btcwallet/keystore"
) )
// RescanProgressMsg reports the current progress made by a rescan for a // RescanProgressMsg reports the current progress made by a rescan for a

View file

@ -42,12 +42,12 @@ import (
"github.com/btcsuite/btcrpcclient" "github.com/btcsuite/btcrpcclient"
"github.com/btcsuite/btcscript" "github.com/btcsuite/btcscript"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwallet/chain"
"github.com/btcsuite/btcwallet/keystore"
"github.com/btcsuite/btcwallet/txstore"
"github.com/btcsuite/btcwire" "github.com/btcsuite/btcwire"
"github.com/btcsuite/btcws" "github.com/btcsuite/btcws"
"github.com/btcsuite/websocket" "github.com/btcsuite/websocket"
"github.com/conformal/btcwallet/chain"
"github.com/conformal/btcwallet/keystore"
"github.com/conformal/btcwallet/txstore"
) )
// Error types to simplify the reporting of specific categories of // Error types to simplify the reporting of specific categories of

View file

@ -28,8 +28,8 @@ import (
"time" "time"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwallet/rename"
"github.com/btcsuite/btcwire" "github.com/btcsuite/btcwire"
"github.com/conformal/btcwallet/rename"
) )
// filename is the name of the file typically used to save a transaction // filename is the name of the file typically used to save a transaction

View file

@ -22,8 +22,8 @@ import (
"github.com/btcsuite/btcnet" "github.com/btcsuite/btcnet"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
. "github.com/btcsuite/btcwallet/txstore"
"github.com/btcsuite/btcwire" "github.com/btcsuite/btcwire"
. "github.com/conformal/btcwallet/txstore"
) )
// Received transaction output for mainnet outpoint // Received transaction output for mainnet outpoint

View file

@ -1,8 +1,8 @@
votingpool votingpool
======== ========
[![Build Status](https://travis-ci.org/conformal/btcwallet.png?branch=master)] [![Build Status](https://travis-ci.org/btcsuite/btcwallet.png?branch=master)]
(https://travis-ci.org/conformal/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/conformal/btcwallet/votingpool?status.png)] [![GoDoc](https://godoc.org/github.com/btcsuite/btcwallet/votingpool?status.png)]
(http://godoc.org/github.com/conformal/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/conformal/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/conformal/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.

View file

@ -21,9 +21,9 @@ import (
"encoding/binary" "encoding/binary"
"fmt" "fmt"
"github.com/conformal/btcwallet/snacl" "github.com/btcsuite/btcwallet/snacl"
"github.com/conformal/btcwallet/waddrmgr" "github.com/btcsuite/btcwallet/waddrmgr"
"github.com/conformal/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

View file

@ -23,10 +23,10 @@ import (
"path/filepath" "path/filepath"
"github.com/btcsuite/btcnet" "github.com/btcsuite/btcnet"
"github.com/conformal/btcwallet/votingpool" "github.com/btcsuite/btcwallet/votingpool"
"github.com/conformal/btcwallet/waddrmgr" "github.com/btcsuite/btcwallet/waddrmgr"
"github.com/conformal/btcwallet/walletdb" "github.com/btcsuite/btcwallet/walletdb"
_ "github.com/conformal/btcwallet/walletdb/bdb" _ "github.com/btcsuite/btcwallet/walletdb/bdb"
) )
func Example_basic() { func Example_basic() {

View file

@ -18,8 +18,8 @@ package votingpool
import ( import (
"github.com/btcsuite/btcutil/hdkeychain" "github.com/btcsuite/btcutil/hdkeychain"
"github.com/conformal/btcwallet/waddrmgr" "github.com/btcsuite/btcwallet/waddrmgr"
"github.com/conformal/btcwallet/walletdb" "github.com/btcsuite/btcwallet/walletdb"
) )
// TstPutSeries transparently wraps the voting pool putSeries method. // TstPutSeries transparently wraps the voting pool putSeries method.

View file

@ -23,8 +23,8 @@ import (
"github.com/btcsuite/btcscript" "github.com/btcsuite/btcscript"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcutil/hdkeychain" "github.com/btcsuite/btcutil/hdkeychain"
"github.com/conformal/btcwallet/waddrmgr" "github.com/btcsuite/btcwallet/waddrmgr"
"github.com/conformal/btcwallet/walletdb" "github.com/btcsuite/btcwallet/walletdb"
) )
const ( const (

View file

@ -29,10 +29,10 @@ import (
"github.com/btcsuite/btcnet" "github.com/btcsuite/btcnet"
"github.com/btcsuite/btcutil/hdkeychain" "github.com/btcsuite/btcutil/hdkeychain"
"github.com/conformal/btcwallet/votingpool" "github.com/btcsuite/btcwallet/votingpool"
"github.com/conformal/btcwallet/waddrmgr" "github.com/btcsuite/btcwallet/waddrmgr"
"github.com/conformal/btcwallet/walletdb" "github.com/btcsuite/btcwallet/walletdb"
_ "github.com/conformal/btcwallet/walletdb/bdb" _ "github.com/btcsuite/btcwallet/walletdb/bdb"
) )
var fastScrypt = &waddrmgr.Options{ var fastScrypt = &waddrmgr.Options{

View file

@ -1,8 +1,8 @@
waddrmgr waddrmgr
======== ========
[![Build Status](https://travis-ci.org/conformal/btcwallet.png?branch=master)] [![Build Status](https://travis-ci.org/btcsuite/btcwallet.png?branch=master)]
(https://travis-ci.org/conformal/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/conformal/btcwallet/waddrmgr?status.png)] [![GoDoc](https://godoc.org/github.com/btcsuite/btcwallet/waddrmgr?status.png)]
(http://godoc.org/github.com/conformal/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/conformal/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/conformal/btcwallet/waddrmgr http://localhost:6060/pkg/github.com/btcsuite/btcwallet/waddrmgr
## Installation ## Installation
```bash ```bash
$ go get github.com/conformal/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

View file

@ -24,9 +24,9 @@ import (
"testing" "testing"
"github.com/btcsuite/btcnet" "github.com/btcsuite/btcnet"
"github.com/conformal/btcwallet/waddrmgr" "github.com/btcsuite/btcwallet/waddrmgr"
"github.com/conformal/btcwallet/walletdb" "github.com/btcsuite/btcwallet/walletdb"
_ "github.com/conformal/btcwallet/walletdb/bdb" _ "github.com/btcsuite/btcwallet/walletdb/bdb"
) )
var ( var (

View file

@ -22,9 +22,9 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/btcsuite/btcwallet/walletdb"
"github.com/btcsuite/btcwire" "github.com/btcsuite/btcwire"
"github.com/btcsuite/fastsha256" "github.com/btcsuite/fastsha256"
"github.com/conformal/btcwallet/walletdb"
) )
const ( const (

View file

@ -20,7 +20,7 @@ import (
"fmt" "fmt"
"testing" "testing"
"github.com/conformal/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.

View file

@ -26,7 +26,7 @@ package waddrmgr
import ( import (
"errors" "errors"
"github.com/conformal/btcwallet/snacl" "github.com/btcsuite/btcwallet/snacl"
) )
// TstMaxRecentHashes makes the unexported maxRecentHashes constant available // TstMaxRecentHashes makes the unexported maxRecentHashes constant available

View file

@ -24,9 +24,9 @@ import (
"github.com/btcsuite/btcnet" "github.com/btcsuite/btcnet"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcutil/hdkeychain" "github.com/btcsuite/btcutil/hdkeychain"
"github.com/btcsuite/btcwallet/snacl"
"github.com/btcsuite/btcwallet/walletdb"
"github.com/btcsuite/btcwire" "github.com/btcsuite/btcwire"
"github.com/conformal/btcwallet/snacl"
"github.com/conformal/btcwallet/walletdb"
) )
const ( const (

View file

@ -25,9 +25,9 @@ import (
"github.com/btcsuite/btcnet" "github.com/btcsuite/btcnet"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwallet/waddrmgr"
"github.com/btcsuite/btcwallet/walletdb"
"github.com/btcsuite/btcwire" "github.com/btcsuite/btcwire"
"github.com/conformal/btcwallet/waddrmgr"
"github.com/conformal/btcwallet/walletdb"
) )
// newShaHash converts the passed big-endian hex string into a btcwire.ShaHash. // newShaHash converts the passed big-endian hex string into a btcwire.ShaHash.

View file

@ -19,8 +19,8 @@ package waddrmgr
import ( import (
"sync" "sync"
"github.com/btcsuite/btcwallet/walletdb"
"github.com/btcsuite/btcwire" "github.com/btcsuite/btcwire"
"github.com/conformal/btcwallet/walletdb"
) )
const ( const (

View file

@ -30,10 +30,10 @@ import (
"github.com/btcsuite/btcjson" "github.com/btcsuite/btcjson"
"github.com/btcsuite/btcnet" "github.com/btcsuite/btcnet"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwallet/chain"
"github.com/btcsuite/btcwallet/keystore"
"github.com/btcsuite/btcwallet/txstore"
"github.com/btcsuite/btcwire" "github.com/btcsuite/btcwire"
"github.com/conformal/btcwallet/chain"
"github.com/conformal/btcwallet/keystore"
"github.com/conformal/btcwallet/txstore"
) )
var ( var (

View file

@ -1,8 +1,8 @@
walletdb walletdb
======== ========
[![Build Status](https://travis-ci.org/conformal/btcwallet.png?branch=master)] [![Build Status](https://travis-ci.org/btcsuite/btcwallet.png?branch=master)]
(https://travis-ci.org/conformal/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/conformal/btcwallet/walletdb?status.png)] [![GoDoc](https://godoc.org/github.com/btcsuite/btcwallet/walletdb?status.png)]
(http://godoc.org/github.com/conformal/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/conformal/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/conformal/btcwallet/walletdb http://localhost:6060/pkg/github.com/btcsuite/btcwallet/walletdb
## Installation ## Installation
```bash ```bash
$ go get github.com/conformal/btcwallet/walletdb $ go get github.com/btcsuite/btcwallet/walletdb
``` ```
## Examples ## Examples
* [Basic Usage Example] * [Basic Usage Example]
(http://godoc.org/github.com/conformal/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.

View file

@ -1,8 +1,8 @@
bdb bdb
=== ===
[![Build Status](https://travis-ci.org/conformal/btcwallet.png?branch=master)] [![Build Status](https://travis-ci.org/btcsuite/btcwallet.png?branch=master)]
(https://travis-ci.org/conformal/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/conformal/btcwallet/walletdb/bdb?status.png)] [![GoDoc](https://godoc.org/github.com/btcsuite/btcwallet/walletdb/bdb?status.png)]
(http://godoc.org/github.com/conformal/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/conformal/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/conformal/btcwallet/walletdb/bdb http://localhost:6060/pkg/github.com/btcsuite/btcwallet/walletdb/bdb
## License ## License

View file

@ -21,7 +21,7 @@ import (
"os" "os"
"github.com/btcsuite/bolt" "github.com/btcsuite/bolt"
"github.com/conformal/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.

View file

@ -19,7 +19,7 @@ package bdb
import ( import (
"fmt" "fmt"
"github.com/conformal/btcwallet/walletdb" "github.com/btcsuite/btcwallet/walletdb"
) )
const ( const (

View file

@ -22,8 +22,8 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/conformal/btcwallet/walletdb" "github.com/btcsuite/btcwallet/walletdb"
_ "github.com/conformal/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.

View file

@ -29,7 +29,7 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/conformal/btcwallet/walletdb" "github.com/btcsuite/btcwallet/walletdb"
) )
// subTestFailError is used to signal that a sub test returned false. // subTestFailError is used to signal that a sub test returned false.

View file

@ -21,8 +21,8 @@ import (
"os" "os"
"testing" "testing"
"github.com/conformal/btcwallet/walletdb" "github.com/btcsuite/btcwallet/walletdb"
_ "github.com/conformal/btcwallet/walletdb/bdb" _ "github.com/btcsuite/btcwallet/walletdb/bdb"
) )
var ( var (

View file

@ -22,8 +22,8 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"github.com/conformal/btcwallet/walletdb" "github.com/btcsuite/btcwallet/walletdb"
_ "github.com/conformal/btcwallet/walletdb/bdb" _ "github.com/btcsuite/btcwallet/walletdb/bdb"
) )
// This example demonstrates creating a new database. // This example demonstrates creating a new database.
@ -31,8 +31,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/conformal/btcwallet/walletdb" // "github.com/btcsuite/btcwallet/walletdb"
// _ "github.com/conformal/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.
@ -108,8 +108,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/conformal/btcwallet/walletdb" // "github.com/btcsuite/btcwallet/walletdb"
// _ "github.com/conformal/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.

View file

@ -29,7 +29,7 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/conformal/btcwallet/walletdb" "github.com/btcsuite/btcwallet/walletdb"
) )
// subTestFailError is used to signal that a sub test returned false. // subTestFailError is used to signal that a sub test returned false.