Update btcjson path import paths to new location.

This commit is contained in:
Dave Collins 2015-05-01 00:48:01 -05:00
parent b1d5c1b9f6
commit ce9e8aa264
10 changed files with 10 additions and 9 deletions

View file

@ -9,7 +9,7 @@ import (
"encoding/hex" "encoding/hex"
"encoding/json" "encoding/json"
"github.com/btcsuite/btcd/btcjson/v2/btcjson" "github.com/btcsuite/btcd/btcjson"
"github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
) )

View file

@ -5,6 +5,7 @@
package main package main
import ( import (
"fmt"
"io/ioutil" "io/ioutil"
"log" "log"
"path/filepath" "path/filepath"

View file

@ -9,7 +9,7 @@ import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/btcsuite/btcd/btcjson/v2/btcjson" "github.com/btcsuite/btcd/btcjson"
"github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
) )

View file

@ -21,7 +21,7 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/btcsuite/btcd/btcjson/v2/btcjson" "github.com/btcsuite/btcd/btcjson"
"github.com/btcsuite/go-socks/socks" "github.com/btcsuite/go-socks/socks"
"github.com/btcsuite/websocket" "github.com/btcsuite/websocket"
) )

View file

@ -9,7 +9,7 @@ import (
"encoding/json" "encoding/json"
"errors" "errors"
"github.com/btcsuite/btcd/btcjson/v2/btcjson" "github.com/btcsuite/btcd/btcjson"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
) )

2
net.go
View file

@ -7,7 +7,7 @@ package btcrpcclient
import ( import (
"encoding/json" "encoding/json"
"github.com/btcsuite/btcd/btcjson/v2/btcjson" "github.com/btcsuite/btcd/btcjson"
) )
// AddNodeCommand enumerates the available commands that the AddNode function // AddNodeCommand enumerates the available commands that the AddNode function

View file

@ -13,7 +13,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/btcsuite/btcd/btcjson/v2/btcjson" "github.com/btcsuite/btcd/btcjson"
"github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
) )

View file

@ -8,7 +8,7 @@ import (
"encoding/json" "encoding/json"
"errors" "errors"
"github.com/btcsuite/btcd/btcjson/v2/btcjson" "github.com/btcsuite/btcd/btcjson"
) )
// FutureRawResult is a future promise to deliver the result of a RawRequest RPC // FutureRawResult is a future promise to deliver the result of a RawRequest RPC

View file

@ -9,7 +9,7 @@ import (
"encoding/hex" "encoding/hex"
"encoding/json" "encoding/json"
"github.com/btcsuite/btcd/btcjson/v2/btcjson" "github.com/btcsuite/btcd/btcjson"
"github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
) )

View file

@ -8,7 +8,7 @@ import (
"encoding/json" "encoding/json"
"strconv" "strconv"
"github.com/btcsuite/btcd/btcjson/v2/btcjson" "github.com/btcsuite/btcd/btcjson"
"github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcd/wire"