diff options
author | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:31:08 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-09-17 16:57:29 +0800 |
commit | ac088de6322fc16ebe75c2e5554be73754bf1fe2 (patch) | |
tree | 086b7827d46a4d07b834cd94be73beaabb77b734 /internal | |
parent | 67d565f3f0e398e99bef96827f729e3e4b0edf31 (diff) | |
download | go-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.tar go-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.tar.gz go-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.tar.bz2 go-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.tar.lz go-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.tar.xz go-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.tar.zst go-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.zip |
Rebrand as tangerine-network/go-tangerine
Diffstat (limited to 'internal')
-rw-r--r-- | internal/build/env.go | 2 | ||||
-rw-r--r-- | internal/debug/api.go | 2 | ||||
-rw-r--r-- | internal/debug/flags.go | 6 | ||||
-rw-r--r-- | internal/debug/trace.go | 2 | ||||
-rw-r--r-- | internal/ethapi/addrlock.go | 2 | ||||
-rw-r--r-- | internal/ethapi/api.go | 36 | ||||
-rw-r--r-- | internal/ethapi/backend.go | 22 | ||||
-rw-r--r-- | internal/guide/guide_test.go | 4 | ||||
-rw-r--r-- | internal/jsre/deps/web3.js | 2 | ||||
-rw-r--r-- | internal/jsre/jsre.go | 4 |
10 files changed, 41 insertions, 41 deletions
diff --git a/internal/build/env.go b/internal/build/env.go index 2f5fbcbe3..5c1d434bd 100644 --- a/internal/build/env.go +++ b/internal/build/env.go @@ -81,7 +81,7 @@ func Env() Environment { // LocalEnv returns build environment metadata gathered from git. func LocalEnv() Environment { - env := applyEnvFlags(Environment{Name: "local", Repo: "dexon-foundation/dexon"}) + env := applyEnvFlags(Environment{Name: "local", Repo: "tangerine-network/go-tangerine"}) head := readGitFile("HEAD") if splits := strings.Split(head, " "); len(splits) == 2 { diff --git a/internal/debug/api.go b/internal/debug/api.go index a319b8f40..cfa44304b 100644 --- a/internal/debug/api.go +++ b/internal/debug/api.go @@ -34,7 +34,7 @@ import ( "sync" "time" - "github.com/dexon-foundation/dexon/log" + "github.com/tangerine-network/go-tangerine/log" ) // Handler is the global debugging handler. diff --git a/internal/debug/flags.go b/internal/debug/flags.go index 25d3aab52..6aad390c4 100644 --- a/internal/debug/flags.go +++ b/internal/debug/flags.go @@ -24,12 +24,12 @@ import ( "os" "runtime" - "github.com/dexon-foundation/dexon/log" - "github.com/dexon-foundation/dexon/metrics" - "github.com/dexon-foundation/dexon/metrics/exp" "github.com/fjl/memsize/memsizeui" colorable "github.com/mattn/go-colorable" "github.com/mattn/go-isatty" + "github.com/tangerine-network/go-tangerine/log" + "github.com/tangerine-network/go-tangerine/metrics" + "github.com/tangerine-network/go-tangerine/metrics/exp" "gopkg.in/urfave/cli.v1" ) diff --git a/internal/debug/trace.go b/internal/debug/trace.go index e7509fc52..9be86ebaa 100644 --- a/internal/debug/trace.go +++ b/internal/debug/trace.go @@ -23,7 +23,7 @@ import ( "os" "runtime/trace" - "github.com/dexon-foundation/dexon/log" + "github.com/tangerine-network/go-tangerine/log" ) // StartGoTrace turns on tracing, writing to the given file. diff --git a/internal/ethapi/addrlock.go b/internal/ethapi/addrlock.go index c2c34eacd..946459250 100644 --- a/internal/ethapi/addrlock.go +++ b/internal/ethapi/addrlock.go @@ -19,7 +19,7 @@ package ethapi import ( "sync" - "github.com/dexon-foundation/dexon/common" + "github.com/tangerine-network/go-tangerine/common" ) type AddrLocker struct { diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 1be3bb413..86275b8a2 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -26,24 +26,24 @@ import ( "time" "github.com/davecgh/go-spew/spew" - "github.com/dexon-foundation/dexon/accounts" - "github.com/dexon-foundation/dexon/accounts/keystore" - "github.com/dexon-foundation/dexon/common" - "github.com/dexon-foundation/dexon/common/hexutil" - "github.com/dexon-foundation/dexon/common/math" - "github.com/dexon-foundation/dexon/consensus/ethash" - "github.com/dexon-foundation/dexon/core" - "github.com/dexon-foundation/dexon/core/rawdb" - "github.com/dexon-foundation/dexon/core/types" - "github.com/dexon-foundation/dexon/core/vm" - "github.com/dexon-foundation/dexon/crypto" - "github.com/dexon-foundation/dexon/log" - "github.com/dexon-foundation/dexon/p2p" - "github.com/dexon-foundation/dexon/params" - "github.com/dexon-foundation/dexon/rlp" - "github.com/dexon-foundation/dexon/rpc" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/util" + "github.com/tangerine-network/go-tangerine/accounts" + "github.com/tangerine-network/go-tangerine/accounts/keystore" + "github.com/tangerine-network/go-tangerine/common" + "github.com/tangerine-network/go-tangerine/common/hexutil" + "github.com/tangerine-network/go-tangerine/common/math" + "github.com/tangerine-network/go-tangerine/consensus/ethash" + "github.com/tangerine-network/go-tangerine/core" + "github.com/tangerine-network/go-tangerine/core/rawdb" + "github.com/tangerine-network/go-tangerine/core/types" + "github.com/tangerine-network/go-tangerine/core/vm" + "github.com/tangerine-network/go-tangerine/crypto" + "github.com/tangerine-network/go-tangerine/log" + "github.com/tangerine-network/go-tangerine/p2p" + "github.com/tangerine-network/go-tangerine/params" + "github.com/tangerine-network/go-tangerine/rlp" + "github.com/tangerine-network/go-tangerine/rpc" ) const ( @@ -429,7 +429,7 @@ func signHash(data []byte) []byte { // // The key used to calculate the signature is decrypted with the given password. // -// https://github.com/dexon-foundation/dexon/wiki/Management-APIs#personal_sign +// https://github.com/tangerine-network/go-tangerine/wiki/Management-APIs#personal_sign func (s *PrivateAccountAPI) Sign(ctx context.Context, data hexutil.Bytes, addr common.Address, passwd string) (hexutil.Bytes, error) { // Look up the wallet containing the requested signer account := accounts.Account{Address: addr} @@ -457,7 +457,7 @@ func (s *PrivateAccountAPI) Sign(ctx context.Context, data hexutil.Bytes, addr c // Note, the signature must conform to the secp256k1 curve R, S and V values, where // the V value must be 27 or 28 for legacy reasons. // -// https://github.com/dexon-foundation/dexon/wiki/Management-APIs#personal_ecRecover +// https://github.com/tangerine-network/go-tangerine/wiki/Management-APIs#personal_ecRecover func (s *PrivateAccountAPI) EcRecover(ctx context.Context, data, sig hexutil.Bytes) (common.Address, error) { if len(sig) != 65 { return common.Address{}, fmt.Errorf("signature must be 65 bytes long") diff --git a/internal/ethapi/backend.go b/internal/ethapi/backend.go index da13d3661..1c2e1e694 100644 --- a/internal/ethapi/backend.go +++ b/internal/ethapi/backend.go @@ -21,17 +21,17 @@ import ( "context" "math/big" - ethereum "github.com/dexon-foundation/dexon" - "github.com/dexon-foundation/dexon/accounts" - "github.com/dexon-foundation/dexon/common" - "github.com/dexon-foundation/dexon/core" - "github.com/dexon-foundation/dexon/core/state" - "github.com/dexon-foundation/dexon/core/types" - "github.com/dexon-foundation/dexon/core/vm" - "github.com/dexon-foundation/dexon/ethdb" - "github.com/dexon-foundation/dexon/event" - "github.com/dexon-foundation/dexon/params" - "github.com/dexon-foundation/dexon/rpc" + ethereum "github.com/tangerine-network/go-tangerine" + "github.com/tangerine-network/go-tangerine/accounts" + "github.com/tangerine-network/go-tangerine/common" + "github.com/tangerine-network/go-tangerine/core" + "github.com/tangerine-network/go-tangerine/core/state" + "github.com/tangerine-network/go-tangerine/core/types" + "github.com/tangerine-network/go-tangerine/core/vm" + "github.com/tangerine-network/go-tangerine/ethdb" + "github.com/tangerine-network/go-tangerine/event" + "github.com/tangerine-network/go-tangerine/params" + "github.com/tangerine-network/go-tangerine/rpc" ) type Downloader interface { diff --git a/internal/guide/guide_test.go b/internal/guide/guide_test.go index 1eeecc6b7..b0b064a07 100644 --- a/internal/guide/guide_test.go +++ b/internal/guide/guide_test.go @@ -30,8 +30,8 @@ import ( "testing" "time" - "github.com/dexon-foundation/dexon/accounts/keystore" - "github.com/dexon-foundation/dexon/core/types" + "github.com/tangerine-network/go-tangerine/accounts/keystore" + "github.com/tangerine-network/go-tangerine/core/types" ) // Tests that the account management snippets work correctly. diff --git a/internal/jsre/deps/web3.js b/internal/jsre/deps/web3.js index 333c32b48..8f70384c9 100644 --- a/internal/jsre/deps/web3.js +++ b/internal/jsre/deps/web3.js @@ -5882,7 +5882,7 @@ module.exports = Shh; * @author Alex Beregszaszi <alex@rtfs.hu> * @date 2016 * - * Reference: https://github.com/dexon-foundation/dexon/blob/swarm/internal/web3ext/web3ext.go#L33 + * Reference: https://github.com/tangerine-network/go-tangerine/blob/swarm/internal/web3ext/web3ext.go#L33 */ "use strict"; diff --git a/internal/jsre/jsre.go b/internal/jsre/jsre.go index 78f0aa503..72825d27d 100644 --- a/internal/jsre/jsre.go +++ b/internal/jsre/jsre.go @@ -26,9 +26,9 @@ import ( "math/rand" "time" - "github.com/dexon-foundation/dexon/common" - "github.com/dexon-foundation/dexon/internal/jsre/deps" "github.com/robertkrimen/otto" + "github.com/tangerine-network/go-tangerine/common" + "github.com/tangerine-network/go-tangerine/internal/jsre/deps" ) var ( |