aboutsummaryrefslogtreecommitdiffstats
path: root/core/rawdb
diff options
context:
space:
mode:
authorWei-Ning Huang <w@cobinhood.com>2018-09-26 10:48:31 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commit3f555b121b7483dac0baff0a80e16fdc2cb55ce4 (patch)
tree9f83142c6a6b8642200cba20d37ba845d81f8437 /core/rawdb
parentbc5a3c35468c272869966176f98f3d5522f4b607 (diff)
downloaddexon-3f555b121b7483dac0baff0a80e16fdc2cb55ce4.tar
dexon-3f555b121b7483dac0baff0a80e16fdc2cb55ce4.tar.gz
dexon-3f555b121b7483dac0baff0a80e16fdc2cb55ce4.tar.bz2
dexon-3f555b121b7483dac0baff0a80e16fdc2cb55ce4.tar.lz
dexon-3f555b121b7483dac0baff0a80e16fdc2cb55ce4.tar.xz
dexon-3f555b121b7483dac0baff0a80e16fdc2cb55ce4.tar.zst
dexon-3f555b121b7483dac0baff0a80e16fdc2cb55ce4.zip
Change import go github.com/dexon-foundation/dexon
Diffstat (limited to 'core/rawdb')
-rw-r--r--core/rawdb/accessors_chain.go8
-rw-r--r--core/rawdb/accessors_chain_test.go8
-rw-r--r--core/rawdb/accessors_indexes.go8
-rw-r--r--core/rawdb/accessors_indexes_test.go6
-rw-r--r--core/rawdb/accessors_metadata.go8
-rw-r--r--core/rawdb/schema.go4
6 files changed, 21 insertions, 21 deletions
diff --git a/core/rawdb/accessors_chain.go b/core/rawdb/accessors_chain.go
index 491a125c6..801ad9362 100644
--- a/core/rawdb/accessors_chain.go
+++ b/core/rawdb/accessors_chain.go
@@ -21,10 +21,10 @@ import (
"encoding/binary"
"math/big"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/rlp"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/core/types"
+ "github.com/dexon-foundation/dexon/log"
+ "github.com/dexon-foundation/dexon/rlp"
)
// ReadCanonicalHash retrieves the hash assigned to a canonical block number.
diff --git a/core/rawdb/accessors_chain_test.go b/core/rawdb/accessors_chain_test.go
index fcc36dc2b..11f72b934 100644
--- a/core/rawdb/accessors_chain_test.go
+++ b/core/rawdb/accessors_chain_test.go
@@ -21,10 +21,10 @@ import (
"math/big"
"testing"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/ethdb"
- "github.com/ethereum/go-ethereum/rlp"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/core/types"
+ "github.com/dexon-foundation/dexon/ethdb"
+ "github.com/dexon-foundation/dexon/rlp"
"golang.org/x/crypto/sha3"
)
diff --git a/core/rawdb/accessors_indexes.go b/core/rawdb/accessors_indexes.go
index 4ff7e5bd3..7cb938863 100644
--- a/core/rawdb/accessors_indexes.go
+++ b/core/rawdb/accessors_indexes.go
@@ -17,10 +17,10 @@
package rawdb
import (
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/rlp"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/core/types"
+ "github.com/dexon-foundation/dexon/log"
+ "github.com/dexon-foundation/dexon/rlp"
)
// ReadTxLookupEntry retrieves the positional metadata associated with a transaction
diff --git a/core/rawdb/accessors_indexes_test.go b/core/rawdb/accessors_indexes_test.go
index d9c10e149..ff59fad4c 100644
--- a/core/rawdb/accessors_indexes_test.go
+++ b/core/rawdb/accessors_indexes_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/ethdb"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/core/types"
+ "github.com/dexon-foundation/dexon/ethdb"
)
// Tests that positional lookup metadata can be stored and retrieved.
diff --git a/core/rawdb/accessors_metadata.go b/core/rawdb/accessors_metadata.go
index 82e4bf045..3382a5300 100644
--- a/core/rawdb/accessors_metadata.go
+++ b/core/rawdb/accessors_metadata.go
@@ -19,10 +19,10 @@ package rawdb
import (
"encoding/json"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/params"
- "github.com/ethereum/go-ethereum/rlp"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/log"
+ "github.com/dexon-foundation/dexon/params"
+ "github.com/dexon-foundation/dexon/rlp"
)
// ReadDatabaseVersion retrieves the version number of the database.
diff --git a/core/rawdb/schema.go b/core/rawdb/schema.go
index 8a9921ef4..ee1949112 100644
--- a/core/rawdb/schema.go
+++ b/core/rawdb/schema.go
@@ -20,8 +20,8 @@ package rawdb
import (
"encoding/binary"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/metrics"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/metrics"
)
// The fields below define the low level database schema prefixing.