File tree Expand file tree Collapse file tree 12 files changed +23
-23
lines changed
Expand file tree Collapse file tree 12 files changed +23
-23
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import (
2828 "sync/atomic"
2929 "time"
3030
31- "github.com/ethereum/go-ethereum /log"
31+ "github.com/XinFinOrg/XDC-Subnet /log"
3232)
3333
3434var (
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ import (
2121 "fmt"
2222 "time"
2323
24- "github.com/ethereum/go-ethereum /common/hexutil"
25- "github.com/ethereum/go-ethereum /rpc"
24+ "github.com/XinFinOrg/XDC-Subnet /common/hexutil"
25+ "github.com/XinFinOrg/XDC-Subnet /rpc"
2626)
2727
2828// In this example, our client wishes to track the latest 'block number'
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ import (
3131 "testing"
3232 "time"
3333
34+ "github.com/XinFinOrg/XDC-Subnet/log"
3435 "github.com/davecgh/go-spew/spew"
35- "github.com/ethereum/go-ethereum/log"
3636)
3737
3838func TestClientRequest (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import (
2020 "net"
2121 "strings"
2222
23- "github.com/ethereum/go-ethereum /log"
23+ "github.com/XinFinOrg/XDC-Subnet /log"
2424)
2525
2626// StartIPCEndpoint starts an IPC endpoint.
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import (
2525 "sync"
2626 "time"
2727
28- "github.com/ethereum/go-ethereum /log"
28+ "github.com/XinFinOrg/XDC-Subnet /log"
2929)
3030
3131// handler handles JSON-RPC messages. There is one handler per connection. Note that
@@ -34,21 +34,20 @@ import (
3434//
3535// The entry points for incoming messages are:
3636//
37- // h.handleMsg(message)
38- // h.handleBatch(message)
37+ // h.handleMsg(message)
38+ // h.handleBatch(message)
3939//
4040// Outgoing calls use the requestOp struct. Register the request before sending it
4141// on the connection:
4242//
43- // op := &requestOp{ids: ...}
44- // h.addRequestOp(op)
43+ // op := &requestOp{ids: ...}
44+ // h.addRequestOp(op)
4545//
4646// Now send the request, then wait for the reply to be delivered through handleMsg:
4747//
48- // if err := op.wait(...); err != nil {
49- // h.removeRequestOp(op) // timeout, etc.
50- // }
51- //
48+ // if err := op.wait(...); err != nil {
49+ // h.removeRequestOp(op) // timeout, etc.
50+ // }
5251type handler struct {
5352 reg * serviceRegistry
5453 unsubscribeCb * callback
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import (
2020 "context"
2121 "net"
2222
23- "github.com/ethereum/go-ethereum /log"
23+ "github.com/XinFinOrg/XDC-Subnet /log"
2424 "github.com/ethereum/go-ethereum/p2p/netutil"
2525)
2626
Original file line number Diff line number Diff line change 1414// You should have received a copy of the GNU Lesser General Public License
1515// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
1616
17+ //go:build darwin || dragonfly || freebsd || linux || nacl || netbsd || openbsd || solaris
1718// +build darwin dragonfly freebsd linux nacl netbsd openbsd solaris
1819
1920package rpc
@@ -25,7 +26,7 @@ import (
2526 "os"
2627 "path/filepath"
2728
28- "github.com/ethereum/go-ethereum /log"
29+ "github.com/XinFinOrg/XDC-Subnet /log"
2930)
3031
3132// ipcListen will create a Unix socket on the given endpoint.
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ import (
2121 "io"
2222 "sync/atomic"
2323
24+ "github.com/XinFinOrg/XDC-Subnet/log"
2425 mapset "github.com/deckarep/golang-set"
25- "github.com/ethereum/go-ethereum/log"
2626)
2727
2828const MetadataApi = "rpc"
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import (
2626 "sync"
2727 "unicode"
2828
29- "github.com/ethereum/go-ethereum /log"
29+ "github.com/XinFinOrg/XDC-Subnet /log"
3030)
3131
3232var (
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ import (
2323 "math"
2424 "strings"
2525
26- "github.com/ethereum/go-ethereum /common"
27- "github.com/ethereum/go-ethereum /common/hexutil"
26+ "github.com/XinFinOrg/XDC-Subnet /common"
27+ "github.com/XinFinOrg/XDC-Subnet /common/hexutil"
2828)
2929
3030// API describes the set of methods offered over the RPC interface
You can’t perform that action at this time.
0 commit comments