Merge pull request #1 from daglabs/resources

Resources
This commit is contained in:
Svarog 2018-06-04 17:00:56 +03:00 committed by GitHub
commit 443ace1049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
228 changed files with 685 additions and 682 deletions

3
.gitignore vendored
View File

@ -32,3 +32,6 @@ _cgo_export.*
_testmain.go
*.exe
# IDE
.idea

View File

@ -3,7 +3,7 @@ btcd
[![Build Status](https://travis-ci.org/btcsuite/btcd.png?branch=master)](https://travis-ci.org/btcsuite/btcd)
[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd)
btcd is an alternative full node bitcoin implementation written in Go (golang).
@ -41,7 +41,7 @@ which are both under active development.
#### Windows - MSI Available
https://github.com/btcsuite/btcd/releases
https://github.com/daglabs/btcd/releases
#### Linux/BSD/MacOSX/POSIX - Build from Source
@ -64,8 +64,8 @@ recommended that `GOPATH` is set to a directory in your home directory such as
```bash
$ go get -u github.com/Masterminds/glide
$ git clone https://github.com/btcsuite/btcd $GOPATH/src/github.com/btcsuite/btcd
$ cd $GOPATH/src/github.com/btcsuite/btcd
$ git clone https://github.com/daglabs/btcd $GOPATH/src/github.com/daglabs/btcd
$ cd $GOPATH/src/github.com/daglabs/btcd
$ glide install
$ go install . ./cmd/...
```
@ -85,7 +85,7 @@ Install a newer MSI
- Run the following commands to update btcd, all dependencies, and install it:
```bash
$ cd $GOPATH/src/github.com/btcsuite/btcd
$ cd $GOPATH/src/github.com/daglabs/btcd
$ git pull && glide install
$ go install . ./cmd/...
```
@ -114,12 +114,12 @@ $ ./btcd
## Issue Tracker
The [integrated github issue tracker](https://github.com/btcsuite/btcd/issues)
The [integrated github issue tracker](https://github.com/daglabs/btcd/issues)
is used for this project.
## Documentation
The documentation is a work-in-progress. It is located in the [docs](https://github.com/btcsuite/btcd/tree/master/docs) folder.
The documentation is a work-in-progress. It is located in the [docs](https://github.com/daglabs/btcd/tree/master/docs) folder.
## GPG Verification Key

View File

@ -22,8 +22,8 @@ import (
"sync/atomic"
"time"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/wire"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/wire"
)
// AddrManager provides a concurrency safe address manager for caching potential

View File

@ -12,8 +12,8 @@ import (
"testing"
"time"
"github.com/btcsuite/btcd/addrmgr"
"github.com/btcsuite/btcd/wire"
"github.com/daglabs/btcd/addrmgr"
"github.com/daglabs/btcd/wire"
)
// naTest is used to describe a test to be performed against the NetAddressKey

View File

@ -7,7 +7,7 @@ package addrmgr
import (
"time"
"github.com/btcsuite/btcd/wire"
"github.com/daglabs/btcd/wire"
)
func TstKnownAddressIsBad(ka *KnownAddress) bool {

View File

@ -7,7 +7,7 @@ package addrmgr
import (
"time"
"github.com/btcsuite/btcd/wire"
"github.com/daglabs/btcd/wire"
)
// KnownAddress tracks information about a known network address that is used

View File

@ -9,8 +9,8 @@ import (
"testing"
"time"
"github.com/btcsuite/btcd/addrmgr"
"github.com/btcsuite/btcd/wire"
"github.com/daglabs/btcd/addrmgr"
"github.com/daglabs/btcd/wire"
)
func TestChance(t *testing.T) {

View File

@ -8,7 +8,7 @@ import (
"fmt"
"net"
"github.com/btcsuite/btcd/wire"
"github.com/daglabs/btcd/wire"
)
var (

View File

@ -8,8 +8,8 @@ import (
"net"
"testing"
"github.com/btcsuite/btcd/addrmgr"
"github.com/btcsuite/btcd/wire"
"github.com/daglabs/btcd/addrmgr"
"github.com/daglabs/btcd/wire"
)
// TestIPTypes ensures the various functions which determine the type of an IP

View File

@ -3,7 +3,7 @@ blockchain
[![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd)
[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/blockchain)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/blockchain)
Package blockchain implements bitcoin block handling and chain selection rules.
The test coverage is currently only around 60%, but will be increasing over
@ -21,7 +21,7 @@ block chain.
## Installation and Updating
```bash
$ go get -u github.com/btcsuite/btcd/blockchain
$ go get -u github.com/daglabs/btcd/blockchain
```
## Bitcoin Chain Processing Overview
@ -61,18 +61,18 @@ is by no means exhaustive:
## Examples
* [ProcessBlock Example](http://godoc.org/github.com/btcsuite/btcd/blockchain#example-BlockChain-ProcessBlock)
* [ProcessBlock Example](http://godoc.org/github.com/daglabs/btcd/blockchain#example-BlockChain-ProcessBlock)
Demonstrates how to create a new chain instance and use ProcessBlock to
attempt to add a block to the chain. This example intentionally
attempts to insert a duplicate genesis block to illustrate how an invalid
block is handled.
* [CompactToBig Example](http://godoc.org/github.com/btcsuite/btcd/blockchain#example-CompactToBig)
* [CompactToBig Example](http://godoc.org/github.com/daglabs/btcd/blockchain#example-CompactToBig)
Demonstrates how to convert the compact "bits" in a block header which
represent the target difficulty to a big integer and display it using the
typical hex notation.
* [BigToCompact Example](http://godoc.org/github.com/btcsuite/btcd/blockchain#example-BigToCompact)
* [BigToCompact Example](http://godoc.org/github.com/daglabs/btcd/blockchain#example-BigToCompact)
Demonstrates how to convert a target difficulty into the
compact "bits" in a block header which represent that target difficulty.

View File

@ -7,8 +7,8 @@ package blockchain
import (
"fmt"
"github.com/btcsuite/btcd/database"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/database"
"github.com/daglabs/btcutil"
)
// maybeAcceptBlock potentially accepts a block into the block chain and, if

View File

@ -7,7 +7,7 @@ package blockchain
import (
"testing"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcutil"
)
// BenchmarkIsCoinBase performs a simple benchmark against the IsCoinBase

View File

@ -10,10 +10,10 @@ import (
"sync"
"time"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/database"
"github.com/btcsuite/btcd/wire"
"github.com/daglabs/btcd/chaincfg"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/database"
"github.com/daglabs/btcd/wire"
)
// blockStatus is a bit field representing the validation state of the block.

View File

@ -10,12 +10,12 @@ import (
"sync"
"time"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/database"
"github.com/btcsuite/btcd/txscript"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/chaincfg"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/database"
"github.com/daglabs/btcd/txscript"
"github.com/daglabs/btcd/wire"
"github.com/daglabs/btcutil"
)
const (

View File

@ -9,10 +9,10 @@ import (
"testing"
"time"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/chaincfg"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/wire"
"github.com/daglabs/btcutil"
)
// TestHaveBlock tests the HaveBlock API to ensure proper functionality.

View File

@ -12,10 +12,10 @@ import (
"sync"
"time"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/database"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/database"
"github.com/daglabs/btcd/wire"
"github.com/daglabs/btcutil"
)
const (

View File

@ -11,8 +11,8 @@ import (
"reflect"
"testing"
"github.com/btcsuite/btcd/database"
"github.com/btcsuite/btcd/wire"
"github.com/daglabs/btcd/database"
"github.com/daglabs/btcd/wire"
)
// TestErrNotInMainChain ensures the functions related to errNotInMainChain work

View File

@ -10,7 +10,7 @@ import (
"reflect"
"testing"
"github.com/btcsuite/btcd/wire"
"github.com/daglabs/btcd/wire"
)
// testNoncePrng provides a deterministic prng for the nonce in generated fake

View File

@ -8,10 +8,10 @@ import (
"fmt"
"time"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/txscript"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/chaincfg"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/txscript"
"github.com/daglabs/btcutil"
)
// CheckpointConfirmations is the number of blocks before the end of the current

View File

@ -14,13 +14,13 @@ import (
"strings"
"time"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/database"
_ "github.com/btcsuite/btcd/database/ffldb"
"github.com/btcsuite/btcd/txscript"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/chaincfg"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/database"
_ "github.com/daglabs/btcd/database/ffldb"
"github.com/daglabs/btcd/txscript"
"github.com/daglabs/btcd/wire"
"github.com/daglabs/btcutil"
)
const (

View File

@ -5,8 +5,8 @@
package blockchain
import (
"github.com/btcsuite/btcd/btcec"
"github.com/btcsuite/btcd/txscript"
"github.com/daglabs/btcd/btcec"
"github.com/daglabs/btcd/txscript"
)
// -----------------------------------------------------------------------------

View File

@ -8,7 +8,7 @@ import (
"math/big"
"time"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/chaincfg/chainhash"
)
var (

View File

@ -10,11 +10,11 @@ import (
"os"
"path/filepath"
"github.com/btcsuite/btcd/blockchain"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/database"
_ "github.com/btcsuite/btcd/database/ffldb"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/blockchain"
"github.com/daglabs/btcd/chaincfg"
"github.com/daglabs/btcd/database"
_ "github.com/daglabs/btcd/database/ffldb"
"github.com/daglabs/btcutil"
)
// This example demonstrates how to create a new chain instance and use

View File

@ -12,15 +12,15 @@ import (
"path/filepath"
"testing"
"github.com/btcsuite/btcd/blockchain"
"github.com/btcsuite/btcd/blockchain/fullblocktests"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/database"
_ "github.com/btcsuite/btcd/database/ffldb"
"github.com/btcsuite/btcd/txscript"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/blockchain"
"github.com/daglabs/btcd/blockchain/fullblocktests"
"github.com/daglabs/btcd/chaincfg"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/database"
_ "github.com/daglabs/btcd/database/ffldb"
"github.com/daglabs/btcd/txscript"
"github.com/daglabs/btcd/wire"
"github.com/daglabs/btcutil"
)
const (

View File

@ -3,7 +3,7 @@ fullblocktests
[![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd)
[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/blockchain/fullblocktests)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/blockchain/fullblocktests)
Package fullblocktests provides a set of full block tests to be used for testing
the consensus validation rules. The tests are intended to be flexible enough to
@ -20,7 +20,7 @@ of blocks that exercise the consensus validation rules.
## Installation and Updating
```bash
$ go get -u github.com/btcsuite/btcd/blockchain/fullblocktests
$ go get -u github.com/daglabs/btcd/blockchain/fullblocktests
```
## License

View File

@ -18,13 +18,13 @@ import (
"runtime"
"time"
"github.com/btcsuite/btcd/blockchain"
"github.com/btcsuite/btcd/btcec"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/txscript"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/blockchain"
"github.com/daglabs/btcd/btcec"
"github.com/daglabs/btcd/chaincfg"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/txscript"
"github.com/daglabs/btcd/wire"
"github.com/daglabs/btcutil"
)
const (

View File

@ -9,9 +9,9 @@ import (
"math/big"
"time"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/wire"
"github.com/daglabs/btcd/chaincfg"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/wire"
)
// newHashFromStr converts the passed big-endian hex string into a

View File

@ -3,7 +3,7 @@ indexers
[![Build Status](https://travis-ci.org/btcsuite/btcd.png?branch=master)](https://travis-ci.org/btcsuite/btcd)
[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org)
[![GoDoc](https://godoc.org/github.com/btcsuite/btcd/blockchain/indexers?status.png)](http://godoc.org/github.com/btcsuite/btcd/blockchain/indexers)
[![GoDoc](https://godoc.org/github.com/daglabs/btcd/blockchain/indexers?status.png)](http://godoc.org/github.com/daglabs/btcd/blockchain/indexers)
Package indexers implements optional block chain indexes.
@ -23,7 +23,7 @@ via an RPC interface.
## Installation
```bash
$ go get -u github.com/btcsuite/btcd/blockchain/indexers
$ go get -u github.com/daglabs/btcd/blockchain/indexers
```
## License

View File

@ -9,13 +9,13 @@ import (
"fmt"
"sync"
"github.com/btcsuite/btcd/blockchain"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/database"
"github.com/btcsuite/btcd/txscript"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/blockchain"
"github.com/daglabs/btcd/chaincfg"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/database"
"github.com/daglabs/btcd/txscript"
"github.com/daglabs/btcd/wire"
"github.com/daglabs/btcutil"
)
const (

View File

@ -9,7 +9,7 @@ import (
"fmt"
"testing"
"github.com/btcsuite/btcd/wire"
"github.com/daglabs/btcd/wire"
)
// addrIndexBucket provides a mock address index database bucket by implementing

View File

@ -9,7 +9,7 @@ import (
"time"
"github.com/btcsuite/btclog"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcutil"
)
// blockProgressLogger provides periodic logging for other services in order

View File

@ -7,14 +7,14 @@ package indexers
import (
"errors"
"github.com/btcsuite/btcd/blockchain"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/database"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/btcsuite/btcutil/gcs"
"github.com/btcsuite/btcutil/gcs/builder"
"github.com/daglabs/btcd/blockchain"
"github.com/daglabs/btcd/chaincfg"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/database"
"github.com/daglabs/btcd/wire"
"github.com/daglabs/btcutil"
"github.com/daglabs/btcutil/gcs"
"github.com/daglabs/btcutil/gcs/builder"
)
const (

View File

@ -11,9 +11,9 @@ import (
"encoding/binary"
"errors"
"github.com/btcsuite/btcd/blockchain"
"github.com/btcsuite/btcd/database"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/blockchain"
"github.com/daglabs/btcd/database"
"github.com/daglabs/btcutil"
)
var (

View File

@ -8,11 +8,11 @@ import (
"bytes"
"fmt"
"github.com/btcsuite/btcd/blockchain"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/database"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/blockchain"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/database"
"github.com/daglabs/btcd/wire"
"github.com/daglabs/btcutil"
)
var (

View File

@ -8,11 +8,11 @@ import (
"errors"
"fmt"
"github.com/btcsuite/btcd/blockchain"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/database"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/blockchain"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/database"
"github.com/daglabs/btcd/wire"
"github.com/daglabs/btcutil"
)
const (

View File

@ -9,9 +9,9 @@ import (
"fmt"
"math"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/txscript"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/txscript"
"github.com/daglabs/btcutil"
)
const (

View File

@ -7,7 +7,7 @@ package blockchain
import (
"testing"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcutil"
)
// TestMerkle tests the BuildMerkleTreeStore API.

View File

@ -7,7 +7,7 @@ package blockchain
import (
"testing"
"github.com/btcsuite/btcd/chaincfg"
"github.com/daglabs/btcd/chaincfg"
)
// TestNotifications ensures that notification callbacks are fired on events.

View File

@ -8,9 +8,9 @@ import (
"fmt"
"time"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/database"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/database"
"github.com/daglabs/btcutil"
)
// BehaviorFlags is a bitmask defining tweaks to the normal behavior when

View File

@ -10,9 +10,9 @@ import (
"runtime"
"time"
"github.com/btcsuite/btcd/txscript"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/txscript"
"github.com/daglabs/btcd/wire"
"github.com/daglabs/btcutil"
)
// txValidateItem holds a transaction along with which input to validate.

View File

@ -9,7 +9,7 @@ import (
"runtime"
"testing"
"github.com/btcsuite/btcd/txscript"
"github.com/daglabs/btcd/txscript"
)
// TestCheckBlockScripts ensures that validating the all of the scripts in a

View File

@ -7,7 +7,7 @@ package blockchain
import (
"fmt"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/chaincfg/chainhash"
)
// ThresholdState define the various threshold states used when voting on

View File

@ -7,7 +7,7 @@ package blockchain
import (
"testing"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/chaincfg/chainhash"
)
// TestThresholdStateStringer tests the stringized output for the

View File

@ -11,9 +11,9 @@ import (
"fmt"
"time"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/database"
"github.com/btcsuite/btcd/wire"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/database"
"github.com/daglabs/btcd/wire"
)
const (

View File

@ -7,11 +7,11 @@ package blockchain
import (
"fmt"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/database"
"github.com/btcsuite/btcd/txscript"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/database"
"github.com/daglabs/btcd/txscript"
"github.com/daglabs/btcd/wire"
"github.com/daglabs/btcutil"
)
// txoFlags is a bitmask defining additional information and state for a

View File

@ -11,11 +11,11 @@ import (
"math/big"
"time"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/txscript"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/chaincfg"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/txscript"
"github.com/daglabs/btcd/wire"
"github.com/daglabs/btcutil"
)
const (

View File

@ -10,10 +10,10 @@ import (
"testing"
"time"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/chaincfg"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/wire"
"github.com/daglabs/btcutil"
)
// TestSequenceLocksActive tests the SequenceLockActive function to ensure it

View File

@ -7,7 +7,7 @@ package blockchain
import (
"math"
"github.com/btcsuite/btcd/chaincfg"
"github.com/daglabs/btcd/chaincfg"
)
const (

View File

@ -7,9 +7,9 @@ package blockchain
import (
"fmt"
"github.com/btcsuite/btcd/txscript"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/txscript"
"github.com/daglabs/btcd/wire"
"github.com/daglabs/btcutil"
)
const (

View File

@ -15,9 +15,9 @@ import (
"runtime/debug"
"runtime/pprof"
"github.com/btcsuite/btcd/blockchain/indexers"
"github.com/btcsuite/btcd/database"
"github.com/btcsuite/btcd/limits"
"github.com/daglabs/btcd/blockchain/indexers"
"github.com/daglabs/btcd/database"
"github.com/daglabs/btcd/limits"
)
const (

View File

@ -3,7 +3,7 @@ btcec
[![Build Status](https://travis-ci.org/btcsuite/btcd.png?branch=master)](https://travis-ci.org/btcsuite/btcec)
[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org)
[![GoDoc](https://godoc.org/github.com/btcsuite/btcd/btcec?status.png)](http://godoc.org/github.com/btcsuite/btcd/btcec)
[![GoDoc](https://godoc.org/github.com/daglabs/btcd/btcec?status.png)](http://godoc.org/github.com/daglabs/btcd/btcec)
Package btcec implements elliptic curve cryptography needed for working with
Bitcoin (secp256k1 only for now). It is designed so that it may be used with the
@ -20,24 +20,24 @@ use secp256k1 elliptic curve cryptography.
## Installation and Updating
```bash
$ go get -u github.com/btcsuite/btcd/btcec
$ go get -u github.com/daglabs/btcd/btcec
```
## Examples
* [Sign Message](http://godoc.org/github.com/btcsuite/btcd/btcec#example-package--SignMessage)
* [Sign Message](http://godoc.org/github.com/daglabs/btcd/btcec#example-package--SignMessage)
Demonstrates signing a message with a secp256k1 private key that is first
parsed form raw bytes and serializing the generated signature.
* [Verify Signature](http://godoc.org/github.com/btcsuite/btcd/btcec#example-package--VerifySignature)
* [Verify Signature](http://godoc.org/github.com/daglabs/btcd/btcec#example-package--VerifySignature)
Demonstrates verifying a secp256k1 signature against a public key that is
first parsed from raw bytes. The signature is also parsed from raw bytes.
* [Encryption](http://godoc.org/github.com/btcsuite/btcd/btcec#example-package--EncryptMessage)
* [Encryption](http://godoc.org/github.com/daglabs/btcd/btcec#example-package--EncryptMessage)
Demonstrates encrypting a message for a public key that is first parsed from
raw bytes, then decrypting it using the corresponding private key.
* [Decryption](http://godoc.org/github.com/btcsuite/btcd/btcec#example-package--DecryptMessage)
* [Decryption](http://godoc.org/github.com/daglabs/btcd/btcec#example-package--DecryptMessage)
Demonstrates decrypting a message using a private key that is first parsed
from raw bytes.

View File

@ -8,8 +8,8 @@ import (
"encoding/hex"
"fmt"
"github.com/btcsuite/btcd/btcec"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/btcec"
"github.com/daglabs/btcd/chaincfg/chainhash"
)
// This example demonstrates signing a message with a secp256k1 private key that

View File

@ -17,7 +17,7 @@ import (
"log"
"os"
"github.com/btcsuite/btcd/btcec"
"github.com/daglabs/btcd/btcec"
)
func main() {

View File

@ -3,7 +3,7 @@ btcjson
[![Build Status](https://travis-ci.org/btcsuite/btcd.png?branch=master)](https://travis-ci.org/btcsuite/btcd)
[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/btcjson)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/btcjson)
Package btcjson implements concrete types for marshalling to and from the
bitcoin JSON-RPC API. A comprehensive suite of tests is provided to ensure
@ -25,22 +25,22 @@ ints, etc) to higher-level types with many nice and useful properties.
## Installation and Updating
```bash
$ go get -u github.com/btcsuite/btcd/btcjson
$ go get -u github.com/daglabs/btcd/btcjson
```
## Examples
* [Marshal Command](http://godoc.org/github.com/btcsuite/btcd/btcjson#example-MarshalCmd)
* [Marshal Command](http://godoc.org/github.com/daglabs/btcd/btcjson#example-MarshalCmd)
Demonstrates how to create and marshal a command into a JSON-RPC request.
* [Unmarshal Command](http://godoc.org/github.com/btcsuite/btcd/btcjson#example-UnmarshalCmd)
* [Unmarshal Command](http://godoc.org/github.com/daglabs/btcd/btcjson#example-UnmarshalCmd)
Demonstrates how to unmarshal a JSON-RPC request and then unmarshal the
concrete request into a concrete command.
* [Marshal Response](http://godoc.org/github.com/btcsuite/btcd/btcjson#example-MarshalResponse)
* [Marshal Response](http://godoc.org/github.com/daglabs/btcd/btcjson#example-MarshalResponse)
Demonstrates how to marshal a JSON-RPC response.
* [Unmarshal Response](http://godoc.org/github.com/btcsuite/btcd/btcjson#example-package--UnmarshalResponse)
* [Unmarshal Response](http://godoc.org/github.com/daglabs/btcd/btcjson#example-package--UnmarshalResponse)
Demonstrates how to unmarshal a JSON-RPC response and then unmarshal the
result field in the response to a concrete type.

View File

@ -12,7 +12,7 @@ import (
"reflect"
"testing"
"github.com/btcsuite/btcd/btcjson"
"github.com/daglabs/btcd/btcjson"
)
// TestBtcdExtCmds tests all of the btcd extended commands marshal and unmarshal

View File

@ -9,7 +9,7 @@ import (
"encoding/json"
"testing"
"github.com/btcsuite/btcd/btcjson"
"github.com/daglabs/btcd/btcjson"
)
// TestBtcdExtCustomResults ensures any results that have custom marshalling

View File

@ -11,7 +11,7 @@ import (
"reflect"
"testing"
"github.com/btcsuite/btcd/btcjson"
"github.com/daglabs/btcd/btcjson"
)
// TestBtcWalletExtCmds tests all of the btcwallet extended commands marshal and

View File

@ -11,7 +11,7 @@ import (
"encoding/json"
"fmt"
"github.com/btcsuite/btcd/wire"
"github.com/daglabs/btcd/wire"
)
// AddNodeSubCmd defines the type used in the addnode JSON-RPC command for the

View File

@ -11,8 +11,8 @@ import (
"reflect"
"testing"
"github.com/btcsuite/btcd/btcjson"
"github.com/btcsuite/btcd/wire"
"github.com/daglabs/btcd/btcjson"
"github.com/daglabs/btcd/wire"
)
// TestChainSvrCmds tests all of the chain server commands marshal and unmarshal

View File

@ -8,7 +8,7 @@ import (
"encoding/json"
"testing"
"github.com/btcsuite/btcd/btcjson"
"github.com/daglabs/btcd/btcjson"
)
// TestChainSvrCustomResults ensures any results that have custom marshalling

View File

@ -12,7 +12,7 @@ import (
"reflect"
"testing"
"github.com/btcsuite/btcd/btcjson"
"github.com/daglabs/btcd/btcjson"
)
// TestChainSvrWsCmds tests all of the chain server websocket-specific commands

View File

@ -12,7 +12,7 @@ import (
"reflect"
"testing"
"github.com/btcsuite/btcd/btcjson"
"github.com/daglabs/btcd/btcjson"
)
// TestChainSvrWsNtfns tests all of the chain server websocket-specific

View File

@ -9,7 +9,7 @@ import (
"encoding/json"
"testing"
"github.com/btcsuite/btcd/btcjson"
"github.com/daglabs/btcd/btcjson"
)
// TestChainSvrWsResults ensures any results that have custom marshalling

View File

@ -8,7 +8,7 @@ import (
"reflect"
"testing"
"github.com/btcsuite/btcd/btcjson"
"github.com/daglabs/btcd/btcjson"
)
// TestCmdMethod tests the CmdMethod function to ensure it retunrs the expected

View File

@ -10,7 +10,7 @@ import (
"reflect"
"testing"
"github.com/btcsuite/btcd/btcjson"
"github.com/daglabs/btcd/btcjson"
)
// TestAssignField tests the assignField function handles supported combinations

View File

@ -7,7 +7,7 @@ package btcjson_test
import (
"testing"
"github.com/btcsuite/btcd/btcjson"
"github.com/daglabs/btcd/btcjson"
)
// TestErrorCodeStringer tests the stringized output for the ErrorCode type.

View File

@ -8,7 +8,7 @@ import (
"encoding/json"
"fmt"
"github.com/btcsuite/btcd/btcjson"
"github.com/daglabs/btcd/btcjson"
)
// This example demonstrates how to create and marshal a command into a JSON-RPC

View File

@ -8,7 +8,7 @@ import (
"reflect"
"testing"
"github.com/btcsuite/btcd/btcjson"
"github.com/daglabs/btcd/btcjson"
)
// TestHelpReflectInternals ensures the various help functions which deal with

View File

@ -8,7 +8,7 @@ import (
"reflect"
"testing"
"github.com/btcsuite/btcd/btcjson"
"github.com/daglabs/btcd/btcjson"
)
// TestHelpers tests the various helper functions which create pointers to

View File

@ -9,7 +9,7 @@ import (
"reflect"
"testing"
"github.com/btcsuite/btcd/btcjson"
"github.com/daglabs/btcd/btcjson"
)
// TestIsValidIDType ensures the IsValidIDType function behaves as expected.

View File

@ -9,7 +9,7 @@ import (
"sort"
"testing"
"github.com/btcsuite/btcd/btcjson"
"github.com/daglabs/btcd/btcjson"
)
// TestUsageFlagStringer tests the stringized output for the UsageFlag type.

View File

@ -11,7 +11,7 @@ import (
"reflect"
"testing"
"github.com/btcsuite/btcd/btcjson"
"github.com/daglabs/btcd/btcjson"
)
// TestWalletSvrCmds tests all of the wallet server commands marshal and

View File

@ -11,7 +11,7 @@ import (
"reflect"
"testing"
"github.com/btcsuite/btcd/btcjson"
"github.com/daglabs/btcd/btcjson"
)
// TestWalletSvrWsCmds tests all of the wallet server websocket-specific

View File

@ -11,7 +11,7 @@ import (
"reflect"
"testing"
"github.com/btcsuite/btcd/btcjson"
"github.com/daglabs/btcd/btcjson"
)
// TestWalletSvrWsNtfns tests all of the chain server websocket-specific

View File

@ -3,7 +3,7 @@ chaincfg
[![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd)
[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/chaincfg)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/chaincfg)
Package chaincfg defines chain configuration parameters for the three standard
Bitcoin networks and provides the ability for callers to define their own custom
@ -24,8 +24,8 @@ import (
"fmt"
"log"
"github.com/btcsuite/btcutil"
"github.com/btcsuite/btcd/chaincfg"
"github.com/daglabs/btcutil"
"github.com/daglabs/btcd/chaincfg"
)
var testnet = flag.Bool("testnet", false, "operate on the testnet Bitcoin network")
@ -56,7 +56,7 @@ func main() {
## Installation and Updating
```bash
$ go get -u github.com/btcsuite/btcd/chaincfg
$ go get -u github.com/daglabs/btcd/chaincfg
```
## GPG Verification Key

View File

@ -3,7 +3,7 @@ chainhash
[![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd)
[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/chaincfg/chainhash)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/chaincfg/chainhash)
=======
chainhash provides a generic hash type and associated functions that allows the
@ -12,7 +12,7 @@ specific hash algorithm to be abstracted.
## Installation and Updating
```bash
$ go get -u github.com/btcsuite/btcd/chaincfg/chainhash
$ go get -u github.com/daglabs/btcd/chaincfg/chainhash
```
## GPG Verification Key

View File

@ -25,8 +25,8 @@
// "fmt"
// "log"
//
// "github.com/btcsuite/btcutil"
// "github.com/btcsuite/btcd/chaincfg"
// "github.com/daglabs/btcutil"
// "github.com/daglabs/btcd/chaincfg"
// )
//
// var testnet = flag.Bool("testnet", false, "operate on the testnet Bitcoin network")

View File

@ -7,8 +7,8 @@ package chaincfg
import (
"time"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/wire"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/wire"
)
// genesisCoinbaseTx is the coinbase transaction for the genesis blocks for

View File

@ -11,8 +11,8 @@ import (
"strings"
"time"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/wire"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/wire"
)
// These variables are the chain proof-of-work limit parameters for each default

View File

@ -6,7 +6,7 @@ import (
"strings"
"testing"
. "github.com/btcsuite/btcd/chaincfg"
. "github.com/daglabs/btcd/chaincfg"
)
// Define some of the required parameters for a user-registered

View File

@ -9,10 +9,10 @@ import (
"path/filepath"
"runtime"
"github.com/btcsuite/btcd/blockchain"
"github.com/btcsuite/btcd/blockchain/indexers"
"github.com/btcsuite/btcd/database"
"github.com/btcsuite/btcd/limits"
"github.com/daglabs/btcd/blockchain"
"github.com/daglabs/btcd/blockchain/indexers"
"github.com/daglabs/btcd/database"
"github.com/daglabs/btcd/limits"
"github.com/btcsuite/btclog"
)

View File

@ -9,11 +9,11 @@ import (
"os"
"path/filepath"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/database"
_ "github.com/btcsuite/btcd/database/ffldb"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/chaincfg"
"github.com/daglabs/btcd/database"
_ "github.com/daglabs/btcd/database/ffldb"
"github.com/daglabs/btcd/wire"
"github.com/daglabs/btcutil"
flags "github.com/jessevdk/go-flags"
)

View File

@ -11,12 +11,12 @@ import (
"sync"
"time"
"github.com/btcsuite/btcd/blockchain"
"github.com/btcsuite/btcd/blockchain/indexers"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/database"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/blockchain"
"github.com/daglabs/btcd/blockchain/indexers"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/database"
"github.com/daglabs/btcd/wire"
"github.com/daglabs/btcutil"
)
var zeroHash = chainhash.Hash{}

View File

@ -10,7 +10,7 @@ import (
"path/filepath"
"strings"
"github.com/btcsuite/btcd/btcjson"
"github.com/daglabs/btcd/btcjson"
)
const (

View File

@ -13,8 +13,8 @@ import (
"regexp"
"strings"
"github.com/btcsuite/btcd/btcjson"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/btcjson"
"github.com/daglabs/btcutil"
flags "github.com/jessevdk/go-flags"
)

View File

@ -10,7 +10,7 @@ import (
"net"
"net/http"
"github.com/btcsuite/btcd/btcjson"
"github.com/daglabs/btcd/btcjson"
"github.com/btcsuite/go-socks/socks"
)

View File

@ -9,11 +9,11 @@ import (
"os"
"path/filepath"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/database"
_ "github.com/btcsuite/btcd/database/ffldb"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/chaincfg"
"github.com/daglabs/btcd/database"
_ "github.com/daglabs/btcd/database/ffldb"
"github.com/daglabs/btcd/wire"
"github.com/daglabs/btcutil"
flags "github.com/jessevdk/go-flags"
)

View File

@ -9,10 +9,10 @@ import (
"os"
"path/filepath"
"github.com/btcsuite/btcd/blockchain"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/database"
"github.com/daglabs/btcd/blockchain"
"github.com/daglabs/btcd/chaincfg"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/database"
)
const blockDbNamePrefix = "blocks"

View File

@ -12,7 +12,7 @@ import (
"strings"
"time"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcutil"
flags "github.com/jessevdk/go-flags"
)

View File

@ -20,14 +20,14 @@ import (
"strings"
"time"
"github.com/btcsuite/btcd/blockchain"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/connmgr"
"github.com/btcsuite/btcd/database"
_ "github.com/btcsuite/btcd/database/ffldb"
"github.com/btcsuite/btcd/mempool"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/blockchain"
"github.com/daglabs/btcd/chaincfg"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/connmgr"
"github.com/daglabs/btcd/database"
_ "github.com/daglabs/btcd/database/ffldb"
"github.com/daglabs/btcd/mempool"
"github.com/daglabs/btcutil"
"github.com/btcsuite/go-socks/socks"
flags "github.com/jessevdk/go-flags"
)

View File

@ -3,7 +3,7 @@ connmgr
[![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd)
[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/connmgr)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/connmgr)
Package connmgr implements a generic Bitcoin network connection manager.
@ -29,7 +29,7 @@ In addition the connection manager provides the following utilities:
## Installation and Updating
```bash
$ go get -u github.com/btcsuite/btcd/connmgr
$ go get -u github.com/daglabs/btcd/connmgr
```
## License

View File

@ -11,8 +11,8 @@ import (
"strconv"
"time"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/wire"
"github.com/daglabs/btcd/chaincfg"
"github.com/daglabs/btcd/wire"
)
const (

View File

@ -3,7 +3,7 @@ database
[![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd)
[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/database)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/database)
Package database provides a block and metadata storage database.
@ -13,8 +13,8 @@ one entity can have the database open at a time (for most database backends),
and that entity will be btcd.
When a client wants programmatic access to the data provided by btcd, they'll
likely want to use the [rpcclient](https://github.com/btcsuite/btcd/tree/master/rpcclient)
package which makes use of the [JSON-RPC API](https://github.com/btcsuite/btcd/tree/master/docs/json_rpc_api.md).
likely want to use the [rpcclient](https://github.com/daglabs/btcd/tree/master/rpcclient)
package which makes use of the [JSON-RPC API](https://github.com/daglabs/btcd/tree/master/docs/json_rpc_api.md).
However, this package could be extremely useful for any applications requiring
Bitcoin block storage capabilities.
@ -37,16 +37,16 @@ storage, and strict checksums in key areas to ensure data integrity.
## Installation and Updating
```bash
$ go get -u github.com/btcsuite/btcd/database
$ go get -u github.com/daglabs/btcd/database
```
## Examples
* [Basic Usage Example](http://godoc.org/github.com/btcsuite/btcd/database#example-package--BasicUsage)
* [Basic Usage Example](http://godoc.org/github.com/daglabs/btcd/database#example-package--BasicUsage)
Demonstrates creating a new database and using a managed read-write
transaction to store and retrieve metadata.
* [Block Storage and Retrieval Example](http://godoc.org/github.com/btcsuite/btcd/database#example-package--BlockStorageAndRetrieval)
* [Block Storage and Retrieval Example](http://godoc.org/github.com/daglabs/btcd/database#example-package--BlockStorageAndRetrieval)
Demonstrates creating a new database, using a managed read-write transaction
to store a block, and then using a managed read-only transaction to fetch the
block.

View File

@ -9,8 +9,8 @@ import (
"errors"
"time"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/database"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/database"
)
// fetchBlockCmd defines the configuration options for the fetchblock command.

View File

@ -10,8 +10,8 @@ import (
"strconv"
"time"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/database"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/database"
)
// blockRegionCmd defines the configuration options for the fetchblockregion

View File

@ -10,11 +10,11 @@ import (
"os"
"path/filepath"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/database"
_ "github.com/btcsuite/btcd/database/ffldb"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/chaincfg"
"github.com/daglabs/btcd/database"
_ "github.com/daglabs/btcd/database/ffldb"
"github.com/daglabs/btcd/wire"
"github.com/daglabs/btcutil"
)
var (

View File

@ -12,10 +12,10 @@ import (
"sync"
"time"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/database"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/database"
"github.com/daglabs/btcd/wire"
"github.com/daglabs/btcutil"
)
// importCmd defines the configuration options for the insecureimport command.

View File

@ -7,8 +7,8 @@ package main
import (
"time"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/database"
"github.com/daglabs/btcd/chaincfg/chainhash"
"github.com/daglabs/btcd/database"
)
// headersCmd defines the configuration options for the loadheaders command.

View File

@ -10,7 +10,7 @@ import (
"runtime"
"strings"
"github.com/btcsuite/btcd/database"
"github.com/daglabs/btcd/database"
"github.com/btcsuite/btclog"
flags "github.com/jessevdk/go-flags"
)

View File

@ -8,8 +8,8 @@ import (
"fmt"
"testing"
"github.com/btcsuite/btcd/database"
_ "github.com/btcsuite/btcd/database/ffldb"
"github.com/daglabs/btcd/database"
_ "github.com/daglabs/btcd/database/ffldb"
)
var (

Some files were not shown because too many files have changed in this diff Show More