aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2019-08-29 14:55:28 -0400
committerDeterminant <tederminant@gmail.com>2019-08-29 14:55:28 -0400
commit8c4e5b732d9584ecf9e77a4d93a987adb333d61a (patch)
treeea84ac4cb1ed8ca1bf08525d2739776473b1666d
parent1c1fa76addab68e04e051df3f38cce9f3bb32d98 (diff)
switch to ava-labs hosted geth
-rw-r--r--.gitmodules3
-rw-r--r--cmd/geth/chaincmd.go20
-rw-r--r--cmd/geth/config.go6
-rw-r--r--cmd/geth/consolecmd.go4
-rw-r--r--cmd/geth/main.go14
-rw-r--r--cmd/geth/misccmd.go6
-rw-r--r--cmd/geth/retesteth.go38
-rw-r--r--cmd/geth/retesteth_copypaste.go6
-rw-r--r--cmd/utils/cmd.go16
-rw-r--r--cmd/utils/customflags.go2
-rw-r--r--cmd/utils/flags.go52
-rw-r--r--consensus/dummy/consensus.go14
-rw-r--r--core/genesis.go18
-rw-r--r--core/mkalloc.go4
-rw-r--r--coreth.go16
-rw-r--r--eth/api.go18
-rw-r--r--eth/api_backend.go30
-rw-r--r--eth/api_tracer.go24
-rw-r--r--eth/backend.go46
-rw-r--r--eth/bloombits.go14
-rw-r--r--eth/config.go14
-rw-r--r--eth/enr_entry.go8
-rw-r--r--eth/gen_config.go12
-rw-r--r--eth/handler.go28
-rw-r--r--eth/metrics.go4
-rw-r--r--eth/peer.go8
-rw-r--r--eth/protocol.go10
-rw-r--r--eth/sync.go10
-rw-r--r--ethstats/ethstats.go20
-rw-r--r--examples/counter/main.go14
-rw-r--r--examples/payments/main.go12
-rw-r--r--internal/debug/api.go2
-rw-r--r--internal/debug/flags.go6
-rw-r--r--internal/debug/trace.go2
-rw-r--r--internal/ethapi/addrlock.go2
-rw-r--r--internal/ethapi/api.go36
-rw-r--r--internal/ethapi/backend.go24
-rw-r--r--miner/miner.go16
-rw-r--r--miner/unconfirmed.go6
-rw-r--r--miner/worker.go18
-rw-r--r--node/api.go10
-rw-r--r--node/config.go22
-rw-r--r--node/defaults.go6
-rw-r--r--node/node.go14
-rw-r--r--node/service.go12
m---------vendor/github.com/ethereum/go-ethereum0
46 files changed, 332 insertions, 335 deletions
diff --git a/.gitmodules b/.gitmodules
index 336d7f3..e69de29 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +0,0 @@
-[submodule "vendor/github.com/ethereum/go-ethereum"]
- path = vendor/github.com/ethereum/go-ethereum
- url = https://github.com/Determinant/go-ethereum
diff --git a/cmd/geth/chaincmd.go b/cmd/geth/chaincmd.go
index 3890099..97b5870 100644
--- a/cmd/geth/chaincmd.go
+++ b/cmd/geth/chaincmd.go
@@ -27,16 +27,16 @@ import (
"time"
"github.com/ava-labs/coreth/cmd/utils"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/console"
- "github.com/ethereum/go-ethereum/core"
- "github.com/ethereum/go-ethereum/core/rawdb"
- "github.com/ethereum/go-ethereum/core/state"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/eth/downloader"
- "github.com/ethereum/go-ethereum/event"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/trie"
+ "github.com/ava-labs/go-ethereum/common"
+ "github.com/ava-labs/go-ethereum/console"
+ "github.com/ava-labs/go-ethereum/core"
+ "github.com/ava-labs/go-ethereum/core/rawdb"
+ "github.com/ava-labs/go-ethereum/core/state"
+ "github.com/ava-labs/go-ethereum/core/types"
+ "github.com/ava-labs/go-ethereum/eth/downloader"
+ "github.com/ava-labs/go-ethereum/event"
+ "github.com/ava-labs/go-ethereum/log"
+ "github.com/ava-labs/go-ethereum/trie"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/geth/config.go b/cmd/geth/config.go
index 51ca835..b3dc833 100644
--- a/cmd/geth/config.go
+++ b/cmd/geth/config.go
@@ -27,11 +27,11 @@ import (
cli "gopkg.in/urfave/cli.v1"
"github.com/ava-labs/coreth/cmd/utils"
- "github.com/ethereum/go-ethereum/dashboard"
+ "github.com/ava-labs/go-ethereum/dashboard"
"github.com/ava-labs/coreth/eth"
"github.com/ava-labs/coreth/node"
- "github.com/ethereum/go-ethereum/params"
- whisper "github.com/ethereum/go-ethereum/whisper/whisperv6"
+ "github.com/ava-labs/go-ethereum/params"
+ whisper "github.com/ava-labs/go-ethereum/whisper/whisperv6"
"github.com/naoina/toml"
)
diff --git a/cmd/geth/consolecmd.go b/cmd/geth/consolecmd.go
index ab44175..57ea2c9 100644
--- a/cmd/geth/consolecmd.go
+++ b/cmd/geth/consolecmd.go
@@ -25,9 +25,9 @@ import (
"syscall"
"github.com/ava-labs/coreth/cmd/utils"
- "github.com/ethereum/go-ethereum/console"
+ "github.com/ava-labs/go-ethereum/console"
"github.com/ava-labs/coreth/node"
- "github.com/ethereum/go-ethereum/rpc"
+ "github.com/ava-labs/go-ethereum/rpc"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/geth/main.go b/cmd/geth/main.go
index e3d7e9d..82ad47e 100644
--- a/cmd/geth/main.go
+++ b/cmd/geth/main.go
@@ -29,15 +29,15 @@ import (
"github.com/elastic/gosigar"
"github.com/ava-labs/coreth/cmd/utils"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/console"
+ "github.com/ava-labs/go-ethereum/common"
+ "github.com/ava-labs/go-ethereum/console"
"github.com/ava-labs/coreth/eth"
- "github.com/ethereum/go-ethereum/eth/downloader"
- "github.com/ethereum/go-ethereum/ethclient"
+ "github.com/ava-labs/go-ethereum/eth/downloader"
+ "github.com/ava-labs/go-ethereum/ethclient"
"github.com/ava-labs/coreth/internal/debug"
- "github.com/ethereum/go-ethereum/les"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/metrics"
+ "github.com/ava-labs/go-ethereum/les"
+ "github.com/ava-labs/go-ethereum/log"
+ "github.com/ava-labs/go-ethereum/metrics"
"github.com/ava-labs/coreth/node"
cli "gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/geth/misccmd.go b/cmd/geth/misccmd.go
index a960147..a49f2ba 100644
--- a/cmd/geth/misccmd.go
+++ b/cmd/geth/misccmd.go
@@ -24,9 +24,9 @@ import (
"strings"
"github.com/ava-labs/coreth/cmd/utils"
- "github.com/ethereum/go-ethereum/consensus/ethash"
- "github.com/ethereum/go-ethereum/eth"
- "github.com/ethereum/go-ethereum/params"
+ "github.com/ava-labs/go-ethereum/consensus/ethash"
+ "github.com/ava-labs/go-ethereum/eth"
+ "github.com/ava-labs/go-ethereum/params"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/geth/retesteth.go b/cmd/geth/retesteth.go
index 695e7df..a5bebb0 100644
--- a/cmd/geth/retesteth.go
+++ b/cmd/geth/retesteth.go
@@ -27,25 +27,25 @@ import (
"time"
"github.com/ava-labs/coreth/cmd/utils"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/common/hexutil"
- "github.com/ethereum/go-ethereum/common/math"
- "github.com/ethereum/go-ethereum/consensus"
- "github.com/ethereum/go-ethereum/consensus/ethash"
- "github.com/ethereum/go-ethereum/consensus/misc"
- "github.com/ethereum/go-ethereum/core"
- "github.com/ethereum/go-ethereum/core/rawdb"
- "github.com/ethereum/go-ethereum/core/state"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/core/vm"
- "github.com/ethereum/go-ethereum/crypto"
- "github.com/ethereum/go-ethereum/ethdb"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/node"
- "github.com/ethereum/go-ethereum/params"
- "github.com/ethereum/go-ethereum/rlp"
- "github.com/ethereum/go-ethereum/rpc"
- "github.com/ethereum/go-ethereum/trie"
+ "github.com/ava-labs/go-ethereum/common"
+ "github.com/ava-labs/go-ethereum/common/hexutil"
+ "github.com/ava-labs/go-ethereum/common/math"
+ "github.com/ava-labs/go-ethereum/consensus"
+ "github.com/ava-labs/go-ethereum/consensus/ethash"
+ "github.com/ava-labs/go-ethereum/consensus/misc"
+ "github.com/ava-labs/go-ethereum/core"
+ "github.com/ava-labs/go-ethereum/core/rawdb"
+ "github.com/ava-labs/go-ethereum/core/state"
+ "github.com/ava-labs/go-ethereum/core/types"
+ "github.com/ava-labs/go-ethereum/core/vm"
+ "github.com/ava-labs/go-ethereum/crypto"
+ "github.com/ava-labs/go-ethereum/ethdb"
+ "github.com/ava-labs/go-ethereum/log"
+ "github.com/ava-labs/go-ethereum/node"
+ "github.com/ava-labs/go-ethereum/params"
+ "github.com/ava-labs/go-ethereum/rlp"
+ "github.com/ava-labs/go-ethereum/rpc"
+ "github.com/ava-labs/go-ethereum/trie"
cli "gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/geth/retesteth_copypaste.go b/cmd/geth/retesteth_copypaste.go
index 6061702..b48b007 100644
--- a/cmd/geth/retesteth_copypaste.go
+++ b/cmd/geth/retesteth_copypaste.go
@@ -19,9 +19,9 @@ package geth
import (
"math/big"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/common/hexutil"
- "github.com/ethereum/go-ethereum/core/types"
+ "github.com/ava-labs/go-ethereum/common"
+ "github.com/ava-labs/go-ethereum/common/hexutil"
+ "github.com/ava-labs/go-ethereum/core/types"
)
// RPCTransaction represents a transaction that will serialize to the RPC representation of a transaction
diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go
index 8207d1f..cf88aec 100644
--- a/cmd/utils/cmd.go
+++ b/cmd/utils/cmd.go
@@ -27,16 +27,16 @@ import (
"strings"
"syscall"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/core"
- "github.com/ethereum/go-ethereum/core/rawdb"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/crypto"
- "github.com/ethereum/go-ethereum/ethdb"
+ "github.com/ava-labs/go-ethereum/common"
+ "github.com/ava-labs/go-ethereum/core"
+ "github.com/ava-labs/go-ethereum/core/rawdb"
+ "github.com/ava-labs/go-ethereum/core/types"
+ "github.com/ava-labs/go-ethereum/crypto"
+ "github.com/ava-labs/go-ethereum/ethdb"
"github.com/ava-labs/coreth/internal/debug"
- "github.com/ethereum/go-ethereum/log"
+ "github.com/ava-labs/go-ethereum/log"
"github.com/ava-labs/coreth/node"
- "github.com/ethereum/go-ethereum/rlp"
+ "github.com/ava-labs/go-ethereum/rlp"
)
const (
diff --git a/cmd/utils/customflags.go b/cmd/utils/customflags.go
index e5bf872..e3941e0 100644
--- a/cmd/utils/customflags.go
+++ b/cmd/utils/customflags.go
@@ -27,7 +27,7 @@ import (
"path"
"strings"
- "github.com/ethereum/go-ethereum/common/math"
+ "github.com/ava-labs/go-ethereum/common/math"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index f1c13bb..683c490 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -29,37 +29,37 @@ import (
"strings"
"time"
- "github.com/ethereum/go-ethereum/accounts"
- "github.com/ethereum/go-ethereum/accounts/keystore"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/common/fdlimit"
- "github.com/ethereum/go-ethereum/consensus"
+ "github.com/ava-labs/go-ethereum/accounts"
+ "github.com/ava-labs/go-ethereum/accounts/keystore"
+ "github.com/ava-labs/go-ethereum/common"
+ "github.com/ava-labs/go-ethereum/common/fdlimit"
+ "github.com/ava-labs/go-ethereum/consensus"
"github.com/ava-labs/coreth/consensus/dummy"
- "github.com/ethereum/go-ethereum/consensus/clique"
- "github.com/ethereum/go-ethereum/consensus/ethash"
- "github.com/ethereum/go-ethereum/core"
- "github.com/ethereum/go-ethereum/core/vm"
- "github.com/ethereum/go-ethereum/crypto"
- "github.com/ethereum/go-ethereum/dashboard"
- "github.com/ethereum/go-ethereum/eth/downloader"
- "github.com/ethereum/go-ethereum/eth/gasprice"
+ "github.com/ava-labs/go-ethereum/consensus/clique"
+ "github.com/ava-labs/go-ethereum/consensus/ethash"
+ "github.com/ava-labs/go-ethereum/core"
+ "github.com/ava-labs/go-ethereum/core/vm"
+ "github.com/ava-labs/go-ethereum/crypto"
+ "github.com/ava-labs/go-ethereum/dashboard"
+ "github.com/ava-labs/go-ethereum/eth/downloader"
+ "github.com/ava-labs/go-ethereum/eth/gasprice"
"github.com/ava-labs/coreth/eth"
- "github.com/ethereum/go-ethereum/ethdb"
+ "github.com/ava-labs/go-ethereum/ethdb"
"github.com/ava-labs/coreth/ethstats"
- "github.com/ethereum/go-ethereum/graphql"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/metrics"
- "github.com/ethereum/go-ethereum/metrics/influxdb"
+ "github.com/ava-labs/go-ethereum/graphql"
+ "github.com/ava-labs/go-ethereum/log"
+ "github.com/ava-labs/go-ethereum/metrics"
+ "github.com/ava-labs/go-ethereum/metrics/influxdb"
"github.com/ava-labs/coreth/miner"
"github.com/ava-labs/coreth/node"
- "github.com/ethereum/go-ethereum/p2p"
- "github.com/ethereum/go-ethereum/p2p/discv5"
- "github.com/ethereum/go-ethereum/p2p/enode"
- "github.com/ethereum/go-ethereum/p2p/nat"
- "github.com/ethereum/go-ethereum/p2p/netutil"
- "github.com/ethereum/go-ethereum/params"
- "github.com/ethereum/go-ethereum/rpc"
- whisper "github.com/ethereum/go-ethereum/whisper/whisperv6"
+ "github.com/ava-labs/go-ethereum/p2p"
+ "github.com/ava-labs/go-ethereum/p2p/discv5"
+ "github.com/ava-labs/go-ethereum/p2p/enode"
+ "github.com/ava-labs/go-ethereum/p2p/nat"
+ "github.com/ava-labs/go-ethereum/p2p/netutil"
+ "github.com/ava-labs/go-ethereum/params"
+ "github.com/ava-labs/go-ethereum/rpc"
+ whisper "github.com/ava-labs/go-ethereum/whisper/whisperv6"
pcsclite "github.com/gballet/go-libpcsclite"
cli "gopkg.in/urfave/cli.v1"
)
diff --git a/consensus/dummy/consensus.go b/consensus/dummy/consensus.go
index 7700a55..791719e 100644
--- a/consensus/dummy/consensus.go
+++ b/consensus/dummy/consensus.go
@@ -9,13 +9,13 @@ import (
"time"
mapset "github.com/deckarep/golang-set"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/consensus"
- "github.com/ethereum/go-ethereum/core/state"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/params"
- "github.com/ethereum/go-ethereum/rlp"
- "github.com/ethereum/go-ethereum/rpc"
+ "github.com/ava-labs/go-ethereum/common"
+ "github.com/ava-labs/go-ethereum/consensus"
+ "github.com/ava-labs/go-ethereum/core/state"
+ "github.com/ava-labs/go-ethereum/core/types"
+ "github.com/ava-labs/go-ethereum/params"
+ "github.com/ava-labs/go-ethereum/rlp"
+ "github.com/ava-labs/go-ethereum/rpc"
)
type OnFinalizeCallbackType = func(chain consensus.ChainReader, header *types.Header, state *state.StateDB, txs []*types.Transaction, uncles []*types.Header)
diff --git a/core/genesis.go b/core/genesis.go
index b421e08..149e3d0 100644
--- a/core/genesis.go
+++ b/core/genesis.go
@@ -24,15 +24,15 @@ import (
"math/big"
"strings"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/common/hexutil"
- "github.com/ethereum/go-ethereum/core/rawdb"
- "github.com/ethereum/go-ethereum/core/state"
- "github.com/ethereum/go-ethereum/ethdb"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/params"
- "github.com/ethereum/go-ethereum/rlp"
- "github.com/ethereum/go-ethereum/core"
+ "github.com/ava-labs/go-ethereum/common"
+ "github.com/ava-labs/go-ethereum/common/hexutil"
+ "github.com/ava-labs/go-ethereum/core/rawdb"
+ "github.com/ava-labs/go-ethereum/core/state"
+ "github.com/ava-labs/go-ethereum/ethdb"
+ "github.com/ava-labs/go-ethereum/log"
+ "github.com/ava-labs/go-ethereum/params"
+ "github.com/ava-labs/go-ethereum/rlp"
+ "github.com/ava-labs/go-ethereum/core"
)
var errGenesisNoConfig = errors.New("genesis has no chain configuration")
diff --git a/core/mkalloc.go b/core/mkalloc.go
index 5118a4f..0faf47b 100644
--- a/core/mkalloc.go
+++ b/core/mkalloc.go
@@ -34,8 +34,8 @@ import (
"sort"
"strconv"
- "github.com/ethereum/go-ethereum/core"
- "github.com/ethereum/go-ethereum/rlp"
+ "github.com/ava-labs/go-ethereum/core"
+ "github.com/ava-labs/go-ethereum/rlp"
)
type allocItem struct{ Addr, Balance *big.Int }
diff --git a/coreth.go b/coreth.go
index a164452..a972175 100644
--- a/coreth.go
+++ b/coreth.go
@@ -8,12 +8,12 @@ import (
"github.com/ava-labs/coreth/consensus/dummy"
"github.com/ava-labs/coreth/eth"
"github.com/ava-labs/coreth/node"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/core/state"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/crypto"
- "github.com/ethereum/go-ethereum/event"
- "github.com/ethereum/go-ethereum/log"
+ "github.com/ava-labs/go-ethereum/common"
+ "github.com/ava-labs/go-ethereum/core/state"
+ "github.com/ava-labs/go-ethereum/core/types"
+ "github.com/ava-labs/go-ethereum/crypto"
+ "github.com/ava-labs/go-ethereum/event"
+ "github.com/ava-labs/go-ethereum/log"
"github.com/mattn/go-isatty"
)
@@ -100,9 +100,9 @@ func (self *ETHChain) GetBlockByHash(hash common.Hash) *types.Block {
return self.backend.BlockChain().GetBlockByHash(hash)
}
-// SetHead sets the current head block to the one defined by the hash
+// SetTail sets the current head block to the one defined by the hash
// irrelevant what the chain contents were prior.
-func (self *ETHChain) SetHead(hash common.Hash) error {
+func (self *ETHChain) SetTail(hash common.Hash) error {
return self.backend.BlockChain().FastSyncCommitHead(hash)
}
diff --git a/eth/api.go b/eth/api.go
index 74d70a5..10cf01d 100644
--- a/eth/api.go
+++ b/eth/api.go
@@ -28,16 +28,16 @@ import (
"strings"
"time"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/common/hexutil"
- "github.com/ethereum/go-ethereum/core"
- "github.com/ethereum/go-ethereum/core/rawdb"
- "github.com/ethereum/go-ethereum/core/state"
- "github.com/ethereum/go-ethereum/core/types"
+ "github.com/ava-labs/go-ethereum/common"
+ "github.com/ava-labs/go-ethereum/common/hexutil"
+ "github.com/ava-labs/go-ethereum/core"
+ "github.com/ava-labs/go-ethereum/core/rawdb"
+ "github.com/ava-labs/go-ethereum/core/state"
+ "github.com/ava-labs/go-ethereum/core/types"
"github.com/ava-labs/coreth/internal/ethapi"
- "github.com/ethereum/go-ethereum/rlp"
- "github.com/ethereum/go-ethereum/rpc"
- "github.com/ethereum/go-ethereum/trie"
+ "github.com/ava-labs/go-ethereum/rlp"
+ "github.com/ava-labs/go-ethereum/rpc"
+ "github.com/ava-labs/go-ethereum/trie"
)
// PublicEthereumAPI provides an API to access Ethereum full node-related
diff --git a/eth/api_backend.go b/eth/api_backend.go
index 69904a7..7befd96 100644
--- a/eth/api_backend.go
+++ b/eth/api_backend.go
@@ -21,21 +21,21 @@ import (
"errors"
"math/big"
- "github.com/ethereum/go-ethereum/accounts"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/common/math"
- "github.com/ethereum/go-ethereum/core"
- "github.com/ethereum/go-ethereum/core/bloombits"
- "github.com/ethereum/go-ethereum/core/rawdb"
- "github.com/ethereum/go-ethereum/core/state"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/core/vm"
- "github.com/ethereum/go-ethereum/eth/downloader"
- "github.com/ethereum/go-ethereum/eth/gasprice"
- "github.com/ethereum/go-ethereum/ethdb"
- "github.com/ethereum/go-ethereum/event"
- "github.com/ethereum/go-ethereum/params"
- "github.com/ethereum/go-ethereum/rpc"
+ "github.com/ava-labs/go-ethereum/accounts"
+ "github.com/ava-labs/go-ethereum/common"
+ "github.com/ava-labs/go-ethereum/common/math"
+ "github.com/ava-labs/go-ethereum/core"
+ "github.com/ava-labs/go-ethereum/core/bloombits"
+ "github.com/ava-labs/go-ethereum/core/rawdb"
+ "github.com/ava-labs/go-ethereum/core/state"
+ "github.com/ava-labs/go-ethereum/core/types"
+ "github.com/ava-labs/go-ethereum/core/vm"
+ "github.com/ava-labs/go-ethereum/eth/downloader"
+ "github.com/ava-labs/go-ethereum/eth/gasprice"
+ "github.com/ava-labs/go-ethereum/ethdb"
+ "github.com/ava-labs/go-ethereum/event"
+ "github.com/ava-labs/go-ethereum/params"
+ "github.com/ava-labs/go-ethereum/rpc"
)
// EthAPIBackend implements ethapi.Backend for full nodes
diff --git a/eth/api_tracer.go b/eth/api_tracer.go
index db9c1fc..618e7c8 100644
--- a/eth/api_tracer.go
+++ b/eth/api_tracer.go
@@ -28,19 +28,19 @@ import (
"sync"
"time"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/common/hexutil"
- "github.com/ethereum/go-ethereum/core"
- "github.com/ethereum/go-ethereum/core/rawdb"
- "github.com/ethereum/go-ethereum/core/state"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/core/vm"
- "github.com/ethereum/go-ethereum/eth/tracers"
+ "github.com/ava-labs/go-ethereum/common"
+ "github.com/ava-labs/go-ethereum/common/hexutil"
+ "github.com/ava-labs/go-ethereum/core"
+ "github.com/ava-labs/go-ethereum/core/rawdb"
+ "github.com/ava-labs/go-ethereum/core/state"
+ "github.com/ava-labs/go-ethereum/core/types"
+ "github.com/ava-labs/go-ethereum/core/vm"
+ "github.com/ava-labs/go-ethereum/eth/tracers"
"github.com/ava-labs/coreth/internal/ethapi"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/rlp"
- "github.com/ethereum/go-ethereum/rpc"
- "github.com/ethereum/go-ethereum/trie"
+ "github.com/ava-labs/go-ethereum/log"
+ "github.com/ava-labs/go-ethereum/rlp"
+ "github.com/ava-labs/go-ethereum/rpc"
+ "github.com/ava-labs/go-ethereum/trie"
)
const (
diff --git a/eth/backend.go b/eth/backend.go
index 1beca28..5fb5728 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -30,29 +30,29 @@ import (
"github.com/ava-labs/coreth/internal/ethapi"
"github.com/ava-labs/coreth/miner"
"github.com/ava-labs/coreth/node"
- "github.com/ethereum/go-ethereum/accounts"
- "github.com/ethereum/go-ethereum/accounts/abi/bind"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/common/hexutil"
- "github.com/ethereum/go-ethereum/consensus"
- "github.com/ethereum/go-ethereum/consensus/clique"
- "github.com/ethereum/go-ethereum/consensus/ethash"
- "github.com/ethereum/go-ethereum/core"
- "github.com/ethereum/go-ethereum/core/bloombits"
- "github.com/ethereum/go-ethereum/core/rawdb"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/core/vm"
- "github.com/ethereum/go-ethereum/eth/downloader"
- "github.com/ethereum/go-ethereum/eth/filters"
- "github.com/ethereum/go-ethereum/eth/gasprice"
- "github.com/ethereum/go-ethereum/ethdb"
- "github.com/ethereum/go-ethereum/event"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/p2p"
- "github.com/ethereum/go-ethereum/p2p/enr"
- "github.com/ethereum/go-ethereum/params"
- "github.com/ethereum/go-ethereum/rlp"
- "github.com/ethereum/go-ethereum/rpc"
+ "github.com/ava-labs/go-ethereum/accounts"
+ "github.com/ava-labs/go-ethereum/accounts/abi/bind"
+ "github.com/ava-labs/go-ethereum/common"
+ "github.com/ava-labs/go-ethereum/common/hexutil"
+ "github.com/ava-labs/go-ethereum/consensus"
+ "github.com/ava-labs/go-ethereum/consensus/clique"
+ "github.com/ava-labs/go-ethereum/consensus/ethash"
+ "github.com/ava-labs/go-ethereum/core"
+ "github.com/ava-labs/go-ethereum/core/bloombits"
+ "github.com/ava-labs/go-ethereum/core/rawdb"
+ "github.com/ava-labs/go-ethereum/core/types"
+ "github.com/ava-labs/go-ethereum/core/vm"
+ "github.com/ava-labs/go-ethereum/eth/downloader"
+ "github.com/ava-labs/go-ethereum/eth/filters"
+ "github.com/ava-labs/go-ethereum/eth/gasprice"
+ "github.com/ava-labs/go-ethereum/ethdb"
+ "github.com/ava-labs/go-ethereum/event"
+ "github.com/ava-labs/go-ethereum/log"
+ "github.com/ava-labs/go-ethereum/p2p"
+ "github.com/ava-labs/go-ethereum/p2p/enr"
+ "github.com/ava-labs/go-ethereum/params"
+ "github.com/ava-labs/go-ethereum/rlp"
+ "github.com/ava-labs/go-ethereum/rpc"
)
type LesServer interface {
diff --git a/eth/bloombits.go b/eth/bloombits.go
index 9a31997..0119fad 100644
--- a/eth/bloombits.go
+++ b/eth/bloombits.go
@@ -20,13 +20,13 @@ import (
"context"
"time"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/common/bitutil"
- "github.com/ethereum/go-ethereum/core"
- "github.com/ethereum/go-ethereum/core/bloombits"
- "github.com/ethereum/go-ethereum/core/rawdb"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/ethdb"
+ "github.com/ava-labs/go-ethereum/common"
+ "github.com/ava-labs/go-ethereum/common/bitutil"
+ "github.com/ava-labs/go-ethereum/core"
+ "github.com/ava-labs/go-ethereum/core/bloombits"
+ "github.com/ava-labs/go-ethereum/core/rawdb"
+ "github.com/ava-labs/go-ethereum/core/types"
+ "github.com/ava-labs/go-ethereum/ethdb"
)
const (
diff --git a/eth/config.go b/eth/config.go
index b2f6fd4..a84f5af 100644
--- a/eth/config.go
+++ b/