Update btcchain import paths to new location.
This commit is contained in:
parent
0b7a9074ef
commit
528622b259
12 changed files with 12 additions and 12 deletions
|
@ -13,11 +13,11 @@ import (
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/btcsuite/btcchain"
|
||||||
"github.com/btcsuite/btcdb"
|
"github.com/btcsuite/btcdb"
|
||||||
"github.com/btcsuite/btcnet"
|
"github.com/btcsuite/btcnet"
|
||||||
"github.com/btcsuite/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/btcsuite/btcwire"
|
"github.com/btcsuite/btcwire"
|
||||||
"github.com/conformal/btcchain"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -11,9 +11,9 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/btcsuite/btcchain"
|
||||||
"github.com/btcsuite/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/btcsuite/btcwire"
|
"github.com/btcsuite/btcwire"
|
||||||
"github.com/conformal/btcchain"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
2
log.go
2
log.go
|
@ -12,11 +12,11 @@ import (
|
||||||
|
|
||||||
"github.com/conformal/btcd/addrmgr"
|
"github.com/conformal/btcd/addrmgr"
|
||||||
|
|
||||||
|
"github.com/btcsuite/btcchain"
|
||||||
"github.com/btcsuite/btcdb"
|
"github.com/btcsuite/btcdb"
|
||||||
"github.com/btcsuite/btclog"
|
"github.com/btcsuite/btclog"
|
||||||
"github.com/btcsuite/btcwire"
|
"github.com/btcsuite/btcwire"
|
||||||
"github.com/btcsuite/seelog"
|
"github.com/btcsuite/seelog"
|
||||||
"github.com/conformal/btcchain"
|
|
||||||
"github.com/conformal/btcscript"
|
"github.com/conformal/btcscript"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -13,10 +13,10 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/btcsuite/btcchain"
|
||||||
"github.com/btcsuite/btcdb"
|
"github.com/btcsuite/btcdb"
|
||||||
"github.com/btcsuite/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/btcsuite/btcwire"
|
"github.com/btcsuite/btcwire"
|
||||||
"github.com/conformal/btcchain"
|
|
||||||
"github.com/conformal/btcscript"
|
"github.com/conformal/btcscript"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"github.com/btcsuite/btcchain"
|
||||||
"github.com/btcsuite/btcwire"
|
"github.com/btcsuite/btcwire"
|
||||||
"github.com/conformal/btcchain"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// RuleError identifies a rule violation. It is used to indicate that
|
// RuleError identifies a rule violation. It is used to indicate that
|
||||||
|
|
|
@ -10,10 +10,10 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/btcsuite/btcchain"
|
||||||
"github.com/btcsuite/btcdb"
|
"github.com/btcsuite/btcdb"
|
||||||
"github.com/btcsuite/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/btcsuite/btcwire"
|
"github.com/btcsuite/btcwire"
|
||||||
"github.com/conformal/btcchain"
|
|
||||||
"github.com/conformal/btcscript"
|
"github.com/conformal/btcscript"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
2
peer.go
2
peer.go
|
@ -16,12 +16,12 @@ import (
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/btcsuite/btcchain"
|
||||||
"github.com/btcsuite/btcdb"
|
"github.com/btcsuite/btcdb"
|
||||||
"github.com/btcsuite/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/btcsuite/btcutil/bloom"
|
"github.com/btcsuite/btcutil/bloom"
|
||||||
"github.com/btcsuite/btcwire"
|
"github.com/btcsuite/btcwire"
|
||||||
"github.com/btcsuite/go-socks/socks"
|
"github.com/btcsuite/go-socks/socks"
|
||||||
"github.com/conformal/btcchain"
|
|
||||||
"github.com/conformal/btcd/addrmgr"
|
"github.com/conformal/btcd/addrmgr"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
|
@ -26,6 +26,7 @@ import (
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/btcsuite/btcchain"
|
||||||
"github.com/btcsuite/btcdb"
|
"github.com/btcsuite/btcdb"
|
||||||
"github.com/btcsuite/btcec"
|
"github.com/btcsuite/btcec"
|
||||||
"github.com/btcsuite/btcnet"
|
"github.com/btcsuite/btcnet"
|
||||||
|
@ -33,7 +34,6 @@ import (
|
||||||
"github.com/btcsuite/btcwire"
|
"github.com/btcsuite/btcwire"
|
||||||
"github.com/btcsuite/fastsha256"
|
"github.com/btcsuite/fastsha256"
|
||||||
"github.com/btcsuite/websocket"
|
"github.com/btcsuite/websocket"
|
||||||
"github.com/conformal/btcchain"
|
|
||||||
"github.com/conformal/btcjson"
|
"github.com/conformal/btcjson"
|
||||||
"github.com/conformal/btcscript"
|
"github.com/conformal/btcscript"
|
||||||
"github.com/conformal/btcws"
|
"github.com/conformal/btcws"
|
||||||
|
|
|
@ -19,10 +19,10 @@ import (
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/btcsuite/btcchain"
|
||||||
"github.com/btcsuite/btcdb"
|
"github.com/btcsuite/btcdb"
|
||||||
"github.com/btcsuite/btcnet"
|
"github.com/btcsuite/btcnet"
|
||||||
"github.com/btcsuite/btcwire"
|
"github.com/btcsuite/btcwire"
|
||||||
"github.com/conformal/btcchain"
|
|
||||||
"github.com/conformal/btcd/addrmgr"
|
"github.com/conformal/btcd/addrmgr"
|
||||||
"github.com/conformal/btcjson"
|
"github.com/conformal/btcjson"
|
||||||
)
|
)
|
||||||
|
|
|
@ -9,10 +9,10 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"runtime"
|
"runtime"
|
||||||
|
|
||||||
|
"github.com/btcsuite/btcchain"
|
||||||
"github.com/btcsuite/btcdb"
|
"github.com/btcsuite/btcdb"
|
||||||
_ "github.com/btcsuite/btcdb/ldb"
|
_ "github.com/btcsuite/btcdb/ldb"
|
||||||
"github.com/btcsuite/btclog"
|
"github.com/btcsuite/btclog"
|
||||||
"github.com/conformal/btcchain"
|
|
||||||
"github.com/conformal/btcd/limits"
|
"github.com/conformal/btcd/limits"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -11,11 +11,11 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/btcsuite/btcchain"
|
||||||
"github.com/btcsuite/btcdb"
|
"github.com/btcsuite/btcdb"
|
||||||
_ "github.com/btcsuite/btcdb/ldb"
|
_ "github.com/btcsuite/btcdb/ldb"
|
||||||
"github.com/btcsuite/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/btcsuite/btcwire"
|
"github.com/btcsuite/btcwire"
|
||||||
"github.com/conformal/btcchain"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var zeroHash = btcwire.ShaHash{}
|
var zeroHash = btcwire.ShaHash{}
|
||||||
|
|
|
@ -9,11 +9,11 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
|
"github.com/btcsuite/btcchain"
|
||||||
"github.com/btcsuite/btcdb"
|
"github.com/btcsuite/btcdb"
|
||||||
_ "github.com/btcsuite/btcdb/ldb"
|
_ "github.com/btcsuite/btcdb/ldb"
|
||||||
"github.com/btcsuite/btcnet"
|
"github.com/btcsuite/btcnet"
|
||||||
"github.com/btcsuite/btcwire"
|
"github.com/btcsuite/btcwire"
|
||||||
"github.com/conformal/btcchain"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const blockDbNamePrefix = "blocks"
|
const blockDbNamePrefix = "blocks"
|
||||||
|
|
Loading…
Reference in a new issue