Update btcwallet import paths to new location.
This commit is contained in:
parent
3c60626579
commit
f05ab25696
37 changed files with 97 additions and 97 deletions
12
README.md
12
README.md
|
@ -1,8 +1,8 @@
|
|||
btcwallet
|
||||
=========
|
||||
|
||||
[![Build Status](https://travis-ci.org/conformal/btcwallet.png?branch=master)]
|
||||
(https://travis-ci.org/conformal/btcwallet)
|
||||
[![Build Status](https://travis-ci.org/btcsuite/btcwallet.png?branch=master)]
|
||||
(https://travis-ci.org/btcsuite/btcwallet)
|
||||
|
||||
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
|
||||
|
@ -48,7 +48,7 @@ https://opensource.conformal.com/packages/windows/btcdsuite/
|
|||
dependencies:
|
||||
```bash
|
||||
$ 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
|
||||
|
@ -69,7 +69,7 @@ https://opensource.conformal.com/packages/windows/btcdsuite/
|
|||
|
||||
```bash
|
||||
$ 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
|
||||
|
@ -103,7 +103,7 @@ RPC username and password.
|
|||
|
||||
```bash
|
||||
$ 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 ~/.btcwallet/btcwallet.conf
|
||||
```
|
||||
|
@ -122,7 +122,7 @@ JSON (un)marshaling these requests and notifications.
|
|||
|
||||
## 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.
|
||||
|
||||
## GPG Verification Key
|
||||
|
|
|
@ -24,7 +24,7 @@ import (
|
|||
"os"
|
||||
"runtime"
|
||||
|
||||
"github.com/conformal/btcwallet/chain"
|
||||
"github.com/btcsuite/btcwallet/chain"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -24,10 +24,10 @@ import (
|
|||
"github.com/btcsuite/btcnet"
|
||||
"github.com/btcsuite/btcrpcclient"
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/btcsuite/btcwallet/keystore"
|
||||
"github.com/btcsuite/btcwallet/txstore"
|
||||
"github.com/btcsuite/btcwire"
|
||||
"github.com/btcsuite/btcws"
|
||||
"github.com/conformal/btcwallet/keystore"
|
||||
"github.com/conformal/btcwallet/txstore"
|
||||
)
|
||||
|
||||
type Client struct {
|
||||
|
|
|
@ -19,9 +19,9 @@ package main
|
|||
import (
|
||||
"github.com/btcsuite/btcscript"
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/conformal/btcwallet/chain"
|
||||
"github.com/conformal/btcwallet/keystore"
|
||||
"github.com/conformal/btcwallet/txstore"
|
||||
"github.com/btcsuite/btcwallet/chain"
|
||||
"github.com/btcsuite/btcwallet/keystore"
|
||||
"github.com/btcsuite/btcwallet/txstore"
|
||||
)
|
||||
|
||||
func (w *Wallet) handleChainNotifications() {
|
||||
|
|
|
@ -26,9 +26,9 @@ import (
|
|||
"github.com/btcsuite/btcchain"
|
||||
"github.com/btcsuite/btcscript"
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/btcsuite/btcwallet/keystore"
|
||||
"github.com/btcsuite/btcwallet/txstore"
|
||||
"github.com/btcsuite/btcwire"
|
||||
"github.com/conformal/btcwallet/keystore"
|
||||
"github.com/conformal/btcwallet/txstore"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -8,9 +8,9 @@ import (
|
|||
|
||||
"github.com/btcsuite/btcscript"
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/btcsuite/btcwallet/keystore"
|
||||
"github.com/btcsuite/btcwallet/txstore"
|
||||
"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.
|
||||
|
|
|
@ -14,8 +14,8 @@ import (
|
|||
|
||||
"github.com/btcsuite/btcscript"
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/btcsuite/btcwallet/tx"
|
||||
"github.com/btcsuite/btcwire"
|
||||
"github.com/conformal/btcwallet/tx"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -40,8 +40,8 @@ import (
|
|||
"github.com/btcsuite/btcnet"
|
||||
"github.com/btcsuite/btcscript"
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/btcsuite/btcwallet/rename"
|
||||
"github.com/btcsuite/btcwire"
|
||||
"github.com/conformal/btcwallet/rename"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
4
log.go
4
log.go
|
@ -21,9 +21,9 @@ import (
|
|||
"os"
|
||||
|
||||
"github.com/btcsuite/btclog"
|
||||
"github.com/btcsuite/btcwallet/chain"
|
||||
"github.com/btcsuite/btcwallet/txstore"
|
||||
"github.com/btcsuite/seelog"
|
||||
"github.com/conformal/btcwallet/chain"
|
||||
"github.com/conformal/btcwallet/txstore"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -18,9 +18,9 @@ package main
|
|||
|
||||
import (
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/btcsuite/btcwallet/chain"
|
||||
"github.com/btcsuite/btcwallet/keystore"
|
||||
"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
|
||||
|
|
|
@ -42,12 +42,12 @@ import (
|
|||
"github.com/btcsuite/btcrpcclient"
|
||||
"github.com/btcsuite/btcscript"
|
||||
"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/btcws"
|
||||
"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
|
||||
|
|
|
@ -28,8 +28,8 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/btcsuite/btcwallet/rename"
|
||||
"github.com/btcsuite/btcwire"
|
||||
"github.com/conformal/btcwallet/rename"
|
||||
)
|
||||
|
||||
// filename is the name of the file typically used to save a transaction
|
||||
|
|
|
@ -22,8 +22,8 @@ import (
|
|||
|
||||
"github.com/btcsuite/btcnet"
|
||||
"github.com/btcsuite/btcutil"
|
||||
. "github.com/btcsuite/btcwallet/txstore"
|
||||
"github.com/btcsuite/btcwire"
|
||||
. "github.com/conformal/btcwallet/txstore"
|
||||
)
|
||||
|
||||
// Received transaction output for mainnet outpoint
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
votingpool
|
||||
========
|
||||
|
||||
[![Build Status](https://travis-ci.org/conformal/btcwallet.png?branch=master)]
|
||||
(https://travis-ci.org/conformal/btcwallet)
|
||||
[![Build Status](https://travis-ci.org/btcsuite/btcwallet.png?branch=master)]
|
||||
(https://travis-ci.org/btcsuite/btcwallet)
|
||||
|
||||
Package votingpool provides voting pool functionality for btcwallet as
|
||||
described here:
|
||||
|
@ -25,16 +25,16 @@ Note that this is still a work in progress.
|
|||
|
||||
## Documentation
|
||||
|
||||
[![GoDoc](https://godoc.org/github.com/conformal/btcwallet/votingpool?status.png)]
|
||||
(http://godoc.org/github.com/conformal/btcwallet/votingpool)
|
||||
[![GoDoc](https://godoc.org/github.com/btcsuite/btcwallet/votingpool?status.png)]
|
||||
(http://godoc.org/github.com/btcsuite/btcwallet/votingpool)
|
||||
|
||||
Full `go doc` style documentation for the project can be viewed online without
|
||||
installing this package by using the GoDoc site here:
|
||||
http://godoc.org/github.com/conformal/btcwallet/votingpool
|
||||
http://godoc.org/github.com/btcsuite/btcwallet/votingpool
|
||||
|
||||
You can also view the documentation locally once the package is installed with
|
||||
the `godoc` tool by running `godoc -http=":6060"` and pointing your browser to
|
||||
http://localhost:6060/pkg/github.com/conformal/btcwallet/votingpool
|
||||
http://localhost:6060/pkg/github.com/btcsuite/btcwallet/votingpool
|
||||
|
||||
Package votingpool is licensed under the [copyfree](http://copyfree.org) ISC
|
||||
License.
|
||||
|
|
|
@ -21,9 +21,9 @@ import (
|
|||
"encoding/binary"
|
||||
"fmt"
|
||||
|
||||
"github.com/conformal/btcwallet/snacl"
|
||||
"github.com/conformal/btcwallet/waddrmgr"
|
||||
"github.com/conformal/btcwallet/walletdb"
|
||||
"github.com/btcsuite/btcwallet/snacl"
|
||||
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||
"github.com/btcsuite/btcwallet/walletdb"
|
||||
)
|
||||
|
||||
// These constants define the serialized length for a given encrypted extended
|
||||
|
|
|
@ -23,10 +23,10 @@ import (
|
|||
"path/filepath"
|
||||
|
||||
"github.com/btcsuite/btcnet"
|
||||
"github.com/conformal/btcwallet/votingpool"
|
||||
"github.com/conformal/btcwallet/waddrmgr"
|
||||
"github.com/conformal/btcwallet/walletdb"
|
||||
_ "github.com/conformal/btcwallet/walletdb/bdb"
|
||||
"github.com/btcsuite/btcwallet/votingpool"
|
||||
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||
"github.com/btcsuite/btcwallet/walletdb"
|
||||
_ "github.com/btcsuite/btcwallet/walletdb/bdb"
|
||||
)
|
||||
|
||||
func Example_basic() {
|
||||
|
|
|
@ -18,8 +18,8 @@ package votingpool
|
|||
|
||||
import (
|
||||
"github.com/btcsuite/btcutil/hdkeychain"
|
||||
"github.com/conformal/btcwallet/waddrmgr"
|
||||
"github.com/conformal/btcwallet/walletdb"
|
||||
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||
"github.com/btcsuite/btcwallet/walletdb"
|
||||
)
|
||||
|
||||
// TstPutSeries transparently wraps the voting pool putSeries method.
|
||||
|
|
|
@ -23,8 +23,8 @@ import (
|
|||
"github.com/btcsuite/btcscript"
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/btcsuite/btcutil/hdkeychain"
|
||||
"github.com/conformal/btcwallet/waddrmgr"
|
||||
"github.com/conformal/btcwallet/walletdb"
|
||||
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||
"github.com/btcsuite/btcwallet/walletdb"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -29,10 +29,10 @@ import (
|
|||
|
||||
"github.com/btcsuite/btcnet"
|
||||
"github.com/btcsuite/btcutil/hdkeychain"
|
||||
"github.com/conformal/btcwallet/votingpool"
|
||||
"github.com/conformal/btcwallet/waddrmgr"
|
||||
"github.com/conformal/btcwallet/walletdb"
|
||||
_ "github.com/conformal/btcwallet/walletdb/bdb"
|
||||
"github.com/btcsuite/btcwallet/votingpool"
|
||||
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||
"github.com/btcsuite/btcwallet/walletdb"
|
||||
_ "github.com/btcsuite/btcwallet/walletdb/bdb"
|
||||
)
|
||||
|
||||
var fastScrypt = &waddrmgr.Options{
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
waddrmgr
|
||||
========
|
||||
|
||||
[![Build Status](https://travis-ci.org/conformal/btcwallet.png?branch=master)]
|
||||
(https://travis-ci.org/conformal/btcwallet)
|
||||
[![Build Status](https://travis-ci.org/btcsuite/btcwallet.png?branch=master)]
|
||||
(https://travis-ci.org/btcsuite/btcwallet)
|
||||
|
||||
Package waddrmgr provides a secure hierarchical deterministic wallet address
|
||||
manager.
|
||||
|
@ -41,21 +41,21 @@ report. Package waddrmgr is licensed under the liberal ISC license.
|
|||
|
||||
## Documentation
|
||||
|
||||
[![GoDoc](https://godoc.org/github.com/conformal/btcwallet/waddrmgr?status.png)]
|
||||
(http://godoc.org/github.com/conformal/btcwallet/waddrmgr)
|
||||
[![GoDoc](https://godoc.org/github.com/btcsuite/btcwallet/waddrmgr?status.png)]
|
||||
(http://godoc.org/github.com/btcsuite/btcwallet/waddrmgr)
|
||||
|
||||
Full `go doc` style documentation for the project can be viewed online without
|
||||
installing this package by using the GoDoc site here:
|
||||
http://godoc.org/github.com/conformal/btcwallet/waddrmgr
|
||||
http://godoc.org/github.com/btcsuite/btcwallet/waddrmgr
|
||||
|
||||
You can also view the documentation locally once the package is installed with
|
||||
the `godoc` tool by running `godoc -http=":6060"` and pointing your browser to
|
||||
http://localhost:6060/pkg/github.com/conformal/btcwallet/waddrmgr
|
||||
http://localhost:6060/pkg/github.com/btcsuite/btcwallet/waddrmgr
|
||||
|
||||
## Installation
|
||||
|
||||
```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
|
||||
|
|
|
@ -24,9 +24,9 @@ import (
|
|||
"testing"
|
||||
|
||||
"github.com/btcsuite/btcnet"
|
||||
"github.com/conformal/btcwallet/waddrmgr"
|
||||
"github.com/conformal/btcwallet/walletdb"
|
||||
_ "github.com/conformal/btcwallet/walletdb/bdb"
|
||||
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||
"github.com/btcsuite/btcwallet/walletdb"
|
||||
_ "github.com/btcsuite/btcwallet/walletdb/bdb"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -22,9 +22,9 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/btcsuite/btcwallet/walletdb"
|
||||
"github.com/btcsuite/btcwire"
|
||||
"github.com/btcsuite/fastsha256"
|
||||
"github.com/conformal/btcwallet/walletdb"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -20,7 +20,7 @@ import (
|
|||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/conformal/btcwallet/waddrmgr"
|
||||
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||
)
|
||||
|
||||
// TestErrorCodeStringer tests the stringized output for the ErrorCode type.
|
||||
|
|
|
@ -26,7 +26,7 @@ package waddrmgr
|
|||
import (
|
||||
"errors"
|
||||
|
||||
"github.com/conformal/btcwallet/snacl"
|
||||
"github.com/btcsuite/btcwallet/snacl"
|
||||
)
|
||||
|
||||
// TstMaxRecentHashes makes the unexported maxRecentHashes constant available
|
||||
|
|
|
@ -24,9 +24,9 @@ import (
|
|||
"github.com/btcsuite/btcnet"
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/btcsuite/btcutil/hdkeychain"
|
||||
"github.com/btcsuite/btcwallet/snacl"
|
||||
"github.com/btcsuite/btcwallet/walletdb"
|
||||
"github.com/btcsuite/btcwire"
|
||||
"github.com/conformal/btcwallet/snacl"
|
||||
"github.com/conformal/btcwallet/walletdb"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -25,9 +25,9 @@ import (
|
|||
|
||||
"github.com/btcsuite/btcnet"
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||
"github.com/btcsuite/btcwallet/walletdb"
|
||||
"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.
|
||||
|
|
|
@ -19,8 +19,8 @@ package waddrmgr
|
|||
import (
|
||||
"sync"
|
||||
|
||||
"github.com/btcsuite/btcwallet/walletdb"
|
||||
"github.com/btcsuite/btcwire"
|
||||
"github.com/conformal/btcwallet/walletdb"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -30,10 +30,10 @@ import (
|
|||
"github.com/btcsuite/btcjson"
|
||||
"github.com/btcsuite/btcnet"
|
||||
"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/conformal/btcwallet/chain"
|
||||
"github.com/conformal/btcwallet/keystore"
|
||||
"github.com/conformal/btcwallet/txstore"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
walletdb
|
||||
========
|
||||
|
||||
[![Build Status](https://travis-ci.org/conformal/btcwallet.png?branch=master)]
|
||||
(https://travis-ci.org/conformal/btcwallet)
|
||||
[![Build Status](https://travis-ci.org/btcsuite/btcwallet.png?branch=master)]
|
||||
(https://travis-ci.org/btcsuite/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
|
||||
|
||||
[![GoDoc](https://godoc.org/github.com/conformal/btcwallet/walletdb?status.png)]
|
||||
(http://godoc.org/github.com/conformal/btcwallet/walletdb)
|
||||
[![GoDoc](https://godoc.org/github.com/btcsuite/btcwallet/walletdb?status.png)]
|
||||
(http://godoc.org/github.com/btcsuite/btcwallet/walletdb)
|
||||
|
||||
Full `go doc` style documentation for the project can be viewed online without
|
||||
installing this package by using the GoDoc site here:
|
||||
http://godoc.org/github.com/conformal/btcwallet/walletdb
|
||||
http://godoc.org/github.com/btcsuite/btcwallet/walletdb
|
||||
|
||||
You can also view the documentation locally once the package is installed with
|
||||
the `godoc` tool by running `godoc -http=":6060"` and pointing your browser to
|
||||
http://localhost:6060/pkg/github.com/conformal/btcwallet/walletdb
|
||||
http://localhost:6060/pkg/github.com/btcsuite/btcwallet/walletdb
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
$ go get github.com/conformal/btcwallet/walletdb
|
||||
$ go get github.com/btcsuite/btcwallet/walletdb
|
||||
```
|
||||
|
||||
## Examples
|
||||
|
||||
* [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
|
||||
managed read-write transaction against the namespace to store and retrieve
|
||||
data.
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
bdb
|
||||
===
|
||||
|
||||
[![Build Status](https://travis-ci.org/conformal/btcwallet.png?branch=master)]
|
||||
(https://travis-ci.org/conformal/btcwallet)
|
||||
[![Build Status](https://travis-ci.org/btcsuite/btcwallet.png?branch=master)]
|
||||
(https://travis-ci.org/btcsuite/btcwallet)
|
||||
|
||||
Package bdb implements an driver for walletdb that uses boltdb for the backing
|
||||
datastore. Package bdb is licensed under the copyfree ISC license.
|
||||
|
@ -29,16 +29,16 @@ if err != nil {
|
|||
|
||||
## Documentation
|
||||
|
||||
[![GoDoc](https://godoc.org/github.com/conformal/btcwallet/walletdb/bdb?status.png)]
|
||||
(http://godoc.org/github.com/conformal/btcwallet/walletdb/bdb)
|
||||
[![GoDoc](https://godoc.org/github.com/btcsuite/btcwallet/walletdb/bdb?status.png)]
|
||||
(http://godoc.org/github.com/btcsuite/btcwallet/walletdb/bdb)
|
||||
|
||||
Full `go doc` style documentation for the project can be viewed online without
|
||||
installing this package by using the GoDoc site here:
|
||||
http://godoc.org/github.com/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
|
||||
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
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ import (
|
|||
"os"
|
||||
|
||||
"github.com/btcsuite/bolt"
|
||||
"github.com/conformal/btcwallet/walletdb"
|
||||
"github.com/btcsuite/btcwallet/walletdb"
|
||||
)
|
||||
|
||||
// convertErr converts some bolt errors to the equivalent walletdb error.
|
||||
|
|
|
@ -19,7 +19,7 @@ package bdb
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/conformal/btcwallet/walletdb"
|
||||
"github.com/btcsuite/btcwallet/walletdb"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -22,8 +22,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/conformal/btcwallet/walletdb"
|
||||
_ "github.com/conformal/btcwallet/walletdb/bdb"
|
||||
"github.com/btcsuite/btcwallet/walletdb"
|
||||
_ "github.com/btcsuite/btcwallet/walletdb/bdb"
|
||||
)
|
||||
|
||||
// dbType is the database type name for this driver.
|
||||
|
|
|
@ -29,7 +29,7 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/conformal/btcwallet/walletdb"
|
||||
"github.com/btcsuite/btcwallet/walletdb"
|
||||
)
|
||||
|
||||
// subTestFailError is used to signal that a sub test returned false.
|
||||
|
|
|
@ -21,8 +21,8 @@ import (
|
|||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/conformal/btcwallet/walletdb"
|
||||
_ "github.com/conformal/btcwallet/walletdb/bdb"
|
||||
"github.com/btcsuite/btcwallet/walletdb"
|
||||
_ "github.com/btcsuite/btcwallet/walletdb/bdb"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -22,8 +22,8 @@ import (
|
|||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/conformal/btcwallet/walletdb"
|
||||
_ "github.com/conformal/btcwallet/walletdb/bdb"
|
||||
"github.com/btcsuite/btcwallet/walletdb"
|
||||
_ "github.com/btcsuite/btcwallet/walletdb/bdb"
|
||||
)
|
||||
|
||||
// This example demonstrates creating a new database.
|
||||
|
@ -31,8 +31,8 @@ func ExampleCreate() {
|
|||
// This example assumes the bdb (bolt db) driver is imported.
|
||||
//
|
||||
// import (
|
||||
// "github.com/conformal/btcwallet/walletdb"
|
||||
// _ "github.com/conformal/btcwallet/walletdb/bdb"
|
||||
// "github.com/btcsuite/btcwallet/walletdb"
|
||||
// _ "github.com/btcsuite/btcwallet/walletdb/bdb"
|
||||
// )
|
||||
|
||||
// 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.
|
||||
//
|
||||
// import (
|
||||
// "github.com/conformal/btcwallet/walletdb"
|
||||
// _ "github.com/conformal/btcwallet/walletdb/bdb"
|
||||
// "github.com/btcsuite/btcwallet/walletdb"
|
||||
// _ "github.com/btcsuite/btcwallet/walletdb/bdb"
|
||||
// )
|
||||
|
||||
// Create a database and schedule it to be closed and removed on exit.
|
||||
|
|
|
@ -29,7 +29,7 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/conformal/btcwallet/walletdb"
|
||||
"github.com/btcsuite/btcwallet/walletdb"
|
||||
)
|
||||
|
||||
// subTestFailError is used to signal that a sub test returned false.
|
||||
|
|
Loading…
Reference in a new issue