diff --git a/cmd/abidump/main.go b/cmd/abidump/main.go index 4f942749dfdf..d33f908b67d3 100644 --- a/cmd/abidump/main.go +++ b/cmd/abidump/main.go @@ -23,8 +23,8 @@ import ( "os" "strings" - "github.com/ethereum/go-ethereum/signer/core/apitypes" - "github.com/ethereum/go-ethereum/signer/fourbyte" + "github.com/GeoDB-Limited/go-ethereum/signer/core/apitypes" + "github.com/GeoDB-Limited/go-ethereum/signer/fourbyte" ) func init() { diff --git a/cmd/abigen/main.go b/cmd/abigen/main.go index 7b3b35e4e54f..c8b860957bfd 100644 --- a/cmd/abigen/main.go +++ b/cmd/abigen/main.go @@ -25,13 +25,13 @@ import ( "regexp" "strings" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common/compiler" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/internal/flags" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/accounts/abi" + "github.com/GeoDB-Limited/go-ethereum/accounts/abi/bind" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/common/compiler" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/internal/flags" + "github.com/GeoDB-Limited/go-ethereum/log" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/bootnode/main.go b/cmd/bootnode/main.go index 036b968ef83d..03f6f5d97458 100644 --- a/cmd/bootnode/main.go +++ b/cmd/bootnode/main.go @@ -24,13 +24,13 @@ import ( "net" "os" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/nat" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/p2p/discover" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/p2p/nat" + "github.com/GeoDB-Limited/go-ethereum/p2p/netutil" ) func main() { diff --git a/cmd/checkpoint-admin/common.go b/cmd/checkpoint-admin/common.go index 05a45dfbf997..eb01c20930f7 100644 --- a/cmd/checkpoint-admin/common.go +++ b/cmd/checkpoint-admin/common.go @@ -19,15 +19,15 @@ package main import ( "strconv" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/external" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/contracts/checkpointoracle" - "github.com/ethereum/go-ethereum/ethclient" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/GeoDB-Limited/go-ethereum/accounts" + "github.com/GeoDB-Limited/go-ethereum/accounts/abi/bind" + "github.com/GeoDB-Limited/go-ethereum/accounts/external" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/contracts/checkpointoracle" + "github.com/GeoDB-Limited/go-ethereum/ethclient" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rpc" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/checkpoint-admin/exec.go b/cmd/checkpoint-admin/exec.go index 352a96d9e6f0..8a25f21ba783 100644 --- a/cmd/checkpoint-admin/exec.go +++ b/cmd/checkpoint-admin/exec.go @@ -25,17 +25,17 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/contracts/checkpointoracle" - "github.com/ethereum/go-ethereum/contracts/checkpointoracle/contract" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethclient" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/GeoDB-Limited/go-ethereum/accounts" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/contracts/checkpointoracle" + "github.com/GeoDB-Limited/go-ethereum/contracts/checkpointoracle/contract" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/ethclient" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rpc" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/checkpoint-admin/main.go b/cmd/checkpoint-admin/main.go index 0fb553214778..2eddc6890dc3 100644 --- a/cmd/checkpoint-admin/main.go +++ b/cmd/checkpoint-admin/main.go @@ -22,9 +22,9 @@ import ( "fmt" "os" - "github.com/ethereum/go-ethereum/common/fdlimit" - "github.com/ethereum/go-ethereum/internal/flags" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/common/fdlimit" + "github.com/GeoDB-Limited/go-ethereum/internal/flags" + "github.com/GeoDB-Limited/go-ethereum/log" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/checkpoint-admin/status.go b/cmd/checkpoint-admin/status.go index f613501eb35d..44ff483d47ba 100644 --- a/cmd/checkpoint-admin/status.go +++ b/cmd/checkpoint-admin/status.go @@ -19,8 +19,8 @@ package main import ( "fmt" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/common" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/clef/main.go b/cmd/clef/main.go index f7c3adebc44a..938d80ebc566 100644 --- a/cmd/clef/main.go +++ b/cmd/clef/main.go @@ -35,25 +35,25 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/internal/flags" - "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/signer/core" - "github.com/ethereum/go-ethereum/signer/core/apitypes" - "github.com/ethereum/go-ethereum/signer/fourbyte" - "github.com/ethereum/go-ethereum/signer/rules" - "github.com/ethereum/go-ethereum/signer/storage" + "github.com/GeoDB-Limited/go-ethereum/accounts" + "github.com/GeoDB-Limited/go-ethereum/accounts/keystore" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/internal/ethapi" + "github.com/GeoDB-Limited/go-ethereum/internal/flags" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/node" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/rpc" + "github.com/GeoDB-Limited/go-ethereum/signer/core" + "github.com/GeoDB-Limited/go-ethereum/signer/core/apitypes" + "github.com/GeoDB-Limited/go-ethereum/signer/fourbyte" + "github.com/GeoDB-Limited/go-ethereum/signer/rules" + "github.com/GeoDB-Limited/go-ethereum/signer/storage" "github.com/mattn/go-colorable" "github.com/mattn/go-isatty" "gopkg.in/urfave/cli.v1" @@ -795,7 +795,7 @@ func checkFile(filename string) error { } // Check the unix permission bits // However, on windows, we cannot use the unix perm-bits, see - // https://github.com/ethereum/go-ethereum/issues/20123 + // https://github.com/GeoDB-Limited/go-ethereum/issues/20123 if runtime.GOOS != "windows" && info.Mode().Perm()&0377 != 0 { return fmt.Errorf("file (%v) has insecure file permissions (%v)", filename, info.Mode().String()) } diff --git a/cmd/devp2p/crawl.go b/cmd/devp2p/crawl.go index 9259b4894c9a..5d85b4806f54 100644 --- a/cmd/devp2p/crawl.go +++ b/cmd/devp2p/crawl.go @@ -19,8 +19,8 @@ package main import ( "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" ) type crawler struct { diff --git a/cmd/devp2p/discv4cmd.go b/cmd/devp2p/discv4cmd.go index 3b6dc09a1cc8..335fe6578fbe 100644 --- a/cmd/devp2p/discv4cmd.go +++ b/cmd/devp2p/discv4cmd.go @@ -22,12 +22,12 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/cmd/devp2p/internal/v4test" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/cmd/devp2p/internal/v4test" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/p2p/discover" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/params" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/devp2p/discv5cmd.go b/cmd/devp2p/discv5cmd.go index e20d7c9cfae6..ccf3c1ddeedf 100644 --- a/cmd/devp2p/discv5cmd.go +++ b/cmd/devp2p/discv5cmd.go @@ -20,9 +20,9 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/cmd/devp2p/internal/v5test" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/p2p/discover" + "github.com/GeoDB-Limited/go-ethereum/cmd/devp2p/internal/v5test" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/p2p/discover" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/devp2p/dns_cloudflare.go b/cmd/devp2p/dns_cloudflare.go index d67aaea1a7fb..210a2b6adb7b 100644 --- a/cmd/devp2p/dns_cloudflare.go +++ b/cmd/devp2p/dns_cloudflare.go @@ -21,9 +21,9 @@ import ( "fmt" "strings" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/p2p/dnsdisc" "github.com/cloudflare/cloudflare-go" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/dnsdisc" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/devp2p/dns_route53.go b/cmd/devp2p/dns_route53.go index 1d4f975dda0b..7897db0d66fa 100644 --- a/cmd/devp2p/dns_route53.go +++ b/cmd/devp2p/dns_route53.go @@ -25,13 +25,13 @@ import ( "strings" "time" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/p2p/dnsdisc" "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/config" "github.com/aws/aws-sdk-go-v2/credentials" "github.com/aws/aws-sdk-go-v2/service/route53" "github.com/aws/aws-sdk-go-v2/service/route53/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/dnsdisc" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/devp2p/dnscmd.go b/cmd/devp2p/dnscmd.go index 85f28b8cb182..ac806e1e20f4 100644 --- a/cmd/devp2p/dnscmd.go +++ b/cmd/devp2p/dnscmd.go @@ -25,11 +25,11 @@ import ( "path/filepath" "time" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/console/prompt" - "github.com/ethereum/go-ethereum/p2p/dnsdisc" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/accounts/keystore" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/console/prompt" + "github.com/GeoDB-Limited/go-ethereum/p2p/dnsdisc" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/devp2p/enrcmd.go b/cmd/devp2p/enrcmd.go index 48ede616ee16..a7c81e00a567 100644 --- a/cmd/devp2p/enrcmd.go +++ b/cmd/devp2p/enrcmd.go @@ -28,9 +28,9 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/p2p/enr" + "github.com/GeoDB-Limited/go-ethereum/rlp" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/devp2p/internal/ethtest/chain.go b/cmd/devp2p/internal/ethtest/chain.go index d0d55a455d30..a773c3268ed9 100644 --- a/cmd/devp2p/internal/ethtest/chain.go +++ b/cmd/devp2p/internal/ethtest/chain.go @@ -26,12 +26,12 @@ import ( "os" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/forkid" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/forkid" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) type Chain struct { diff --git a/cmd/devp2p/internal/ethtest/chain_test.go b/cmd/devp2p/internal/ethtest/chain_test.go index ec98833ab529..6b4ff993b778 100644 --- a/cmd/devp2p/internal/ethtest/chain_test.go +++ b/cmd/devp2p/internal/ethtest/chain_test.go @@ -21,8 +21,8 @@ import ( "strconv" "testing" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/eth/protocols/eth" + "github.com/GeoDB-Limited/go-ethereum/p2p" "github.com/stretchr/testify/assert" ) diff --git a/cmd/devp2p/internal/ethtest/helpers.go b/cmd/devp2p/internal/ethtest/helpers.go index dd9dfd861981..949d25377665 100644 --- a/cmd/devp2p/internal/ethtest/helpers.go +++ b/cmd/devp2p/internal/ethtest/helpers.go @@ -23,14 +23,14 @@ import ( "strings" "time" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/eth/protocols/eth" + "github.com/GeoDB-Limited/go-ethereum/internal/utesting" + "github.com/GeoDB-Limited/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/p2p/rlpx" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/internal/utesting" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/rlpx" ) var ( diff --git a/cmd/devp2p/internal/ethtest/large.go b/cmd/devp2p/internal/ethtest/large.go index 22421355abd4..e76670a8d63f 100644 --- a/cmd/devp2p/internal/ethtest/large.go +++ b/cmd/devp2p/internal/ethtest/large.go @@ -20,9 +20,9 @@ import ( "crypto/rand" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/core/types" ) // largeNumber returns a very large big.Int. diff --git a/cmd/devp2p/internal/ethtest/snap.go b/cmd/devp2p/internal/ethtest/snap.go index 95dd90fd3b4b..19a5796958d4 100644 --- a/cmd/devp2p/internal/ethtest/snap.go +++ b/cmd/devp2p/internal/ethtest/snap.go @@ -22,12 +22,12 @@ import ( "fmt" "math/rand" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/protocols/snap" - "github.com/ethereum/go-ethereum/internal/utesting" - "github.com/ethereum/go-ethereum/light" - "github.com/ethereum/go-ethereum/trie" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/eth/protocols/snap" + "github.com/GeoDB-Limited/go-ethereum/internal/utesting" + "github.com/GeoDB-Limited/go-ethereum/light" + "github.com/GeoDB-Limited/go-ethereum/trie" "golang.org/x/crypto/sha3" ) diff --git a/cmd/devp2p/internal/ethtest/snapTypes.go b/cmd/devp2p/internal/ethtest/snapTypes.go index bb8638c3d803..ddd94f1b614e 100644 --- a/cmd/devp2p/internal/ethtest/snapTypes.go +++ b/cmd/devp2p/internal/ethtest/snapTypes.go @@ -1,6 +1,6 @@ package ethtest -import "github.com/ethereum/go-ethereum/eth/protocols/snap" +import "github.com/GeoDB-Limited/go-ethereum/eth/protocols/snap" // GetAccountRange represents an account range query. type GetAccountRange snap.GetAccountRangePacket diff --git a/cmd/devp2p/internal/ethtest/suite.go b/cmd/devp2p/internal/ethtest/suite.go index dee59bc57987..c275b93247ef 100644 --- a/cmd/devp2p/internal/ethtest/suite.go +++ b/cmd/devp2p/internal/ethtest/suite.go @@ -19,10 +19,10 @@ package ethtest import ( "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/internal/utesting" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/eth/protocols/eth" + "github.com/GeoDB-Limited/go-ethereum/internal/utesting" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" ) // Suite represents a structure used to test a node's conformance diff --git a/cmd/devp2p/internal/ethtest/suite_test.go b/cmd/devp2p/internal/ethtest/suite_test.go index 9bc55bc0abc5..a5ab4a239fc4 100644 --- a/cmd/devp2p/internal/ethtest/suite_test.go +++ b/cmd/devp2p/internal/ethtest/suite_test.go @@ -21,11 +21,11 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/internal/utesting" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/eth" + "github.com/GeoDB-Limited/go-ethereum/eth/ethconfig" + "github.com/GeoDB-Limited/go-ethereum/internal/utesting" + "github.com/GeoDB-Limited/go-ethereum/node" + "github.com/GeoDB-Limited/go-ethereum/p2p" ) var ( diff --git a/cmd/devp2p/internal/ethtest/transaction.go b/cmd/devp2p/internal/ethtest/transaction.go index d2dbe0a7d69b..467a3f57a113 100644 --- a/cmd/devp2p/internal/ethtest/transaction.go +++ b/cmd/devp2p/internal/ethtest/transaction.go @@ -22,14 +22,14 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/internal/utesting" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/internal/utesting" + "github.com/GeoDB-Limited/go-ethereum/params" ) -//var faucetAddr = common.HexToAddress("0x71562b71999873DB5b286dF957af199Ec94617F7") +// var faucetAddr = common.HexToAddress("0x71562b71999873DB5b286dF957af199Ec94617F7") var faucetKey, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291") func (s *Suite) sendSuccessfulTxs(t *utesting.T, isEth66 bool) error { diff --git a/cmd/devp2p/internal/ethtest/types.go b/cmd/devp2p/internal/ethtest/types.go index 09bb218d5183..ce3eb064dfbd 100644 --- a/cmd/devp2p/internal/ethtest/types.go +++ b/cmd/devp2p/internal/ethtest/types.go @@ -21,10 +21,10 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/rlpx" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/eth/protocols/eth" + "github.com/GeoDB-Limited/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/p2p/rlpx" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) type Message interface { diff --git a/cmd/devp2p/internal/v4test/discv4tests.go b/cmd/devp2p/internal/v4test/discv4tests.go index 5f340ed94c24..2bf345acad87 100644 --- a/cmd/devp2p/internal/v4test/discv4tests.go +++ b/cmd/devp2p/internal/v4test/discv4tests.go @@ -23,9 +23,9 @@ import ( "net" "time" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/internal/utesting" - "github.com/ethereum/go-ethereum/p2p/discover/v4wire" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/internal/utesting" + "github.com/GeoDB-Limited/go-ethereum/p2p/discover/v4wire" ) const ( diff --git a/cmd/devp2p/internal/v4test/framework.go b/cmd/devp2p/internal/v4test/framework.go index 92865941810b..661f0d8eda6e 100644 --- a/cmd/devp2p/internal/v4test/framework.go +++ b/cmd/devp2p/internal/v4test/framework.go @@ -22,9 +22,9 @@ import ( "net" "time" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/discover/v4wire" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/p2p/discover/v4wire" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" ) const waitTime = 300 * time.Millisecond diff --git a/cmd/devp2p/internal/v5test/discv5tests.go b/cmd/devp2p/internal/v5test/discv5tests.go index 7866498f7376..3021a0403bdd 100644 --- a/cmd/devp2p/internal/v5test/discv5tests.go +++ b/cmd/devp2p/internal/v5test/discv5tests.go @@ -22,10 +22,10 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/internal/utesting" - "github.com/ethereum/go-ethereum/p2p/discover/v5wire" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/GeoDB-Limited/go-ethereum/internal/utesting" + "github.com/GeoDB-Limited/go-ethereum/p2p/discover/v5wire" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/p2p/netutil" ) // Suite is the discv5 test suite. diff --git a/cmd/devp2p/internal/v5test/framework.go b/cmd/devp2p/internal/v5test/framework.go index 9eac37520f7b..24eab2730d9c 100644 --- a/cmd/devp2p/internal/v5test/framework.go +++ b/cmd/devp2p/internal/v5test/framework.go @@ -24,11 +24,11 @@ import ( "net" "time" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/discover/v5wire" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" + "github.com/GeoDB-Limited/go-ethereum/common/mclock" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/p2p/discover/v5wire" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/p2p/enr" ) // readError represents an error during packet reading. diff --git a/cmd/devp2p/keycmd.go b/cmd/devp2p/keycmd.go index 869b8c2a44f0..7c4b6d2fe011 100644 --- a/cmd/devp2p/keycmd.go +++ b/cmd/devp2p/keycmd.go @@ -20,8 +20,8 @@ import ( "fmt" "net" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/devp2p/main.go b/cmd/devp2p/main.go index 4a4e905a424e..16eb51b1897c 100644 --- a/cmd/devp2p/main.go +++ b/cmd/devp2p/main.go @@ -22,9 +22,9 @@ import ( "path/filepath" "sort" - "github.com/ethereum/go-ethereum/internal/debug" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/internal/debug" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/params" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/devp2p/nodeset.go b/cmd/devp2p/nodeset.go index 1d78e34c7361..4e6aa9c59707 100644 --- a/cmd/devp2p/nodeset.go +++ b/cmd/devp2p/nodeset.go @@ -25,8 +25,8 @@ import ( "sort" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" ) const jsonIndent = " " diff --git a/cmd/devp2p/nodesetcmd.go b/cmd/devp2p/nodesetcmd.go index d65d6314c8e1..6eb9dd1f32f8 100644 --- a/cmd/devp2p/nodesetcmd.go +++ b/cmd/devp2p/nodesetcmd.go @@ -25,10 +25,10 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/core/forkid" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/core/forkid" + "github.com/GeoDB-Limited/go-ethereum/p2p/enr" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rlp" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/devp2p/rlpxcmd.go b/cmd/devp2p/rlpxcmd.go index 6557a239da77..5b82c55df3b4 100644 --- a/cmd/devp2p/rlpxcmd.go +++ b/cmd/devp2p/rlpxcmd.go @@ -20,12 +20,12 @@ import ( "fmt" "net" - "github.com/ethereum/go-ethereum/cmd/devp2p/internal/ethtest" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/internal/utesting" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/rlpx" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/cmd/devp2p/internal/ethtest" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/internal/utesting" + "github.com/GeoDB-Limited/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/p2p/rlpx" + "github.com/GeoDB-Limited/go-ethereum/rlp" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/devp2p/runtest.go b/cmd/devp2p/runtest.go index 4168f8555bfb..03412d7b10dc 100644 --- a/cmd/devp2p/runtest.go +++ b/cmd/devp2p/runtest.go @@ -19,9 +19,9 @@ package main import ( "os" - "github.com/ethereum/go-ethereum/cmd/devp2p/internal/v4test" - "github.com/ethereum/go-ethereum/internal/utesting" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/cmd/devp2p/internal/v4test" + "github.com/GeoDB-Limited/go-ethereum/internal/utesting" + "github.com/GeoDB-Limited/go-ethereum/log" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/ethkey/changepassword.go b/cmd/ethkey/changepassword.go index b9402c2f96da..93b72791ca11 100644 --- a/cmd/ethkey/changepassword.go +++ b/cmd/ethkey/changepassword.go @@ -21,8 +21,8 @@ import ( "io/ioutil" "strings" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/accounts/keystore" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/ethkey/generate.go b/cmd/ethkey/generate.go index 629d23da5ba5..c9fdfe23fd61 100644 --- a/cmd/ethkey/generate.go +++ b/cmd/ethkey/generate.go @@ -23,9 +23,9 @@ import ( "os" "path/filepath" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/accounts/keystore" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/crypto" "github.com/google/uuid" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/ethkey/inspect.go b/cmd/ethkey/inspect.go index b646e43aa576..019f708d865a 100644 --- a/cmd/ethkey/inspect.go +++ b/cmd/ethkey/inspect.go @@ -21,9 +21,9 @@ import ( "fmt" "io/ioutil" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/accounts/keystore" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/crypto" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/ethkey/main.go b/cmd/ethkey/main.go index 6db39174c461..4bddb755f835 100644 --- a/cmd/ethkey/main.go +++ b/cmd/ethkey/main.go @@ -20,7 +20,7 @@ import ( "fmt" "os" - "github.com/ethereum/go-ethereum/internal/flags" + "github.com/GeoDB-Limited/go-ethereum/internal/flags" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/ethkey/message.go b/cmd/ethkey/message.go index 69c8cf092392..17c6dff0b4b6 100644 --- a/cmd/ethkey/message.go +++ b/cmd/ethkey/message.go @@ -21,10 +21,10 @@ import ( "fmt" "io/ioutil" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/accounts/keystore" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/crypto" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/ethkey/run_test.go b/cmd/ethkey/run_test.go index 6006f6b5bb70..3fd86e8d1a4c 100644 --- a/cmd/ethkey/run_test.go +++ b/cmd/ethkey/run_test.go @@ -21,8 +21,8 @@ import ( "os" "testing" + "github.com/GeoDB-Limited/go-ethereum/internal/cmdtest" "github.com/docker/docker/pkg/reexec" - "github.com/ethereum/go-ethereum/internal/cmdtest" ) type testEthkey struct { diff --git a/cmd/ethkey/utils.go b/cmd/ethkey/utils.go index 70baae92f460..63c75fdfbf9e 100644 --- a/cmd/ethkey/utils.go +++ b/cmd/ethkey/utils.go @@ -22,8 +22,8 @@ import ( "io/ioutil" "strings" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/crypto" "gopkg.in/urfave/cli.v1" ) @@ -50,7 +50,8 @@ func getPassphrase(ctx *cli.Context, confirmation bool) string { // that can be safely used to calculate a signature from. // // The hash is calculated as -// keccak256("\x19Ethereum Signed Message:\n"${message length}${message}). +// +// keccak256("\x19Ethereum Signed Message:\n"${message length}${message}). // // This gives context to the signed message and prevents signing of transactions. func signHash(data []byte) []byte { diff --git a/cmd/evm/compiler.go b/cmd/evm/compiler.go index 40ad9313c514..fb96585b5d73 100644 --- a/cmd/evm/compiler.go +++ b/cmd/evm/compiler.go @@ -21,7 +21,7 @@ import ( "fmt" "io/ioutil" - "github.com/ethereum/go-ethereum/cmd/evm/internal/compiler" + "github.com/GeoDB-Limited/go-ethereum/cmd/evm/internal/compiler" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/evm/disasm.go b/cmd/evm/disasm.go index f9719497fe10..0397e01cbd01 100644 --- a/cmd/evm/disasm.go +++ b/cmd/evm/disasm.go @@ -22,7 +22,7 @@ import ( "io/ioutil" "strings" - "github.com/ethereum/go-ethereum/core/asm" + "github.com/GeoDB-Limited/go-ethereum/core/asm" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/evm/internal/compiler/compiler.go b/cmd/evm/internal/compiler/compiler.go index 54981b669768..cfac0f1a6aef 100644 --- a/cmd/evm/internal/compiler/compiler.go +++ b/cmd/evm/internal/compiler/compiler.go @@ -20,7 +20,7 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/core/asm" + "github.com/GeoDB-Limited/go-ethereum/core/asm" ) func Compile(fn string, src []byte, debug bool) (string, error) { diff --git a/cmd/evm/internal/t8ntool/block.go b/cmd/evm/internal/t8ntool/block.go index d4edd33bdeb7..3b6a6abebf2d 100644 --- a/cmd/evm/internal/t8ntool/block.go +++ b/cmd/evm/internal/t8ntool/block.go @@ -24,15 +24,15 @@ import ( "math/big" "os" - "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/clique" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/consensus/clique" + "github.com/GeoDB-Limited/go-ethereum/consensus/ethash" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/rlp" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/evm/internal/t8ntool/execution.go b/cmd/evm/internal/t8ntool/execution.go index 874685f15ea0..ed953ea83c91 100644 --- a/cmd/evm/internal/t8ntool/execution.go +++ b/cmd/evm/internal/t8ntool/execution.go @@ -21,21 +21,21 @@ import ( "math/big" "os" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "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/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/consensus/ethash" + "github.com/GeoDB-Limited/go-ethereum/consensus/misc" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/trie" "golang.org/x/crypto/sha3" ) diff --git a/cmd/evm/internal/t8ntool/flags.go b/cmd/evm/internal/t8ntool/flags.go index b6054ea562ba..7ef5061beb6c 100644 --- a/cmd/evm/internal/t8ntool/flags.go +++ b/cmd/evm/internal/t8ntool/flags.go @@ -20,8 +20,8 @@ import ( "fmt" "strings" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/tests" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/tests" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/evm/internal/t8ntool/gen_header.go b/cmd/evm/internal/t8ntool/gen_header.go index 196e49dd716f..6186eb64d332 100644 --- a/cmd/evm/internal/t8ntool/gen_header.go +++ b/cmd/evm/internal/t8ntool/gen_header.go @@ -7,10 +7,10 @@ import ( "errors" "math/big" - "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/core/types" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/core/types" ) var _ = (*headerMarshaling)(nil) diff --git a/cmd/evm/internal/t8ntool/gen_stenv.go b/cmd/evm/internal/t8ntool/gen_stenv.go index a6d774cdabcf..717f976d6560 100644 --- a/cmd/evm/internal/t8ntool/gen_stenv.go +++ b/cmd/evm/internal/t8ntool/gen_stenv.go @@ -7,8 +7,8 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/math" ) var _ = (*stEnvMarshaling)(nil) diff --git a/cmd/evm/internal/t8ntool/transaction.go b/cmd/evm/internal/t8ntool/transaction.go index 6f1c964ada02..66af57dc5755 100644 --- a/cmd/evm/internal/t8ntool/transaction.go +++ b/cmd/evm/internal/t8ntool/transaction.go @@ -24,14 +24,14 @@ import ( "os" "strings" - "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/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/tests" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/tests" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/evm/internal/t8ntool/transition.go b/cmd/evm/internal/t8ntool/transition.go index 097f9ce65c55..cdaa589df0de 100644 --- a/cmd/evm/internal/t8ntool/transition.go +++ b/cmd/evm/internal/t8ntool/transition.go @@ -27,18 +27,18 @@ import ( "path" "strings" - "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/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/eth/tracers/logger" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/tests" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/eth/tracers/logger" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/tests" "gopkg.in/urfave/cli.v1" ) @@ -325,8 +325,9 @@ func (t *txWithKey) UnmarshalJSON(input []byte) error { // signUnsignedTransactions converts the input txs to canonical transactions. // // The transactions can have two forms, either -// 1. unsigned or -// 2. signed +// 1. unsigned or +// 2. signed +// // For (1), r, s, v, need so be zero, and the `secretKey` needs to be set. // If so, we sign it here and now, with the given `secretKey` // If the condition above is not met, then it's considered a signed transaction. diff --git a/cmd/evm/main.go b/cmd/evm/main.go index 2f404d48e903..5cbdeb6a7d64 100644 --- a/cmd/evm/main.go +++ b/cmd/evm/main.go @@ -22,9 +22,9 @@ import ( "math/big" "os" - "github.com/ethereum/go-ethereum/cmd/evm/internal/t8ntool" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/internal/flags" + "github.com/GeoDB-Limited/go-ethereum/cmd/evm/internal/t8ntool" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/internal/flags" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/evm/runner.go b/cmd/evm/runner.go index 889de43e0add..87cc7caa3266 100644 --- a/cmd/evm/runner.go +++ b/cmd/evm/runner.go @@ -28,17 +28,17 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/cmd/evm/internal/compiler" - "github.com/ethereum/go-ethereum/cmd/utils" - "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/state" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/core/vm/runtime" - "github.com/ethereum/go-ethereum/eth/tracers/logger" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/cmd/evm/internal/compiler" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/core/vm/runtime" + "github.com/GeoDB-Limited/go-ethereum/eth/tracers/logger" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/params" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/evm/staterunner.go b/cmd/evm/staterunner.go index 90596d9b3c60..24af835f20ad 100644 --- a/cmd/evm/staterunner.go +++ b/cmd/evm/staterunner.go @@ -23,11 +23,11 @@ import ( "io/ioutil" "os" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers/logger" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/tests" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/eth/tracers/logger" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/tests" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/evm/t8n_test.go b/cmd/evm/t8n_test.go index 3f0bd3185f1e..8ef230c4d852 100644 --- a/cmd/evm/t8n_test.go +++ b/cmd/evm/t8n_test.go @@ -8,9 +8,9 @@ import ( "strings" "testing" + "github.com/GeoDB-Limited/go-ethereum/cmd/evm/internal/t8ntool" + "github.com/GeoDB-Limited/go-ethereum/internal/cmdtest" "github.com/docker/docker/pkg/reexec" - "github.com/ethereum/go-ethereum/cmd/evm/internal/t8ntool" - "github.com/ethereum/go-ethereum/internal/cmdtest" ) func TestMain(m *testing.M) { diff --git a/cmd/faucet/faucet.go b/cmd/faucet/faucet.go index 2d9d7a1e99f2..0e2a6238d74a 100644 --- a/cmd/faucet/faucet.go +++ b/cmd/faucet/faucet.go @@ -41,23 +41,23 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/ethclient" - "github.com/ethereum/go-ethereum/ethstats" - "github.com/ethereum/go-ethereum/les" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/nat" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/accounts" + "github.com/GeoDB-Limited/go-ethereum/accounts/keystore" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/eth/downloader" + "github.com/GeoDB-Limited/go-ethereum/eth/ethconfig" + "github.com/GeoDB-Limited/go-ethereum/ethclient" + "github.com/GeoDB-Limited/go-ethereum/ethstats" + "github.com/GeoDB-Limited/go-ethereum/les" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/node" + "github.com/GeoDB-Limited/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/p2p/nat" + "github.com/GeoDB-Limited/go-ethereum/params" "github.com/gorilla/websocket" ) @@ -469,7 +469,7 @@ func (f *faucet) apiHandler(w http.ResponseWriter, r *http.Request) { id = username default: //lint:ignore ST1005 This error is to be displayed in the browser - err = errors.New("Something funky happened, please open an issue at https://github.com/ethereum/go-ethereum/issues") + err = errors.New("Something funky happened, please open an issue at https://github.com/GeoDB-Limited/go-ethereum/issues") } if err != nil { if err = sendError(wsconn, err); err != nil { diff --git a/cmd/faucet/faucet_test.go b/cmd/faucet/faucet_test.go index 58a1f22b548d..b95077939c04 100644 --- a/cmd/faucet/faucet_test.go +++ b/cmd/faucet/faucet_test.go @@ -19,7 +19,7 @@ package main import ( "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common" ) func TestFacebook(t *testing.T) { diff --git a/cmd/geth/accountcmd.go b/cmd/geth/accountcmd.go index e33b9eb0fb0f..ba4c86729ec4 100644 --- a/cmd/geth/accountcmd.go +++ b/cmd/geth/accountcmd.go @@ -20,11 +20,11 @@ import ( "fmt" "io/ioutil" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/accounts" + "github.com/GeoDB-Limited/go-ethereum/accounts/keystore" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/log" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/geth/accountcmd_test.go b/cmd/geth/accountcmd_test.go index 3a71b8571603..5944de85b17e 100644 --- a/cmd/geth/accountcmd_test.go +++ b/cmd/geth/accountcmd_test.go @@ -216,7 +216,7 @@ Fatal: Failed to unlock account f466859ead1932d743d622cb74fc058882e8648a (could `) } -// https://github.com/ethereum/go-ethereum/issues/1785 +// https://github.com/GeoDB-Limited/go-ethereum/issues/1785 func TestUnlockFlagMultiIndex(t *testing.T) { geth := runMinimalGeth(t, "--port", "0", "--ipcdisable", "--datadir", tmpDatadirWithKeystore(t), "--unlock", "f466859ead1932d743d622cb74fc058882e8648a", "--unlock", "0,2", "js", "testdata/empty.js") diff --git a/cmd/geth/chaincmd.go b/cmd/geth/chaincmd.go index 6077c43cc003..aaf32a0e51b6 100644 --- a/cmd/geth/chaincmd.go +++ b/cmd/geth/chaincmd.go @@ -26,18 +26,18 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/cmd/utils" - "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/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/node" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/metrics" + "github.com/GeoDB-Limited/go-ethereum/node" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/geth/config.go b/cmd/geth/config.go index 26eeccb8b60b..250f804e654d 100644 --- a/cmd/geth/config.go +++ b/cmd/geth/config.go @@ -27,18 +27,18 @@ import ( "gopkg.in/urfave/cli.v1" - "github.com/ethereum/go-ethereum/accounts/external" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/accounts/scwallet" - "github.com/ethereum/go-ethereum/accounts/usbwallet" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/accounts/external" + "github.com/GeoDB-Limited/go-ethereum/accounts/keystore" + "github.com/GeoDB-Limited/go-ethereum/accounts/scwallet" + "github.com/GeoDB-Limited/go-ethereum/accounts/usbwallet" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/eth/ethconfig" + "github.com/GeoDB-Limited/go-ethereum/internal/ethapi" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/metrics" + "github.com/GeoDB-Limited/go-ethereum/node" + "github.com/GeoDB-Limited/go-ethereum/params" "github.com/naoina/toml" ) diff --git a/cmd/geth/consolecmd.go b/cmd/geth/consolecmd.go index 7a0135b9a191..434adbea3d4f 100644 --- a/cmd/geth/consolecmd.go +++ b/cmd/geth/consolecmd.go @@ -22,10 +22,10 @@ import ( "path/filepath" "strings" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/console" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/rpc" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/console" + "github.com/GeoDB-Limited/go-ethereum/node" + "github.com/GeoDB-Limited/go-ethereum/rpc" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/geth/consolecmd_test.go b/cmd/geth/consolecmd_test.go index 845ede2f9cbd..8f19af52085f 100644 --- a/cmd/geth/consolecmd_test.go +++ b/cmd/geth/consolecmd_test.go @@ -27,7 +27,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/params" ) const ( diff --git a/cmd/geth/dao_test.go b/cmd/geth/dao_test.go index b7f26b365247..b58ff825846e 100644 --- a/cmd/geth/dao_test.go +++ b/cmd/geth/dao_test.go @@ -23,9 +23,9 @@ import ( "path/filepath" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/params" ) // Genesis block for nodes which don't care about the DAO fork (i.e. not configured) diff --git a/cmd/geth/dbcmd.go b/cmd/geth/dbcmd.go index 33a7becfcd00..770ed5c0c69e 100644 --- a/cmd/geth/dbcmd.go +++ b/cmd/geth/dbcmd.go @@ -29,16 +29,16 @@ import ( "syscall" "time" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/console/prompt" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state/snapshot" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/trie" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/console/prompt" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/state/snapshot" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/trie" "github.com/olekukonko/tablewriter" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/geth/les_test.go b/cmd/geth/les_test.go index 151c12c68c66..16506fb3014d 100644 --- a/cmd/geth/les_test.go +++ b/cmd/geth/les_test.go @@ -11,8 +11,8 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rpc" + "github.com/GeoDB-Limited/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/rpc" ) type gethrpc struct { diff --git a/cmd/geth/main.go b/cmd/geth/main.go index bf99483cd6f9..2bdfe1e6248e 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -25,24 +25,24 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/console/prompt" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/ethclient" - "github.com/ethereum/go-ethereum/internal/debug" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/internal/flags" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/node" + "github.com/GeoDB-Limited/go-ethereum/accounts" + "github.com/GeoDB-Limited/go-ethereum/accounts/keystore" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/console/prompt" + "github.com/GeoDB-Limited/go-ethereum/eth" + "github.com/GeoDB-Limited/go-ethereum/eth/downloader" + "github.com/GeoDB-Limited/go-ethereum/ethclient" + "github.com/GeoDB-Limited/go-ethereum/internal/debug" + "github.com/GeoDB-Limited/go-ethereum/internal/ethapi" + "github.com/GeoDB-Limited/go-ethereum/internal/flags" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/metrics" + "github.com/GeoDB-Limited/go-ethereum/node" // Force-load the tracer engines to trigger registration - _ "github.com/ethereum/go-ethereum/eth/tracers/js" - _ "github.com/ethereum/go-ethereum/eth/tracers/native" + _ "github.com/GeoDB-Limited/go-ethereum/eth/tracers/js" + _ "github.com/GeoDB-Limited/go-ethereum/eth/tracers/native" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/geth/misccmd.go b/cmd/geth/misccmd.go index b347d31d97e1..ba8e970d2523 100644 --- a/cmd/geth/misccmd.go +++ b/cmd/geth/misccmd.go @@ -23,9 +23,9 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/consensus/ethash" + "github.com/GeoDB-Limited/go-ethereum/params" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/geth/run_test.go b/cmd/geth/run_test.go index 527c38a65739..41e61933ea85 100644 --- a/cmd/geth/run_test.go +++ b/cmd/geth/run_test.go @@ -24,9 +24,9 @@ import ( "testing" "time" + "github.com/GeoDB-Limited/go-ethereum/internal/cmdtest" + "github.com/GeoDB-Limited/go-ethereum/rpc" "github.com/docker/docker/pkg/reexec" - "github.com/ethereum/go-ethereum/internal/cmdtest" - "github.com/ethereum/go-ethereum/rpc" ) func tmpdir(t *testing.T) string { diff --git a/cmd/geth/snapshot.go b/cmd/geth/snapshot.go index d0539eeff74c..889fd1b9884c 100644 --- a/cmd/geth/snapshot.go +++ b/cmd/geth/snapshot.go @@ -23,17 +23,17 @@ import ( "os" "time" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/state/pruner" - "github.com/ethereum/go-ethereum/core/state/snapshot" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/state/pruner" + "github.com/GeoDB-Limited/go-ethereum/core/state/snapshot" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/trie" cli "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/geth/usage.go b/cmd/geth/usage.go index 0916b14bec42..eebe255253df 100644 --- a/cmd/geth/usage.go +++ b/cmd/geth/usage.go @@ -22,9 +22,9 @@ import ( "io" "sort" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/internal/debug" - "github.com/ethereum/go-ethereum/internal/flags" + "github.com/GeoDB-Limited/go-ethereum/cmd/utils" + "github.com/GeoDB-Limited/go-ethereum/internal/debug" + "github.com/GeoDB-Limited/go-ethereum/internal/flags" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/geth/version_check.go b/cmd/geth/version_check.go index 2101a69e9886..e6ced75d89b8 100644 --- a/cmd/geth/version_check.go +++ b/cmd/geth/version_check.go @@ -25,7 +25,7 @@ import ( "regexp" "strings" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" "github.com/jedisct1/go-minisign" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/p2psim/main.go b/cmd/p2psim/main.go index 812954a68029..9e041256cacc 100644 --- a/cmd/p2psim/main.go +++ b/cmd/p2psim/main.go @@ -19,21 +19,20 @@ // Here is an example of creating a 2 node network with the first node // connected to the second: // -// $ p2psim node create -// Created node01 +// $ p2psim node create +// Created node01 // -// $ p2psim node start node01 -// Started node01 +// $ p2psim node start node01 +// Started node01 // -// $ p2psim node create -// Created node02 +// $ p2psim node create +// Created node02 // -// $ p2psim node start node02 -// Started node02 -// -// $ p2psim node connect node01 node02 -// Connected node01 to node02 +// $ p2psim node start node02 +// Started node02 // +// $ p2psim node connect node01 node02 +// Connected node01 to node02 package main import ( @@ -45,12 +44,12 @@ import ( "strings" "text/tabwriter" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/simulations" - "github.com/ethereum/go-ethereum/p2p/simulations/adapters" - "github.com/ethereum/go-ethereum/rpc" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/p2p/simulations" + "github.com/GeoDB-Limited/go-ethereum/p2p/simulations/adapters" + "github.com/GeoDB-Limited/go-ethereum/rpc" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/puppeth/genesis.go b/cmd/puppeth/genesis.go index ef1f977bf09f..161366933f01 100644 --- a/cmd/puppeth/genesis.go +++ b/cmd/puppeth/genesis.go @@ -22,13 +22,13 @@ import ( "math/big" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - math2 "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + math2 "github.com/GeoDB-Limited/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/consensus/ethash" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/params" ) // alethGenesisSpec represents the genesis specification format used by the diff --git a/cmd/puppeth/genesis_test.go b/cmd/puppeth/genesis_test.go index aaa72d73cb02..0ff9edd37720 100644 --- a/cmd/puppeth/genesis_test.go +++ b/cmd/puppeth/genesis_test.go @@ -24,8 +24,8 @@ import ( "strings" "testing" + "github.com/GeoDB-Limited/go-ethereum/core" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/core" ) // Tests the go-ethereum to Aleth chainspec conversion for the Stureby testnet. diff --git a/cmd/puppeth/module.go b/cmd/puppeth/module.go index b6a029a01a48..d122e799f7a1 100644 --- a/cmd/puppeth/module.go +++ b/cmd/puppeth/module.go @@ -25,7 +25,7 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" ) var ( diff --git a/cmd/puppeth/module_dashboard.go b/cmd/puppeth/module_dashboard.go index 35cfada66fd3..4e4eb8eaba31 100644 --- a/cmd/puppeth/module_dashboard.go +++ b/cmd/puppeth/module_dashboard.go @@ -26,7 +26,7 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" ) // dashboardContent is the actual dashboard HTML content to serve up when users @@ -202,7 +202,7 @@ var dashboardContent = `

Starting with the 1.5 release of go-ethereum, we've transitioned away from shipping only full blown Ethereum clients and started focusing on releasing the code as reusable packages initially for Go projects, then later for Java based Android projects too. Mobile support is still evolving, hence is bound to change often and hard, but the Ethereum network can nonetheless be accessed from Android too.

Under the hood the Android library is backed by a go-ethereum light node, meaning that given a not-too-old Android device, you should be able to join the network without significant issues. Certain functionality is not yet available and rough edges are bound to appear here and there, please report issues if you find any.


-

The stable Android archives are distributed via Maven Central, and the develop snapshots via the Sonatype repositories. Before proceeding, please ensure you have a recent version configured in your Android project. You can find details in Mobile: Introduction – Android archive. +

The stable Android archives are distributed via Maven Central, and the develop snapshots via the Sonatype repositories. Before proceeding, please ensure you have a recent version configured in your Android project. You can find details in Mobile: Introduction – Android archive.

Before connecting to the Ethereum network, download the {{.GethGenesis}} genesis json file and either store it in your Android project as a resource file you can access, or save it as a string in a variable. You're going to need to initialize your client.

Inside your Java code you can now import the geth archive and connect to Ethereum:

import org.ethereum.geth.*;
@@ -233,7 +233,7 @@ node.start();

Starting with the 1.5 release of go-ethereum, we've transitioned away from shipping only full blown Ethereum clients and started focusing on releasing the code as reusable packages initially for Go projects, then later for ObjC/Swift based iOS projects too. Mobile support is still evolving, hence is bound to change often and hard, but the Ethereum network can nonetheless be accessed from iOS too.

Under the hood the iOS library is backed by a go-ethereum light node, meaning that given a not-too-old Apple device, you should be able to join the network without significant issues. Certain functionality is not yet available and rough edges are bound to appear here and there, please report issues if you find any.


-

Both stable and develop builds of the iOS framework are available via CocoaPods. Before proceeding, please ensure you have a recent version configured in your iOS project. You can find details in Mobile: Introduction – iOS framework. +

Both stable and develop builds of the iOS framework are available via CocoaPods. Before proceeding, please ensure you have a recent version configured in your iOS project. You can find details in Mobile: Introduction – iOS framework.

Before connecting to the Ethereum network, download the {{.GethGenesis}} genesis json file and either store it in your iOS project as a resource file you can access, or save it as a string in a variable. You're going to need to initialize your client.

Inside your Swift code you can now import the geth framework and connect to Ethereum (ObjC should be analogous):

import Geth
@@ -365,7 +365,7 @@ try! node?.start();

Puppeth is a tool to aid you in creating a new Ethereum network down to the genesis block, bootnodes, signers, ethstats server, crypto faucet, block explorer, dashboard and more; without the hassle that it would normally entail to manually configure all these services one by one.

Puppeth uses ssh to dial in to remote servers, and builds its network components out of docker containers using docker-compose. The user is guided through the process via a command line wizard that does the heavy lifting and topology configuration automatically behind the scenes.


-

Puppeth is distributed as part of the Geth & Tools bundles, but can also be installed separately via:

go get github.com/ethereum/go-ethereum/cmd/puppeth

+

Puppeth is distributed as part of the Geth & Tools bundles, but can also be installed separately via:

go get github.com/GeoDB-Limited/go-ethereum/cmd/puppeth


Copyright 2017. The go-ethereum Authors.

diff --git a/cmd/puppeth/module_ethstats.go b/cmd/puppeth/module_ethstats.go index abed4db5fc50..4a6d8d0656ef 100644 --- a/cmd/puppeth/module_ethstats.go +++ b/cmd/puppeth/module_ethstats.go @@ -25,7 +25,7 @@ import ( "strings" "text/template" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" ) // ethstatsDockerfile is the Dockerfile required to build an ethstats backend diff --git a/cmd/puppeth/module_explorer.go b/cmd/puppeth/module_explorer.go index 1165f70fcf51..f40b355932e3 100644 --- a/cmd/puppeth/module_explorer.go +++ b/cmd/puppeth/module_explorer.go @@ -25,7 +25,7 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" ) // explorerDockerfile is the Dockerfile required to run a block explorer. diff --git a/cmd/puppeth/module_faucet.go b/cmd/puppeth/module_faucet.go index 88cb80ae4c42..95ee13ae53ce 100644 --- a/cmd/puppeth/module_faucet.go +++ b/cmd/puppeth/module_faucet.go @@ -26,8 +26,8 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/log" ) // faucetDockerfile is the Dockerfile required to build a faucet container to diff --git a/cmd/puppeth/module_nginx.go b/cmd/puppeth/module_nginx.go index 1b1ae61ff598..6c7d738b4f83 100644 --- a/cmd/puppeth/module_nginx.go +++ b/cmd/puppeth/module_nginx.go @@ -24,7 +24,7 @@ import ( "path/filepath" "strconv" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" ) // nginxDockerfile is theis the Dockerfile required to build an nginx reverse- diff --git a/cmd/puppeth/module_node.go b/cmd/puppeth/module_node.go index 3ea96870d4f5..b2796939effe 100644 --- a/cmd/puppeth/module_node.go +++ b/cmd/puppeth/module_node.go @@ -26,8 +26,8 @@ import ( "strings" "text/template" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/log" ) // nodeDockerfile is the Dockerfile required to run an Ethereum node. diff --git a/cmd/puppeth/puppeth.go b/cmd/puppeth/puppeth.go index c3de5f936024..194d5daee529 100644 --- a/cmd/puppeth/puppeth.go +++ b/cmd/puppeth/puppeth.go @@ -23,7 +23,7 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/puppeth/ssh.go b/cmd/puppeth/ssh.go index 039cb6cb45d9..4597d0399233 100644 --- a/cmd/puppeth/ssh.go +++ b/cmd/puppeth/ssh.go @@ -28,7 +28,7 @@ import ( "path/filepath" "strings" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" "golang.org/x/crypto/ssh" "golang.org/x/crypto/ssh/agent" "golang.org/x/crypto/ssh/terminal" diff --git a/cmd/puppeth/wizard.go b/cmd/puppeth/wizard.go index c0edc5401976..eefe1cbefcf5 100644 --- a/cmd/puppeth/wizard.go +++ b/cmd/puppeth/wizard.go @@ -30,10 +30,10 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/console/prompt" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/console/prompt" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/log" "github.com/peterh/liner" "golang.org/x/crypto/ssh/terminal" ) diff --git a/cmd/puppeth/wizard_dashboard.go b/cmd/puppeth/wizard_dashboard.go index b64bdca0b98b..67ae6637de80 100644 --- a/cmd/puppeth/wizard_dashboard.go +++ b/cmd/puppeth/wizard_dashboard.go @@ -19,7 +19,7 @@ package main import ( "fmt" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" ) // deployDashboard queries the user for various input on deploying a web-service diff --git a/cmd/puppeth/wizard_ethstats.go b/cmd/puppeth/wizard_ethstats.go index 95cab9da4633..a1e81f5293c0 100644 --- a/cmd/puppeth/wizard_ethstats.go +++ b/cmd/puppeth/wizard_ethstats.go @@ -20,7 +20,7 @@ import ( "fmt" "sort" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" ) // deployEthstats queries the user for various input on deploying an ethstats diff --git a/cmd/puppeth/wizard_explorer.go b/cmd/puppeth/wizard_explorer.go index 1df9cbc0f322..d54fdb117a99 100644 --- a/cmd/puppeth/wizard_explorer.go +++ b/cmd/puppeth/wizard_explorer.go @@ -21,7 +21,7 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" ) // deployExplorer creates a new block explorer based on some user input. diff --git a/cmd/puppeth/wizard_faucet.go b/cmd/puppeth/wizard_faucet.go index 65d4e8b8ed4c..b76baf304430 100644 --- a/cmd/puppeth/wizard_faucet.go +++ b/cmd/puppeth/wizard_faucet.go @@ -20,8 +20,8 @@ import ( "encoding/json" "fmt" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/accounts/keystore" + "github.com/GeoDB-Limited/go-ethereum/log" ) // deployFaucet queries the user for various input on deploying a faucet, after diff --git a/cmd/puppeth/wizard_genesis.go b/cmd/puppeth/wizard_genesis.go index ae5977b3723c..b27cb78ef924 100644 --- a/cmd/puppeth/wizard_genesis.go +++ b/cmd/puppeth/wizard_genesis.go @@ -29,10 +29,10 @@ import ( "path/filepath" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/params" ) // makeGenesis creates a new genesis struct based on some user input. diff --git a/cmd/puppeth/wizard_intro.go b/cmd/puppeth/wizard_intro.go index dd4b606c4a25..d6552998d3f7 100644 --- a/cmd/puppeth/wizard_intro.go +++ b/cmd/puppeth/wizard_intro.go @@ -24,7 +24,7 @@ import ( "path/filepath" "strings" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" ) // makeWizard creates and returns a new puppeth wizard. diff --git a/cmd/puppeth/wizard_netstats.go b/cmd/puppeth/wizard_netstats.go index 7b5671e6dfa4..c0091ced2fa3 100644 --- a/cmd/puppeth/wizard_netstats.go +++ b/cmd/puppeth/wizard_netstats.go @@ -23,8 +23,8 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/log" "github.com/olekukonko/tablewriter" ) diff --git a/cmd/puppeth/wizard_network.go b/cmd/puppeth/wizard_network.go index d015e06ebb10..0b9f91e7055a 100644 --- a/cmd/puppeth/wizard_network.go +++ b/cmd/puppeth/wizard_network.go @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" ) // manageServers displays a list of servers the user can disconnect from, and an diff --git a/cmd/puppeth/wizard_nginx.go b/cmd/puppeth/wizard_nginx.go index 8397b7fd57ff..796396da2ba8 100644 --- a/cmd/puppeth/wizard_nginx.go +++ b/cmd/puppeth/wizard_nginx.go @@ -19,7 +19,7 @@ package main import ( "fmt" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" ) // ensureVirtualHost checks whether a reverse-proxy is running on the specified diff --git a/cmd/puppeth/wizard_node.go b/cmd/puppeth/wizard_node.go index 2bae33214283..708adb908249 100644 --- a/cmd/puppeth/wizard_node.go +++ b/cmd/puppeth/wizard_node.go @@ -21,9 +21,9 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/accounts/keystore" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/log" ) // deployNode creates a new node configuration based on some user input. diff --git a/cmd/rlpdump/main.go b/cmd/rlpdump/main.go index 9c0af012480f..2dc61709f857 100644 --- a/cmd/rlpdump/main.go +++ b/cmd/rlpdump/main.go @@ -28,8 +28,8 @@ import ( "os" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) var ( diff --git a/cmd/rlpdump/rlpdump_test.go b/cmd/rlpdump/rlpdump_test.go index ea607e380801..641329518140 100644 --- a/cmd/rlpdump/rlpdump_test.go +++ b/cmd/rlpdump/rlpdump_test.go @@ -6,8 +6,8 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" ) func TestRoundtrip(t *testing.T) { diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go index f8e40b187cdb..1407a66eacdf 100644 --- a/cmd/utils/cmd.go +++ b/cmd/utils/cmd.go @@ -30,17 +30,17 @@ import ( "syscall" "time" - "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/eth/ethconfig" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/internal/debug" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/eth/ethconfig" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/internal/debug" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/node" + "github.com/GeoDB-Limited/go-ethereum/rlp" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/utils/customflags.go b/cmd/utils/customflags.go index 0a72e80349d4..1685160a0b95 100644 --- a/cmd/utils/customflags.go +++ b/cmd/utils/customflags.go @@ -26,7 +26,7 @@ import ( "path" "strings" - "github.com/ethereum/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/common/math" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/utils/export_test.go b/cmd/utils/export_test.go index a05121d28cf8..6eb8d82bb3b5 100644 --- a/cmd/utils/export_test.go +++ b/cmd/utils/export_test.go @@ -23,8 +23,8 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) // TestExport does basic sanity checks on the export/import functionality diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index ae1e77675355..c763b544d319 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -33,41 +33,41 @@ import ( "text/template" "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/ethereum/go-ethereum/consensus/clique" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth" - ethcatalyst "github.com/ethereum/go-ethereum/eth/catalyst" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/eth/gasprice" - "github.com/ethereum/go-ethereum/eth/tracers" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/ethstats" - "github.com/ethereum/go-ethereum/graphql" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/internal/flags" - "github.com/ethereum/go-ethereum/les" - lescatalyst "github.com/ethereum/go-ethereum/les/catalyst" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/metrics/exp" - "github.com/ethereum/go-ethereum/metrics/influxdb" - "github.com/ethereum/go-ethereum/miner" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "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/GeoDB-Limited/go-ethereum/accounts" + "github.com/GeoDB-Limited/go-ethereum/accounts/keystore" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/fdlimit" + "github.com/GeoDB-Limited/go-ethereum/consensus" + "github.com/GeoDB-Limited/go-ethereum/consensus/clique" + "github.com/GeoDB-Limited/go-ethereum/consensus/ethash" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/eth" + ethcatalyst "github.com/GeoDB-Limited/go-ethereum/eth/catalyst" + "github.com/GeoDB-Limited/go-ethereum/eth/downloader" + "github.com/GeoDB-Limited/go-ethereum/eth/ethconfig" + "github.com/GeoDB-Limited/go-ethereum/eth/gasprice" + "github.com/GeoDB-Limited/go-ethereum/eth/tracers" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/ethstats" + "github.com/GeoDB-Limited/go-ethereum/graphql" + "github.com/GeoDB-Limited/go-ethereum/internal/ethapi" + "github.com/GeoDB-Limited/go-ethereum/internal/flags" + "github.com/GeoDB-Limited/go-ethereum/les" + lescatalyst "github.com/GeoDB-Limited/go-ethereum/les/catalyst" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/metrics" + "github.com/GeoDB-Limited/go-ethereum/metrics/exp" + "github.com/GeoDB-Limited/go-ethereum/metrics/influxdb" + "github.com/GeoDB-Limited/go-ethereum/miner" + "github.com/GeoDB-Limited/go-ethereum/node" + "github.com/GeoDB-Limited/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/p2p/nat" + "github.com/GeoDB-Limited/go-ethereum/p2p/netutil" + "github.com/GeoDB-Limited/go-ethereum/params" pcsclite "github.com/gballet/go-libpcsclite" gopsutil "github.com/shirou/gopsutil/mem" "gopkg.in/urfave/cli.v1" diff --git a/cmd/utils/flags_legacy.go b/cmd/utils/flags_legacy.go index a0f64f609b77..32d133a25e62 100644 --- a/cmd/utils/flags_legacy.go +++ b/cmd/utils/flags_legacy.go @@ -19,7 +19,7 @@ package utils import ( "fmt" - "github.com/ethereum/go-ethereum/eth/ethconfig" + "github.com/GeoDB-Limited/go-ethereum/eth/ethconfig" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/utils/prompt.go b/cmd/utils/prompt.go index 5c7cbabcb092..899daac6e8a0 100644 --- a/cmd/utils/prompt.go +++ b/cmd/utils/prompt.go @@ -20,7 +20,7 @@ package utils import ( "fmt" - "github.com/ethereum/go-ethereum/console/prompt" + "github.com/GeoDB-Limited/go-ethereum/console/prompt" ) // GetPassPhrase displays the given text(prompt) to the user and requests some textual diff --git a/consensus/clique/api.go b/consensus/clique/api.go index cb270d321d5a..9f0ae67efbb0 100644 --- a/consensus/clique/api.go +++ b/consensus/clique/api.go @@ -20,12 +20,12 @@ import ( "encoding/json" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/rpc" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/consensus" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/rpc" ) // API is a user facing RPC API to allow controlling the signer and voting diff --git a/consensus/clique/clique.go b/consensus/clique/clique.go index 685186817d2d..bf70c268b73f 100644 --- a/consensus/clique/clique.go +++ b/consensus/clique/clique.go @@ -27,20 +27,20 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/accounts" - "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/misc" - "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/ethdb" - "github.com/ethereum/go-ethereum/log" - "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/GeoDB-Limited/go-ethereum/accounts" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/consensus" + "github.com/GeoDB-Limited/go-ethereum/consensus/misc" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/rpc" + "github.com/GeoDB-Limited/go-ethereum/trie" lru "github.com/hashicorp/golang-lru" "golang.org/x/crypto/sha3" ) diff --git a/consensus/clique/clique_test.go b/consensus/clique/clique_test.go index 1bd32acd3746..10eb4ef2f69a 100644 --- a/consensus/clique/clique_test.go +++ b/consensus/clique/clique_test.go @@ -20,13 +20,13 @@ import ( "math/big" "testing" - "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/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/params" ) // This test case is a repro of an annoying bug that took us forever to catch. diff --git a/consensus/clique/snapshot.go b/consensus/clique/snapshot.go index 4ee731a90821..250651223083 100644 --- a/consensus/clique/snapshot.go +++ b/consensus/clique/snapshot.go @@ -22,11 +22,11 @@ import ( "sort" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/params" lru "github.com/hashicorp/golang-lru" ) diff --git a/consensus/clique/snapshot_test.go b/consensus/clique/snapshot_test.go index 094868ca744d..3450854358f7 100644 --- a/consensus/clique/snapshot_test.go +++ b/consensus/clique/snapshot_test.go @@ -23,13 +23,13 @@ import ( "sort" "testing" - "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/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/params" ) // testerAccountPool is a pool to maintain currently active tester accounts, @@ -364,7 +364,7 @@ func TestClique(t *testing.T) { failure: errRecentlySigned, }, { // Recent signatures should not reset on checkpoint blocks imported in a new - // batch (https://github.com/ethereum/go-ethereum/issues/17593). Whilst this + // batch (https://github.com/GeoDB-Limited/go-ethereum/issues/17593). Whilst this // seems overly specific and weird, it was a Rinkeby consensus split. epoch: 3, signers: []string{"A", "B", "C"}, diff --git a/consensus/consensus.go b/consensus/consensus.go index af8ce98ff3be..1386f2673c21 100644 --- a/consensus/consensus.go +++ b/consensus/consensus.go @@ -20,11 +20,11 @@ package consensus import ( "math/big" - "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/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rpc" ) // ChainHeaderReader defines a small collection of methods needed to access the local diff --git a/consensus/ethash/algorithm.go b/consensus/ethash/algorithm.go index 065e60b90b21..38ad0a552c3c 100644 --- a/consensus/ethash/algorithm.go +++ b/consensus/ethash/algorithm.go @@ -27,10 +27,10 @@ import ( "time" "unsafe" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/bitutil" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/bitutil" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/log" "golang.org/x/crypto/sha3" ) diff --git a/consensus/ethash/algorithm_test.go b/consensus/ethash/algorithm_test.go index 9cc9d535d4ac..b0f119a88c9e 100644 --- a/consensus/ethash/algorithm_test.go +++ b/consensus/ethash/algorithm_test.go @@ -26,9 +26,9 @@ import ( "sync" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/core/types" ) // prepare converts an ethash cache or dataset from a byte stream into the internal diff --git a/consensus/ethash/api.go b/consensus/ethash/api.go index f4d3802e0b37..6323ed2818a2 100644 --- a/consensus/ethash/api.go +++ b/consensus/ethash/api.go @@ -19,9 +19,9 @@ package ethash import ( "errors" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/core/types" ) var errEthashStopped = errors.New("ethash stopped") @@ -34,10 +34,11 @@ type API struct { // GetWork returns a work package for external miner. // // The work package consists of 3 strings: -// result[0] - 32 bytes hex encoded current block header pow-hash -// result[1] - 32 bytes hex encoded seed hash used for DAG -// result[2] - 32 bytes hex encoded boundary condition ("target"), 2^256/difficulty -// result[3] - hex encoded block number +// +// result[0] - 32 bytes hex encoded current block header pow-hash +// result[1] - 32 bytes hex encoded seed hash used for DAG +// result[2] - 32 bytes hex encoded boundary condition ("target"), 2^256/difficulty +// result[3] - hex encoded block number func (api *API) GetWork() ([4]string, error) { if api.ethash.remote == nil { return [4]string{}, errors.New("not supported") diff --git a/consensus/ethash/consensus.go b/consensus/ethash/consensus.go index 7dec436a2601..f3506de267db 100644 --- a/consensus/ethash/consensus.go +++ b/consensus/ethash/consensus.go @@ -24,16 +24,16 @@ import ( "runtime" "time" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/consensus" + "github.com/GeoDB-Limited/go-ethereum/consensus/misc" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/trie" mapset "github.com/deckarep/golang-set" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/misc" - "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/trie" "golang.org/x/crypto/sha3" ) diff --git a/consensus/ethash/consensus_test.go b/consensus/ethash/consensus_test.go index 6f6dc79fd86b..478b16114691 100644 --- a/consensus/ethash/consensus_test.go +++ b/consensus/ethash/consensus_test.go @@ -25,10 +25,10 @@ import ( "path/filepath" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/params" ) type diffTest struct { diff --git a/consensus/ethash/difficulty.go b/consensus/ethash/difficulty.go index 66a18059c617..7106d657f70c 100644 --- a/consensus/ethash/difficulty.go +++ b/consensus/ethash/difficulty.go @@ -19,7 +19,7 @@ package ethash import ( "math/big" - "github.com/ethereum/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/core/types" "github.com/holiman/uint256" ) diff --git a/consensus/ethash/ethash.go b/consensus/ethash/ethash.go index c196ad062170..dffb7ab0d207 100644 --- a/consensus/ethash/ethash.go +++ b/consensus/ethash/ethash.go @@ -33,11 +33,11 @@ import ( "time" "unsafe" + "github.com/GeoDB-Limited/go-ethereum/consensus" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/metrics" + "github.com/GeoDB-Limited/go-ethereum/rpc" "github.com/edsrzf/mmap-go" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/rpc" "github.com/hashicorp/golang-lru/simplelru" ) diff --git a/consensus/ethash/ethash_test.go b/consensus/ethash/ethash_test.go index 382eefeecf12..20041c86cd2f 100644 --- a/consensus/ethash/ethash_test.go +++ b/consensus/ethash/ethash_test.go @@ -25,9 +25,9 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/core/types" ) // Tests that ethash works correctly in test mode. @@ -55,7 +55,7 @@ func TestTestMode(t *testing.T) { } // This test checks that cache lru logic doesn't crash under load. -// It reproduces https://github.com/ethereum/go-ethereum/issues/14943 +// It reproduces https://github.com/GeoDB-Limited/go-ethereum/issues/14943 func TestCacheFileEvict(t *testing.T) { tmpdir, err := ioutil.TempDir("", "ethash-test") if err != nil { diff --git a/consensus/ethash/sealer.go b/consensus/ethash/sealer.go index 6fa60ef6a8bb..3ef91d60ad2b 100644 --- a/consensus/ethash/sealer.go +++ b/consensus/ethash/sealer.go @@ -30,10 +30,10 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/consensus" + "github.com/GeoDB-Limited/go-ethereum/core/types" ) const ( @@ -339,10 +339,11 @@ func (s *remoteSealer) loop() { // makeWork creates a work package for external miner. // // The work package consists of 3 strings: -// result[0], 32 bytes hex encoded current block header pow-hash -// result[1], 32 bytes hex encoded seed hash used for DAG -// result[2], 32 bytes hex encoded boundary condition ("target"), 2^256/difficulty -// result[3], hex encoded block number +// +// result[0], 32 bytes hex encoded current block header pow-hash +// result[1], 32 bytes hex encoded seed hash used for DAG +// result[2], 32 bytes hex encoded boundary condition ("target"), 2^256/difficulty +// result[3], hex encoded block number func (s *remoteSealer) makeWork(block *types.Block) { hash := s.ethash.SealHash(block.Header()) s.currentWork[0] = hash.Hex() diff --git a/consensus/ethash/sealer_test.go b/consensus/ethash/sealer_test.go index c34e76aec243..21e4dea4f55b 100644 --- a/consensus/ethash/sealer_test.go +++ b/consensus/ethash/sealer_test.go @@ -26,10 +26,10 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/internal/testlog" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/internal/testlog" + "github.com/GeoDB-Limited/go-ethereum/log" ) // Tests whether remote HTTP servers are correctly notified of new work. diff --git a/consensus/merger.go b/consensus/merger.go index ffbcbf2b8569..9c3bc7be42d6 100644 --- a/consensus/merger.go +++ b/consensus/merger.go @@ -20,10 +20,10 @@ import ( "fmt" "sync" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) // transitionStatus describes the status of eth1/2 transition. This switch diff --git a/consensus/misc/dao.go b/consensus/misc/dao.go index 36df036f2735..cca5ad2469ff 100644 --- a/consensus/misc/dao.go +++ b/consensus/misc/dao.go @@ -21,9 +21,9 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/params" ) var ( @@ -40,10 +40,11 @@ var ( // ensure it conforms to DAO hard-fork rules. // // DAO hard-fork extension to the header validity: -// a) if the node is no-fork, do not accept blocks in the [fork, fork+10) range -// with the fork specific extra-data set -// b) if the node is pro-fork, require blocks in the specific range to have the -// unique extra-data set. +// +// a) if the node is no-fork, do not accept blocks in the [fork, fork+10) range +// with the fork specific extra-data set +// b) if the node is pro-fork, require blocks in the specific range to have the +// unique extra-data set. func VerifyDAOHeaderExtraData(config *params.ChainConfig, header *types.Header) error { // Short circuit validation if the node doesn't care about the DAO fork if config.DAOForkBlock == nil { diff --git a/consensus/misc/eip1559.go b/consensus/misc/eip1559.go index 8fca0fdc7092..d15d6982f611 100644 --- a/consensus/misc/eip1559.go +++ b/consensus/misc/eip1559.go @@ -20,10 +20,10 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/params" ) // VerifyEip1559Header verifies some header attributes which were changed in EIP-1559, diff --git a/consensus/misc/eip1559_test.go b/consensus/misc/eip1559_test.go index 23cd9023de24..7f9a9890f947 100644 --- a/consensus/misc/eip1559_test.go +++ b/consensus/misc/eip1559_test.go @@ -20,9 +20,9 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/params" ) // copyConfig does a _shallow_ copy of a given config. Safe to set new values, but diff --git a/consensus/misc/forks.go b/consensus/misc/forks.go index 4a5e7c37e03c..73c548b1bfd5 100644 --- a/consensus/misc/forks.go +++ b/consensus/misc/forks.go @@ -19,9 +19,9 @@ package misc import ( "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/params" ) // VerifyForkHashes verifies that blocks conforming to network hard-forks do have diff --git a/consensus/misc/gaslimit.go b/consensus/misc/gaslimit.go index 25f35300b94d..23462aa58401 100644 --- a/consensus/misc/gaslimit.go +++ b/consensus/misc/gaslimit.go @@ -20,7 +20,7 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/params" ) // VerifyGaslimit verifies the header gas limit according increase/decrease diff --git a/console/bridge.go b/console/bridge.go index 21ef0e8e7b90..d0277b9f9067 100644 --- a/console/bridge.go +++ b/console/bridge.go @@ -24,13 +24,13 @@ import ( "strings" "time" + "github.com/GeoDB-Limited/go-ethereum/accounts/scwallet" + "github.com/GeoDB-Limited/go-ethereum/accounts/usbwallet" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/console/prompt" + "github.com/GeoDB-Limited/go-ethereum/internal/jsre" + "github.com/GeoDB-Limited/go-ethereum/rpc" "github.com/dop251/goja" - "github.com/ethereum/go-ethereum/accounts/scwallet" - "github.com/ethereum/go-ethereum/accounts/usbwallet" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/console/prompt" - "github.com/ethereum/go-ethereum/internal/jsre" - "github.com/ethereum/go-ethereum/rpc" ) // bridge is a collection of JavaScript utility methods to bride the .js runtime diff --git a/console/bridge_test.go b/console/bridge_test.go index e57e294fc5a5..0b0572762943 100644 --- a/console/bridge_test.go +++ b/console/bridge_test.go @@ -19,8 +19,8 @@ package console import ( "testing" + "github.com/GeoDB-Limited/go-ethereum/internal/jsre" "github.com/dop251/goja" - "github.com/ethereum/go-ethereum/internal/jsre" ) // TestUndefinedAsParam ensures that personal functions can receive diff --git a/console/console.go b/console/console.go index ab26bd64f7de..36974246ab1c 100644 --- a/console/console.go +++ b/console/console.go @@ -30,12 +30,12 @@ import ( "sync" "syscall" + "github.com/GeoDB-Limited/go-ethereum/console/prompt" + "github.com/GeoDB-Limited/go-ethereum/internal/jsre" + "github.com/GeoDB-Limited/go-ethereum/internal/jsre/deps" + "github.com/GeoDB-Limited/go-ethereum/internal/web3ext" + "github.com/GeoDB-Limited/go-ethereum/rpc" "github.com/dop251/goja" - "github.com/ethereum/go-ethereum/console/prompt" - "github.com/ethereum/go-ethereum/internal/jsre" - "github.com/ethereum/go-ethereum/internal/jsre/deps" - "github.com/ethereum/go-ethereum/internal/web3ext" - "github.com/ethereum/go-ethereum/rpc" "github.com/mattn/go-colorable" "github.com/peterh/liner" ) diff --git a/console/console_test.go b/console/console_test.go index 71c80c20fa28..f93c45652699 100644 --- a/console/console_test.go +++ b/console/console_test.go @@ -26,15 +26,15 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/console/prompt" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/internal/jsre" - "github.com/ethereum/go-ethereum/miner" - "github.com/ethereum/go-ethereum/node" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/consensus/ethash" + "github.com/GeoDB-Limited/go-ethereum/console/prompt" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/eth" + "github.com/GeoDB-Limited/go-ethereum/eth/ethconfig" + "github.com/GeoDB-Limited/go-ethereum/internal/jsre" + "github.com/GeoDB-Limited/go-ethereum/miner" + "github.com/GeoDB-Limited/go-ethereum/node" ) const ( diff --git a/core/asm/asm.go b/core/asm/asm.go index 4257198cc779..65470ae99b2b 100644 --- a/core/asm/asm.go +++ b/core/asm/asm.go @@ -21,7 +21,7 @@ import ( "encoding/hex" "fmt" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/core/vm" ) // Iterator for disassembled EVM instructions diff --git a/core/asm/compiler.go b/core/asm/compiler.go index 799709929875..582817a061da 100644 --- a/core/asm/compiler.go +++ b/core/asm/compiler.go @@ -22,8 +22,8 @@ import ( "os" "strings" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/core/vm" ) // Compiler contains information about the parsed source diff --git a/core/rawdb/accessors_metadata.go b/core/rawdb/accessors_metadata.go index f5a161adb688..70b5719da921 100644 --- a/core/rawdb/accessors_metadata.go +++ b/core/rawdb/accessors_metadata.go @@ -20,11 +20,11 @@ import ( "encoding/json" "time" - "github.com/ethereum/go-ethereum/common" - "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/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) // ReadDatabaseVersion retrieves the version number of the database. diff --git a/core/rawdb/accessors_snapshot.go b/core/rawdb/accessors_snapshot.go index 3c82b3f73141..cb5ce65acbb4 100644 --- a/core/rawdb/accessors_snapshot.go +++ b/core/rawdb/accessors_snapshot.go @@ -19,9 +19,9 @@ package rawdb import ( "encoding/binary" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/log" ) // ReadSnapshotDisabled retrieves if the snapshot maintenance is disabled. diff --git a/core/rawdb/accessors_state.go b/core/rawdb/accessors_state.go index 41e21b6ca40b..630c24b4a1fa 100644 --- a/core/rawdb/accessors_state.go +++ b/core/rawdb/accessors_state.go @@ -17,9 +17,9 @@ package rawdb import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/log" ) // ReadPreimage retrieves a single preimage of the provided hash. diff --git a/core/rawdb/accessors_sync.go b/core/rawdb/accessors_sync.go index 50dfb848e4e0..0db734389748 100644 --- a/core/rawdb/accessors_sync.go +++ b/core/rawdb/accessors_sync.go @@ -19,10 +19,10 @@ package rawdb import ( "bytes" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) // ReadSkeletonSyncStatus retrieves the serialized sync status saved at shutdown. diff --git a/core/rawdb/chain_iterator.go b/core/rawdb/chain_iterator.go index 0d5a5ee6a790..03c50f7e74fc 100644 --- a/core/rawdb/chain_iterator.go +++ b/core/rawdb/chain_iterator.go @@ -21,12 +21,12 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/prque" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/prque" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) // InitDatabaseFromFreezer reinitializes an empty database from a previous batch diff --git a/core/rawdb/database.go b/core/rawdb/database.go index 5d645b61dbee..8195a6a98ec5 100644 --- a/core/rawdb/database.go +++ b/core/rawdb/database.go @@ -24,11 +24,11 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/ethdb/leveldb" - "github.com/ethereum/go-ethereum/ethdb/memorydb" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/ethdb/leveldb" + "github.com/GeoDB-Limited/go-ethereum/ethdb/memorydb" + "github.com/GeoDB-Limited/go-ethereum/log" "github.com/olekukonko/tablewriter" ) diff --git a/core/rawdb/freezer.go b/core/rawdb/freezer.go index 8266933ee655..3a9b94439881 100644 --- a/core/rawdb/freezer.go +++ b/core/rawdb/freezer.go @@ -27,11 +27,11 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/metrics" + "github.com/GeoDB-Limited/go-ethereum/params" "github.com/prometheus/tsdb/fileutil" ) @@ -70,10 +70,10 @@ const ( // freezer is a memory mapped append-only database to store immutable chain data // into flat files: // -// - The append only nature ensures that disk writes are minimized. -// - The memory mapping ensures we can max out system memory for caching without -// reserving it for go-ethereum. This would also reduce the memory requirements -// of Geth, and thus also GC overhead. +// - The append only nature ensures that disk writes are minimized. +// - The memory mapping ensures we can max out system memory for caching without +// reserving it for go-ethereum. This would also reduce the memory requirements +// of Geth, and thus also GC overhead. type freezer struct { // WARNING: The `frozen` field is accessed atomically. On 32 bit platforms, only // 64-bit aligned fields can be atomic. The struct is guaranteed to be so aligned, @@ -213,9 +213,9 @@ func (f *freezer) Ancient(kind string, number uint64) ([]byte, error) { // AncientRange retrieves multiple items in sequence, starting from the index 'start'. // It will return -// - at most 'max' items, -// - at least 1 item (even if exceeding the maxByteSize), but will otherwise -// return as many items as fit into maxByteSize. +// - at most 'max' items, +// - at least 1 item (even if exceeding the maxByteSize), but will otherwise +// return as many items as fit into maxByteSize. func (f *freezer) AncientRange(kind string, start, count, maxBytes uint64) ([][]byte, error) { if table := f.tables[kind]; table != nil { return table.RetrieveItems(start, count, maxBytes) diff --git a/core/rawdb/freezer_table.go b/core/rawdb/freezer_table.go index 01867ee8c242..87d956819a2a 100644 --- a/core/rawdb/freezer_table.go +++ b/core/rawdb/freezer_table.go @@ -27,9 +27,9 @@ import ( "sync" "sync/atomic" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/metrics" "github.com/golang/snappy" ) diff --git a/core/rawdb/freezer_test.go b/core/rawdb/freezer_test.go index b3fd3059e750..538c388e361e 100644 --- a/core/rawdb/freezer_test.go +++ b/core/rawdb/freezer_test.go @@ -28,8 +28,8 @@ import ( "sync" "testing" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/rlp" "github.com/stretchr/testify/require" ) diff --git a/core/rawdb/key_length_iterator.go b/core/rawdb/key_length_iterator.go index d1c5af269a31..6a71fb9ff1ed 100644 --- a/core/rawdb/key_length_iterator.go +++ b/core/rawdb/key_length_iterator.go @@ -16,7 +16,7 @@ package rawdb -import "github.com/ethereum/go-ethereum/ethdb" +import "github.com/GeoDB-Limited/go-ethereum/ethdb" // KeyLengthIterator is a wrapper for a database iterator that ensures only key-value pairs // with a specific key length will be returned. diff --git a/core/rawdb/table_test.go b/core/rawdb/table_test.go index aa6adf3e72b1..ae6990690866 100644 --- a/core/rawdb/table_test.go +++ b/core/rawdb/table_test.go @@ -20,7 +20,7 @@ import ( "bytes" "testing" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/ethdb" ) func TestTableDatabase(t *testing.T) { testTableDatabase(t, "prefix") } diff --git a/core/types/access_list_tx.go b/core/types/access_list_tx.go index 8ad5e739e9eb..bd78dee9fd2c 100644 --- a/core/types/access_list_tx.go +++ b/core/types/access_list_tx.go @@ -19,7 +19,7 @@ package types import ( "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common" ) //go:generate go run github.com/fjl/gencodec@latest -type AccessTuple -out gen_access_tuple.go diff --git a/core/types/block_test.go b/core/types/block_test.go index aa1db2f4faad..bd33909542c9 100644 --- a/core/types/block_test.go +++ b/core/types/block_test.go @@ -23,11 +23,11 @@ import ( "reflect" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rlp" "golang.org/x/crypto/sha3" ) diff --git a/core/types/bloom9.go b/core/types/bloom9.go index 1793c2adc73c..dc05de6c09b0 100644 --- a/core/types/bloom9.go +++ b/core/types/bloom9.go @@ -21,8 +21,8 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/crypto" ) type bytesBacked interface { diff --git a/core/types/bloom9_test.go b/core/types/bloom9_test.go index 893df486dd1b..8f6df9cd498e 100644 --- a/core/types/bloom9_test.go +++ b/core/types/bloom9_test.go @@ -21,8 +21,8 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/crypto" ) func TestBloom(t *testing.T) { diff --git a/core/types/dynamic_fee_tx.go b/core/types/dynamic_fee_tx.go index 53f246ea1fad..52ac2e26ab2b 100644 --- a/core/types/dynamic_fee_tx.go +++ b/core/types/dynamic_fee_tx.go @@ -19,7 +19,7 @@ package types import ( "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common" ) type DynamicFeeTx struct { diff --git a/core/types/hashing.go b/core/types/hashing.go index 3227cf8a7275..e3cc7a0919ce 100644 --- a/core/types/hashing.go +++ b/core/types/hashing.go @@ -20,9 +20,9 @@ import ( "bytes" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/rlp" "golang.org/x/crypto/sha3" ) diff --git a/core/types/hashing_test.go b/core/types/hashing_test.go index 6d1ebf897c92..d1034ceb55eb 100644 --- a/core/types/hashing_test.go +++ b/core/types/hashing_test.go @@ -24,12 +24,12 @@ import ( mrand "math/rand" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/trie" ) func TestDeriveSha(t *testing.T) { diff --git a/core/types/legacy.go b/core/types/legacy.go index 9254381b1e11..2508c75be47a 100644 --- a/core/types/legacy.go +++ b/core/types/legacy.go @@ -19,7 +19,7 @@ package types import ( "errors" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) // IsLegacyStoredReceipts tries to parse the RLP-encoded blob diff --git a/core/types/legacy_tx.go b/core/types/legacy_tx.go index cb86bed772bc..60bdaef24a1c 100644 --- a/core/types/legacy_tx.go +++ b/core/types/legacy_tx.go @@ -19,7 +19,7 @@ package types import ( "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common" ) // LegacyTx is the transaction data of regular Ethereum transactions. diff --git a/core/types/log.go b/core/types/log.go index b27c7ccbd3a9..ae1549157582 100644 --- a/core/types/log.go +++ b/core/types/log.go @@ -19,9 +19,9 @@ package types import ( "io" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) //go:generate go run github.com/fjl/gencodec@latest -type Log -field-override logMarshaling -out gen_log_json.go diff --git a/core/types/log_test.go b/core/types/log_test.go index 0e56acfe4aa3..f9d674701f6d 100644 --- a/core/types/log_test.go +++ b/core/types/log_test.go @@ -22,9 +22,9 @@ import ( "reflect" "testing" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" ) var unmarshalLogTests = map[string]struct { diff --git a/core/types/receipt.go b/core/types/receipt.go index 03e2d7500e02..b1309a598ae0 100644 --- a/core/types/receipt.go +++ b/core/types/receipt.go @@ -24,11 +24,11 @@ import ( "math/big" "unsafe" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) //go:generate go run github.com/fjl/gencodec@latest -type Receipt -field-override receiptMarshaling -out gen_receipt_json.go diff --git a/core/types/receipt_test.go b/core/types/receipt_test.go index bba18d2a7bf3..e484f0463ff6 100644 --- a/core/types/receipt_test.go +++ b/core/types/receipt_test.go @@ -23,10 +23,10 @@ import ( "reflect" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) var ( diff --git a/core/types/state_account.go b/core/types/state_account.go index 3b01be45198f..59ee86888305 100644 --- a/core/types/state_account.go +++ b/core/types/state_account.go @@ -19,7 +19,7 @@ package types import ( "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common" ) //go:generate go run ../../rlp/rlpgen -type StateAccount -out gen_account_rlp.go diff --git a/core/types/transaction_marshalling.go b/core/types/transaction_marshalling.go index aad31a5a97e2..8f67af87a6a0 100644 --- a/core/types/transaction_marshalling.go +++ b/core/types/transaction_marshalling.go @@ -21,8 +21,8 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" ) // txJSON is the JSON representation of transactions. diff --git a/core/types/transaction_signing.go b/core/types/transaction_signing.go index 1d0d2a4c75e7..1a4bbfe39305 100644 --- a/core/types/transaction_signing.go +++ b/core/types/transaction_signing.go @@ -22,9 +22,9 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/params" ) var ErrInvalidChainId = errors.New("invalid chain id for signer") diff --git a/core/types/transaction_signing_test.go b/core/types/transaction_signing_test.go index 689fc38a9b66..a127d0e1a433 100644 --- a/core/types/transaction_signing_test.go +++ b/core/types/transaction_signing_test.go @@ -20,9 +20,9 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) func TestEIP155Signing(t *testing.T) { diff --git a/core/types/transaction_test.go b/core/types/transaction_test.go index a4755675cd25..cf377955cb92 100644 --- a/core/types/transaction_test.go +++ b/core/types/transaction_test.go @@ -27,9 +27,9 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) // The values in those tests are from the Transaction Tests diff --git a/core/types/types_test.go b/core/types/types_test.go index 1fb386d5deef..3fc83e1866d2 100644 --- a/core/types/types_test.go +++ b/core/types/types_test.go @@ -20,9 +20,9 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) type devnull struct{ len int } diff --git a/crypto/bls12381/g1_test.go b/crypto/bls12381/g1_test.go index eef9f4505583..6e13a152a281 100644 --- a/crypto/bls12381/g1_test.go +++ b/crypto/bls12381/g1_test.go @@ -6,7 +6,7 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common" ) func (g *G1) one() *PointG1 { diff --git a/crypto/bls12381/g2_test.go b/crypto/bls12381/g2_test.go index f16f0e5eea72..0f5921715a96 100644 --- a/crypto/bls12381/g2_test.go +++ b/crypto/bls12381/g2_test.go @@ -6,7 +6,7 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common" ) func (g *G2) one() *PointG2 { diff --git a/crypto/bls12381/pairing_test.go b/crypto/bls12381/pairing_test.go index 77676fe9b1f3..aaa84e0c64ea 100644 --- a/crypto/bls12381/pairing_test.go +++ b/crypto/bls12381/pairing_test.go @@ -4,7 +4,7 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common" ) func TestPairingExpected(t *testing.T) { diff --git a/crypto/bls12381/utils.go b/crypto/bls12381/utils.go index de8bf495fe7d..533af24add23 100644 --- a/crypto/bls12381/utils.go +++ b/crypto/bls12381/utils.go @@ -20,7 +20,7 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common" ) func bigFromHex(hex string) *big.Int { diff --git a/crypto/bn256/bn256_fast.go b/crypto/bn256/bn256_fast.go index e3c9b605184f..6ee9c1b55093 100644 --- a/crypto/bn256/bn256_fast.go +++ b/crypto/bn256/bn256_fast.go @@ -9,7 +9,7 @@ package bn256 import ( - bn256cf "github.com/ethereum/go-ethereum/crypto/bn256/cloudflare" + bn256cf "github.com/GeoDB-Limited/go-ethereum/crypto/bn256/cloudflare" ) // G1 is an abstract cyclic group. The zero value is suitable for use as the diff --git a/crypto/bn256/bn256_slow.go b/crypto/bn256/bn256_slow.go index 4c0c351e2da7..38a9fd6646e6 100644 --- a/crypto/bn256/bn256_slow.go +++ b/crypto/bn256/bn256_slow.go @@ -8,7 +8,7 @@ // Package bn256 implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve. package bn256 -import bn256 "github.com/ethereum/go-ethereum/crypto/bn256/google" +import bn256 "github.com/GeoDB-Limited/go-ethereum/crypto/bn256/google" // G1 is an abstract cyclic group. The zero value is suitable for use as the // output of an operation, but cannot be used as an input. diff --git a/crypto/crypto.go b/crypto/crypto.go index 40969a289582..1b89f8070f17 100644 --- a/crypto/crypto.go +++ b/crypto/crypto.go @@ -30,13 +30,13 @@ import ( "math/big" "os" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/rlp" "golang.org/x/crypto/sha3" ) -//SignatureLength indicates the byte length required to carry a signature with recovery id. +// SignatureLength indicates the byte length required to carry a signature with recovery id. const SignatureLength = 64 + 1 // 64 bytes ECDSA signature + 1 byte recovery id // RecoveryIDOffset points to the byte offset within the signature that contains the recovery id. diff --git a/crypto/crypto_test.go b/crypto/crypto_test.go index f9b0d3e834f1..071434181590 100644 --- a/crypto/crypto_test.go +++ b/crypto/crypto_test.go @@ -26,8 +26,8 @@ import ( "reflect" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" ) var testAddrHex = "970e8128ab834e8eac17ab8e3812f010678cf791" diff --git a/crypto/ecies/ecies_test.go b/crypto/ecies/ecies_test.go index 96e33da006fb..1aa9ab61815d 100644 --- a/crypto/ecies/ecies_test.go +++ b/crypto/ecies/ecies_test.go @@ -39,7 +39,7 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/crypto" ) func TestKDF(t *testing.T) { diff --git a/crypto/ecies/params.go b/crypto/ecies/params.go index 39e7c8947373..027accf42625 100644 --- a/crypto/ecies/params.go +++ b/crypto/ecies/params.go @@ -42,7 +42,7 @@ import ( "fmt" "hash" - ethcrypto "github.com/ethereum/go-ethereum/crypto" + ethcrypto "github.com/GeoDB-Limited/go-ethereum/crypto" ) var ( diff --git a/crypto/secp256k1/dummy.go b/crypto/secp256k1/dummy.go index 65a75080f60a..cfa9fc38e6bf 100644 --- a/crypto/secp256k1/dummy.go +++ b/crypto/secp256k1/dummy.go @@ -15,7 +15,7 @@ package secp256k1 import ( - _ "github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/include" - _ "github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/src" - _ "github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/src/modules/recovery" + _ "github.com/GeoDB-Limited/go-ethereum/crypto/secp256k1/libsecp256k1/include" + _ "github.com/GeoDB-Limited/go-ethereum/crypto/secp256k1/libsecp256k1/src" + _ "github.com/GeoDB-Limited/go-ethereum/crypto/secp256k1/libsecp256k1/src/modules/recovery" ) diff --git a/crypto/signature_cgo.go b/crypto/signature_cgo.go index bd72d97d3b62..c9b88dacc456 100644 --- a/crypto/signature_cgo.go +++ b/crypto/signature_cgo.go @@ -24,8 +24,8 @@ import ( "crypto/elliptic" "fmt" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto/secp256k1" + "github.com/GeoDB-Limited/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/crypto/secp256k1" ) // Ecrecover returns the uncompressed public key that created the given signature. diff --git a/crypto/signature_test.go b/crypto/signature_test.go index aecff76bfbda..4f67f01f0dc0 100644 --- a/crypto/signature_test.go +++ b/crypto/signature_test.go @@ -22,9 +22,9 @@ import ( "reflect" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/common/math" ) var ( diff --git a/eth/api.go b/eth/api.go index f81dfa922b7a..f3b2d97b7e60 100644 --- a/eth/api.go +++ b/eth/api.go @@ -28,17 +28,17 @@ 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/ethereum/go-ethereum/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/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/internal/ethapi" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/rpc" + "github.com/GeoDB-Limited/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 6577ac1e1af4..9f2ea1aa135f 100644 --- a/eth/api_backend.go +++ b/eth/api_backend.go @@ -22,22 +22,22 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "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/gasprice" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/miner" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/GeoDB-Limited/go-ethereum" + "github.com/GeoDB-Limited/go-ethereum/accounts" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/consensus" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/bloombits" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/eth/gasprice" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/event" + "github.com/GeoDB-Limited/go-ethereum/miner" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rpc" ) // EthAPIBackend implements ethapi.Backend for full nodes diff --git a/eth/api_test.go b/eth/api_test.go index 39a1d5846004..2eccda15e1e7 100644 --- a/eth/api_test.go +++ b/eth/api_test.go @@ -24,11 +24,11 @@ import ( "sort" "testing" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/crypto" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/crypto" ) var dumper = spew.ConfigState{Indent: " "} diff --git a/eth/backend.go b/eth/backend.go index 4e6d71523531..0cfd6d6d7ced 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -26,37 +26,37 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/accounts" - "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/beacon" - "github.com/ethereum/go-ethereum/consensus/clique" - "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/pruner" - "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/ethconfig" - "github.com/ethereum/go-ethereum/eth/filters" - "github.com/ethereum/go-ethereum/eth/gasprice" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/eth/protocols/snap" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/internal/shutdowncheck" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/miner" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/dnsdisc" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/rpc" + "github.com/GeoDB-Limited/go-ethereum/accounts" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/consensus" + "github.com/GeoDB-Limited/go-ethereum/consensus/beacon" + "github.com/GeoDB-Limited/go-ethereum/consensus/clique" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/bloombits" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/state/pruner" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/eth/downloader" + "github.com/GeoDB-Limited/go-ethereum/eth/ethconfig" + "github.com/GeoDB-Limited/go-ethereum/eth/filters" + "github.com/GeoDB-Limited/go-ethereum/eth/gasprice" + "github.com/GeoDB-Limited/go-ethereum/eth/protocols/eth" + "github.com/GeoDB-Limited/go-ethereum/eth/protocols/snap" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/event" + "github.com/GeoDB-Limited/go-ethereum/internal/ethapi" + "github.com/GeoDB-Limited/go-ethereum/internal/shutdowncheck" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/miner" + "github.com/GeoDB-Limited/go-ethereum/node" + "github.com/GeoDB-Limited/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/p2p/dnsdisc" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/rpc" ) // Config contains the configuration options of the ETH protocol. diff --git a/eth/bloombits.go b/eth/bloombits.go index 0cb7050d2327..13770afa4696 100644 --- a/eth/bloombits.go +++ b/eth/bloombits.go @@ -19,8 +19,8 @@ package eth import ( "time" - "github.com/ethereum/go-ethereum/common/bitutil" - "github.com/ethereum/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/common/bitutil" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" ) const ( diff --git a/eth/discovery.go b/eth/discovery.go index 70668b2b70bf..b71656e8113e 100644 --- a/eth/discovery.go +++ b/eth/discovery.go @@ -17,10 +17,10 @@ package eth import ( - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/forkid" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/forkid" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) // ethEntry is the "eth" ENR entry which advertises eth protocol diff --git a/eth/handler.go b/eth/handler.go index 40edfa2d1758..8aa6e8b86613 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -24,21 +24,21 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/beacon" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/forkid" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/fetcher" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/eth/protocols/snap" - "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/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/consensus" + "github.com/GeoDB-Limited/go-ethereum/consensus/beacon" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/forkid" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/eth/downloader" + "github.com/GeoDB-Limited/go-ethereum/eth/fetcher" + "github.com/GeoDB-Limited/go-ethereum/eth/protocols/eth" + "github.com/GeoDB-Limited/go-ethereum/eth/protocols/snap" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/event" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/params" ) const ( diff --git a/eth/handler_eth.go b/eth/handler_eth.go index bfe95e8c4d77..9e0ab540140d 100644 --- a/eth/handler_eth.go +++ b/eth/handler_eth.go @@ -22,11 +22,11 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/eth/protocols/eth" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" ) // ethHandler implements the eth.Backend interface to handle the various network diff --git a/eth/handler_eth_test.go b/eth/handler_eth_test.go index 7d5027ae77f6..ed8a49b8b228 100644 --- a/eth/handler_eth_test.go +++ b/eth/handler_eth_test.go @@ -24,21 +24,21 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/forkid" - "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/protocols/eth" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/consensus" + "github.com/GeoDB-Limited/go-ethereum/consensus/ethash" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/forkid" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/eth/downloader" + "github.com/GeoDB-Limited/go-ethereum/eth/protocols/eth" + "github.com/GeoDB-Limited/go-ethereum/event" + "github.com/GeoDB-Limited/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) // testEthHandler is a mock event handler to listen for inbound network requests diff --git a/eth/handler_snap.go b/eth/handler_snap.go index 767416ffd650..ea60a3e34a9d 100644 --- a/eth/handler_snap.go +++ b/eth/handler_snap.go @@ -17,9 +17,9 @@ package eth import ( - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/eth/protocols/snap" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/eth/protocols/snap" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" ) // snapHandler implements the snap.Backend interface to handle the various network diff --git a/eth/handler_test.go b/eth/handler_test.go index d967b6df935e..dd0e775f60bd 100644 --- a/eth/handler_test.go +++ b/eth/handler_test.go @@ -21,18 +21,18 @@ import ( "sort" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/ethash" - "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/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/consensus" + "github.com/GeoDB-Limited/go-ethereum/consensus/ethash" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/eth/downloader" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/event" + "github.com/GeoDB-Limited/go-ethereum/params" ) var ( diff --git a/eth/peer.go b/eth/peer.go index 024a6e619371..f7bb693be7f4 100644 --- a/eth/peer.go +++ b/eth/peer.go @@ -19,8 +19,8 @@ package eth import ( "math/big" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/eth/protocols/snap" + "github.com/GeoDB-Limited/go-ethereum/eth/protocols/eth" + "github.com/GeoDB-Limited/go-ethereum/eth/protocols/snap" ) // ethPeerInfo represents a short summary of the `eth` sub-protocol metadata known diff --git a/eth/peerset.go b/eth/peerset.go index 3e54a481e36b..1948b3688a61 100644 --- a/eth/peerset.go +++ b/eth/peerset.go @@ -21,10 +21,10 @@ import ( "math/big" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/eth/protocols/snap" - "github.com/ethereum/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/eth/protocols/eth" + "github.com/GeoDB-Limited/go-ethereum/eth/protocols/snap" + "github.com/GeoDB-Limited/go-ethereum/p2p" ) var ( diff --git a/eth/protocols/eth/broadcast.go b/eth/protocols/eth/broadcast.go index 614e6361c646..dce95857334e 100644 --- a/eth/protocols/eth/broadcast.go +++ b/eth/protocols/eth/broadcast.go @@ -19,8 +19,8 @@ package eth import ( "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/types" ) const ( diff --git a/eth/protocols/eth/discovery.go b/eth/protocols/eth/discovery.go index 025479b423ef..51b9f069e6f3 100644 --- a/eth/protocols/eth/discovery.go +++ b/eth/protocols/eth/discovery.go @@ -17,10 +17,10 @@ package eth import ( - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/forkid" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/forkid" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) // enrEntry is the ENR entry which advertises `eth` protocol on the discovery. diff --git a/eth/protocols/eth/dispatcher.go b/eth/protocols/eth/dispatcher.go index bf88d400d4a0..9a3d2f118476 100644 --- a/eth/protocols/eth/dispatcher.go +++ b/eth/protocols/eth/dispatcher.go @@ -21,7 +21,7 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/p2p" ) var ( diff --git a/eth/protocols/eth/handler.go b/eth/protocols/eth/handler.go index 81d45d8b8fcf..a77090feb73c 100644 --- a/eth/protocols/eth/handler.go +++ b/eth/protocols/eth/handler.go @@ -21,14 +21,14 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/metrics" + "github.com/GeoDB-Limited/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/p2p/enr" + "github.com/GeoDB-Limited/go-ethereum/params" ) const ( diff --git a/eth/protocols/eth/handler_test.go b/eth/protocols/eth/handler_test.go index 55e612b801e0..527e90a4f9e3 100644 --- a/eth/protocols/eth/handler_test.go +++ b/eth/protocols/eth/handler_test.go @@ -22,18 +22,18 @@ import ( "math/rand" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "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/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/consensus/ethash" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/params" ) var ( diff --git a/eth/protocols/eth/handlers.go b/eth/protocols/eth/handlers.go index 8fc966e7aeed..6363420168f2 100644 --- a/eth/protocols/eth/handlers.go +++ b/eth/protocols/eth/handlers.go @@ -20,12 +20,12 @@ import ( "encoding/json" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/trie" ) // handleGetBlockHeaders66 is the eth/66 version of handleGetBlockHeaders diff --git a/eth/protocols/eth/handshake.go b/eth/protocols/eth/handshake.go index 57a4e0bc3470..6385e4f68549 100644 --- a/eth/protocols/eth/handshake.go +++ b/eth/protocols/eth/handshake.go @@ -21,9 +21,9 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/forkid" - "github.com/ethereum/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/forkid" + "github.com/GeoDB-Limited/go-ethereum/p2p" ) const ( diff --git a/eth/protocols/eth/handshake_test.go b/eth/protocols/eth/handshake_test.go index 05d473e05795..31783403e195 100644 --- a/eth/protocols/eth/handshake_test.go +++ b/eth/protocols/eth/handshake_test.go @@ -20,10 +20,10 @@ import ( "errors" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/forkid" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/forkid" + "github.com/GeoDB-Limited/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" ) // Tests that handshake failures are detected and reported correctly. diff --git a/eth/protocols/eth/peer.go b/eth/protocols/eth/peer.go index a8af9640bb89..51a66f83aa14 100644 --- a/eth/protocols/eth/peer.go +++ b/eth/protocols/eth/peer.go @@ -21,11 +21,11 @@ import ( "math/rand" "sync" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/rlp" mapset "github.com/deckarep/golang-set" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rlp" ) const ( diff --git a/eth/protocols/eth/peer_test.go b/eth/protocols/eth/peer_test.go index fc93443708fd..b9bd653395c9 100644 --- a/eth/protocols/eth/peer_test.go +++ b/eth/protocols/eth/peer_test.go @@ -23,9 +23,9 @@ import ( "crypto/rand" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" ) // testPeer is a simulated peer to allow testing direct network calls. diff --git a/eth/protocols/eth/protocol.go b/eth/protocols/eth/protocol.go index a8420ad68c7a..c1f37272f386 100644 --- a/eth/protocols/eth/protocol.go +++ b/eth/protocols/eth/protocol.go @@ -22,10 +22,10 @@ import ( "io" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/forkid" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/forkid" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) // Constants to match up protocol versions and messages diff --git a/eth/protocols/eth/protocol_test.go b/eth/protocols/eth/protocol_test.go index 7910c9b735a1..3409f9606ad4 100644 --- a/eth/protocols/eth/protocol_test.go +++ b/eth/protocols/eth/protocol_test.go @@ -21,9 +21,9 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) // Tests that the custom union field encoder and decoder works correctly. diff --git a/eth/protocols/eth/tracker.go b/eth/protocols/eth/tracker.go index 324fd22839c4..e1efef287ac3 100644 --- a/eth/protocols/eth/tracker.go +++ b/eth/protocols/eth/tracker.go @@ -19,7 +19,7 @@ package eth import ( "time" - "github.com/ethereum/go-ethereum/p2p/tracker" + "github.com/GeoDB-Limited/go-ethereum/p2p/tracker" ) // requestTracker is a singleton tracker for eth/66 and newer request times. diff --git a/eth/protocols/snap/protocol.go b/eth/protocols/snap/protocol.go index 60a254f396d5..be19b3f34a19 100644 --- a/eth/protocols/snap/protocol.go +++ b/eth/protocols/snap/protocol.go @@ -20,9 +20,9 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/state/snapshot" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/state/snapshot" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) // Constants to match up protocol versions and messages diff --git a/eth/protocols/snap/tracker.go b/eth/protocols/snap/tracker.go index 2cf59cc23acd..3281532f047e 100644 --- a/eth/protocols/snap/tracker.go +++ b/eth/protocols/snap/tracker.go @@ -19,7 +19,7 @@ package snap import ( "time" - "github.com/ethereum/go-ethereum/p2p/tracker" + "github.com/GeoDB-Limited/go-ethereum/p2p/tracker" ) // requestTracker is a singleton tracker for request times. diff --git a/eth/state_accessor.go b/eth/state_accessor.go index f01db93a6785..def0dbf831e7 100644 --- a/eth/state_accessor.go +++ b/eth/state_accessor.go @@ -21,13 +21,13 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "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/log" - "github.com/ethereum/go-ethereum/trie" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/trie" ) // StateAtBlock retrieves the state database associated with a certain block. @@ -36,15 +36,15 @@ import ( // base layer statedb can be passed then it's regarded as the statedb of the // parent block. // Parameters: -// - block: The block for which we want the state (== state at the stateRoot of the parent) -// - reexec: The maximum number of blocks to reprocess trying to obtain the desired state -// - base: If the caller is tracing multiple blocks, the caller can provide the parent state -// continuously from the callsite. -// - checklive: if true, then the live 'blockchain' state database is used. If the caller want to -// perform Commit or other 'save-to-disk' changes, this should be set to false to avoid -// storing trash persistently -// - preferDisk: this arg can be used by the caller to signal that even though the 'base' is provided, -// it would be preferrable to start from a fresh state, if we have it on disk. +// - block: The block for which we want the state (== state at the stateRoot of the parent) +// - reexec: The maximum number of blocks to reprocess trying to obtain the desired state +// - base: If the caller is tracing multiple blocks, the caller can provide the parent state +// continuously from the callsite. +// - checklive: if true, then the live 'blockchain' state database is used. If the caller want to +// perform Commit or other 'save-to-disk' changes, this should be set to false to avoid +// storing trash persistently +// - preferDisk: this arg can be used by the caller to signal that even though the 'base' is provided, +// it would be preferrable to start from a fresh state, if we have it on disk. func (eth *Ethereum) StateAtBlock(block *types.Block, reexec uint64, base *state.StateDB, checkLive bool, preferDisk bool) (statedb *state.StateDB, err error) { var ( current *types.Block diff --git a/eth/sync.go b/eth/sync.go index d67d2311d0d9..422d899ab5ed 100644 --- a/eth/sync.go +++ b/eth/sync.go @@ -22,12 +22,12 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/eth/downloader" + "github.com/GeoDB-Limited/go-ethereum/eth/protocols/eth" + "github.com/GeoDB-Limited/go-ethereum/log" ) const ( diff --git a/eth/sync_test.go b/eth/sync_test.go index 929a2a9d181c..c98c1017e092 100644 --- a/eth/sync_test.go +++ b/eth/sync_test.go @@ -21,11 +21,11 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/eth/protocols/snap" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/eth/downloader" + "github.com/GeoDB-Limited/go-ethereum/eth/protocols/eth" + "github.com/GeoDB-Limited/go-ethereum/eth/protocols/snap" + "github.com/GeoDB-Limited/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" ) // Tests that snap sync is disabled after a successful sync cycle. diff --git a/eth/tracers/api.go b/eth/tracers/api.go index 6055a556eb7c..a25d8f831680 100644 --- a/eth/tracers/api.go +++ b/eth/tracers/api.go @@ -28,21 +28,21 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus" - "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/logger" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/rpc" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/consensus" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/eth/tracers/logger" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/internal/ethapi" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/rpc" ) const ( diff --git a/eth/tracers/api_test.go b/eth/tracers/api_test.go index a3c0a724941e..5270305561bd 100644 --- a/eth/tracers/api_test.go +++ b/eth/tracers/api_test.go @@ -29,20 +29,20 @@ import ( "testing" "time" - "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/ethash" - "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/internal/ethapi" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/consensus" + "github.com/GeoDB-Limited/go-ethereum/consensus/ethash" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/internal/ethapi" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rpc" ) var ( diff --git a/eth/tracers/internal/tracetest/calltrace_test.go b/eth/tracers/internal/tracetest/calltrace_test.go index cf7c1e6c0d0e..f73832b93523 100644 --- a/eth/tracers/internal/tracetest/calltrace_test.go +++ b/eth/tracers/internal/tracetest/calltrace_test.go @@ -26,22 +26,22 @@ import ( "testing" "unicode" - "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/core" - "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/crypto" - "github.com/ethereum/go-ethereum/eth/tracers" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/tests" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/eth/tracers" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/tests" // Force-load native and js pacakges, to trigger registration - _ "github.com/ethereum/go-ethereum/eth/tracers/js" - _ "github.com/ethereum/go-ethereum/eth/tracers/native" + _ "github.com/GeoDB-Limited/go-ethereum/eth/tracers/js" + _ "github.com/GeoDB-Limited/go-ethereum/eth/tracers/native" ) // To generate a new callTracer test, copy paste the makeTest method below into diff --git a/eth/tracers/js/tracer.go b/eth/tracers/js/tracer.go index 30c5c2cf149a..5a8ab6a2350a 100644 --- a/eth/tracers/js/tracer.go +++ b/eth/tracers/js/tracer.go @@ -28,14 +28,14 @@ import ( "unicode" "unsafe" - "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/vm" - "github.com/ethereum/go-ethereum/crypto" - tracers2 "github.com/ethereum/go-ethereum/eth/tracers" - "github.com/ethereum/go-ethereum/eth/tracers/js/internal/tracers" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/crypto" + tracers2 "github.com/GeoDB-Limited/go-ethereum/eth/tracers" + "github.com/GeoDB-Limited/go-ethereum/eth/tracers/js/internal/tracers" + "github.com/GeoDB-Limited/go-ethereum/log" "gopkg.in/olebedev/go-duktape.v3" ) diff --git a/eth/tracers/js/tracer_test.go b/eth/tracers/js/tracer_test.go index cf0a4aa8284f..fc2e5f4739cc 100644 --- a/eth/tracers/js/tracer_test.go +++ b/eth/tracers/js/tracer_test.go @@ -23,11 +23,11 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/eth/tracers" + "github.com/GeoDB-Limited/go-ethereum/params" ) type account struct{} diff --git a/eth/tracers/logger/access_list_tracer.go b/eth/tracers/logger/access_list_tracer.go index 181fc47acb22..87ddea7a17cd 100644 --- a/eth/tracers/logger/access_list_tracer.go +++ b/eth/tracers/logger/access_list_tracer.go @@ -20,9 +20,9 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/core/vm" ) // accessList is an accumulator for the set of accounts and storage slots an EVM diff --git a/eth/tracers/logger/gen_structlog.go b/eth/tracers/logger/gen_structlog.go index 9e71b555cb63..f57ac606c011 100644 --- a/eth/tracers/logger/gen_structlog.go +++ b/eth/tracers/logger/gen_structlog.go @@ -5,10 +5,10 @@ package logger import ( "encoding/json" - "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/core/vm" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/core/vm" "github.com/holiman/uint256" ) diff --git a/eth/tracers/logger/logger.go b/eth/tracers/logger/logger.go index 8461935822d8..10b64d3c6fba 100644 --- a/eth/tracers/logger/logger.go +++ b/eth/tracers/logger/logger.go @@ -24,12 +24,12 @@ import ( "strings" "time" - "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/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/params" "github.com/holiman/uint256" ) diff --git a/eth/tracers/logger/logger_json.go b/eth/tracers/logger/logger_json.go index 4a7abacba249..e6c5a34e468c 100644 --- a/eth/tracers/logger/logger_json.go +++ b/eth/tracers/logger/logger_json.go @@ -22,9 +22,9 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/core/vm" ) type JSONLogger struct { diff --git a/eth/tracers/logger/logger_test.go b/eth/tracers/logger/logger_test.go index 205ee311201a..9dc9d874af0b 100644 --- a/eth/tracers/logger/logger_test.go +++ b/eth/tracers/logger/logger_test.go @@ -20,10 +20,10 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/params" ) type dummyContractRef struct { diff --git a/eth/tracers/native/4byte.go b/eth/tracers/native/4byte.go index ad1d89071c52..031470171704 100644 --- a/eth/tracers/native/4byte.go +++ b/eth/tracers/native/4byte.go @@ -23,9 +23,9 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/eth/tracers" ) func init() { @@ -37,14 +37,15 @@ func init() { // a reversed signature can be matched against the size of the data. // // Example: -// > debug.traceTransaction( "0x214e597e35da083692f5386141e69f47e973b2c56e7a8073b1ea08fd7571e9de", {tracer: "4byteTracer"}) -// { -// 0x27dc297e-128: 1, -// 0x38cc4831-0: 2, -// 0x524f3889-96: 1, -// 0xadf59f99-288: 1, -// 0xc281d19e-0: 1 -// } +// +// > debug.traceTransaction( "0x214e597e35da083692f5386141e69f47e973b2c56e7a8073b1ea08fd7571e9de", {tracer: "4byteTracer"}) +// { +// 0x27dc297e-128: 1, +// 0x38cc4831-0: 2, +// 0x524f3889-96: 1, +// 0xadf59f99-288: 1, +// 0xc281d19e-0: 1 +// } type fourByteTracer struct { env *vm.EVM ids map[string]int // ids aggregates the 4byte ids found diff --git a/eth/tracers/native/call.go b/eth/tracers/native/call.go index 08dc76aa6174..6f3535cde8ef 100644 --- a/eth/tracers/native/call.go +++ b/eth/tracers/native/call.go @@ -25,9 +25,9 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/eth/tracers" ) func init() { diff --git a/eth/tracers/native/noop.go b/eth/tracers/native/noop.go index 15b7dbccb7cf..68243964de61 100644 --- a/eth/tracers/native/noop.go +++ b/eth/tracers/native/noop.go @@ -21,9 +21,9 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/eth/tracers" ) func init() { diff --git a/eth/tracers/native/prestate.go b/eth/tracers/native/prestate.go index 598663ac81c0..0e6545750b3c 100644 --- a/eth/tracers/native/prestate.go +++ b/eth/tracers/native/prestate.go @@ -22,12 +22,12 @@ import ( "sync/atomic" "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/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/tracers" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/eth/tracers" ) func init() { diff --git a/eth/tracers/native/tracer.go b/eth/tracers/native/tracer.go index 3158654f33fc..f0adb2e906f6 100644 --- a/eth/tracers/native/tracer.go +++ b/eth/tracers/native/tracer.go @@ -27,9 +27,11 @@ Aside from implementing the tracer, it also needs to register itself, using the Example: ```golang -func init() { - register("noopTracerNative", newNoopTracer) -} + + func init() { + register("noopTracerNative", newNoopTracer) + } + ``` */ package native @@ -37,7 +39,7 @@ package native import ( "errors" - "github.com/ethereum/go-ethereum/eth/tracers" + "github.com/GeoDB-Limited/go-ethereum/eth/tracers" ) // init registers itself this packages as a lookup for tracers. diff --git a/eth/tracers/tracers.go b/eth/tracers/tracers.go index e7073e7d2edf..6add6e7c5d98 100644 --- a/eth/tracers/tracers.go +++ b/eth/tracers/tracers.go @@ -21,8 +21,8 @@ import ( "encoding/json" "errors" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/vm" ) // Context contains some contextual infos for a transaction execution that is not diff --git a/eth/tracers/tracers_test.go b/eth/tracers/tracers_test.go index ce9289dd756b..f9226e66489f 100644 --- a/eth/tracers/tracers_test.go +++ b/eth/tracers/tracers_test.go @@ -20,16 +20,16 @@ import ( "math/big" "testing" - "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/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/tracers/logger" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/tests" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/eth/tracers/logger" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/tests" ) // callTrace is the result of a callTracer run. diff --git a/ethdb/dbtest/testsuite.go b/ethdb/dbtest/testsuite.go index 6b206af48d5e..a109f8e45223 100644 --- a/ethdb/dbtest/testsuite.go +++ b/ethdb/dbtest/testsuite.go @@ -22,7 +22,7 @@ import ( "sort" "testing" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/ethdb" ) // TestDatabaseSuite runs a suite of tests against a KeyValueStore database diff --git a/ethdb/leveldb/leveldb.go b/ethdb/leveldb/leveldb.go index 15bd4e6eb3b5..09f6da0dcc8e 100644 --- a/ethdb/leveldb/leveldb.go +++ b/ethdb/leveldb/leveldb.go @@ -27,10 +27,10 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/metrics" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/filter" @@ -266,13 +266,14 @@ func (db *Database) Path() string { // the metrics subsystem. // // This is how a LevelDB stats table looks like (currently): -// Compactions -// Level | Tables | Size(MB) | Time(sec) | Read(MB) | Write(MB) -// -------+------------+---------------+---------------+---------------+--------------- -// 0 | 0 | 0.00000 | 1.27969 | 0.00000 | 12.31098 -// 1 | 85 | 109.27913 | 28.09293 | 213.92493 | 214.26294 -// 2 | 523 | 1000.37159 | 7.26059 | 66.86342 | 66.77884 -// 3 | 570 | 1113.18458 | 0.00000 | 0.00000 | 0.00000 +// +// Compactions +// Level | Tables | Size(MB) | Time(sec) | Read(MB) | Write(MB) +// -------+------------+---------------+---------------+---------------+--------------- +// 0 | 0 | 0.00000 | 1.27969 | 0.00000 | 12.31098 +// 1 | 85 | 109.27913 | 28.09293 | 213.92493 | 214.26294 +// 2 | 523 | 1000.37159 | 7.26059 | 66.86342 | 66.77884 +// 3 | 570 | 1113.18458 | 0.00000 | 0.00000 | 0.00000 // // This is how the write delay look like (currently): // DelayN:5 Delay:406.604657ms Paused: false diff --git a/ethdb/leveldb/leveldb_test.go b/ethdb/leveldb/leveldb_test.go index 421d9b4693f4..71f374fc3984 100644 --- a/ethdb/leveldb/leveldb_test.go +++ b/ethdb/leveldb/leveldb_test.go @@ -19,8 +19,8 @@ package leveldb import ( "testing" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/ethdb/dbtest" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/ethdb/dbtest" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/storage" ) diff --git a/ethdb/memorydb/memorydb.go b/ethdb/memorydb/memorydb.go index 95ec9bb8aa46..82ef3a1aa740 100644 --- a/ethdb/memorydb/memorydb.go +++ b/ethdb/memorydb/memorydb.go @@ -23,8 +23,8 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/ethdb" ) var ( diff --git a/ethdb/memorydb/memorydb_test.go b/ethdb/memorydb/memorydb_test.go index dba18ad3062b..974f05a28e15 100644 --- a/ethdb/memorydb/memorydb_test.go +++ b/ethdb/memorydb/memorydb_test.go @@ -19,8 +19,8 @@ package memorydb import ( "testing" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/ethdb/dbtest" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/ethdb/dbtest" ) func TestMemoryDB(t *testing.T) { diff --git a/event/example_feed_test.go b/event/example_feed_test.go index 9b5ad50df546..74d1420be0c8 100644 --- a/event/example_feed_test.go +++ b/event/example_feed_test.go @@ -19,7 +19,7 @@ package event_test import ( "fmt" - "github.com/ethereum/go-ethereum/event" + "github.com/GeoDB-Limited/go-ethereum/event" ) func ExampleFeed_acknowledgedEvents() { diff --git a/event/example_scope_test.go b/event/example_scope_test.go index 825a8deeacba..216bd0d52e40 100644 --- a/event/example_scope_test.go +++ b/event/example_scope_test.go @@ -20,7 +20,7 @@ import ( "fmt" "sync" - "github.com/ethereum/go-ethereum/event" + "github.com/GeoDB-Limited/go-ethereum/event" ) // This example demonstrates how SubscriptionScope can be used to control the lifetime of diff --git a/event/example_subscription_test.go b/event/example_subscription_test.go index 5c76b55d98e8..f750f8e492a6 100644 --- a/event/example_subscription_test.go +++ b/event/example_subscription_test.go @@ -19,7 +19,7 @@ package event_test import ( "fmt" - "github.com/ethereum/go-ethereum/event" + "github.com/GeoDB-Limited/go-ethereum/event" ) func ExampleNewSubscription() { diff --git a/event/subscription.go b/event/subscription.go index 6c62874719f2..c6c3a3928f6a 100644 --- a/event/subscription.go +++ b/event/subscription.go @@ -21,7 +21,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common/mclock" + "github.com/GeoDB-Limited/go-ethereum/common/mclock" ) // Subscription represents a stream of events. The carrier of the events is typically a diff --git a/light/lightchain.go b/light/lightchain.go index 0cc88b46e7e0..6037eba18e77 100644 --- a/light/lightchain.go +++ b/light/lightchain.go @@ -26,17 +26,17 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "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/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/consensus" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/event" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rlp" lru "github.com/hashicorp/golang-lru" ) diff --git a/light/lightchain_test.go b/light/lightchain_test.go index 8600e56345f6..080d4ed74d00 100644 --- a/light/lightchain_test.go +++ b/light/lightchain_test.go @@ -22,13 +22,13 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "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/ethdb" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/consensus/ethash" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/params" ) // So we can deterministically seed different blockchains diff --git a/light/nodeset.go b/light/nodeset.go index 3662596785c7..f51a2cc3e551 100644 --- a/light/nodeset.go +++ b/light/nodeset.go @@ -20,10 +20,10 @@ import ( "errors" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) // NodeSet stores a set of trie nodes. It implements trie.Database and can also diff --git a/light/odr.go b/light/odr.go index 9521dd53e85a..e449e93d757a 100644 --- a/light/odr.go +++ b/light/odr.go @@ -21,11 +21,11 @@ import ( "errors" "math/big" - "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/ethdb" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/ethdb" ) // NoOdr is the default context passed to an ODR capable function when the ODR diff --git a/light/odr_test.go b/light/odr_test.go index fdf657a82ec5..bca7c881845f 100644 --- a/light/odr_test.go +++ b/light/odr_test.go @@ -24,19 +24,19 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus/ethash" - "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/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/consensus/ethash" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/trie" ) var ( diff --git a/light/odr_util.go b/light/odr_util.go index bbbcdbce2135..745b3fe847fe 100644 --- a/light/odr_util.go +++ b/light/odr_util.go @@ -22,11 +22,11 @@ import ( "errors" "math/big" - "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/rlp" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/rlp" ) // errNonCanonicalHash is returned if the requested chain data doesn't belong diff --git a/light/postprocess.go b/light/postprocess.go index ce38d091e891..63c5834dc6bc 100644 --- a/light/postprocess.go +++ b/light/postprocess.go @@ -25,17 +25,17 @@ import ( "math/big" "time" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/bitutil" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/trie" mapset "github.com/deckarep/golang-set" - "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/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "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/trie" ) // IndexerConfig includes a set of configs for chain indexers. diff --git a/light/trie.go b/light/trie.go index 4ab6f4ace075..37ce1050175e 100644 --- a/light/trie.go +++ b/light/trie.go @@ -21,14 +21,14 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/common" - "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/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/trie" ) var ( diff --git a/light/trie_test.go b/light/trie_test.go index e8294cc2a235..cb37e2955be9 100644 --- a/light/trie_test.go +++ b/light/trie_test.go @@ -23,14 +23,14 @@ import ( "math/big" "testing" + "github.com/GeoDB-Limited/go-ethereum/consensus/ethash" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/trie" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/consensus/ethash" - "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/vm" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" ) func TestNodeIterator(t *testing.T) { diff --git a/light/txpool.go b/light/txpool.go index a7df4aeec388..ee0ba626a891 100644 --- a/light/txpool.go +++ b/light/txpool.go @@ -23,15 +23,15 @@ import ( "sync" "time" - "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/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/ethdb" + "github.com/GeoDB-Limited/go-ethereum/event" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/params" ) const ( @@ -76,10 +76,13 @@ type TxPool struct { // // Send instructs backend to forward new transactions // NewHead notifies backend about a new head after processed by the tx pool, -// including mined and rolled back transactions since the last event +// +// including mined and rolled back transactions since the last event +// // Discard notifies backend about transactions that should be discarded either -// because they have been replaced by a re-send or because they have been mined -// long ago and no rollback is expected +// +// because they have been replaced by a re-send or because they have been mined +// long ago and no rollback is expected type TxRelayBackend interface { Send(txs types.Transactions) NewHead(head common.Hash, mined []common.Hash, rollback []common.Hash) diff --git a/light/txpool_test.go b/light/txpool_test.go index cc2651d29ae5..83c1745153ff 100644 --- a/light/txpool_test.go +++ b/light/txpool_test.go @@ -23,13 +23,13 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "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/core/vm" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/consensus/ethash" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/rawdb" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/core/vm" + "github.com/GeoDB-Limited/go-ethereum/params" ) type testTxRelay struct { diff --git a/metrics/cpu_enabled.go b/metrics/cpu_enabled.go index 533d40b85a58..fc8b16b0b9bb 100644 --- a/metrics/cpu_enabled.go +++ b/metrics/cpu_enabled.go @@ -20,7 +20,7 @@ package metrics import ( - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" "github.com/shirou/gopsutil/cpu" ) diff --git a/metrics/cputime_unix.go b/metrics/cputime_unix.go index 3c56a75d0077..5ac78d9f530e 100644 --- a/metrics/cputime_unix.go +++ b/metrics/cputime_unix.go @@ -22,7 +22,7 @@ package metrics import ( syscall "golang.org/x/sys/unix" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" ) // getProcessCPUTime retrieves the process' CPU time since program startup. diff --git a/metrics/exp/exp.go b/metrics/exp/exp.go index 3ebe8cc68aad..818846a477e6 100644 --- a/metrics/exp/exp.go +++ b/metrics/exp/exp.go @@ -8,9 +8,9 @@ import ( "net/http" "sync" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/metrics/prometheus" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/metrics" + "github.com/GeoDB-Limited/go-ethereum/metrics/prometheus" ) type exp struct { diff --git a/metrics/influxdb/influxdb.go b/metrics/influxdb/influxdb.go index 52d00910343e..404963d55886 100644 --- a/metrics/influxdb/influxdb.go +++ b/metrics/influxdb/influxdb.go @@ -5,8 +5,8 @@ import ( uurl "net/url" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/metrics" "github.com/influxdata/influxdb/client" ) diff --git a/metrics/influxdb/influxdbv2.go b/metrics/influxdb/influxdbv2.go index 00901f52c9f4..095dcdb0fc7d 100644 --- a/metrics/influxdb/influxdbv2.go +++ b/metrics/influxdb/influxdbv2.go @@ -1,4 +1,3 @@ -// // The go-ethereum library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -13,8 +12,8 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/metrics" influxdb2 "github.com/influxdata/influxdb-client-go/v2" "github.com/influxdata/influxdb-client-go/v2/api" ) diff --git a/metrics/librato/librato.go b/metrics/librato/librato.go index b16493413ee1..3e9456f93dec 100644 --- a/metrics/librato/librato.go +++ b/metrics/librato/librato.go @@ -7,7 +7,7 @@ import ( "regexp" "time" - "github.com/ethereum/go-ethereum/metrics" + "github.com/GeoDB-Limited/go-ethereum/metrics" ) // a regexp for extracting the unit from time.Duration.String diff --git a/metrics/metrics.go b/metrics/metrics.go index 747d6471a764..35ee60c2ef07 100644 --- a/metrics/metrics.go +++ b/metrics/metrics.go @@ -11,7 +11,7 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" ) // Enabled is checked by the constructor functions for all of the diff --git a/metrics/prometheus/collector.go b/metrics/prometheus/collector.go index 3959cbf5e126..85b387b9cd38 100644 --- a/metrics/prometheus/collector.go +++ b/metrics/prometheus/collector.go @@ -22,7 +22,7 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/metrics" + "github.com/GeoDB-Limited/go-ethereum/metrics" ) var ( diff --git a/metrics/prometheus/collector_test.go b/metrics/prometheus/collector_test.go index 43f2f804d32e..9a78ec32df1b 100644 --- a/metrics/prometheus/collector_test.go +++ b/metrics/prometheus/collector_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/metrics" + "github.com/GeoDB-Limited/go-ethereum/metrics" ) func TestMain(m *testing.M) { diff --git a/metrics/prometheus/prometheus.go b/metrics/prometheus/prometheus.go index 9ad5ec7e9929..0bf7d2d9a3f0 100644 --- a/metrics/prometheus/prometheus.go +++ b/metrics/prometheus/prometheus.go @@ -22,8 +22,8 @@ import ( "net/http" "sort" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/metrics" ) // Handler returns an HTTP handler which dump metrics in Prometheus format. diff --git a/miner/miner.go b/miner/miner.go index 20e12c240e12..3c13a58894d4 100644 --- a/miner/miner.go +++ b/miner/miner.go @@ -23,16 +23,16 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core" - "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/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/consensus" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/eth/downloader" + "github.com/GeoDB-Limited/go-ethereum/event" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/params" ) // Backend wraps all methods required for mining. Only full node is capable diff --git a/miner/stress/1559/main.go b/miner/stress/1559/main.go index 7c6134b3f970..7986997dee97 100644 --- a/miner/stress/1559/main.go +++ b/miner/stress/1559/main.go @@ -26,21 +26,21 @@ import ( "os/signal" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/fdlimit" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/miner" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/fdlimit" + "github.com/GeoDB-Limited/go-ethereum/consensus/ethash" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/eth" + "github.com/GeoDB-Limited/go-ethereum/eth/downloader" + "github.com/GeoDB-Limited/go-ethereum/eth/ethconfig" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/miner" + "github.com/GeoDB-Limited/go-ethereum/node" + "github.com/GeoDB-Limited/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/params" ) var ( diff --git a/miner/stress/beacon/main.go b/miner/stress/beacon/main.go index ccb7279b047e..135366b2b752 100644 --- a/miner/stress/beacon/main.go +++ b/miner/stress/beacon/main.go @@ -27,26 +27,26 @@ import ( "path/filepath" "time" - "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/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/beacon" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth" - ethcatalyst "github.com/ethereum/go-ethereum/eth/catalyst" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/les" - lescatalyst "github.com/ethereum/go-ethereum/les/catalyst" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/miner" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/accounts/keystore" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/fdlimit" + "github.com/GeoDB-Limited/go-ethereum/consensus/ethash" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/beacon" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/eth" + ethcatalyst "github.com/GeoDB-Limited/go-ethereum/eth/catalyst" + "github.com/GeoDB-Limited/go-ethereum/eth/downloader" + "github.com/GeoDB-Limited/go-ethereum/eth/ethconfig" + "github.com/GeoDB-Limited/go-ethereum/les" + lescatalyst "github.com/GeoDB-Limited/go-ethereum/les/catalyst" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/miner" + "github.com/GeoDB-Limited/go-ethereum/node" + "github.com/GeoDB-Limited/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/params" ) type nodetype int diff --git a/miner/stress/clique/main.go b/miner/stress/clique/main.go index f30da55dffd8..afba4aa96af5 100644 --- a/miner/stress/clique/main.go +++ b/miner/stress/clique/main.go @@ -27,21 +27,21 @@ import ( "os/signal" "time" - "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/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/miner" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/accounts/keystore" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/fdlimit" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/eth" + "github.com/GeoDB-Limited/go-ethereum/eth/downloader" + "github.com/GeoDB-Limited/go-ethereum/eth/ethconfig" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/miner" + "github.com/GeoDB-Limited/go-ethereum/node" + "github.com/GeoDB-Limited/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/params" ) func main() { diff --git a/miner/stress/ethash/main.go b/miner/stress/ethash/main.go index bd9111ee35c6..760428f6dbdd 100644 --- a/miner/stress/ethash/main.go +++ b/miner/stress/ethash/main.go @@ -26,21 +26,21 @@ import ( "os/signal" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/fdlimit" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/miner" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/fdlimit" + "github.com/GeoDB-Limited/go-ethereum/consensus/ethash" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/eth" + "github.com/GeoDB-Limited/go-ethereum/eth/downloader" + "github.com/GeoDB-Limited/go-ethereum/eth/ethconfig" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/miner" + "github.com/GeoDB-Limited/go-ethereum/node" + "github.com/GeoDB-Limited/go-ethereum/p2p" + "github.com/GeoDB-Limited/go-ethereum/p2p/enode" + "github.com/GeoDB-Limited/go-ethereum/params" ) func main() { diff --git a/miner/unconfirmed.go b/miner/unconfirmed.go index 0489f1ea4adb..88eae169e6e8 100644 --- a/miner/unconfirmed.go +++ b/miner/unconfirmed.go @@ -20,9 +20,9 @@ import ( "container/ring" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/log" ) // chainRetriever is used by the unconfirmed block set to verify whether a previously diff --git a/miner/unconfirmed_test.go b/miner/unconfirmed_test.go index dc83cb92652d..53fbef7e30aa 100644 --- a/miner/unconfirmed_test.go +++ b/miner/unconfirmed_test.go @@ -19,7 +19,7 @@ package miner import ( "testing" - "github.com/ethereum/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/core/types" ) // noopChainRetriever is an implementation of headerRetriever that always diff --git a/miner/worker.go b/miner/worker.go index c6927a1ca1e8..5e90e95694a9 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -24,17 +24,17 @@ import ( "sync/atomic" "time" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/consensus" + "github.com/GeoDB-Limited/go-ethereum/consensus/misc" + "github.com/GeoDB-Limited/go-ethereum/core" + "github.com/GeoDB-Limited/go-ethereum/core/state" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/event" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/params" + "github.com/GeoDB-Limited/go-ethereum/trie" mapset "github.com/deckarep/golang-set" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/misc" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" ) const ( @@ -1135,7 +1135,7 @@ func (w *worker) commit(env *environment, interval func(), update bool, start ti interval() } // Create a local environment copy, avoid the data race with snapshot state. - // https://github.com/ethereum/go-ethereum/issues/24299 + // https://github.com/GeoDB-Limited/go-ethereum/issues/24299 env := env.copy() block, err := w.engine.FinalizeAndAssemble(w.chain, env.header, env.state, env.txs, env.unclelist(), env.receipts) if err != nil { diff --git a/rpc/client.go b/rpc/client.go index d3ce0297754c..e6ae31f16cdf 100644 --- a/rpc/client.go +++ b/rpc/client.go @@ -27,7 +27,7 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" ) var ( diff --git a/rpc/client_example_test.go b/rpc/client_example_test.go index 044b57a9c439..f9a96d62d209 100644 --- a/rpc/client_example_test.go +++ b/rpc/client_example_test.go @@ -21,8 +21,8 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/rpc" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/rpc" ) // In this example, our client wishes to track the latest 'block number' diff --git a/rpc/client_test.go b/rpc/client_test.go index fa6010bb199c..ab19893f28e1 100644 --- a/rpc/client_test.go +++ b/rpc/client_test.go @@ -32,8 +32,8 @@ import ( "testing" "time" + "github.com/GeoDB-Limited/go-ethereum/log" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/log" ) func TestClientRequest(t *testing.T) { @@ -354,7 +354,7 @@ func TestClientSubscribeClose(t *testing.T) { } } -// This test reproduces https://github.com/ethereum/go-ethereum/issues/17837 where the +// This test reproduces https://github.com/GeoDB-Limited/go-ethereum/issues/17837 where the // client hangs during shutdown when Unsubscribe races with Client.Close. func TestClientCloseUnsubscribeRace(t *testing.T) { server := newTestServer() @@ -438,7 +438,7 @@ func TestClientSubscriptionUnsubscribeServer(t *testing.T) { } // This checks that the subscribed channel can be closed after Unsubscribe. -// It is the reproducer for https://github.com/ethereum/go-ethereum/issues/22322 +// It is the reproducer for https://github.com/GeoDB-Limited/go-ethereum/issues/22322 func TestClientSubscriptionChannelClose(t *testing.T) { t.Parallel() diff --git a/rpc/doc.go b/rpc/doc.go index e0a6324675e6..7e5ac9011b4d 100644 --- a/rpc/doc.go +++ b/rpc/doc.go @@ -15,7 +15,6 @@ // along with the go-ethereum library. If not, see . /* - Package rpc implements bi-directional JSON-RPC 2.0 on multiple transports. It provides access to the exported methods of an object across a network or other I/O @@ -23,16 +22,16 @@ connection. After creating a server or client instance, objects can be registere them visible as 'services'. Exported methods that follow specific conventions can be called remotely. It also has support for the publish/subscribe pattern. -RPC Methods +# RPC Methods Methods that satisfy the following criteria are made available for remote access: - - method must be exported - - method returns 0, 1 (response or error) or 2 (response and error) values + - method must be exported + - method returns 0, 1 (response or error) or 2 (response and error) values An example method: - func (s *CalcService) Add(a, b int) (int, error) + func (s *CalcService) Add(a, b int) (int, error) When the returned error isn't nil the returned integer is ignored and the error is sent back to the client. Otherwise the returned integer is sent back to the client. @@ -41,7 +40,7 @@ Optional arguments are supported by accepting pointer values as arguments. E.g. to do the addition in an optional finite field we can accept a mod argument as pointer value. - func (s *CalcService) Add(a, b int, mod *int) (int, error) + func (s *CalcService) Add(a, b int, mod *int) (int, error) This RPC method can be called with 2 integers and a null value as third argument. In that case the mod argument will be nil. Or it can be called with 3 integers, in that case mod @@ -56,40 +55,40 @@ to the client out of order. An example server which uses the JSON codec: - type CalculatorService struct {} + type CalculatorService struct {} - func (s *CalculatorService) Add(a, b int) int { - return a + b - } + func (s *CalculatorService) Add(a, b int) int { + return a + b + } - func (s *CalculatorService) Div(a, b int) (int, error) { - if b == 0 { - return 0, errors.New("divide by zero") - } - return a/b, nil - } + func (s *CalculatorService) Div(a, b int) (int, error) { + if b == 0 { + return 0, errors.New("divide by zero") + } + return a/b, nil + } - calculator := new(CalculatorService) - server := NewServer() - server.RegisterName("calculator", calculator) - l, _ := net.ListenUnix("unix", &net.UnixAddr{Net: "unix", Name: "/tmp/calculator.sock"}) - server.ServeListener(l) + calculator := new(CalculatorService) + server := NewServer() + server.RegisterName("calculator", calculator) + l, _ := net.ListenUnix("unix", &net.UnixAddr{Net: "unix", Name: "/tmp/calculator.sock"}) + server.ServeListener(l) -Subscriptions +# Subscriptions The package also supports the publish subscribe pattern through the use of subscriptions. A method that is considered eligible for notifications must satisfy the following criteria: - - method must be exported - - first method argument type must be context.Context - - method must have return types (rpc.Subscription, error) + - method must be exported + - first method argument type must be context.Context + - method must have return types (rpc.Subscription, error) An example method: - func (s *BlockChainService) NewBlocks(ctx context.Context) (rpc.Subscription, error) { - ... - } + func (s *BlockChainService) NewBlocks(ctx context.Context) (rpc.Subscription, error) { + ... + } When the service containing the subscription method is registered to the server, for example under the "blockchain" namespace, a subscription is created by calling the @@ -99,9 +98,9 @@ Subscriptions are deleted when the user sends an unsubscribe request or when the connection which was used to create the subscription is closed. This can be initiated by the client and server. The server will close the connection for any write error. -For more information about subscriptions, see https://github.com/ethereum/go-ethereum/wiki/RPC-PUB-SUB. +For more information about subscriptions, see https://github.com/GeoDB-Limited/go-ethereum/wiki/RPC-PUB-SUB. -Reverse Calls +# Reverse Calls In any method handler, an instance of rpc.Client can be accessed through the ClientFromContext method. Using this client instance, server-to-client method calls can be diff --git a/rpc/endpoints.go b/rpc/endpoints.go index d78ebe2858bc..356e6d55be70 100644 --- a/rpc/endpoints.go +++ b/rpc/endpoints.go @@ -20,7 +20,7 @@ import ( "net" "strings" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" ) // StartIPCEndpoint starts an IPC endpoint. diff --git a/rpc/handler.go b/rpc/handler.go index 488a29300a10..d4daec26b8e5 100644 --- a/rpc/handler.go +++ b/rpc/handler.go @@ -25,7 +25,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" ) // handler handles JSON-RPC messages. There is one handler per connection. Note that @@ -34,21 +34,20 @@ import ( // // The entry points for incoming messages are: // -// h.handleMsg(message) -// h.handleBatch(message) +// h.handleMsg(message) +// h.handleBatch(message) // // Outgoing calls use the requestOp struct. Register the request before sending it // on the connection: // -// op := &requestOp{ids: ...} -// h.addRequestOp(op) +// op := &requestOp{ids: ...} +// h.addRequestOp(op) // // Now send the request, then wait for the reply to be delivered through handleMsg: // -// if err := op.wait(...); err != nil { -// h.removeRequestOp(op) // timeout, etc. -// } -// +// if err := op.wait(...); err != nil { +// h.removeRequestOp(op) // timeout, etc. +// } type handler struct { reg *serviceRegistry unsubscribeCb *callback diff --git a/rpc/ipc.go b/rpc/ipc.go index 07a211c6277c..84803fd0839f 100644 --- a/rpc/ipc.go +++ b/rpc/ipc.go @@ -20,8 +20,8 @@ import ( "context" "net" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/p2p/netutil" ) // ServeListener accepts connections on l, serving JSON-RPC on them. diff --git a/rpc/ipc_unix.go b/rpc/ipc_unix.go index 249a9cf044dc..c0ab89d0a294 100644 --- a/rpc/ipc_unix.go +++ b/rpc/ipc_unix.go @@ -26,7 +26,7 @@ import ( "os" "path/filepath" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" ) // ipcListen will create a Unix socket on the given endpoint. diff --git a/rpc/metrics.go b/rpc/metrics.go index 7fb6fc0a17f9..b74bfed8f701 100644 --- a/rpc/metrics.go +++ b/rpc/metrics.go @@ -19,7 +19,7 @@ package rpc import ( "fmt" - "github.com/ethereum/go-ethereum/metrics" + "github.com/GeoDB-Limited/go-ethereum/metrics" ) var ( diff --git a/rpc/server.go b/rpc/server.go index babc5688e264..c2bd69d812d8 100644 --- a/rpc/server.go +++ b/rpc/server.go @@ -21,8 +21,8 @@ import ( "io" "sync/atomic" + "github.com/GeoDB-Limited/go-ethereum/log" mapset "github.com/deckarep/golang-set" - "github.com/ethereum/go-ethereum/log" ) const MetadataApi = "rpc" diff --git a/rpc/service.go b/rpc/service.go index bef891ea1125..2b9ad3acc92f 100644 --- a/rpc/service.go +++ b/rpc/service.go @@ -26,7 +26,7 @@ import ( "sync" "unicode" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" ) var ( diff --git a/rpc/types.go b/rpc/types.go index 46b08caf6800..b81d13705a44 100644 --- a/rpc/types.go +++ b/rpc/types.go @@ -24,8 +24,8 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" ) // API describes the set of methods offered over the RPC interface diff --git a/rpc/types_test.go b/rpc/types_test.go index f110dee7c6ff..b040dc183141 100644 --- a/rpc/types_test.go +++ b/rpc/types_test.go @@ -21,8 +21,8 @@ import ( "reflect" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/math" ) func TestBlockNumberJSONUnmarshal(t *testing.T) { diff --git a/rpc/websocket.go b/rpc/websocket.go index 28380d8aa4ae..34ead789b94a 100644 --- a/rpc/websocket.go +++ b/rpc/websocket.go @@ -27,8 +27,8 @@ import ( "sync" "time" + "github.com/GeoDB-Limited/go-ethereum/log" mapset "github.com/deckarep/golang-set" - "github.com/ethereum/go-ethereum/log" "github.com/gorilla/websocket" ) diff --git a/rpc/websocket_test.go b/rpc/websocket_test.go index f74b7fd08bb4..19b8bad13f24 100644 --- a/rpc/websocket_test.go +++ b/rpc/websocket_test.go @@ -179,7 +179,7 @@ func TestClientWebsocketPing(t *testing.T) { // server can't handle the request. // Wait for the context's deadline to be reached before proceeding. - // This is important for reproducing https://github.com/ethereum/go-ethereum/issues/19798 + // This is important for reproducing https://github.com/GeoDB-Limited/go-ethereum/issues/19798 <-ctx.Done() close(sendPing) diff --git a/signer/core/api.go b/signer/core/api.go index f06fbeb76dd1..45a2d07d208e 100644 --- a/signer/core/api.go +++ b/signer/core/api.go @@ -25,17 +25,17 @@ import ( "os" "reflect" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/accounts/scwallet" - "github.com/ethereum/go-ethereum/accounts/usbwallet" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rpc" - "github.com/ethereum/go-ethereum/signer/core/apitypes" - "github.com/ethereum/go-ethereum/signer/storage" + "github.com/GeoDB-Limited/go-ethereum/accounts" + "github.com/GeoDB-Limited/go-ethereum/accounts/keystore" + "github.com/GeoDB-Limited/go-ethereum/accounts/scwallet" + "github.com/GeoDB-Limited/go-ethereum/accounts/usbwallet" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/internal/ethapi" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/rpc" + "github.com/GeoDB-Limited/go-ethereum/signer/core/apitypes" + "github.com/GeoDB-Limited/go-ethereum/signer/storage" ) const ( diff --git a/signer/core/api_test.go b/signer/core/api_test.go index 9f44ca319566..1ded78a1a257 100644 --- a/signer/core/api_test.go +++ b/signer/core/api_test.go @@ -27,20 +27,20 @@ import ( "testing" "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/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/signer/core" - "github.com/ethereum/go-ethereum/signer/core/apitypes" - "github.com/ethereum/go-ethereum/signer/fourbyte" - "github.com/ethereum/go-ethereum/signer/storage" + "github.com/GeoDB-Limited/go-ethereum/accounts" + "github.com/GeoDB-Limited/go-ethereum/accounts/keystore" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/internal/ethapi" + "github.com/GeoDB-Limited/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/signer/core" + "github.com/GeoDB-Limited/go-ethereum/signer/core/apitypes" + "github.com/GeoDB-Limited/go-ethereum/signer/fourbyte" + "github.com/GeoDB-Limited/go-ethereum/signer/storage" ) -//Used for testing +// Used for testing type headlessUi struct { approveCh chan string // to send approve/deny inputCh chan string // to send password diff --git a/signer/core/apitypes/signed_data_internal_test.go b/signer/core/apitypes/signed_data_internal_test.go index 121cc00dec85..1fed0791e1bc 100644 --- a/signer/core/apitypes/signed_data_internal_test.go +++ b/signer/core/apitypes/signed_data_internal_test.go @@ -21,7 +21,7 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" ) func TestBytesPadding(t *testing.T) { diff --git a/signer/core/apitypes/types.go b/signer/core/apitypes/types.go index f5c2fe2f3db9..92a450132264 100644 --- a/signer/core/apitypes/types.go +++ b/signer/core/apitypes/types.go @@ -30,12 +30,12 @@ import ( "unicode" "unicode/utf8" - "github.com/ethereum/go-ethereum/accounts" - "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/core/types" - "github.com/ethereum/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/accounts" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/crypto" ) var typedDataReferenceTypeRegexp = regexp.MustCompile(`^[A-Z](\w*)(\[\])?$`) @@ -64,7 +64,7 @@ func (vs *ValidationMessages) Info(msg string) { vs.Messages = append(vs.Messages, ValidationInfo{INFO, msg}) } -/// getWarnings returns an error with all messages of type WARN of above, or nil if no warnings were present +// / getWarnings returns an error with all messages of type WARN of above, or nil if no warnings were present func (v *ValidationMessages) GetWarnings() error { var messages []string for _, msg := range v.Messages { @@ -93,7 +93,7 @@ type SendTxArgs struct { // We accept "data" and "input" for backwards-compatibility reasons. // "input" is the newer name and should be preferred by clients. - // Issue detail: https://github.com/ethereum/go-ethereum/issues/15628 + // Issue detail: https://github.com/GeoDB-Limited/go-ethereum/issues/15628 Data *hexutil.Bytes `json:"data"` Input *hexutil.Bytes `json:"input,omitempty"` diff --git a/signer/core/auditlog.go b/signer/core/auditlog.go index 663d6d131735..e3bc49e88eab 100644 --- a/signer/core/auditlog.go +++ b/signer/core/auditlog.go @@ -20,11 +20,11 @@ import ( "context" "encoding/json" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/signer/core/apitypes" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/internal/ethapi" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/signer/core/apitypes" ) type AuditLogger struct { diff --git a/signer/core/cliui.go b/signer/core/cliui.go index 05c60906cc0c..b6aa335385ce 100644 --- a/signer/core/cliui.go +++ b/signer/core/cliui.go @@ -24,10 +24,10 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/console/prompt" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/console/prompt" + "github.com/GeoDB-Limited/go-ethereum/internal/ethapi" + "github.com/GeoDB-Limited/go-ethereum/log" ) type CommandlineUI struct { diff --git a/signer/core/gnosis_safe.go b/signer/core/gnosis_safe.go index 1b88db1afe76..dea697e9f000 100644 --- a/signer/core/gnosis_safe.go +++ b/signer/core/gnosis_safe.go @@ -4,10 +4,10 @@ import ( "fmt" "math/big" - "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/signer/core/apitypes" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/signer/core/apitypes" ) // GnosisSafeTx is a type to parse the safe-tx returned by the relayer, diff --git a/signer/core/signed_data.go b/signer/core/signed_data.go index 03494c098d46..6a6389b386ce 100644 --- a/signer/core/signed_data.go +++ b/signer/core/signed_data.go @@ -22,14 +22,14 @@ import ( "fmt" "mime" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus/clique" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/signer/core/apitypes" + "github.com/GeoDB-Limited/go-ethereum/accounts" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/consensus/clique" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/rlp" + "github.com/GeoDB-Limited/go-ethereum/signer/core/apitypes" ) // sign receives a request and produces a signature @@ -279,7 +279,7 @@ func (api *SignerAPI) EcRecover(ctx context.Context, data hexutil.Bytes, sig hex // Note, the signature must conform to the secp256k1 curve R, S and V values, where // the V value must be be 27 or 28 for legacy reasons. // - // https://github.com/ethereum/go-ethereum/wiki/Management-APIs#personal_ecRecover + // https://github.com/GeoDB-Limited/go-ethereum/wiki/Management-APIs#personal_ecRecover if len(sig) != 65 { return common.Address{}, fmt.Errorf("signature must be 65 bytes long") } diff --git a/signer/core/signed_data_test.go b/signer/core/signed_data_test.go index fbc2903d9e1d..ac0526faab09 100644 --- a/signer/core/signed_data_test.go +++ b/signer/core/signed_data_test.go @@ -26,13 +26,13 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/accounts/keystore" - "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/crypto" - "github.com/ethereum/go-ethereum/signer/core" - "github.com/ethereum/go-ethereum/signer/core/apitypes" + "github.com/GeoDB-Limited/go-ethereum/accounts/keystore" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/signer/core" + "github.com/GeoDB-Limited/go-ethereum/signer/core/apitypes" ) var typesStandard = apitypes.Types{ diff --git a/signer/core/stdioui.go b/signer/core/stdioui.go index 6963a89122f6..dd95068ac338 100644 --- a/signer/core/stdioui.go +++ b/signer/core/stdioui.go @@ -19,9 +19,9 @@ package core import ( "context" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rpc" + "github.com/GeoDB-Limited/go-ethereum/internal/ethapi" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/rpc" ) type StdIOUI struct { diff --git a/signer/core/uiapi.go b/signer/core/uiapi.go index 3a0327d869d6..171201e7bd57 100644 --- a/signer/core/uiapi.go +++ b/signer/core/uiapi.go @@ -24,11 +24,11 @@ import ( "io/ioutil" "math/big" - "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/math" - "github.com/ethereum/go-ethereum/crypto" + "github.com/GeoDB-Limited/go-ethereum/accounts" + "github.com/GeoDB-Limited/go-ethereum/accounts/keystore" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/math" + "github.com/GeoDB-Limited/go-ethereum/crypto" ) // SignerUIAPI implements methods Clef provides for a UI to query, in the bidirectional communication diff --git a/signer/fourbyte/abi.go b/signer/fourbyte/abi.go index 352abc59e182..4ea0229444bf 100644 --- a/signer/fourbyte/abi.go +++ b/signer/fourbyte/abi.go @@ -22,8 +22,8 @@ import ( "fmt" "strings" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/accounts/abi" + "github.com/GeoDB-Limited/go-ethereum/common" ) // decodedCallData is an internal type to represent a method call parsed according diff --git a/signer/fourbyte/abi_test.go b/signer/fourbyte/abi_test.go index 68c027ecea68..bb6f41550580 100644 --- a/signer/fourbyte/abi_test.go +++ b/signer/fourbyte/abi_test.go @@ -22,8 +22,8 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/accounts/abi" + "github.com/GeoDB-Limited/go-ethereum/common" ) func verify(t *testing.T, jsondata, calldata string, exp []interface{}) { diff --git a/signer/fourbyte/fourbyte_test.go b/signer/fourbyte/fourbyte_test.go index cf54c9b9c284..c751f52db06c 100644 --- a/signer/fourbyte/fourbyte_test.go +++ b/signer/fourbyte/fourbyte_test.go @@ -22,8 +22,8 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/accounts/abi" + "github.com/GeoDB-Limited/go-ethereum/common" ) // Tests that all the selectors contained in the 4byte database are valid. diff --git a/signer/fourbyte/validation.go b/signer/fourbyte/validation.go index 58111e8e00c8..f8aaa0b275e2 100644 --- a/signer/fourbyte/validation.go +++ b/signer/fourbyte/validation.go @@ -22,8 +22,8 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/signer/core/apitypes" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/signer/core/apitypes" ) // ValidateTransaction does a number of checks on the supplied transaction, and @@ -49,7 +49,7 @@ func (db *Database) ValidateTransaction(selector *string, tx *apitypes.SendTxArg if tx.To == nil { // Contract creation should contain sufficient data to deploy a contract. A // typical error is omitting sender due to some quirk in the javascript call - // e.g. https://github.com/ethereum/go-ethereum/issues/16106. + // e.g. https://github.com/GeoDB-Limited/go-ethereum/issues/16106. if len(data) == 0 { // Prevent sending ether into black hole (show stopper) if tx.Value.ToInt().Cmp(big.NewInt(0)) > 0 { diff --git a/signer/fourbyte/validation_test.go b/signer/fourbyte/validation_test.go index c3085696f432..77ca957561e1 100644 --- a/signer/fourbyte/validation_test.go +++ b/signer/fourbyte/validation_test.go @@ -20,9 +20,9 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/signer/core/apitypes" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/signer/core/apitypes" ) func mixAddr(a string) (*common.MixedcaseAddress, error) { diff --git a/signer/rules/rules.go b/signer/rules/rules.go index f37209f64541..005a5505bc68 100644 --- a/signer/rules/rules.go +++ b/signer/rules/rules.go @@ -22,12 +22,12 @@ import ( "os" "strings" + "github.com/GeoDB-Limited/go-ethereum/internal/ethapi" + "github.com/GeoDB-Limited/go-ethereum/internal/jsre/deps" + "github.com/GeoDB-Limited/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/signer/core" + "github.com/GeoDB-Limited/go-ethereum/signer/storage" "github.com/dop251/goja" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/internal/jsre/deps" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/signer/core" - "github.com/ethereum/go-ethereum/signer/storage" ) var ( diff --git a/signer/rules/rules_test.go b/signer/rules/rules_test.go index 0ab246eeaf7e..0e76d45b6cfa 100644 --- a/signer/rules/rules_test.go +++ b/signer/rules/rules_test.go @@ -22,14 +22,14 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/signer/core" - "github.com/ethereum/go-ethereum/signer/core/apitypes" - "github.com/ethereum/go-ethereum/signer/storage" + "github.com/GeoDB-Limited/go-ethereum/accounts" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/common/hexutil" + "github.com/GeoDB-Limited/go-ethereum/core/types" + "github.com/GeoDB-Limited/go-ethereum/internal/ethapi" + "github.com/GeoDB-Limited/go-ethereum/signer/core" + "github.com/GeoDB-Limited/go-ethereum/signer/core/apitypes" + "github.com/GeoDB-Limited/go-ethereum/signer/storage" ) const JS = ` @@ -243,7 +243,7 @@ func (d *dummyUI) OnApprovedTx(tx ethapi.SignTransactionResult) { func (d *dummyUI) OnSignerStartup(info core.StartupInfo) { } -//TestForwarding tests that the rule-engine correctly dispatches requests to the next caller +// TestForwarding tests that the rule-engine correctly dispatches requests to the next caller func TestForwarding(t *testing.T) { js := "" @@ -544,7 +544,7 @@ func (d *dontCallMe) OnApprovedTx(tx ethapi.SignTransactionResult) { d.t.Fatalf("Did not expect next-handler to be called") } -//TestContextIsCleared tests that the rule-engine does not retain variables over several requests. +// TestContextIsCleared tests that the rule-engine does not retain variables over several requests. // if it does, that would be bad since developers may rely on that to store data, // instead of using the disk-based data storage func TestContextIsCleared(t *testing.T) { diff --git a/signer/storage/aes_gcm_storage.go b/signer/storage/aes_gcm_storage.go index 1dad34a3ebc8..295aea5c243c 100644 --- a/signer/storage/aes_gcm_storage.go +++ b/signer/storage/aes_gcm_storage.go @@ -25,7 +25,7 @@ import ( "io/ioutil" "os" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/log" ) type storedCredential struct { diff --git a/signer/storage/aes_gcm_storage_test.go b/signer/storage/aes_gcm_storage_test.go index 664ef1299405..94df62a00fe8 100644 --- a/signer/storage/aes_gcm_storage_test.go +++ b/signer/storage/aes_gcm_storage_test.go @@ -23,8 +23,8 @@ import ( "io/ioutil" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" + "github.com/GeoDB-Limited/go-ethereum/common" + "github.com/GeoDB-Limited/go-ethereum/log" "github.com/mattn/go-colorable" )