aboutsummaryrefslogtreecommitdiffstats
path: root/mobile
diff options
context:
space:
mode:
authorWei-Ning Huang <w@cobinhood.com>2018-09-26 10:48:31 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:23:38 +0800
commit21cbe9d5b1630be351329a5715fd599030a00122 (patch)
treed595b8cceb54662497d44b102b6ddbbd60ec0a01 /mobile
parent2ba220653fdf945844896458821808f2edd8f4af (diff)
downloadgo-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.tar
go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.tar.gz
go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.tar.bz2
go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.tar.lz
go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.tar.xz
go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.tar.zst
go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.zip
Change import go github.com/dexon-foundation/dexon
Diffstat (limited to 'mobile')
-rw-r--r--mobile/accounts.go8
-rw-r--r--mobile/android_test.go4
-rw-r--r--mobile/big.go2
-rw-r--r--mobile/bind.go8
-rw-r--r--mobile/common.go2
-rw-r--r--mobile/discover.go2
-rw-r--r--mobile/ethclient.go4
-rw-r--r--mobile/ethereum.go4
-rw-r--r--mobile/geth.go24
-rw-r--r--mobile/init.go2
-rw-r--r--mobile/interface.go2
-rw-r--r--mobile/logger.go2
-rw-r--r--mobile/p2p.go2
-rw-r--r--mobile/params.go6
-rw-r--r--mobile/shhclient.go4
-rw-r--r--mobile/types.go8
-rw-r--r--mobile/vm.go2
17 files changed, 43 insertions, 43 deletions
diff --git a/mobile/accounts.go b/mobile/accounts.go
index 4d979bfff..6f5dfa11e 100644
--- a/mobile/accounts.go
+++ b/mobile/accounts.go
@@ -23,10 +23,10 @@ import (
"errors"
"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/crypto"
+ "github.com/dexon-foundation/dexon/accounts"
+ "github.com/dexon-foundation/dexon/accounts/keystore"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/crypto"
)
const (
diff --git a/mobile/android_test.go b/mobile/android_test.go
index 3d3bd66d0..8cc4cfc25 100644
--- a/mobile/android_test.go
+++ b/mobile/android_test.go
@@ -25,7 +25,7 @@ import (
"testing"
"time"
- "github.com/ethereum/go-ethereum/internal/build"
+ "github.com/dexon-foundation/dexon/internal/build"
)
// androidTestClass is a Java class to do some lightweight tests against the Android
@@ -207,7 +207,7 @@ func TestAndroid(t *testing.T) {
}
}
// Generate the mobile bindings for Geth and add the tester class
- gobind := exec.Command("gomobile", "bind", "-javapkg", "org.ethereum", "github.com/ethereum/go-ethereum/mobile")
+ gobind := exec.Command("gomobile", "bind", "-javapkg", "org.ethereum", "github.com/dexon-foundation/dexon/mobile")
if output, err := gobind.CombinedOutput(); err != nil {
t.Logf("%s", output)
t.Fatalf("failed to run gomobile bind: %v", err)
diff --git a/mobile/big.go b/mobile/big.go
index 86ea93245..83f803a2e 100644
--- a/mobile/big.go
+++ b/mobile/big.go
@@ -22,7 +22,7 @@ import (
"errors"
"math/big"
- "github.com/ethereum/go-ethereum/common"
+ "github.com/dexon-foundation/dexon/common"
)
// A BigInt represents a signed multi-precision integer.
diff --git a/mobile/bind.go b/mobile/bind.go
index d6e621a25..159537eda 100644
--- a/mobile/bind.go
+++ b/mobile/bind.go
@@ -22,10 +22,10 @@ import (
"math/big"
"strings"
- "github.com/ethereum/go-ethereum/accounts/abi"
- "github.com/ethereum/go-ethereum/accounts/abi/bind"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/core/types"
+ "github.com/dexon-foundation/dexon/accounts/abi"
+ "github.com/dexon-foundation/dexon/accounts/abi/bind"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/core/types"
)
// Signer is an interaface defining the callback when a contract requires a
diff --git a/mobile/common.go b/mobile/common.go
index 047d8e1f6..8e66c1f20 100644
--- a/mobile/common.go
+++ b/mobile/common.go
@@ -24,7 +24,7 @@ import (
"fmt"
"strings"
- "github.com/ethereum/go-ethereum/common"
+ "github.com/dexon-foundation/dexon/common"
)
// Hash represents the 32 byte Keccak256 hash of arbitrary data.
diff --git a/mobile/discover.go b/mobile/discover.go
index 9b3c93ccd..172a9b55a 100644
--- a/mobile/discover.go
+++ b/mobile/discover.go
@@ -22,7 +22,7 @@ package geth
import (
"errors"
- "github.com/ethereum/go-ethereum/p2p/discv5"
+ "github.com/dexon-foundation/dexon/p2p/discv5"
)
// Enode represents a host on the network.
diff --git a/mobile/ethclient.go b/mobile/ethclient.go
index 662125c4a..400389db0 100644
--- a/mobile/ethclient.go
+++ b/mobile/ethclient.go
@@ -21,8 +21,8 @@ package geth
import (
"math/big"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/ethclient"
+ "github.com/dexon-foundation/dexon/core/types"
+ "github.com/dexon-foundation/dexon/ethclient"
)
// EthereumClient provides access to the Ethereum APIs.
diff --git a/mobile/ethereum.go b/mobile/ethereum.go
index 59da85239..049e075f5 100644
--- a/mobile/ethereum.go
+++ b/mobile/ethereum.go
@@ -21,8 +21,8 @@ package geth
import (
"errors"
- ethereum "github.com/ethereum/go-ethereum"
- "github.com/ethereum/go-ethereum/common"
+ ethereum "github.com/dexon-foundation/dexon"
+ "github.com/dexon-foundation/dexon/common"
)
// Subscription represents an event subscription where events are
diff --git a/mobile/geth.go b/mobile/geth.go
index e3e2e905d..358bcf539 100644
--- a/mobile/geth.go
+++ b/mobile/geth.go
@@ -24,18 +24,18 @@ import (
"fmt"
"path/filepath"
- "github.com/ethereum/go-ethereum/core"
- "github.com/ethereum/go-ethereum/eth"
- "github.com/ethereum/go-ethereum/eth/downloader"
- "github.com/ethereum/go-ethereum/ethclient"
- "github.com/ethereum/go-ethereum/ethstats"
- "github.com/ethereum/go-ethereum/internal/debug"
- "github.com/ethereum/go-ethereum/les"
- "github.com/ethereum/go-ethereum/node"
- "github.com/ethereum/go-ethereum/p2p"
- "github.com/ethereum/go-ethereum/p2p/nat"
- "github.com/ethereum/go-ethereum/params"
- whisper "github.com/ethereum/go-ethereum/whisper/whisperv6"
+ "github.com/dexon-foundation/dexon/core"
+ "github.com/dexon-foundation/dexon/eth"
+ "github.com/dexon-foundation/dexon/eth/downloader"
+ "github.com/dexon-foundation/dexon/ethclient"
+ "github.com/dexon-foundation/dexon/ethstats"
+ "github.com/dexon-foundation/dexon/internal/debug"
+ "github.com/dexon-foundation/dexon/les"
+ "github.com/dexon-foundation/dexon/node"
+ "github.com/dexon-foundation/dexon/p2p"
+ "github.com/dexon-foundation/dexon/p2p/nat"
+ "github.com/dexon-foundation/dexon/params"
+ whisper "github.com/dexon-foundation/dexon/whisper/whisperv6"
)
// NodeConfig represents the collection of configuration values to fine tune the Geth
diff --git a/mobile/init.go b/mobile/init.go
index 2025d85ed..c4cc38550 100644
--- a/mobile/init.go
+++ b/mobile/init.go
@@ -22,7 +22,7 @@ import (
"os"
"runtime"
- "github.com/ethereum/go-ethereum/log"
+ "github.com/dexon-foundation/dexon/log"
)
func init() {
diff --git a/mobile/interface.go b/mobile/interface.go
index ac0c26088..3985b172f 100644
--- a/mobile/interface.go
+++ b/mobile/interface.go
@@ -22,7 +22,7 @@ import (
"errors"
"math/big"
- "github.com/ethereum/go-ethereum/common"
+ "github.com/dexon-foundation/dexon/common"
)
// Interface represents a wrapped version of Go's interface{}, with the capacity
diff --git a/mobile/logger.go b/mobile/logger.go
index 7078c4fd2..f9ecbf124 100644
--- a/mobile/logger.go
+++ b/mobile/logger.go
@@ -19,7 +19,7 @@ package geth
import (
"os"
- "github.com/ethereum/go-ethereum/log"
+ "github.com/dexon-foundation/dexon/log"
)
// SetVerbosity sets the global verbosity level (between 0 and 6 - see logger/verbosity.go).
diff --git a/mobile/p2p.go b/mobile/p2p.go
index a80d9fff2..07197d240 100644
--- a/mobile/p2p.go
+++ b/mobile/p2p.go
@@ -21,7 +21,7 @@ package geth
import (
"errors"
- "github.com/ethereum/go-ethereum/p2p"
+ "github.com/dexon-foundation/dexon/p2p"
)
// NodeInfo represents pi short summary of the information known about the host.
diff --git a/mobile/params.go b/mobile/params.go
index 45fe870ee..bfcbf67af 100644
--- a/mobile/params.go
+++ b/mobile/params.go
@@ -21,9 +21,9 @@ package geth
import (
"encoding/json"
- "github.com/ethereum/go-ethereum/core"
- "github.com/ethereum/go-ethereum/p2p/discv5"
- "github.com/ethereum/go-ethereum/params"
+ "github.com/dexon-foundation/dexon/core"
+ "github.com/dexon-foundation/dexon/p2p/discv5"
+ "github.com/dexon-foundation/dexon/params"
)
// MainnetGenesis returns the JSON spec to use for the main Ethereum network. It
diff --git a/mobile/shhclient.go b/mobile/shhclient.go
index a069c9bd4..c3d57e9fe 100644
--- a/mobile/shhclient.go
+++ b/mobile/shhclient.go
@@ -19,8 +19,8 @@
package geth
import (
- "github.com/ethereum/go-ethereum/whisper/shhclient"
- whisper "github.com/ethereum/go-ethereum/whisper/whisperv6"
+ "github.com/dexon-foundation/dexon/whisper/shhclient"
+ whisper "github.com/dexon-foundation/dexon/whisper/whisperv6"
)
// WhisperClient provides access to the Ethereum APIs.
diff --git a/mobile/types.go b/mobile/types.go
index d5e8db2fa..4267354b8 100644
--- a/mobile/types.go
+++ b/mobile/types.go
@@ -23,10 +23,10 @@ import (
"errors"
"fmt"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/rlp"
- whisper "github.com/ethereum/go-ethereum/whisper/whisperv6"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/core/types"
+ "github.com/dexon-foundation/dexon/rlp"
+ whisper "github.com/dexon-foundation/dexon/whisper/whisperv6"
)
// A Nonce is a 64-bit hash which proves (combined with the mix-hash) that
diff --git a/mobile/vm.go b/mobile/vm.go
index 72093e3d5..f35a5c130 100644
--- a/mobile/vm.go
+++ b/mobile/vm.go
@@ -21,7 +21,7 @@ package geth
import (
"errors"
- "github.com/ethereum/go-ethereum/core/types"
+ "github.com/dexon-foundation/dexon/core/types"
)
// Log represents a contract log event. These events are generated by the LOG