OSDN Git Service

rename (#465)
authorChengcheng Zhang <943420582@qq.com>
Fri, 6 Dec 2019 09:01:15 +0000 (17:01 +0800)
committerPaladz <yzhu101@uottawa.ca>
Fri, 6 Dec 2019 09:01:15 +0000 (17:01 +0800)
351 files changed:
.travis.yml
Makefile
README.md
accesstoken/accesstoken.go
accesstoken/accesstoken_test.go
account/accounts.go
account/builder.go
account/builder_test.go
account/indexer.go
account/store.go
account/utxo_keeper.go
account/utxo_keeper_test.go
api/accounts.go
api/api.go
api/api_test.go
api/bbft.go
api/block_retrieve.go
api/compile.go
api/errors.go
api/hsm.go
api/message.go
api/miner.go
api/nodeinfo.go
api/program.go
api/query.go
api/receivers.go
api/request.go
api/transact.go
api/wallet.go
api/websocket.go
application/mov/common/type.go
application/mov/database/mov_store.go
application/mov/database/mov_store_test.go
asset/annotate.go
asset/asset.go
blockchain/pseudohsm/image.go
blockchain/pseudohsm/image_test.go
blockchain/pseudohsm/key.go
blockchain/pseudohsm/keycache.go
blockchain/pseudohsm/keycache_test.go
blockchain/pseudohsm/keystore_passphrase.go
blockchain/pseudohsm/keystore_passphrase_test.go
blockchain/pseudohsm/pseudohsm.go
blockchain/pseudohsm/pseudohsm_test.go
blockchain/query/annotated.go
blockchain/rpc/rpc.go
blockchain/rpc/rpc_test.go
blockchain/signers/signers.go
blockchain/txbuilder/actions.go
blockchain/txbuilder/builder.go
blockchain/txbuilder/constraint.go
blockchain/txbuilder/data_witness.go
blockchain/txbuilder/estimate.go
blockchain/txbuilder/finalize.go
blockchain/txbuilder/rawtxsig_witness.go
blockchain/txbuilder/signature_program.go
blockchain/txbuilder/signature_witness.go
blockchain/txbuilder/signing_instruction.go
blockchain/txbuilder/txbuilder.go
blockchain/txbuilder/txbuilder_test.go
blockchain/txbuilder/types.go
blockchain/txbuilder/witness.go
blockchain/txbuilder/witness_test.go
cmd/consensusreward/main.go
cmd/fedd/main.go
cmd/precognitive/main.go
cmd/utxomerge/main.go
cmd/vaporcli/commands/accesstoken.go
cmd/vaporcli/commands/account.go
cmd/vaporcli/commands/asset.go
cmd/vaporcli/commands/block.go
cmd/vaporcli/commands/key.go
cmd/vaporcli/commands/mining.go
cmd/vaporcli/commands/net.go
cmd/vaporcli/commands/program.go
cmd/vaporcli/commands/template.go
cmd/vaporcli/commands/transaction.go
cmd/vaporcli/commands/txfeed.go
cmd/vaporcli/commands/util.go
cmd/vaporcli/commands/vaporcli.go
cmd/vaporcli/commands/version.go
cmd/vaporcli/commands/wallet.go
cmd/vaporcli/main.go
cmd/vapord/commands/init.go
cmd/vapord/commands/root.go
cmd/vapord/commands/run_node.go
cmd/vapord/commands/version.go
cmd/vapord/main.go
cmd/votereward/main.go
common/address.go
common/address_test.go
common/arithmetic/calculate.go
config/config.go
config/federation_test.go
config/genesis.go
consensus/general.go
consensus/segwit/segwit.go
crypto/crypto.go
crypto/ed25519/chainkd/chainkd.go
crypto/ed25519/chainkd/expanded_key.go
crypto/ed25519/chainkd/expanded_key_test.go
crypto/ed25519/chainkd/util.go
crypto/ed25519/ecmath/point.go
crypto/ed25519/ecmath/scalar.go
crypto/ed25519/ed25519.go
crypto/ed25519/ed25519_test.go
database/account_store.go
database/account_store_test.go
database/cache.go
database/cache_test.go
database/store.go
database/store_test.go
database/utxo_view.go
database/utxo_view_test.go
database/wallet_store.go
database/wallet_store_test.go
docker/fed
docker/vapor
docker/vapord/vapord.Dockerfile
encoding/blockchain/blockchain.go
equity/compiler/ast.go
equity/compiler/cmd/equitycmd/equitycmd.go
equity/compiler/compile.go
equity/compiler/compile_test.go
equity/equity/main.go
equity/equity/util/instance.go
equity/equity/util/shift.go
event/event.go
log/log.go
net/http/authn/authn.go
net/http/authn/authn_test.go
net/http/httperror/httperror.go
net/http/httperror/httperror_test.go
net/http/httpjson/handler_test.go
net/http/httpjson/io.go
net/websocket/wsclient.go
net/websocket/wsnotificationmaneger.go
netsync/chainmgr/block_keeper.go
netsync/chainmgr/block_keeper_test.go
netsync/chainmgr/block_process.go
netsync/chainmgr/block_process_test.go
netsync/chainmgr/fast_sync.go
netsync/chainmgr/fast_sync_test.go
netsync/chainmgr/handle.go
netsync/chainmgr/msg_fetcher.go
netsync/chainmgr/protocol_reactor.go
netsync/chainmgr/storage.go
netsync/chainmgr/storage_test.go
netsync/chainmgr/tool_test.go
netsync/chainmgr/tx_keeper.go
netsync/chainmgr/tx_keeper_test.go
netsync/consensusmgr/block_fetcher.go
netsync/consensusmgr/block_fetcher_test.go
netsync/consensusmgr/broadcast_msg.go
netsync/consensusmgr/consensus_msg.go
netsync/consensusmgr/consensus_msg_test.go
netsync/consensusmgr/handle.go
netsync/consensusmgr/handle_test.go
netsync/consensusmgr/reactor.go
netsync/messages/chain_msg.go
netsync/messages/chain_msg_test.go
netsync/peers/peer.go
netsync/peers/peer_test.go
netsync/sync_manager.go
node/node.go
node/node_test.go
p2p/base_reactor.go
p2p/connection/connection.go
p2p/connection/secret_connection.go
p2p/connection/secret_connection_test.go
p2p/discover/dht/database.go
p2p/discover/dht/dns_seeds.go
p2p/discover/dht/dns_seeds_test.go
p2p/discover/dht/net.go
p2p/discover/dht/net_test.go
p2p/discover/dht/node.go
p2p/discover/dht/table.go
p2p/discover/dht/ticket.go
p2p/discover/dht/udp.go
p2p/discover/dht/udp_test.go
p2p/discover/mdns/lan_discover.go
p2p/listener.go
p2p/node_info.go
p2p/node_info_test.go
p2p/peer.go
p2p/peer_test.go
p2p/security/blacklist.go
p2p/security/security.go
p2p/signlib/chainkd.go
p2p/switch.go
p2p/switch_test.go
p2p/test_util.go
proposal/blockproposer/blockproposer.go
proposal/proposal.go
proposal/proposal_test.go
proposal/sort.go
protocol/bbft.go
protocol/bc/asset.go
protocol/bc/entry.go
protocol/bc/tx.go
protocol/bc/types/block.go
protocol/bc/types/block_commitment.go
protocol/bc/types/block_commitment_test.go
protocol/bc/types/block_header.go
protocol/bc/types/block_header_test.go
protocol/bc/types/block_witness.go
protocol/bc/types/block_witness_test.go
protocol/bc/types/crosschain_input.go
protocol/bc/types/crosschain_output.go
protocol/bc/types/intrachain_output.go
protocol/bc/types/map.go
protocol/bc/types/map_test.go
protocol/bc/types/merkle.go
protocol/bc/types/merkle_test.go
protocol/bc/types/output_commitment.go
protocol/bc/types/output_commitment_test.go
protocol/bc/types/spend.go
protocol/bc/types/spend_commitment.go
protocol/bc/types/spend_commitment_test.go
protocol/bc/types/spend_test.go
protocol/bc/types/transaction.go
protocol/bc/types/transaction_test.go
protocol/bc/types/txinput.go
protocol/bc/types/txinput_test.go
protocol/bc/types/txoutput.go
protocol/bc/types/txoutput_test.go
protocol/bc/types/veto_input.go
protocol/bc/types/vote_output.go
protocol/block.go
protocol/block_test.go
protocol/consensus_node_manager.go
protocol/consensus_node_manager_test.go
protocol/orphan_manage.go
protocol/orphan_manage_test.go
protocol/protocol.go
protocol/state/consensus_result.go
protocol/state/consensus_result_test.go
protocol/state/utxo_view.go
protocol/state/utxo_view_test.go
protocol/store.go
protocol/tx.go
protocol/txpool.go
protocol/txpool_test.go
protocol/validation/block.go
protocol/validation/block_test.go
protocol/validation/test/tx_ugly_test.go
protocol/validation/tx.go
protocol/validation/tx_scene_test.go
protocol/validation/tx_test.go
protocol/validation/vmcontext.go
protocol/validation/vmcontext_test.go
protocol/vm/assemble.go
protocol/vm/assemble_test.go
protocol/vm/bitwise_test.go
protocol/vm/control_test.go
protocol/vm/crypto.go
protocol/vm/crypto_test.go
protocol/vm/introspection_test.go
protocol/vm/numeric.go
protocol/vm/numeric_test.go
protocol/vm/ops.go
protocol/vm/ops_test.go
protocol/vm/pushdata_test.go
protocol/vm/splice.go
protocol/vm/splice_test.go
protocol/vm/stack.go
protocol/vm/stack_test.go
protocol/vm/vm.go
protocol/vm/vm_test.go
protocol/vm/vmutil/builder.go
protocol/vm/vmutil/builder_test.go
protocol/vm/vmutil/script.go
protocol/vm/vmutil/script_test.go
test/accounts_test.go
test/bench_blockchain_test.go
test/block_test.go
test/block_test_util.go
test/builder_test.go
test/chain_test_util.go
test/integration/run_test.go
test/integration/standard_transaction_test.go
test/mock/chain.go
test/mock/crosschain_tx.go
test/mock/mempool.go
test/performance/mining_test.go
test/performance/rpc_test.go
test/protocol_test.go
test/protocol_test_util.go
test/tx_test_util.go
test/util.go
test/utxo_view/utxo_view_test.go
test/utxo_view/utxo_view_test_util.go
test/wallet_test.go
test/wallet_test_util.go
testutil/hex.go
testutil/keys.go
toolbar/apinode/account.go
toolbar/apinode/block.go
toolbar/apinode/node.go
toolbar/apinode/node_test.go
toolbar/apinode/query.go
toolbar/apinode/transaction.go
toolbar/common/address.go
toolbar/common/consensus.go
toolbar/common/db.go
toolbar/consensusreward/consensus_reward.go
toolbar/federation/api/handler.go
toolbar/federation/api/server.go
toolbar/federation/common/util.go
toolbar/federation/config/config.go
toolbar/federation/database/asset_store.go
toolbar/federation/database/orm/asset.go
toolbar/federation/database/orm/chain.go
toolbar/federation/database/orm/cross_transaction.go
toolbar/federation/database/orm/cross_transaction_req.go
toolbar/federation/service/node.go
toolbar/federation/synchron/errors.go
toolbar/federation/synchron/mainchain_keeper.go
toolbar/federation/synchron/sidechain_keeper.go
toolbar/mergeutxo/merger_utxo.go
toolbar/precognitive/api/handler.go
toolbar/precognitive/api/server.go
toolbar/precognitive/config/config.go
toolbar/precognitive/database/orm/node.go
toolbar/precognitive/monitor/connection.go
toolbar/precognitive/monitor/discover.go
toolbar/precognitive/monitor/mock.go
toolbar/precognitive/monitor/monitor.go
toolbar/precognitive/monitor/stats.go
toolbar/server/display.go
toolbar/server/errors.go
toolbar/server/handle.go
toolbar/server/pagination.go
toolbar/vote_reward/config/config.go
toolbar/vote_reward/settlementvotereward/settlementreward.go
toolbar/vote_reward/synchron/block_keeper.go
util/util.go
vendor/github.com/miekg/dns/dnssec_keyscan.go
vendor/github.com/miekg/dns/dnssec_privkey.go
wallet/annotated.go
wallet/indexer.go
wallet/mnemonic/mnemonic.go
wallet/recovery.go
wallet/recovery_test.go
wallet/store.go
wallet/unconfirmed.go
wallet/unconfirmed_test.go
wallet/utxo.go
wallet/utxo_test.go
wallet/wallet.go
wallet/wallet_test.go

index 02a340a..f32dc51 100644 (file)
@@ -1,5 +1,5 @@
 language: go
-go_import_path: github.com/vapor
+go_import_path: github.com/bytom/vapor
 dist: trusty
 sudo: false
 
index 9575331..305051f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ endif
 
 PACKAGES    := $(shell go list ./... | grep -v '/vendor/' | grep -v '/crypto/ed25519/chainkd' | grep -v '/mining/tensority')
 
-BUILD_FLAGS := -ldflags "-X github.com/vapor/version.GitCommit=`git rev-parse HEAD`"
+BUILD_FLAGS := -ldflags "-X github.com/bytom/vapor/version.GitCommit=`git rev-parse HEAD`"
 
 
 VAPORD_BINARY32 := vapord-$(GOOS)_386
index 55fd282..3e8b165 100644 (file)
--- a/README.md
+++ b/README.md
@@ -12,7 +12,8 @@ Vapor
 ## Get source code
 
 ```
-$ git clone https://github.com/Bytom/vapor.git $GOPATH/src/github.com/vapor
+$ cd $GOPATH/src/github.com/bytom
+$ git clone https://github.com/Bytom/vapor.git
 ```
 
 Then, you have two ways to get vapor executable file:
@@ -23,7 +24,7 @@ Then, you have two ways to get vapor executable file:
 ## Installation
 
 ```
-$ cd $GOPATH/src/github.com/vapor
+$ cd $GOPATH/src/github.com/bytom/vapor
 $ make install
 ```
 
@@ -51,7 +52,7 @@ $ vapord node --home <vapor-data-path>
 ### Build the image
 
 ```
-$ cd $GOPATH/src/github.com/vapor
+$ cd $GOPATH/src/github.com/bytom/vapor
 $ docker build -t vapor .
 ```
 
index 640f4ae..6773635 100644 (file)
@@ -10,9 +10,9 @@ import (
        "strings"
        "time"
 
-       "github.com/vapor/crypto/sha3pool"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/crypto/sha3pool"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/errors"
 )
 
 const tokenSize = 32
index 16c470b..548d451 100644 (file)
@@ -5,8 +5,8 @@ import (
        "strings"
        "testing"
 
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/errors"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/errors"
 )
 
 func TestCreate(t *testing.T) {
index ed86cc7..d6db4e6 100644 (file)
@@ -10,18 +10,18 @@ import (
        "github.com/google/uuid"
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/blockchain/signers"
-       "github.com/vapor/blockchain/txbuilder"
-       "github.com/vapor/common"
-       "github.com/vapor/consensus"
-       "github.com/vapor/consensus/segwit"
-       "github.com/vapor/crypto"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/crypto/sha3pool"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/vm/vmutil"
+       "github.com/bytom/vapor/blockchain/signers"
+       "github.com/bytom/vapor/blockchain/txbuilder"
+       "github.com/bytom/vapor/common"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/consensus/segwit"
+       "github.com/bytom/vapor/crypto"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/crypto/sha3pool"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/vm/vmutil"
 )
 
 const (
index af80a00..552dcc7 100644 (file)
@@ -4,16 +4,16 @@ import (
        "context"
        stdjson "encoding/json"
 
-       "github.com/vapor/blockchain/signers"
-       "github.com/vapor/blockchain/txbuilder"
-       "github.com/vapor/common"
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/encoding/json"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/vm/vmutil"
+       "github.com/bytom/vapor/blockchain/signers"
+       "github.com/bytom/vapor/blockchain/txbuilder"
+       "github.com/bytom/vapor/common"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/vm/vmutil"
 )
 
 var (
index 1ca6a62..66ef62e 100644 (file)
@@ -4,10 +4,10 @@ import (
        "testing"
        "time"
 
-       "github.com/vapor/blockchain/txbuilder"
-       "github.com/vapor/consensus"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/blockchain/txbuilder"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestMergeSpendAction(t *testing.T) {
index 7e8b3de..6a1be02 100644 (file)
@@ -1,7 +1,7 @@
 package account
 
 import (
-       "github.com/vapor/blockchain/query"
+       "github.com/bytom/vapor/blockchain/query"
 )
 
 //Annotated init an annotated account object
index b502980..afe233a 100644 (file)
@@ -1,8 +1,8 @@
 package account
 
 import (
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 // AccountStore interface contains account storage functions.
index 4af1a5d..c9a5ea6 100644 (file)
@@ -9,8 +9,8 @@ import (
        "time"
 
        log "github.com/sirupsen/logrus"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 const desireUtxoCount = 5
index 50b2d77..4738c6c 100644 (file)
@@ -8,11 +8,11 @@ import (
        "time"
 
        "github.com/golang/groupcache/lru"
-       "github.com/vapor/blockchain/txbuilder"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/blockchain/txbuilder"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestAddUnconfirmedUtxo(t *testing.T) {
index b75aa51..79e74ab 100644 (file)
@@ -7,12 +7,12 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/account"
-       "github.com/vapor/blockchain/signers"
-       "github.com/vapor/common"
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/protocol/vm/vmutil"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/blockchain/signers"
+       "github.com/bytom/vapor/common"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/protocol/vm/vmutil"
 )
 
 type CreateAccountReq struct {
index a030f39..cc54ae8 100644 (file)
@@ -11,22 +11,22 @@ import (
        log "github.com/sirupsen/logrus"
        cmn "github.com/tendermint/tmlibs/common"
 
-       "github.com/vapor/accesstoken"
-       cfg "github.com/vapor/config"
-       "github.com/vapor/dashboard/dashboard"
-       "github.com/vapor/dashboard/equity"
-       "github.com/vapor/errors"
-       "github.com/vapor/event"
-       "github.com/vapor/net/http/authn"
-       "github.com/vapor/net/http/gzip"
-       "github.com/vapor/net/http/httpjson"
-       "github.com/vapor/net/http/static"
-       "github.com/vapor/net/websocket"
-       "github.com/vapor/netsync/peers"
-       "github.com/vapor/p2p"
-       "github.com/vapor/proposal/blockproposer"
-       "github.com/vapor/protocol"
-       "github.com/vapor/wallet"
+       "github.com/bytom/vapor/accesstoken"
+       cfg "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/dashboard/dashboard"
+       "github.com/bytom/vapor/dashboard/equity"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/net/http/authn"
+       "github.com/bytom/vapor/net/http/gzip"
+       "github.com/bytom/vapor/net/http/httpjson"
+       "github.com/bytom/vapor/net/http/static"
+       "github.com/bytom/vapor/net/websocket"
+       "github.com/bytom/vapor/netsync/peers"
+       "github.com/bytom/vapor/p2p"
+       "github.com/bytom/vapor/proposal/blockproposer"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/wallet"
 )
 
 var (
index e984083..96ce970 100644 (file)
@@ -6,10 +6,10 @@ import (
        "os"
        "testing"
 
-       "github.com/vapor/accesstoken"
-       "github.com/vapor/blockchain/rpc"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/accesstoken"
+       "github.com/bytom/vapor/blockchain/rpc"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestAPIHandler(t *testing.T) {
index 0ab6fe6..02e7003 100644 (file)
@@ -3,7 +3,7 @@ package api
 import (
        "sort"
 
-       chainjson "github.com/vapor/encoding/json"
+       chainjson "github.com/bytom/vapor/encoding/json"
 )
 
 type VoteInfo struct {
index 10b9fb0..cc2ac51 100644 (file)
@@ -3,10 +3,10 @@ package api
 import (
        set "gopkg.in/fatih/set.v0"
 
-       "github.com/vapor/blockchain/query"
-       chainjson "github.com/vapor/encoding/json"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/blockchain/query"
+       chainjson "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 // return best block hash
index c1af857..dd5d9fa 100644 (file)
@@ -3,10 +3,10 @@ package api
 import (
        "strings"
 
-       chainjson "github.com/vapor/encoding/json"
-       "github.com/vapor/equity/compiler"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/vm"
+       chainjson "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/equity/compiler"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/vm"
 )
 
 // pre-define contract error types
index 0a6c38f..06102be 100644 (file)
@@ -3,18 +3,18 @@ package api
 import (
        "context"
 
-       "github.com/vapor/account"
-       "github.com/vapor/asset"
-       "github.com/vapor/blockchain/pseudohsm"
-       "github.com/vapor/blockchain/rpc"
-       "github.com/vapor/blockchain/signers"
-       "github.com/vapor/blockchain/txbuilder"
-       "github.com/vapor/errors"
-       "github.com/vapor/net/http/httperror"
-       "github.com/vapor/net/http/httpjson"
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/validation"
-       "github.com/vapor/protocol/vm"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/asset"
+       "github.com/bytom/vapor/blockchain/pseudohsm"
+       "github.com/bytom/vapor/blockchain/rpc"
+       "github.com/bytom/vapor/blockchain/signers"
+       "github.com/bytom/vapor/blockchain/txbuilder"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/net/http/httperror"
+       "github.com/bytom/vapor/net/http/httpjson"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/validation"
+       "github.com/bytom/vapor/protocol/vm"
 )
 
 var (
index 3158c20..bdda0e6 100644 (file)
@@ -5,8 +5,8 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/blockchain/txbuilder"
-       "github.com/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/blockchain/txbuilder"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
 )
 
 type CreateKeyReq struct {
index 44489be..622170b 100644 (file)
@@ -5,13 +5,13 @@ import (
        "encoding/hex"
        "strings"
 
-       "github.com/vapor/blockchain/signers"
-       "github.com/vapor/common"
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto"
-       "github.com/vapor/crypto/ed25519"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       chainjson "github.com/vapor/encoding/json"
+       "github.com/bytom/vapor/blockchain/signers"
+       "github.com/bytom/vapor/common"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto"
+       "github.com/bytom/vapor/crypto/ed25519"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       chainjson "github.com/bytom/vapor/encoding/json"
 )
 
 // SignMsgResp is response for sign message
index a7029e9..1e9f6c9 100644 (file)
@@ -4,10 +4,10 @@ import (
        "context"
        "strconv"
 
-       chainjson "github.com/vapor/encoding/json"
-       "github.com/vapor/errors"
-       "github.com/vapor/event"
-       "github.com/vapor/protocol/bc/types"
+       chainjson "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 type CoinbaseArbitrary struct {
index ac085ff..6557e33 100644 (file)
@@ -6,14 +6,14 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/common"
-       cfg "github.com/vapor/config"
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto"
-       "github.com/vapor/errors"
-       "github.com/vapor/netsync/peers"
-       "github.com/vapor/p2p"
-       "github.com/vapor/version"
+       "github.com/bytom/vapor/common"
+       cfg "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/netsync/peers"
+       "github.com/bytom/vapor/p2p"
+       "github.com/bytom/vapor/version"
 )
 
 type VersionInfo struct {
index 86381d1..716bb78 100644 (file)
@@ -5,8 +5,8 @@ import (
        "encoding/hex"
        "fmt"
 
-       "github.com/vapor/consensus/segwit"
-       "github.com/vapor/protocol/vm"
+       "github.com/bytom/vapor/consensus/segwit"
+       "github.com/bytom/vapor/protocol/vm"
 )
 
 // DecodeProgResp is response for decode program
index fba82b8..2216dd9 100644 (file)
@@ -7,18 +7,18 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/account"
-       "github.com/vapor/asset"
-       "github.com/vapor/blockchain/query"
-       "github.com/vapor/blockchain/signers"
-       "github.com/vapor/common/arithmetic"
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto/ed25519"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       chainjson "github.com/vapor/encoding/json"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/asset"
+       "github.com/bytom/vapor/blockchain/query"
+       "github.com/bytom/vapor/blockchain/signers"
+       "github.com/bytom/vapor/common/arithmetic"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto/ed25519"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       chainjson "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 // POST /list-accounts
index 28564da..730c152 100644 (file)
@@ -3,7 +3,7 @@ package api
 import (
        "context"
 
-       "github.com/vapor/blockchain/txbuilder"
+       "github.com/bytom/vapor/blockchain/txbuilder"
 )
 
 type AccountFilter struct {
index 28f62b3..6e9efea 100644 (file)
@@ -4,10 +4,10 @@ import (
        "context"
        "strings"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/encoding/json"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 // action error
index 67d4429..26719d3 100644 (file)
@@ -8,11 +8,11 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/account"
-       "github.com/vapor/blockchain/txbuilder"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/blockchain/txbuilder"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 var (
index c59109a..d7b1fb8 100644 (file)
@@ -3,10 +3,10 @@ package api
 import (
        "context"
 
-       "github.com/vapor/account"
-       "github.com/vapor/blockchain/pseudohsm"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/blockchain/pseudohsm"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/errors"
 )
 
 // POST /wallet error
index 26070c4..ba7a912 100644 (file)
@@ -6,7 +6,7 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/net/websocket"
+       "github.com/bytom/vapor/net/websocket"
 )
 
 // timeZeroVal is simply the zero value for a time.Time and is used to avoid
index 031e378..d56dac0 100644 (file)
@@ -1,6 +1,6 @@
 package common
 
-import "github.com/vapor/protocol/bc"
+import "github.com/bytom/vapor/protocol/bc"
 
 type MovUtxo struct {
        SourceID       *bc.Hash
index 4aa831a..252886a 100644 (file)
@@ -6,10 +6,10 @@ import (
        "errors"
        "math"
 
-       "github.com/vapor/application/mov/common"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/application/mov/common"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 const (
index 7f17fc7..f212ae0 100644 (file)
@@ -9,14 +9,14 @@ import (
 
        "github.com/stretchr/testify/require"
 
-       "github.com/vapor/application/mov/common"
-       "github.com/vapor/consensus"
-       "github.com/vapor/database/leveldb"
-       dbm "github.com/vapor/database/leveldb"
-       chainjson "github.com/vapor/encoding/json"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/application/mov/common"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/database/leveldb"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       chainjson "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/testutil"
 )
 
 var (
index 723e0bb..5177efa 100644 (file)
@@ -3,8 +3,8 @@ package asset
 import (
        "encoding/json"
 
-       "github.com/vapor/blockchain/query"
-       chainjson "github.com/vapor/encoding/json"
+       "github.com/bytom/vapor/blockchain/query"
+       chainjson "github.com/bytom/vapor/encoding/json"
 )
 
 //Annotated annotate the asset
index 9574d79..ae0e849 100644 (file)
@@ -8,12 +8,12 @@ import (
 
        "github.com/golang/groupcache/lru"
 
-       "github.com/vapor/consensus"
-       dbm "github.com/vapor/database/leveldb"
-       chainjson "github.com/vapor/encoding/json"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/consensus"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       chainjson "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 // DefaultNativeAsset native BTM asset
index 1c691ca..8d50d4c 100644 (file)
@@ -9,7 +9,7 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
 )
 
 const logModule = "pseudohsm"
index 79c6646..063e6ab 100644 (file)
@@ -7,7 +7,7 @@ import (
        "os"
        "testing"
 
-       "github.com/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
 )
 
 func TestRestore(t *testing.T) {
index bb94410..8d40e6e 100644 (file)
@@ -8,7 +8,7 @@ import (
        "time"
 
        "github.com/pborman/uuid"
-       "github.com/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
 )
 
 const (
index 7ab39fb..2030a4d 100644 (file)
@@ -15,7 +15,7 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
 )
 
 // Minimum amount of time between cache reloads. This limit applies if the platform does
index 8b6f1f4..3d10917 100644 (file)
@@ -14,7 +14,7 @@ import (
 
        "github.com/cespare/cp"
        "github.com/davecgh/go-spew/spew"
-       "github.com/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
 )
 
 var (
index 17cba23..5ec7292 100644 (file)
@@ -17,9 +17,9 @@ import (
        "path/filepath"
 
        "github.com/pborman/uuid"
-       "github.com/vapor/crypto"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/crypto/randentropy"
+       "github.com/bytom/vapor/crypto"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/crypto/randentropy"
        "golang.org/x/crypto/pbkdf2"
        "golang.org/x/crypto/scrypt"
 )
index 8fa2dc9..fa5e3a8 100644 (file)
@@ -6,7 +6,7 @@ import (
        "testing"
 
        "github.com/pborman/uuid"
-       "github.com/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
 )
 
 const (
index 51b672a..989bec1 100644 (file)
@@ -12,9 +12,9 @@ import (
 
        "github.com/pborman/uuid"
 
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/errors"
-       mnem "github.com/vapor/wallet/mnemonic"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/errors"
+       mnem "github.com/bytom/vapor/wallet/mnemonic"
 )
 
 // pre-define errors for supporting bytom errorFormatter
index 8fd2857..e3cd3bb 100644 (file)
@@ -7,8 +7,8 @@ import (
        "strings"
        "testing"
 
-       "github.com/vapor/crypto/ed25519"
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/crypto/ed25519"
+       "github.com/bytom/vapor/errors"
 )
 
 const dirPath = "testdata/pseudo"
index 2b1894a..471704d 100644 (file)
@@ -3,9 +3,9 @@ package query
 import (
        "encoding/json"
 
-       "github.com/vapor/crypto/ed25519/chainkd"
-       chainjson "github.com/vapor/encoding/json"
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       chainjson "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 //AnnotatedTx means an annotated transaction.
index 0710c93..87ba142 100644 (file)
@@ -11,8 +11,8 @@ import (
        "strings"
        "time"
 
-       "github.com/vapor/errors"
-       "github.com/vapor/net/http/httperror"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/net/http/httperror"
 )
 
 // Bytom-specific header fields
index 3e6964f..34f9ea5 100644 (file)
@@ -9,7 +9,7 @@ import (
        "strings"
        "testing"
 
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestRPCCallJSON(t *testing.T) {
index 53baf46..61768c8 100644 (file)
@@ -4,8 +4,8 @@ package signers
 import (
        "bytes"
        "encoding/binary"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/errors"
 )
 
 type keySpace byte
index f5b40bc..907d1af 100644 (file)
@@ -7,13 +7,13 @@ import (
 
        "golang.org/x/crypto/sha3"
 
-       "github.com/vapor/common"
-       cfg "github.com/vapor/config"
-       "github.com/vapor/consensus"
-       "github.com/vapor/encoding/json"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/vm/vmutil"
+       "github.com/bytom/vapor/common"
+       cfg "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/vm/vmutil"
 )
 
 // DecodeControlAddressAction convert input data to action struct
index 2c357ad..ef0d628 100644 (file)
@@ -4,9 +4,9 @@ import (
        "math"
        "time"
 
-       "github.com/vapor/common/arithmetic"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/common/arithmetic"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 // NewBuilder return new TemplateBuilder instance
index 937a4c8..1c2e592 100644 (file)
@@ -1,9 +1,9 @@
 package txbuilder
 
 import (
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/vm"
-       "github.com/vapor/protocol/vm/vmutil"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/vm"
+       "github.com/bytom/vapor/protocol/vm/vmutil"
 )
 
 // Constraint types express a constraint on an input of a proposed
index 1f49b2c..5af1a73 100644 (file)
@@ -3,7 +3,7 @@ package txbuilder
 import (
        "encoding/json"
 
-       chainjson "github.com/vapor/encoding/json"
+       chainjson "github.com/bytom/vapor/encoding/json"
 )
 
 // DataWitness used sign transaction
index dd74d8e..6a83414 100644 (file)
@@ -1,9 +1,9 @@
 package txbuilder
 
 import (
-       "github.com/vapor/consensus"
-       "github.com/vapor/consensus/segwit"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/consensus/segwit"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 // EstimateTxGasInfo estimate transaction consumed gas
index 0955876..3a6ef25 100644 (file)
@@ -4,13 +4,13 @@ import (
        "bytes"
        "context"
 
-       "github.com/vapor/common/arithmetic"
-       cfg "github.com/vapor/config"
-       "github.com/vapor/errors"
-       "github.com/vapor/math/checked"
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/vm"
+       "github.com/bytom/vapor/common/arithmetic"
+       cfg "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/math/checked"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/vm"
 )
 
 var (
index dabc8c9..1bc6b84 100644 (file)
@@ -6,7 +6,7 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       chainjson "github.com/vapor/encoding/json"
+       chainjson "github.com/bytom/vapor/encoding/json"
 )
 
 // TODO(bobg): most of the code here is duplicated from
index 800c783..23ad2d3 100644 (file)
@@ -1,8 +1,8 @@
 package txbuilder
 
 import (
-       "github.com/vapor/protocol/vm"
-       "github.com/vapor/protocol/vm/vmutil"
+       "github.com/bytom/vapor/protocol/vm"
+       "github.com/bytom/vapor/protocol/vm/vmutil"
 )
 
 // Signature programs constrain how the signed inputs of a transaction
index 63c8612..17c44ba 100644 (file)
@@ -6,11 +6,11 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/crypto/sha3pool"
-       chainjson "github.com/vapor/encoding/json"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/vm"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/crypto/sha3pool"
+       chainjson "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/vm"
 )
 
 type (
index bf04773..6a11198 100644 (file)
@@ -3,9 +3,9 @@ package txbuilder
 import (
        "encoding/json"
 
-       "github.com/vapor/crypto/ed25519/chainkd"
-       chainjson "github.com/vapor/encoding/json"
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       chainjson "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/errors"
 )
 
 func (si *SigningInstruction) AddDataWitness(data chainjson.HexBytes) {
index 2bfd342..93f25d2 100644 (file)
@@ -9,12 +9,12 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/errors"
-       "github.com/vapor/math/checked"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/vm"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/math/checked"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/vm"
 )
 
 const logModule = "txbuilder"
index bc85f8f..bd52030 100644 (file)
@@ -10,16 +10,16 @@ import (
 
        "github.com/davecgh/go-spew/spew"
 
-       "github.com/vapor/common"
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       chainjson "github.com/vapor/encoding/json"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/vm/vmutil"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/common"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       chainjson "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/vm/vmutil"
+       "github.com/bytom/vapor/testutil"
 )
 
 type testAction bc.AssetAmount
index 9de666f..b758b0f 100644 (file)
@@ -4,10 +4,10 @@ import (
        "context"
        "encoding/json"
 
-       "github.com/vapor/crypto/ed25519/chainkd"
-       chainjson "github.com/vapor/encoding/json"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       chainjson "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 // Template represents a partially- or fully-signed transaction.
index 582b06f..5437a58 100644 (file)
@@ -3,9 +3,9 @@ package txbuilder
 import (
        "context"
 
-       "github.com/vapor/crypto/ed25519/chainkd"
-       chainjson "github.com/vapor/encoding/json"
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       chainjson "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/errors"
 )
 
 // SignFunc is the function passed into Sign that produces
index 49e5bde..a4e093a 100644 (file)
@@ -6,8 +6,8 @@ import (
 
        "github.com/davecgh/go-spew/spew"
 
-       chainjson "github.com/vapor/encoding/json"
-       "github.com/vapor/testutil"
+       chainjson "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestWitnessJSON(t *testing.T) {
index b38d07a..c466170 100644 (file)
@@ -7,9 +7,9 @@ import (
        "github.com/spf13/cobra"
        "github.com/tendermint/tmlibs/cli"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/toolbar/consensusreward"
-       cfg "github.com/vapor/toolbar/consensusreward/config"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/toolbar/consensusreward"
+       cfg "github.com/bytom/vapor/toolbar/consensusreward/config"
 )
 
 const logModule = "consensusereward"
index 3cb91c6..bb21b3d 100644 (file)
@@ -5,11 +5,11 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/toolbar/federation/api"
-       "github.com/vapor/toolbar/federation/config"
-       "github.com/vapor/toolbar/federation/database"
-       "github.com/vapor/toolbar/common"
-       "github.com/vapor/toolbar/federation/synchron"
+       "github.com/bytom/vapor/toolbar/federation/api"
+       "github.com/bytom/vapor/toolbar/federation/config"
+       "github.com/bytom/vapor/toolbar/federation/database"
+       "github.com/bytom/vapor/toolbar/common"
+       "github.com/bytom/vapor/toolbar/federation/synchron"
 )
 
 func main() {
index 07913be..b464e3e 100644 (file)
@@ -5,10 +5,10 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/toolbar/common"
-       "github.com/vapor/toolbar/precognitive/api"
-       "github.com/vapor/toolbar/precognitive/config"
-       "github.com/vapor/toolbar/precognitive/monitor"
+       "github.com/bytom/vapor/toolbar/common"
+       "github.com/bytom/vapor/toolbar/precognitive/api"
+       "github.com/bytom/vapor/toolbar/precognitive/config"
+       "github.com/bytom/vapor/toolbar/precognitive/monitor"
 )
 
 func main() {
index 326595f..03eb883 100644 (file)
@@ -5,7 +5,7 @@ import (
        "github.com/spf13/cobra"
        "github.com/tendermint/tmlibs/cli"
 
-       "github.com/vapor/toolbar/mergeutxo"
+       "github.com/bytom/vapor/toolbar/mergeutxo"
 )
 
 var RootCmd = &cobra.Command{
index d1bfe9d..e8cea5d 100644 (file)
@@ -6,7 +6,7 @@ import (
        "github.com/spf13/cobra"
        jww "github.com/spf13/jwalterweatherman"
 
-       "github.com/vapor/util"
+       "github.com/bytom/vapor/util"
 )
 
 var createAccessTokenCmd = &cobra.Command{
index e5d3dd8..ab1c5e9 100644 (file)
@@ -7,8 +7,8 @@ import (
        "github.com/spf13/cobra"
        jww "github.com/spf13/jwalterweatherman"
 
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/util"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/util"
 )
 
 func init() {
index feec29a..c470136 100644 (file)
@@ -8,8 +8,8 @@ import (
        jww "github.com/spf13/jwalterweatherman"
 
        "encoding/hex"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/util"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/util"
 )
 
 func init() {
index 9ce4196..881429c 100644 (file)
@@ -9,8 +9,8 @@ import (
        "github.com/spf13/cobra"
        jww "github.com/spf13/jwalterweatherman"
 
-       chainjson "github.com/vapor/encoding/json"
-       "github.com/vapor/util"
+       chainjson "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/util"
 )
 
 func init() {
index a317908..626c4d9 100644 (file)
@@ -7,9 +7,9 @@ import (
        "github.com/spf13/cobra"
        jww "github.com/spf13/jwalterweatherman"
 
-       "github.com/vapor/crypto/ed25519/chainkd"
-       chainjson "github.com/vapor/encoding/json"
-       "github.com/vapor/util"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       chainjson "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/util"
 )
 
 var createKeyCmd = &cobra.Command{
index 1cc6284..fc4932c 100644 (file)
@@ -7,7 +7,7 @@ import (
        "github.com/spf13/cobra"
        jww "github.com/spf13/jwalterweatherman"
 
-       "github.com/vapor/util"
+       "github.com/bytom/vapor/util"
 )
 
 var isMiningCmd = &cobra.Command{
index 0f75f60..c768ede 100644 (file)
@@ -5,7 +5,7 @@ import (
 
        "github.com/spf13/cobra"
 
-       "github.com/vapor/util"
+       "github.com/bytom/vapor/util"
 )
 
 var netInfoCmd = &cobra.Command{
index 71426bc..d0d9e58 100644 (file)
@@ -5,7 +5,7 @@ import (
 
        "github.com/spf13/cobra"
 
-       "github.com/vapor/util"
+       "github.com/bytom/vapor/util"
 )
 
 var decodeProgCmd = &cobra.Command{
index eea20ca..9e747c3 100644 (file)
@@ -3,7 +3,7 @@ package commands
 import (
        "fmt"
 
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/errors"
 )
 
 const (
index 308ab94..7724485 100644 (file)
@@ -9,11 +9,11 @@ import (
        "github.com/spf13/cobra"
        jww "github.com/spf13/jwalterweatherman"
 
-       "github.com/vapor/api"
-       "github.com/vapor/blockchain/txbuilder"
-       chainjson "github.com/vapor/encoding/json"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/util"
+       "github.com/bytom/vapor/api"
+       "github.com/bytom/vapor/blockchain/txbuilder"
+       chainjson "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/util"
 )
 
 func init() {
index 630a8a4..65b9363 100644 (file)
@@ -6,7 +6,7 @@ import (
        "github.com/spf13/cobra"
        jww "github.com/spf13/jwalterweatherman"
 
-       "github.com/vapor/util"
+       "github.com/bytom/vapor/util"
 )
 
 var createTransactionFeedCmd = &cobra.Command{
index 2657ce1..9204692 100644 (file)
@@ -7,10 +7,10 @@ import (
 
        jww "github.com/spf13/jwalterweatherman"
 
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/encoding/json"
-       chainjson "github.com/vapor/encoding/json"
-       "github.com/vapor/util"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/encoding/json"
+       chainjson "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/util"
 )
 
 // accountIns is used for account related request.
index d90427a..58b14e5 100644 (file)
@@ -7,7 +7,7 @@ import (
 
        "github.com/spf13/cobra"
 
-       "github.com/vapor/util"
+       "github.com/bytom/vapor/util"
 )
 
 // vaporcli usage template
index 9ce7585..483aeca 100644 (file)
@@ -6,7 +6,7 @@ import (
        "github.com/spf13/cobra"
        jww "github.com/spf13/jwalterweatherman"
 
-       "github.com/vapor/version"
+       "github.com/bytom/vapor/version"
 )
 
 var versionCmd = &cobra.Command{
index 823781e..4d51a29 100644 (file)
@@ -6,7 +6,7 @@ import (
        "github.com/spf13/cobra"
        jww "github.com/spf13/jwalterweatherman"
 
-       "github.com/vapor/util"
+       "github.com/bytom/vapor/util"
 )
 
 var walletInfoCmd = &cobra.Command{
index afb61ec..458f436 100644 (file)
@@ -3,7 +3,7 @@ package main
 import (
        "runtime"
 
-       cmd "github.com/vapor/cmd/vaporcli/commands"
+       cmd "github.com/bytom/vapor/cmd/vaporcli/commands"
 )
 
 func main() {
index aa0f144..f60dbd9 100644 (file)
@@ -9,8 +9,8 @@ import (
        log "github.com/sirupsen/logrus"
        "github.com/spf13/cobra"
 
-       cfg "github.com/vapor/config"
-       "github.com/vapor/crypto/ed25519/chainkd"
+       cfg "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
 )
 
 var initFilesCmd = &cobra.Command{
index 6f75655..ed4060d 100644 (file)
@@ -8,7 +8,7 @@ import (
        "github.com/spf13/viper"
        cmn "github.com/tendermint/tmlibs/common"
 
-       cfg "github.com/vapor/config"
+       cfg "github.com/bytom/vapor/config"
 )
 
 var (
index 3e8993b..2cc8bc7 100644 (file)
@@ -7,7 +7,7 @@ import (
        log "github.com/sirupsen/logrus"
        "github.com/spf13/cobra"
 
-       "github.com/vapor/node"
+       "github.com/bytom/vapor/node"
 )
 
 const logModule = "cmd"
index 91c2622..3743b9e 100644 (file)
@@ -5,7 +5,7 @@ import (
 
        "github.com/spf13/cobra"
 
-       "github.com/vapor/version"
+       "github.com/bytom/vapor/version"
 )
 
 var versionCmd = &cobra.Command{
index 9d6efb2..2ddfd20 100644 (file)
@@ -10,8 +10,8 @@ import (
        log "github.com/sirupsen/logrus"
        "github.com/tendermint/tmlibs/cli"
 
-       "github.com/vapor/cmd/vapord/commands"
-       "github.com/vapor/config"
+       "github.com/bytom/vapor/cmd/vapord/commands"
+       "github.com/bytom/vapor/config"
 )
 
 // ContextHook is a hook for logrus.
index 275632d..8fb1c96 100644 (file)
@@ -7,11 +7,11 @@ import (
        "github.com/spf13/cobra"
        "github.com/tendermint/tmlibs/cli"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/toolbar/common"
-       cfg "github.com/vapor/toolbar/vote_reward/config"
-       "github.com/vapor/toolbar/vote_reward/settlementvotereward"
-       "github.com/vapor/toolbar/vote_reward/synchron"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/toolbar/common"
+       cfg "github.com/bytom/vapor/toolbar/vote_reward/config"
+       "github.com/bytom/vapor/toolbar/vote_reward/settlementvotereward"
+       "github.com/bytom/vapor/toolbar/vote_reward/synchron"
 )
 
 const logModule = "reward"
index 3fe4999..f4618a6 100644 (file)
@@ -6,8 +6,8 @@ import (
        "fmt"
        "strings"
 
-       "github.com/vapor/common/bech32"
-       "github.com/vapor/consensus"
+       "github.com/bytom/vapor/common/bech32"
+       "github.com/bytom/vapor/consensus"
 )
 
 var (
index b1b3d5b..1794cf1 100644 (file)
@@ -7,8 +7,8 @@ import (
        "strings"
        "testing"
 
-       "github.com/vapor/common/bech32"
-       "github.com/vapor/consensus"
+       "github.com/bytom/vapor/common/bech32"
+       "github.com/bytom/vapor/consensus"
 )
 
 func TestAddresses(t *testing.T) {
index 394666c..875537c 100644 (file)
@@ -1,9 +1,9 @@
 package arithmetic
 
 import (
-       "github.com/vapor/consensus"
-       "github.com/vapor/math/checked"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/math/checked"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 // CalculateTxFee calculate transaction fee
index 02d2c7c..fa19b30 100644 (file)
@@ -10,7 +10,7 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
 )
 
 var (
index 00e92ad..1c36d86 100644 (file)
@@ -5,7 +5,7 @@ import (
        "os"
        "testing"
 
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestFederation(t *testing.T) {
index a3b2f7e..9e36bc6 100644 (file)
@@ -5,12 +5,12 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/vm/vmutil"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/vm/vmutil"
 )
 
 // FedAddressPath is used to derive federation root xpubs for signing cross-chain txs
index b34f19d..07c32e8 100644 (file)
@@ -4,7 +4,7 @@ import (
        "encoding/binary"
        "fmt"
 
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 // basic constant
index 5f62f33..7515141 100644 (file)
@@ -3,9 +3,9 @@ package segwit
 import (
        "errors"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/protocol/vm"
-       "github.com/vapor/protocol/vm/vmutil"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/protocol/vm"
+       "github.com/bytom/vapor/protocol/vm/vmutil"
 )
 
 func IsP2WScript(prog []byte) bool {
index fd434b4..c044c29 100644 (file)
@@ -1,7 +1,7 @@
 package crypto
 
 import (
-       "github.com/vapor/common"
+       "github.com/bytom/vapor/common"
        "golang.org/x/crypto/ripemd160"
        "golang.org/x/crypto/sha3"
 )
index 9b6d221..92805bc 100644 (file)
@@ -6,8 +6,8 @@ import (
        "crypto/sha512"
        "io"
 
-       "github.com/vapor/crypto/ed25519"
-       "github.com/vapor/crypto/ed25519/ecmath"
+       "github.com/bytom/vapor/crypto/ed25519"
+       "github.com/bytom/vapor/crypto/ed25519/ecmath"
 )
 
 type (
index 5926b28..022689d 100644 (file)
@@ -14,8 +14,8 @@ import (
        "io"
        "strconv"
 
-       "github.com/vapor/crypto/ed25519"
-       "github.com/vapor/crypto/ed25519/internal/edwards25519"
+       "github.com/bytom/vapor/crypto/ed25519"
+       "github.com/bytom/vapor/crypto/ed25519/internal/edwards25519"
 )
 
 const (
index 3d3a614..23b3c77 100644 (file)
@@ -5,7 +5,7 @@ import (
        "crypto"
        "testing"
 
-       "github.com/vapor/crypto/ed25519"
+       "github.com/bytom/vapor/crypto/ed25519"
 )
 
 // Testing basic InnerSign+Verify and the invariants:
index a8274d7..cbb8294 100644 (file)
@@ -3,7 +3,7 @@ package chainkd
 import (
        "io"
 
-       "github.com/vapor/crypto/ed25519"
+       "github.com/bytom/vapor/crypto/ed25519"
 )
 
 // Utility functions
index 9d36309..c75cf4e 100644 (file)
@@ -3,7 +3,7 @@ package ecmath
 import (
        "crypto/subtle"
 
-       "github.com/vapor/crypto/ed25519/internal/edwards25519"
+       "github.com/bytom/vapor/crypto/ed25519/internal/edwards25519"
 )
 
 // Point is a point on the ed25519 curve.
index d3ab1c1..e502234 100644 (file)
@@ -3,7 +3,7 @@ package ecmath
 import (
        "crypto/subtle"
 
-       "github.com/vapor/crypto/ed25519/internal/edwards25519"
+       "github.com/bytom/vapor/crypto/ed25519/internal/edwards25519"
 )
 
 // Scalar is a 256-bit little-endian scalar.
index aa22b5b..c791082 100644 (file)
@@ -16,7 +16,7 @@ import (
        "io"
        "strconv"
 
-       "github.com/vapor/crypto/ed25519/internal/edwards25519"
+       "github.com/bytom/vapor/crypto/ed25519/internal/edwards25519"
 )
 
 const (
index 08728e0..5afeb1a 100644 (file)
@@ -15,7 +15,7 @@ import (
        "strings"
        "testing"
 
-       "github.com/vapor/crypto/ed25519/internal/edwards25519"
+       "github.com/bytom/vapor/crypto/ed25519/internal/edwards25519"
 )
 
 type zeroReader struct{}
index d050f49..8d15bcf 100644 (file)
@@ -5,14 +5,14 @@ import (
        "sort"
        "strings"
 
-       acc "github.com/vapor/account"
-       "github.com/vapor/blockchain/signers"
-       "github.com/vapor/common"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/crypto/sha3pool"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
+       acc "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/blockchain/signers"
+       "github.com/bytom/vapor/common"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/crypto/sha3pool"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 const (
index 680554c..3a43e92 100644 (file)
@@ -6,15 +6,15 @@ import (
        "sort"
        "testing"
 
-       "github.com/vapor/common"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/common"
+       "github.com/bytom/vapor/testutil"
 
-       "github.com/vapor/blockchain/signers"
-       "github.com/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/blockchain/signers"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
 
-       acc "github.com/vapor/account"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/protocol/bc"
+       acc "github.com/bytom/vapor/account"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 func TestDeleteAccount(t *testing.T) {
index e6fb4d8..10bb628 100644 (file)
@@ -5,10 +5,10 @@ import (
 
        "github.com/golang/groupcache/singleflight"
 
-       "github.com/vapor/common"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/state"
+       "github.com/bytom/vapor/common"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/state"
 )
 
 const (
index b88ad3a..8dea9ad 100644 (file)
@@ -3,9 +3,9 @@ package database
 import (
        "testing"
 
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/state"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/state"
 )
 
 func TestBlockCache(t *testing.T) {
index bff69c6..c4cdda6 100644 (file)
@@ -9,13 +9,13 @@ import (
        "github.com/golang/protobuf/proto"
        log "github.com/sirupsen/logrus"
 
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/database/storage"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/state"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/database/storage"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/state"
 )
 
 const (
index 3686838..548f6b2 100644 (file)
@@ -4,14 +4,14 @@ import (
        "os"
        "testing"
 
-       "github.com/vapor/consensus"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/database/storage"
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/state"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/consensus"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/database/storage"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/state"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestSaveChainStatus(t *testing.T) {
index 987a23d..81a7f28 100644 (file)
@@ -2,11 +2,11 @@ package database
 
 import (
        "github.com/golang/protobuf/proto"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/database/storage"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/state"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/database/storage"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/state"
 )
 
 const utxoPreFix = "UT:"
index b776b54..9f39d2b 100644 (file)
@@ -4,11 +4,11 @@ import (
        "os"
        "testing"
 
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/database/storage"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/state"
-       "github.com/vapor/testutil"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/database/storage"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/state"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestSaveUtxoView(t *testing.T) {
index ded9cfd..d0bfa5a 100644 (file)
@@ -9,13 +9,13 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       acc "github.com/vapor/account"
-       "github.com/vapor/asset"
-       "github.com/vapor/blockchain/query"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/wallet"
+       acc "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/asset"
+       "github.com/bytom/vapor/blockchain/query"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/wallet"
 )
 
 const (
index 96cd9b1..e23052c 100644 (file)
@@ -10,15 +10,15 @@ import (
        "sort"
        "testing"
 
-       acc "github.com/vapor/account"
-       "github.com/vapor/asset"
-       "github.com/vapor/blockchain/pseudohsm"
-       "github.com/vapor/blockchain/query"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/testutil"
-       "github.com/vapor/wallet"
+       acc "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/asset"
+       "github.com/bytom/vapor/blockchain/pseudohsm"
+       "github.com/bytom/vapor/blockchain/query"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/testutil"
+       "github.com/bytom/vapor/wallet"
 )
 
 func TestAccountIndexKey(t *testing.T) {
index 9003ec2..d31b68c 100644 (file)
@@ -4,7 +4,7 @@ FROM golang:1.12-alpine as builder
 RUN apk add --no-cache make git
 
 ADD . /go/src/github.com/vapor
-WORKDIR /go/src/github.com/vapor/cmd/fedd
+WORKDIR /go/src/github.com/bytom/vapor/cmd/fedd
 
 RUN GOOS=linux CGO_ENABLED=0 go build -ldflags="-s -w" -installsuffix cgo -o fed main.go
 
@@ -12,6 +12,6 @@ RUN GOOS=linux CGO_ENABLED=0 go build -ldflags="-s -w" -installsuffix cgo -o fed
 FROM alpine:latest
 
 RUN apk add --no-cache ca-certificates
-COPY --from=builder /go/src/github.com/vapor/cmd/fedd/fed /usr/local/bin/
+COPY --from=builder /go/src/github.com/bytom/vapor/cmd/fedd/fed /usr/local/bin/
 
 EXPOSE 9886
index 3cb63a2..fdd558a 100644 (file)
@@ -10,7 +10,7 @@ RUN cd /go/src/github.com/vapor && make vapord && make vaporcli
 FROM alpine:latest
 
 RUN apk add --no-cache ca-certificates
-COPY --from=builder /go/src/github.com/vapor/cmd/vapord/vapord /usr/local/bin/
-COPY --from=builder /go/src/github.com/vapor/cmd/vaporcli/vaporcli /usr/local/bin/
+COPY --from=builder /go/src/github.com/bytom/vapor/cmd/vapord/vapord /usr/local/bin/
+COPY --from=builder /go/src/github.com/bytom/vapor/cmd/vaporcli/vaporcli /usr/local/bin/
 
 EXPOSE 9889 56656 56657 56658
index 92a8b1d..61e3344 100644 (file)
@@ -1,6 +1,6 @@
 FROM bytom/golang-gcc-gpp:1.11.2 as builder
 LABEL stage=vapord_builder
-WORKDIR /go/src/github.com/vapor
+WORKDIR /go/src/github.com/bytom/vapor
 COPY . .
 RUN go build -o /usr/local/vapord/vapord ./cmd/vapord/main.go
 # save node public key in /usr/local/vapord/node_pubkey.txt
index 9b1f5df..bf6d758 100644 (file)
@@ -9,7 +9,7 @@ import (
        "math"
        "sync"
 
-       "github.com/vapor/encoding/bufpool"
+       "github.com/bytom/vapor/encoding/bufpool"
 )
 
 var bufPool = sync.Pool{New: func() interface{} { return new([9]byte) }}
index 85db64e..cb642c7 100644 (file)
@@ -6,7 +6,7 @@ import (
        "strconv"
        "strings"
 
-       chainjson "github.com/vapor/encoding/json"
+       chainjson "github.com/bytom/vapor/encoding/json"
 )
 
 // Contract is a compiled Equity contract.
index 2a2a470..38d2f3a 100644 (file)
@@ -8,12 +8,12 @@ import (
        "os"
        "strings"
 
-       "github.com/vapor/equity/compiler"
+       "github.com/bytom/vapor/equity/compiler"
 )
 
 var (
        // generateInstPath is the directory (need to combine with GOPATH) for store generated contract instance
-       generateInstPath = "/src/github.com/vapor/equity/instance/"
+       generateInstPath = "/src/github.com/bytom/vapor/equity/instance/"
 )
 
 func main() {
@@ -66,8 +66,8 @@ func main() {
                "bytes":                            true,
                "encoding/hex":                     true,
                "fmt":                              true,
-               "github.com/vapor/equity/compiler": true,
-               "github.com/vapor/protocol/vm":     true,
+               "github.com/bytom/vapor/equity/compiler": true,
+               "github.com/bytom/vapor/protocol/vm":     true,
        }
 
        buf := new(bytes.Buffer)
@@ -254,7 +254,7 @@ func asGoParams(params []*compiler.Param) (goParams string, imports []string) {
                        typ = "uint64"
                case "Asset":
                        typ = "bc.AssetID"
-                       imports = append(imports, "github.com/vapor/protocol/bc")
+                       imports = append(imports, "github.com/bytom/vapor/protocol/bc")
                        strFlag = true
                case "Boolean":
                        typ = "bool"
@@ -268,7 +268,7 @@ func asGoParams(params []*compiler.Param) (goParams string, imports []string) {
                        strFlag = true
                case "PublicKey":
                        typ = "ed25519.PublicKey"
-                       imports = append(imports, "github.com/vapor/crypto/ed25519")
+                       imports = append(imports, "github.com/bytom/vapor/crypto/ed25519")
                        strFlag = true
                case "Signature":
                        typ = "[]byte"
@@ -281,7 +281,7 @@ func asGoParams(params []*compiler.Param) (goParams string, imports []string) {
        }
 
        if strFlag {
-               imports = append(imports, "github.com/vapor/encoding/json")
+               imports = append(imports, "github.com/bytom/vapor/encoding/json")
        }
        return strings.Join(strs, ", "), imports
 }
index 0e623e3..28be7b5 100644 (file)
@@ -6,10 +6,10 @@ import (
        "io"
        "io/ioutil"
 
-       chainjson "github.com/vapor/encoding/json"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/vm"
-       "github.com/vapor/protocol/vm/vmutil"
+       chainjson "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/vm"
+       "github.com/bytom/vapor/protocol/vm/vmutil"
 )
 
 // ValueInfo describes how a blockchain value is used in a contract
index 733ede2..395917f 100644 (file)
@@ -5,9 +5,9 @@ import (
        "strings"
        "testing"
 
-       chainjson "github.com/vapor/encoding/json"
+       chainjson "github.com/bytom/vapor/encoding/json"
 
-       "github.com/vapor/equity/compiler/equitytest"
+       "github.com/bytom/vapor/equity/compiler/equitytest"
 )
 
 func TestCompile(t *testing.T) {
index a4733cc..20e7413 100644 (file)
@@ -9,8 +9,8 @@ import (
 
        "github.com/spf13/cobra"
 
-       "github.com/vapor/equity/compiler"
-       equityutil "github.com/vapor/equity/equity/util"
+       "github.com/bytom/vapor/equity/compiler"
+       equityutil "github.com/bytom/vapor/equity/equity/util"
 )
 
 const (
index ee4ef02..12241e4 100644 (file)
@@ -5,9 +5,9 @@ import (
        "errors"
        "strconv"
 
-       chainjson "github.com/vapor/encoding/json"
+       chainjson "github.com/bytom/vapor/encoding/json"
 
-       "github.com/vapor/equity/compiler"
+       "github.com/bytom/vapor/equity/compiler"
 )
 
 // InstantiateContract instantiate contract parameters
index c9cc003..de86f20 100644 (file)
@@ -6,9 +6,9 @@ import (
        "encoding/hex"
        "errors"
 
-       "github.com/vapor/protocol/vm"
+       "github.com/bytom/vapor/protocol/vm"
 
-       "github.com/vapor/equity/compiler"
+       "github.com/bytom/vapor/equity/compiler"
 )
 
 const (
index e13c92e..4fab1d0 100644 (file)
@@ -9,8 +9,8 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 const (
index 818e5ef..e16ceea 100644 (file)
@@ -12,7 +12,7 @@ import (
        rotatelogs "github.com/lestrrat-go/file-rotatelogs"
        "github.com/sirupsen/logrus"
 
-       "github.com/vapor/config"
+       "github.com/bytom/vapor/config"
 )
 
 const (
index f3f8897..8b61929 100644 (file)
@@ -8,8 +8,8 @@ import (
        "sync"
        "time"
 
-       "github.com/vapor/accesstoken"
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/accesstoken"
+       "github.com/bytom/vapor/errors"
 )
 
 const tokenExpiry = time.Minute * 5
index c1d151f..0daa453 100644 (file)
@@ -6,9 +6,9 @@ import (
        "strings"
        "testing"
 
-       "github.com/vapor/accesstoken"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/accesstoken"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/errors"
 )
 
 func TestAuthenticate(t *testing.T) {
index b902c9f..5edc84b 100644 (file)
@@ -6,8 +6,8 @@ import (
        "context"
        "net/http"
 
-       "github.com/vapor/errors"
-       "github.com/vapor/net/http/httpjson"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/net/http/httpjson"
 )
 
 // Info contains a set of error codes to send to the user.
index 852fccf..c80d128 100644 (file)
@@ -5,7 +5,7 @@ import (
        "fmt"
        "testing"
 
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/errors"
 )
 
 var (
index e2b8559..dd0f3e7 100644 (file)
@@ -9,7 +9,7 @@ import (
        "testing"
        "testing/iotest"
 
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/errors"
 )
 
 func TestHandler(t *testing.T) {
index 0d57d19..94c3f14 100644 (file)
@@ -8,7 +8,7 @@ import (
        "reflect"
 
        log "github.com/sirupsen/logrus"
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/errors"
 )
 
 const logModule = "httpjson"
index ea8261b..8a2e3c4 100644 (file)
@@ -12,7 +12,7 @@ import (
        "github.com/gorilla/websocket"
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/errors"
 )
 
 // websocketSendBufferSize is the number of elements the send channel
index b1d692a..3e7957d 100644 (file)
@@ -7,10 +7,10 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/event"
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 // Notification types
index c670d23..5d0522d 100644 (file)
@@ -5,12 +5,12 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/consensus"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/netsync/peers"
-       "github.com/vapor/p2p/security"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/consensus"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/netsync/peers"
+       "github.com/bytom/vapor/p2p/security"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 const (
index 9472f21..e34e48b 100644 (file)
@@ -7,16 +7,16 @@ import (
        "testing"
        "time"
 
-       "github.com/vapor/consensus"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/errors"
-       msgs "github.com/vapor/netsync/messages"
-       "github.com/vapor/netsync/peers"
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/test/mock"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/consensus"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/errors"
+       msgs "github.com/bytom/vapor/netsync/messages"
+       "github.com/bytom/vapor/netsync/peers"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/test/mock"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestCheckSyncType(t *testing.T) {
index fac5cb5..d1e45a6 100644 (file)
@@ -5,9 +5,9 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/errors"
-       "github.com/vapor/netsync/peers"
-       "github.com/vapor/p2p/security"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/netsync/peers"
+       "github.com/bytom/vapor/p2p/security"
 )
 
 var errOrphanBlock = errors.New("fast sync inserting orphan block")
index 7663dc8..70503fb 100644 (file)
@@ -7,10 +7,10 @@ import (
        "testing"
        "time"
 
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/netsync/peers"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/test/mock"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/netsync/peers"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/test/mock"
 )
 
 func TestBlockProcess(t *testing.T) {
index 5565987..6b8ea72 100644 (file)
@@ -5,11 +5,11 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/errors"
-       "github.com/vapor/netsync/peers"
-       "github.com/vapor/p2p/security"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/netsync/peers"
+       "github.com/bytom/vapor/p2p/security"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 var (
index 07e2fca..7501949 100644 (file)
@@ -8,14 +8,14 @@ import (
        "testing"
        "time"
 
-       "github.com/vapor/consensus"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/errors"
-       "github.com/vapor/netsync/peers"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/test/mock"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/consensus"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/netsync/peers"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/test/mock"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestBlockLocator(t *testing.T) {
index 656a950..e57e60a 100644 (file)
@@ -6,17 +6,17 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       cfg "github.com/vapor/config"
-       "github.com/vapor/consensus"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/event"
-       msgs "github.com/vapor/netsync/messages"
-       "github.com/vapor/netsync/peers"
-       "github.com/vapor/p2p"
-       "github.com/vapor/p2p/security"
-       core "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       cfg "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/consensus"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/event"
+       msgs "github.com/bytom/vapor/netsync/messages"
+       "github.com/bytom/vapor/netsync/peers"
+       "github.com/bytom/vapor/p2p"
+       "github.com/bytom/vapor/p2p/security"
+       core "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 const (
index 1435602..457574b 100644 (file)
@@ -6,11 +6,11 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/errors"
-       "github.com/vapor/netsync/peers"
-       "github.com/vapor/p2p/security"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/netsync/peers"
+       "github.com/bytom/vapor/p2p/security"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 const (
index 0b3c5a7..e07d9d0 100644 (file)
@@ -6,10 +6,10 @@ import (
        log "github.com/sirupsen/logrus"
        "github.com/tendermint/go-wire"
 
-       "github.com/vapor/errors"
-       msgs "github.com/vapor/netsync/messages"
-       "github.com/vapor/p2p"
-       "github.com/vapor/p2p/connection"
+       "github.com/bytom/vapor/errors"
+       msgs "github.com/bytom/vapor/netsync/messages"
+       "github.com/bytom/vapor/p2p"
+       "github.com/bytom/vapor/p2p/connection"
 )
 
 //ProtocolReactor handles new coming protocol message.
index 2bab996..ff6b758 100644 (file)
@@ -4,9 +4,9 @@ import (
        "encoding/binary"
        "sync"
 
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc/types"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 var (
index c15d14b..19b9cc4 100644 (file)
@@ -7,8 +7,8 @@ import (
 
        "github.com/davecgh/go-spew/spew"
 
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/protocol/bc/types"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 func TestReadWriteBlocks(t *testing.T) {
index 9e4bf63..b0ac3e7 100644 (file)
@@ -8,14 +8,14 @@ import (
 
        "github.com/tendermint/go-wire"
        "github.com/tendermint/tmlibs/flowrate"
-       dbm "github.com/vapor/database/leveldb"
-
-       "github.com/vapor/consensus"
-       "github.com/vapor/event"
-       "github.com/vapor/netsync/peers"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/test/mock"
+       dbm "github.com/bytom/vapor/database/leveldb"
+
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/netsync/peers"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/test/mock"
 )
 
 type P2PPeer struct {
index 6c6f5f9..8dd6e7e 100644 (file)
@@ -6,8 +6,8 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       core "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc/types"
+       core "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 const (
index b5ac991..cfe8560 100644 (file)
@@ -9,13 +9,13 @@ import (
 
        "github.com/davecgh/go-spew/spew"
 
-       "github.com/vapor/consensus"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/protocol"
-       core "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/test/mock"
+       "github.com/bytom/vapor/consensus"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/protocol"
+       core "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/test/mock"
 )
 
 const txsNumber = 2000
index 96f7fed..6e28330 100644 (file)
@@ -4,8 +4,8 @@ import (
        log "github.com/sirupsen/logrus"
        "gopkg.in/karalabe/cookiejar.v2/collections/prque"
 
-       "github.com/vapor/p2p/security"
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/p2p/security"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 const (
index 9670351..0ecf305 100644 (file)
@@ -4,9 +4,9 @@ import (
        "testing"
        "time"
 
-       "github.com/vapor/netsync/peers"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/netsync/peers"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 type peerMgr struct {
index b11695a..c3bd741 100644 (file)
@@ -1,7 +1,7 @@
 package consensusmgr
 
 import (
-       "github.com/vapor/netsync/peers"
+       "github.com/bytom/vapor/netsync/peers"
 )
 
 // BroadcastMsg the message that can be broadcast
index f47cf81..7178d6b 100644 (file)
@@ -8,9 +8,9 @@ import (
 
        "github.com/tendermint/go-wire"
 
-       "github.com/vapor/netsync/peers"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/netsync/peers"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 const (
index d00c93b..5ff5fa3 100644 (file)
@@ -7,8 +7,8 @@ import (
        "github.com/davecgh/go-spew/spew"
        "github.com/tendermint/go-wire"
 
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 var _ = wire.RegisterInterface(
index a9e3a63..a397dd5 100644 (file)
@@ -5,12 +5,12 @@ import (
 
        "github.com/sirupsen/logrus"
 
-       "github.com/vapor/event"
-       "github.com/vapor/netsync/peers"
-       "github.com/vapor/p2p"
-       "github.com/vapor/p2p/security"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/netsync/peers"
+       "github.com/bytom/vapor/p2p"
+       "github.com/bytom/vapor/p2p/security"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 // Switch is the interface for p2p switch.
index 832b677..8f1736f 100644 (file)
@@ -9,12 +9,12 @@ import (
 
        "github.com/tendermint/tmlibs/flowrate"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/event"
-       "github.com/vapor/netsync/peers"
-       "github.com/vapor/p2p"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/netsync/peers"
+       "github.com/bytom/vapor/p2p"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 type p2peer struct {
index 10405fb..c46fe28 100644 (file)
@@ -3,8 +3,8 @@ package consensusmgr
 import (
        "github.com/sirupsen/logrus"
 
-       "github.com/vapor/p2p"
-       "github.com/vapor/p2p/connection"
+       "github.com/bytom/vapor/p2p"
+       "github.com/bytom/vapor/p2p/connection"
 )
 
 const (
index 3ef82dc..c5e268e 100644 (file)
@@ -7,8 +7,8 @@ import (
 
        "github.com/tendermint/go-wire"
 
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 //protocol msg byte
index 19900b7..53a2f1b 100644 (file)
@@ -6,9 +6,9 @@ import (
 
        "github.com/davecgh/go-spew/spew"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 var txs = []*types.Tx{
index dea5a24..4e39c05 100644 (file)
@@ -10,11 +10,11 @@ import (
        "github.com/tendermint/tmlibs/flowrate"
        "gopkg.in/fatih/set.v0"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/errors"
-       msgs "github.com/vapor/netsync/messages"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/errors"
+       msgs "github.com/bytom/vapor/netsync/messages"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 const (
index 514d269..3fa000a 100644 (file)
@@ -7,10 +7,10 @@ import (
 
        "github.com/davecgh/go-spew/spew"
        "github.com/tendermint/tmlibs/flowrate"
-       "github.com/vapor/consensus"
-       "github.com/vapor/p2p/security"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/p2p/security"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 var (
index 307d6c3..839d1db 100644 (file)
@@ -5,15 +5,15 @@ import (
 
        "github.com/sirupsen/logrus"
 
-       "github.com/vapor/config"
-       "github.com/vapor/consensus"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/event"
-       "github.com/vapor/netsync/chainmgr"
-       "github.com/vapor/netsync/consensusmgr"
-       "github.com/vapor/netsync/peers"
-       "github.com/vapor/p2p"
-       "github.com/vapor/protocol"
+       "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/consensus"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/netsync/chainmgr"
+       "github.com/bytom/vapor/netsync/consensusmgr"
+       "github.com/bytom/vapor/netsync/peers"
+       "github.com/bytom/vapor/p2p"
+       "github.com/bytom/vapor/protocol"
 )
 
 const (
index c160f17..1b00877 100644 (file)
@@ -14,24 +14,24 @@ import (
        cmn "github.com/tendermint/tmlibs/common"
        browser "github.com/toqueteos/webbrowser"
 
-       "github.com/vapor/accesstoken"
-       "github.com/vapor/account"
-       "github.com/vapor/api"
-       "github.com/vapor/asset"
-       "github.com/vapor/blockchain/pseudohsm"
-       cfg "github.com/vapor/config"
-       "github.com/vapor/consensus"
-       "github.com/vapor/database"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/env"
-       "github.com/vapor/event"
-       vaporLog "github.com/vapor/log"
-       "github.com/vapor/net/websocket"
-       "github.com/vapor/netsync"
-       "github.com/vapor/proposal/blockproposer"
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc/types"
-       w "github.com/vapor/wallet"
+       "github.com/bytom/vapor/accesstoken"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/api"
+       "github.com/bytom/vapor/asset"
+       "github.com/bytom/vapor/blockchain/pseudohsm"
+       cfg "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/database"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/env"
+       "github.com/bytom/vapor/event"
+       vaporLog "github.com/bytom/vapor/log"
+       "github.com/bytom/vapor/net/websocket"
+       "github.com/bytom/vapor/netsync"
+       "github.com/bytom/vapor/proposal/blockproposer"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc/types"
+       w "github.com/bytom/vapor/wallet"
 )
 
 const (
index 66011f7..de73324 100644 (file)
@@ -5,7 +5,7 @@ import (
        "os"
        "testing"
 
-       cfg "github.com/vapor/config"
+       cfg "github.com/bytom/vapor/config"
 )
 
 func TestNodeUsedDataDir(t *testing.T) {
index bd9b095..7a6045d 100644 (file)
@@ -3,7 +3,7 @@ package p2p
 import (
        cmn "github.com/tendermint/tmlibs/common"
 
-       "github.com/vapor/p2p/connection"
+       "github.com/bytom/vapor/p2p/connection"
 )
 
 //Reactor is responsible for handling incoming messages of one or more `Channels`
index 46a97ad..ea74e2d 100644 (file)
@@ -14,7 +14,7 @@ import (
        cmn "github.com/tendermint/tmlibs/common"
        "github.com/tendermint/tmlibs/flowrate"
 
-       "github.com/vapor/common/compression"
+       "github.com/bytom/vapor/common/compression"
 )
 
 const (
index 28cce51..36eb2d7 100644 (file)
@@ -17,7 +17,7 @@ import (
        "golang.org/x/crypto/nacl/secretbox"
        "golang.org/x/crypto/ripemd160"
 
-       "github.com/vapor/p2p/signlib"
+       "github.com/bytom/vapor/p2p/signlib"
 )
 
 const (
index b4542cf..9c102ec 100644 (file)
@@ -7,7 +7,7 @@ import (
 
        cmn "github.com/tendermint/tmlibs/common"
 
-       "github.com/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
 )
 
 type dummyConn struct {
index 13dc923..ce285a6 100644 (file)
@@ -15,9 +15,9 @@ import (
        log "github.com/sirupsen/logrus"
        wire "github.com/tendermint/go-wire"
 
-       "github.com/vapor/crypto"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/crypto"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/errors"
 )
 
 var (
index d50584f..2048311 100644 (file)
@@ -6,8 +6,8 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/errors"
 )
 
 var (
index 03e322e..256d787 100644 (file)
@@ -5,7 +5,7 @@ import (
        "testing"
 
        "github.com/davecgh/go-spew/spew"
-       "github.com/vapor/consensus"
+       "github.com/bytom/vapor/consensus"
 )
 
 var testnetAddr = []string{"1.2.3.4", "5.6.7.8"}
index c3f6a0e..5cd8667 100644 (file)
@@ -12,10 +12,10 @@ import (
        "github.com/tendermint/go-wire"
        "golang.org/x/crypto/sha3"
 
-       "github.com/vapor/common"
-       "github.com/vapor/crypto/sha3pool"
-       "github.com/vapor/p2p/netutil"
-       "github.com/vapor/p2p/signlib"
+       "github.com/bytom/vapor/common"
+       "github.com/bytom/vapor/crypto/sha3pool"
+       "github.com/bytom/vapor/p2p/netutil"
+       "github.com/bytom/vapor/p2p/signlib"
 )
 
 var (
index f83896d..9b063de 100644 (file)
@@ -8,8 +8,8 @@ import (
        "testing"
        "time"
 
-       "github.com/vapor/common"
-       "github.com/vapor/p2p/signlib"
+       "github.com/bytom/vapor/common"
+       "github.com/bytom/vapor/p2p/signlib"
 )
 
 func TestNetwork_Lookup(t *testing.T) {
index 91c6da9..99fa958 100644 (file)
@@ -14,8 +14,8 @@ import (
        "strings"
        "time"
 
-       "github.com/vapor/common"
-       "github.com/vapor/crypto"
+       "github.com/bytom/vapor/common"
+       "github.com/bytom/vapor/crypto"
 )
 
 // Node represents a host on the network.
index eb7c855..e67be9b 100644 (file)
@@ -14,8 +14,8 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/common"
-       "github.com/vapor/crypto"
+       "github.com/bytom/vapor/common"
+       "github.com/bytom/vapor/crypto"
 )
 
 const (
index a3046cc..f28d7df 100644 (file)
@@ -11,8 +11,8 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/common"
-       "github.com/vapor/crypto"
+       "github.com/bytom/vapor/common"
+       "github.com/bytom/vapor/crypto"
 )
 
 const (
index c8d73b7..5244d8c 100644 (file)
@@ -14,12 +14,12 @@ import (
        log "github.com/sirupsen/logrus"
        "github.com/tendermint/go-wire"
 
-       "github.com/vapor/common"
-       cfg "github.com/vapor/config"
-       "github.com/vapor/crypto"
-       "github.com/vapor/p2p/netutil"
-       "github.com/vapor/p2p/signlib"
-       "github.com/vapor/version"
+       "github.com/bytom/vapor/common"
+       cfg "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/crypto"
+       "github.com/bytom/vapor/p2p/netutil"
+       "github.com/bytom/vapor/p2p/signlib"
+       "github.com/bytom/vapor/version"
 )
 
 const (
index d6f442f..01dfa2e 100644 (file)
@@ -8,9 +8,9 @@ import (
        "time"
 
        "github.com/davecgh/go-spew/spew"
-       "github.com/vapor/common"
-       "github.com/vapor/errors"
-       "github.com/vapor/p2p/signlib"
+       "github.com/bytom/vapor/common"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/p2p/signlib"
 )
 
 func TestPacketCodec(t *testing.T) {
index 302e8e7..2fdf275 100644 (file)
@@ -7,7 +7,7 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/event"
+       "github.com/bytom/vapor/event"
 )
 
 const (
index 2c3e92e..fb430e9 100644 (file)
@@ -10,9 +10,9 @@ import (
        log "github.com/sirupsen/logrus"
        cmn "github.com/tendermint/tmlibs/common"
 
-       cfg "github.com/vapor/config"
-       "github.com/vapor/errors"
-       "github.com/vapor/p2p/upnp"
+       cfg "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/p2p/upnp"
 )
 
 const (
index d0c52a9..be26e6d 100644 (file)
@@ -4,11 +4,11 @@ import (
        "fmt"
        "net"
 
-       cfg "github.com/vapor/config"
-       "github.com/vapor/consensus"
-       "github.com/vapor/errors"
-       "github.com/vapor/p2p/signlib"
-       "github.com/vapor/version"
+       cfg "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/p2p/signlib"
+       "github.com/bytom/vapor/version"
 )
 
 const maxNodeInfoSize = 10240 // 10Kb
index 0f3e5be..8bf75c5 100644 (file)
@@ -8,8 +8,8 @@ import (
        "github.com/davecgh/go-spew/spew"
        "github.com/tendermint/go-wire"
 
-       "github.com/vapor/errors"
-       "github.com/vapor/p2p/signlib"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/p2p/signlib"
 )
 
 func mockCompatibleWithFalse(remoteVerStr string) (bool, error) {
index fbb663b..768ea0f 100644 (file)
@@ -13,10 +13,10 @@ import (
        cmn "github.com/tendermint/tmlibs/common"
        "github.com/tendermint/tmlibs/flowrate"
 
-       cfg "github.com/vapor/config"
-       "github.com/vapor/consensus"
-       "github.com/vapor/p2p/connection"
-       "github.com/vapor/p2p/signlib"
+       cfg "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/p2p/connection"
+       "github.com/bytom/vapor/p2p/signlib"
 )
 
 // peerConn contains the raw connection and its config.
index bcaed18..32ac6aa 100644 (file)
@@ -6,11 +6,11 @@ import (
        "testing"
        "time"
 
-       cfg "github.com/vapor/config"
-       "github.com/vapor/consensus"
-       conn "github.com/vapor/p2p/connection"
-       "github.com/vapor/p2p/signlib"
-       "github.com/vapor/version"
+       cfg "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/consensus"
+       conn "github.com/bytom/vapor/p2p/connection"
+       "github.com/bytom/vapor/p2p/signlib"
+       "github.com/bytom/vapor/version"
 )
 
 const testCh = 0x01
index f8ca05e..be5cace 100644 (file)
@@ -6,8 +6,8 @@ import (
        "sync"
        "time"
 
-       cfg "github.com/vapor/config"
-       dbm "github.com/vapor/database/leveldb"
+       cfg "github.com/bytom/vapor/config"
+       dbm "github.com/bytom/vapor/database/leveldb"
 )
 
 const (
index 47d5128..eb52cf4 100644 (file)
@@ -3,7 +3,7 @@ package security
 import (
        log "github.com/sirupsen/logrus"
 
-       cfg "github.com/vapor/config"
+       cfg "github.com/bytom/vapor/config"
 )
 
 const logModule = "p2pSecurity"
index b15db25..0154bd4 100644 (file)
@@ -3,7 +3,7 @@ package signlib
 import (
        "errors"
 
-       "github.com/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
 )
 
 const (
index c9e225d..e39964d 100644 (file)
@@ -10,18 +10,18 @@ import (
        log "github.com/sirupsen/logrus"
        cmn "github.com/tendermint/tmlibs/common"
 
-       cfg "github.com/vapor/config"
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto/sha3pool"
-       "github.com/vapor/errors"
-       "github.com/vapor/event"
-       "github.com/vapor/p2p/connection"
-       "github.com/vapor/p2p/discover/dht"
-       "github.com/vapor/p2p/discover/mdns"
-       "github.com/vapor/p2p/netutil"
-       security "github.com/vapor/p2p/security"
-       "github.com/vapor/p2p/signlib"
-       "github.com/vapor/version"
+       cfg "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto/sha3pool"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/p2p/connection"
+       "github.com/bytom/vapor/p2p/discover/dht"
+       "github.com/bytom/vapor/p2p/discover/mdns"
+       "github.com/bytom/vapor/p2p/netutil"
+       security "github.com/bytom/vapor/p2p/security"
+       "github.com/bytom/vapor/p2p/signlib"
+       "github.com/bytom/vapor/version"
 )
 
 const (
index 7b162c2..6d32ed7 100644 (file)
@@ -8,12 +8,12 @@ import (
        "time"
 
        "github.com/davecgh/go-spew/spew"
-       cfg "github.com/vapor/config"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/errors"
-       conn "github.com/vapor/p2p/connection"
-       "github.com/vapor/p2p/security"
-       "github.com/vapor/p2p/signlib"
+       cfg "github.com/bytom/vapor/config"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/errors"
+       conn "github.com/bytom/vapor/p2p/connection"
+       "github.com/bytom/vapor/p2p/security"
+       "github.com/bytom/vapor/p2p/signlib"
 )
 
 var (
index fc27e4e..53d3ed6 100644 (file)
@@ -6,11 +6,11 @@ import (
        log "github.com/sirupsen/logrus"
        cmn "github.com/tendermint/tmlibs/common"
 
-       cfg "github.com/vapor/config"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/p2p/connection"
-       "github.com/vapor/p2p/discover/dht"
-       "github.com/vapor/p2p/signlib"
+       cfg "github.com/bytom/vapor/config"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/p2p/connection"
+       "github.com/bytom/vapor/p2p/discover/dht"
+       "github.com/bytom/vapor/p2p/signlib"
 )
 
 //PanicOnAddPeerErr add peer error
index 7f8c1da..70c9018 100644 (file)
@@ -7,12 +7,12 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/account"
-       "github.com/vapor/config"
-       "github.com/vapor/consensus"
-       "github.com/vapor/event"
-       "github.com/vapor/proposal"
-       "github.com/vapor/protocol"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/proposal"
+       "github.com/bytom/vapor/protocol"
 )
 
 const (
index 50d85d1..0cdb5ad 100644 (file)
@@ -7,16 +7,16 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/account"
-       "github.com/vapor/blockchain/txbuilder"
-       "github.com/vapor/consensus"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/state"
-       "github.com/vapor/protocol/validation"
-       "github.com/vapor/protocol/vm/vmutil"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/blockchain/txbuilder"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/state"
+       "github.com/bytom/vapor/protocol/validation"
+       "github.com/bytom/vapor/protocol/vm/vmutil"
 )
 
 const logModule = "mining"
index e211b14..73de939 100644 (file)
@@ -3,11 +3,11 @@ package proposal
 import (
        "testing"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/state"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/state"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestCalCoinbaseTxReward(t *testing.T) {
index 45e80e2..a6a4edb 100644 (file)
@@ -1,6 +1,6 @@
 package proposal
 
-import "github.com/vapor/protocol"
+import "github.com/bytom/vapor/protocol"
 
 type byTime []*protocol.TxDesc
 
index a6a6deb..d62b3ed 100644 (file)
@@ -6,13 +6,13 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/config"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/errors"
-       "github.com/vapor/event"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/state"
+       "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/state"
 )
 
 const (
index 553cd71..5060047 100644 (file)
@@ -5,8 +5,8 @@ import (
        "errors"
        "io"
 
-       "github.com/vapor/crypto/sha3pool"
-       "github.com/vapor/encoding/blockchain"
+       "github.com/bytom/vapor/crypto/sha3pool"
+       "github.com/bytom/vapor/encoding/blockchain"
 )
 
 // NewAssetID convert byte array to aseet id
index 71f5c8b..c433569 100644 (file)
@@ -8,9 +8,9 @@ import (
 
        "github.com/golang/protobuf/proto"
 
-       "github.com/vapor/crypto/sha3pool"
-       "github.com/vapor/encoding/blockchain"
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/crypto/sha3pool"
+       "github.com/bytom/vapor/encoding/blockchain"
+       "github.com/bytom/vapor/errors"
 )
 
 // Entry is the interface implemented by each addressable unit in a
index 0702e4c..5858042 100644 (file)
@@ -1,8 +1,8 @@
 package bc
 
 import (
-       "github.com/vapor/crypto/sha3pool"
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/crypto/sha3pool"
+       "github.com/bytom/vapor/errors"
 )
 
 // Tx is a wrapper for the entries-based representation of a transaction.
index 67198c4..654da54 100644 (file)
@@ -5,9 +5,9 @@ import (
        "fmt"
        "io"
 
-       "github.com/vapor/encoding/blockchain"
-       "github.com/vapor/encoding/bufpool"
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/encoding/blockchain"
+       "github.com/bytom/vapor/encoding/bufpool"
+       "github.com/bytom/vapor/errors"
 )
 
 // serflag variables, start with 1
index cd9cdd0..fad8975 100644 (file)
@@ -3,8 +3,8 @@ package types
 import (
        "io"
 
-       "github.com/vapor/encoding/blockchain"
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/encoding/blockchain"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 // BlockCommitment store the TransactionsMerkleRoot && TransactionStatusHash
index 937d06e..c632db6 100644 (file)
@@ -5,8 +5,8 @@ import (
        "encoding/hex"
        "testing"
 
-       "github.com/vapor/encoding/blockchain"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/encoding/blockchain"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestReadWriteBlockCommitment(t *testing.T) {
index 848f3f7..51803b9 100644 (file)
@@ -6,10 +6,10 @@ import (
        "io"
        "time"
 
-       "github.com/vapor/encoding/blockchain"
-       "github.com/vapor/encoding/bufpool"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/encoding/blockchain"
+       "github.com/bytom/vapor/encoding/bufpool"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 // BlockHeader defines information about a block and is used in the Bytom
index 2ea6e01..c75bbf4 100644 (file)
@@ -9,9 +9,9 @@ import (
 
        "github.com/davecgh/go-spew/spew"
 
-       "github.com/vapor/encoding/blockchain"
-       "github.com/vapor/errors"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/encoding/blockchain"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestBlockHeader(t *testing.T) {
index cf270d9..a756cd3 100644 (file)
@@ -3,7 +3,7 @@ package types
 import (
        "io"
 
-       "github.com/vapor/encoding/blockchain"
+       "github.com/bytom/vapor/encoding/blockchain"
 )
 
 type BlockWitness struct {
index 11f74c3..bcaefec 100644 (file)
@@ -5,8 +5,8 @@ import (
        "encoding/hex"
        "testing"
 
-       "github.com/vapor/encoding/blockchain"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/encoding/blockchain"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestReadWriteBlockWitness(t *testing.T) {
index ee8fb9b..2e4417e 100644 (file)
@@ -1,7 +1,7 @@
 package types
 
 import (
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 // CrossChainInput satisfies the TypedInput interface and represents a cross-chain transaction.
index afc9201..6c3222b 100644 (file)
@@ -1,7 +1,7 @@
 package types
 
 import (
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 // CrossChainOutput satisfies the TypedOutput interface and represents a cross-chain transaction.
index a4d1b1d..55e2773 100644 (file)
@@ -1,7 +1,7 @@
 package types
 
 import (
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 // IntraChainOutput satisfies the TypedOutput interface and represents a intra-chain transaction.
index b75c9c6..5a86689 100644 (file)
@@ -4,10 +4,10 @@ import (
        log "github.com/sirupsen/logrus"
        "golang.org/x/crypto/sha3"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/vm"
-       "github.com/vapor/protocol/vm/vmutil"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/vm"
+       "github.com/bytom/vapor/protocol/vm/vmutil"
 )
 
 // MapTx converts a types TxData object into its entries-based
index e0dfe07..1925060 100644 (file)
@@ -6,9 +6,9 @@ import (
 
        "github.com/davecgh/go-spew/spew"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestMapSpendTx(t *testing.T) {
index ce9d6b6..40ef392 100644 (file)
@@ -7,8 +7,8 @@ import (
 
        "gopkg.in/fatih/set.v0"
 
-       "github.com/vapor/crypto/sha3pool"
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/crypto/sha3pool"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 // merkleFlag represent the type of merkle tree node, it's used to generate the structure of merkle tree
index 2cc7bbe..e7fbf72 100644 (file)
@@ -5,9 +5,9 @@ import (
        "math/rand"
        "testing"
 
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/vm"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/vm"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestMerkleRoot(t *testing.T) {
index aede38f..7d473f9 100644 (file)
@@ -4,9 +4,9 @@ import (
        "fmt"
        "io"
 
-       "github.com/vapor/encoding/blockchain"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/encoding/blockchain"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 // OutputCommitment contains the commitment data for a transaction output.
index 52aabda..a9e5eeb 100644 (file)
@@ -5,9 +5,9 @@ import (
        "encoding/hex"
        "testing"
 
-       "github.com/vapor/encoding/blockchain"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/encoding/blockchain"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestReadWriteOutputCommitment(t *testing.T) {
index 15b2b69..b994013 100644 (file)
@@ -1,7 +1,7 @@
 package types
 
 import (
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 // SpendInput satisfies the TypedInput interface and represents a spend transaction.
index 1102d58..d4670f1 100644 (file)
@@ -4,9 +4,9 @@ import (
        "fmt"
        "io"
 
-       "github.com/vapor/encoding/blockchain"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/encoding/blockchain"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 // SpendCommitment contains the commitment data for a transaction output.
index 154abf4..e55a182 100644 (file)
@@ -5,9 +5,9 @@ import (
        "encoding/hex"
        "testing"
 
-       "github.com/vapor/encoding/blockchain"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/encoding/blockchain"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestReadWriteSpendCommitment(t *testing.T) {
index 6b5d373..ef73d8a 100644 (file)
@@ -8,9 +8,9 @@ import (
 
        "github.com/davecgh/go-spew/spew"
 
-       "github.com/vapor/encoding/blockchain"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/encoding/blockchain"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestSerializationSpendCommitment(t *testing.T) {
index 52f50a9..00bc8d3 100644 (file)
@@ -6,9 +6,9 @@ import (
        "fmt"
        "io"
 
-       "github.com/vapor/encoding/blockchain"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/encoding/blockchain"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 const serRequired = 0x7 // Bit mask accepted serialization flag.
index 680cf17..b0c381d 100644 (file)
@@ -10,10 +10,10 @@ import (
 
        "github.com/davecgh/go-spew/spew"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestTransaction(t *testing.T) {
index 0d8402c..a155f56 100644 (file)
@@ -4,9 +4,9 @@ import (
        "fmt"
        "io"
 
-       "github.com/vapor/encoding/blockchain"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/encoding/blockchain"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 // serflag variables for input types.
index 4b45ab4..6a90ab1 100644 (file)
@@ -8,8 +8,8 @@ import (
 
        "github.com/davecgh/go-spew/spew"
 
-       "github.com/vapor/encoding/blockchain"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/encoding/blockchain"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestSerializationSpend(t *testing.T) {
index 7380bf1..555023c 100644 (file)
@@ -4,9 +4,9 @@ import (
        "fmt"
        "io"
 
-       "github.com/vapor/encoding/blockchain"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/encoding/blockchain"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 // serflag variables for output types.
index 58eaa85..fa215c9 100644 (file)
@@ -8,9 +8,9 @@ import (
 
        "github.com/davecgh/go-spew/spew"
 
-       "github.com/vapor/encoding/blockchain"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/encoding/blockchain"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestSerializationIntraChainTxOutput(t *testing.T) {
index 548310f..1dcd7a6 100644 (file)
@@ -1,7 +1,7 @@
 package types
 
 import (
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 // VetoInput satisfies the TypedInput interface and represents a veto transaction.
index aeeac98..ffeb595 100644 (file)
@@ -1,7 +1,7 @@
 package types
 
 import (
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 // VoteOutput satisfies the TypedOutput interface and represents a vote transaction.
index 86c9650..937ba5a 100644 (file)
@@ -3,13 +3,13 @@ package protocol
 import (
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/config"
-       "github.com/vapor/errors"
-       "github.com/vapor/event"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/state"
-       "github.com/vapor/protocol/validation"
+       "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/state"
+       "github.com/bytom/vapor/protocol/validation"
 )
 
 var (
index 4ee6479..e32826f 100644 (file)
@@ -3,11 +3,11 @@ package protocol
 import (
        "testing"
 
-       "github.com/vapor/database/storage"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/state"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/database/storage"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/state"
+       "github.com/bytom/vapor/testutil"
 )
 
 type mStore struct {
index d55e7cc..6b4668e 100644 (file)
@@ -1,11 +1,11 @@
 package protocol
 
 import (
-       "github.com/vapor/consensus"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/state"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/state"
 )
 
 var (
index 94e8ee4..76e3428 100644 (file)
@@ -3,13 +3,13 @@ package protocol
 import (
        "testing"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/database/storage"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/state"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/database/storage"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/state"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestGetConsensusNodes(t *testing.T) {
index dc72718..6808d81 100644 (file)
@@ -6,8 +6,8 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 var (
index 0434745..bd5aed0 100644 (file)
@@ -4,9 +4,9 @@ import (
        "testing"
        "time"
 
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/testutil"
 )
 
 var testBlocks = []*types.Block{
index d7ea944..56c85fb 100644 (file)
@@ -5,12 +5,12 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/common"
-       "github.com/vapor/config"
-       "github.com/vapor/event"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/state"
+       "github.com/bytom/vapor/common"
+       "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/state"
 )
 
 const (
index 9fd571b..85b812a 100644 (file)
@@ -4,14 +4,14 @@ import (
        "encoding/hex"
        "sort"
 
-       "github.com/vapor/common/arithmetic"
-       "github.com/vapor/config"
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/errors"
-       "github.com/vapor/math/checked"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/common/arithmetic"
+       "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/math/checked"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 // fedConsensusPath is used to derive federation root xpubs for signing blocks
index 807b13d..5783a31 100644 (file)
@@ -8,13 +8,13 @@ import (
 
        "github.com/davecgh/go-spew/spew"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/errors"
-       "github.com/vapor/math/checked"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/math/checked"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestApplyTransaction(t *testing.T) {
index 0fd6839..98556f0 100644 (file)
@@ -1,10 +1,10 @@
 package state
 
 import (
-       "github.com/vapor/consensus"
-       "github.com/vapor/database/storage"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/database/storage"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 // UtxoViewpoint represents a view into the set of unspent transaction outputs
index 0d3ddaf..befbde6 100644 (file)
@@ -5,11 +5,11 @@ import (
 
        "github.com/davecgh/go-spew/spew"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/database/storage"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/database/storage"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/testutil"
 )
 
 var defaultEntry = map[bc.Hash]bc.Entry{
index f93b1ba..808b289 100644 (file)
@@ -3,10 +3,10 @@ package protocol
 import (
        "errors"
 
-       "github.com/vapor/database/storage"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/state"
+       "github.com/bytom/vapor/database/storage"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/state"
 )
 
 var (
index bdd3516..f863678 100644 (file)
@@ -3,10 +3,10 @@ package protocol
 import (
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/state"
-       "github.com/vapor/protocol/validation"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/state"
+       "github.com/bytom/vapor/protocol/validation"
 )
 
 // GetTransactionStatus return the transaction status of give block
index 09e32b1..841e549 100644 (file)
@@ -9,11 +9,11 @@ import (
        "github.com/golang/groupcache/lru"
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/event"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/state"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/state"
 )
 
 // msg type
index a2e63a2..343eb07 100644 (file)
@@ -6,13 +6,13 @@ import (
 
        "github.com/davecgh/go-spew/spew"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/database/storage"
-       "github.com/vapor/event"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/state"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/database/storage"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/state"
+       "github.com/bytom/vapor/testutil"
 )
 
 var testTxs = []*types.Tx{
index 9ed82be..4292014 100644 (file)
@@ -7,11 +7,11 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/state"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/state"
 )
 
 const logModule = "leveldb"
index 63de516..fdc1a4d 100644 (file)
@@ -5,13 +5,13 @@ import (
        "testing"
        "time"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/state"
-       "github.com/vapor/protocol/vm"
-       "github.com/vapor/protocol/vm/vmutil"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/state"
+       "github.com/bytom/vapor/protocol/vm"
+       "github.com/bytom/vapor/protocol/vm/vmutil"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestCheckBlockTime(t *testing.T) {
index a189797..699b3de 100644 (file)
@@ -5,15 +5,15 @@ import (
        "math"
        "testing"
 
-       "github.com/vapor/account"
-       "github.com/vapor/blockchain/signers"
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/validation"
-       "github.com/vapor/protocol/vm/vmutil"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/blockchain/signers"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/validation"
+       "github.com/bytom/vapor/protocol/vm/vmutil"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestValidateUglyTx(t *testing.T) {
index 6053270..bb82479 100644 (file)
@@ -5,12 +5,12 @@ import (
        "math"
        "sync"
 
-       "github.com/vapor/config"
-       "github.com/vapor/consensus"
-       "github.com/vapor/errors"
-       "github.com/vapor/math/checked"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/vm"
+       "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/math/checked"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/vm"
 )
 
 const (
index 4706866..d528bb8 100644 (file)
@@ -4,10 +4,10 @@ import (
        "encoding/hex"
        "testing"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/vm"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/vm"
 )
 
 func TestValidateTx(t *testing.T) {
index 484cfa2..619a02e 100644 (file)
@@ -6,14 +6,14 @@ import (
 
        "github.com/davecgh/go-spew/spew"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto/sha3pool"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/vm"
-       "github.com/vapor/protocol/vm/vmutil"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto/sha3pool"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/vm"
+       "github.com/bytom/vapor/protocol/vm/vmutil"
+       "github.com/bytom/vapor/testutil"
 )
 
 func init() {
index 7ac617c..50c000d 100644 (file)
@@ -3,11 +3,11 @@ package validation
 import (
        "bytes"
 
-       "github.com/vapor/consensus/segwit"
-       "github.com/vapor/crypto/sha3pool"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/vm"
+       "github.com/bytom/vapor/consensus/segwit"
+       "github.com/bytom/vapor/crypto/sha3pool"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/vm"
 )
 
 // NewTxVMContext generates the vm.Context for BVM
index 9f6e730..943aa4a 100644 (file)
@@ -4,10 +4,10 @@ import (
        "fmt"
        "testing"
 
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/vm"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/vm"
 )
 
 func TestCheckOutput(t *testing.T) {
index 833c50b..a14e03e 100644 (file)
@@ -10,7 +10,7 @@ import (
        "strings"
        "unicode"
 
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/errors"
 )
 
 // Assemble converts a string like "2 3 ADD 5 NUMEQUAL" into 0x525393559c.
index 47d2a3d..ddf55a9 100644 (file)
@@ -5,7 +5,7 @@ import (
        "encoding/hex"
        "testing"
 
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/errors"
 )
 
 func TestAssemble(t *testing.T) {
index 3f04273..04de106 100644 (file)
@@ -3,7 +3,7 @@ package vm
 import (
        "testing"
 
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestBitwiseOps(t *testing.T) {
index 6b36264..504f655 100644 (file)
@@ -3,7 +3,7 @@ package vm
 import (
        "testing"
 
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestControlOps(t *testing.T) {
index 7b91581..4dd21ac 100644 (file)
@@ -6,9 +6,9 @@ import (
 
        "golang.org/x/crypto/sha3"
 
-       "github.com/vapor/crypto"
-       "github.com/vapor/crypto/ed25519"
-       "github.com/vapor/math/checked"
+       "github.com/bytom/vapor/crypto"
+       "github.com/bytom/vapor/crypto/ed25519"
+       "github.com/bytom/vapor/math/checked"
 )
 
 func opSha256(vm *virtualMachine) error {
index 6c14329..91cbadb 100644 (file)
@@ -3,7 +3,7 @@ package vm
 import (
        "testing"
 
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestCheckSig(t *testing.T) {
index 29e6e02..983ec55 100644 (file)
@@ -5,8 +5,8 @@ import (
 
        "github.com/davecgh/go-spew/spew"
 
-       "github.com/vapor/errors"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestOutputIDAndNonceOp(t *testing.T) {
index 9a65af6..0845c9c 100644 (file)
@@ -3,7 +3,7 @@ package vm
 import (
        "math"
 
-       "github.com/vapor/math/checked"
+       "github.com/bytom/vapor/math/checked"
 )
 
 func op1Add(vm *virtualMachine) error {
index ed5bf03..5275998 100644 (file)
@@ -5,7 +5,7 @@ import (
        "math"
        "testing"
 
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestNumericOps(t *testing.T) {
index 5052c62..0659fb7 100644 (file)
@@ -6,8 +6,8 @@ import (
        "math"
        "reflect"
 
-       "github.com/vapor/errors"
-       "github.com/vapor/math/checked"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/math/checked"
 )
 
 type Op uint8
index 4e8c2b6..3244ff9 100644 (file)
@@ -5,9 +5,9 @@ import (
        "reflect"
        "testing"
 
-       "github.com/vapor/errors"
-       "github.com/vapor/math/checked"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/math/checked"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestParseOp(t *testing.T) {
index 21724fd..87217c8 100644 (file)
@@ -4,7 +4,7 @@ import (
        "bytes"
        "testing"
 
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestPushdataOps(t *testing.T) {
index cf08bcc..8c0e012 100644 (file)
@@ -1,6 +1,6 @@
 package vm
 
-import "github.com/vapor/math/checked"
+import "github.com/bytom/vapor/math/checked"
 
 func opCat(vm *virtualMachine) error {
        err := vm.applyCost(4)
index ebee7cd..f6b5a05 100644 (file)
@@ -3,7 +3,7 @@ package vm
 import (
        "testing"
 
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestSpliceOps(t *testing.T) {
index c92239f..72d2e1e 100644 (file)
@@ -1,6 +1,6 @@
 package vm
 
-import "github.com/vapor/math/checked"
+import "github.com/bytom/vapor/math/checked"
 
 func opToAltStack(vm *virtualMachine) error {
        err := vm.applyCost(2)
index 50869e0..c8ec8d9 100644 (file)
@@ -7,7 +7,7 @@ import (
        "strings"
        "testing"
 
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestStackOps(t *testing.T) {
index f7b5a53..f23ce7d 100644 (file)
@@ -6,7 +6,7 @@ import (
        "io"
        "strings"
 
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/errors"
 )
 
 type virtualMachine struct {
index 7e82f31..d53c546 100644 (file)
@@ -8,8 +8,8 @@ import (
        "testing"
        "testing/quick"
 
-       "github.com/vapor/errors"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/testutil"
 )
 
 type tracebuf struct {
index 3d1da25..ed79c84 100644 (file)
@@ -3,8 +3,8 @@ package vmutil
 import (
        "encoding/binary"
 
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/vm"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/vm"
 )
 
 type Builder struct {
index 62d8417..a82b2ce 100644 (file)
@@ -5,7 +5,7 @@ import (
        "encoding/hex"
        "testing"
 
-       "github.com/vapor/protocol/vm"
+       "github.com/bytom/vapor/protocol/vm"
 )
 
 func TestAddJump(t *testing.T) {
index adc0d77..849ec69 100644 (file)
@@ -1,9 +1,9 @@
 package vmutil
 
 import (
-       "github.com/vapor/crypto/ed25519"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/vm"
+       "github.com/bytom/vapor/crypto/ed25519"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/vm"
 )
 
 // pre-define errors
index 623bccf..eeb11e9 100644 (file)
@@ -4,8 +4,8 @@ import (
        "encoding/hex"
        "testing"
 
-       "github.com/vapor/crypto/ed25519"
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/crypto/ed25519"
+       "github.com/bytom/vapor/errors"
 )
 
 // TestIsUnspendable ensures the IsUnspendable function returns the expected
index ba95631..4fed782 100644 (file)
@@ -6,16 +6,16 @@ import (
        "strings"
        "testing"
 
-       acc "github.com/vapor/account"
-       "github.com/vapor/blockchain/signers"
-       "github.com/vapor/config"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/database"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/errors"
-       "github.com/vapor/event"
-       "github.com/vapor/protocol"
-       "github.com/vapor/testutil"
+       acc "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/blockchain/signers"
+       "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/database"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestCreateAccountWithUppercase(t *testing.T) {
index 092811d..77cf9c1 100644 (file)
@@ -7,22 +7,22 @@ import (
        "testing"
        "time"
 
-       "github.com/vapor/account"
-       "github.com/vapor/blockchain/pseudohsm"
-       "github.com/vapor/blockchain/signers"
-       "github.com/vapor/blockchain/txbuilder"
-       "github.com/vapor/config"
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/database"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/database/storage"
-       "github.com/vapor/event"
-       "github.com/vapor/proposal"
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/state"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/blockchain/pseudohsm"
+       "github.com/bytom/vapor/blockchain/signers"
+       "github.com/bytom/vapor/blockchain/txbuilder"
+       "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/database"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/database/storage"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/proposal"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/state"
 )
 
 func BenchmarkChain_CoinBaseTx_NoAsset(b *testing.B) {
index eeb6c95..db5cccc 100644 (file)
@@ -7,11 +7,11 @@ import (
        "testing"
        "time"
 
-       "github.com/vapor/consensus"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/vm"
+       "github.com/bytom/vapor/consensus"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/vm"
 )
 
 func TestBlockHeader(t *testing.T) {
index 890d680..2d7e0ff 100644 (file)
@@ -1,11 +1,11 @@
 package test
 
 import (
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/validation"
-       "github.com/vapor/protocol/vm"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/validation"
+       "github.com/bytom/vapor/protocol/vm"
 )
 
 // NewBlock create block according to the current status of chain
index 7eda649..db44b53 100644 (file)
@@ -3,11 +3,11 @@ package test
 import (
        "testing"
 
-       acc "github.com/vapor/account"
-       "github.com/vapor/blockchain/signers"
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/testutil"
+       acc "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/blockchain/signers"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/testutil"
 )
 
 var (
index 2f5fdb0..36a92f8 100644 (file)
@@ -6,15 +6,15 @@ import (
        "time"
 
        "github.com/golang/protobuf/proto"
-       "github.com/vapor/blockchain/txbuilder"
-       "github.com/vapor/consensus"
-       "github.com/vapor/database"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/database/storage"
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/vm"
+       "github.com/bytom/vapor/blockchain/txbuilder"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/database"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/database/storage"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/vm"
 )
 
 const utxoPrefix = "UT:"
index f186ca2..c6685f3 100644 (file)
@@ -3,9 +3,9 @@ package integration
 import (
        "fmt"
 
-       cfg "github.com/vapor/config"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/util"
+       cfg "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/util"
 )
 
 // Mock config.
index a82961d..7d0f000 100644 (file)
@@ -6,15 +6,15 @@ import (
        "os"
        "testing"
 
-       "github.com/vapor/account"
-       "github.com/vapor/blockchain/pseudohsm"
-       "github.com/vapor/blockchain/signers"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/database"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/validation"
-       "github.com/vapor/test"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/blockchain/pseudohsm"
+       "github.com/bytom/vapor/blockchain/signers"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/database"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/validation"
+       "github.com/bytom/vapor/test"
 )
 
 func TestP2PKH(t *testing.T) {
index 82fc7dc..f4adecf 100644 (file)
@@ -4,9 +4,9 @@ import (
        "errors"
        "math/rand"
 
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 var (
index 2543e64..a6f5500 100644 (file)
@@ -6,11 +6,11 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/blockchain/txbuilder"
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/blockchain/txbuilder"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 func NewCrosschainTx(privateKey string) *types.Tx {
index 767fb7b..a2bec3c 100644 (file)
@@ -1,8 +1,8 @@
 package mock
 
 import (
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 type Mempool struct {
index 0f3f0d6..22a8720 100644 (file)
@@ -5,11 +5,11 @@ import (
        "testing"
        "time"
 
-       "github.com/vapor/account"
-       "github.com/vapor/database"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/proposal"
-       "github.com/vapor/test"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/database"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/proposal"
+       "github.com/bytom/vapor/test"
 )
 
 // Function NewBlockTemplate's benchmark - 0.05s
index 22f5c6c..ad05885 100644 (file)
@@ -3,7 +3,7 @@ package performance
 import (
        "testing"
 
-       "github.com/vapor/util"
+       "github.com/bytom/vapor/util"
 )
 
 // Test rpc call benchmark - 0.1 s/op
index 7be6689..e4d87a9 100644 (file)
@@ -6,10 +6,10 @@ import (
        "os"
        "testing"
 
-       "github.com/vapor/consensus"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/vm"
+       "github.com/bytom/vapor/consensus"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/vm"
 )
 
 // case1:           |------c1(height=7)
index 7d89565..106d60a 100644 (file)
@@ -3,9 +3,9 @@ package test
 import (
        "fmt"
 
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc/types"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 func declChain(name string, baseChain *protocol.Chain, baseHeight uint64, height uint64) (*protocol.Chain, error) {
index f8ce45d..c0eaa54 100644 (file)
@@ -5,22 +5,22 @@ import (
        "fmt"
        "time"
 
-       "github.com/vapor/account"
-       "github.com/vapor/asset"
-       "github.com/vapor/blockchain/pseudohsm"
-       "github.com/vapor/blockchain/signers"
-       "github.com/vapor/blockchain/txbuilder"
-       "github.com/vapor/common"
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/crypto/sha3pool"
-       "github.com/vapor/database"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/vm"
-       "github.com/vapor/protocol/vm/vmutil"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/asset"
+       "github.com/bytom/vapor/blockchain/pseudohsm"
+       "github.com/bytom/vapor/blockchain/signers"
+       "github.com/bytom/vapor/blockchain/txbuilder"
+       "github.com/bytom/vapor/common"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/crypto/sha3pool"
+       "github.com/bytom/vapor/database"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/vm"
+       "github.com/bytom/vapor/protocol/vm/vmutil"
 )
 
 // TxGenerator used to generate new tx
index 54b9b05..4474893 100644 (file)
@@ -4,19 +4,19 @@ import (
        "context"
        "time"
 
-       "github.com/vapor/account"
-       "github.com/vapor/blockchain/pseudohsm"
-       "github.com/vapor/blockchain/txbuilder"
-       "github.com/vapor/config"
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/database"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/event"
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/vm"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/blockchain/pseudohsm"
+       "github.com/bytom/vapor/blockchain/txbuilder"
+       "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/database"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/vm"
 )
 
 const (
index 317f8ba..c3119e3 100644 (file)
@@ -4,16 +4,16 @@ import (
        "os"
        "testing"
 
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/testutil"
 
        "github.com/golang/protobuf/proto"
 
-       "github.com/vapor/database"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/database/storage"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/protocol/state"
+       "github.com/bytom/vapor/database"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/database/storage"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/protocol/state"
 )
 
 func TestAttachOrDetachBlocks(t *testing.T) {
index 1e021bc..fdcf790 100644 (file)
@@ -3,10 +3,10 @@ package utxo_view
 import (
        "encoding/hex"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/testutil"
 )
 
 const utxoPreFix = "UT:"
index fe4509c..8f34401 100644 (file)
@@ -7,21 +7,21 @@ import (
        "testing"
        "time"
 
-       "github.com/vapor/account"
-       "github.com/vapor/asset"
-       "github.com/vapor/blockchain/pseudohsm"
-       "github.com/vapor/blockchain/signers"
-       "github.com/vapor/blockchain/txbuilder"
-       "github.com/vapor/config"
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/database"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/event"
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       wt "github.com/vapor/wallet"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/asset"
+       "github.com/bytom/vapor/blockchain/pseudohsm"
+       "github.com/bytom/vapor/blockchain/signers"
+       "github.com/bytom/vapor/blockchain/txbuilder"
+       "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/database"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       wt "github.com/bytom/vapor/wallet"
 )
 
 func TestWalletUpdate(t *testing.T) {
index 570aecc..f633f57 100644 (file)
@@ -7,17 +7,17 @@ import (
        "path"
        "reflect"
 
-       "github.com/vapor/account"
-       "github.com/vapor/asset"
-       "github.com/vapor/blockchain/pseudohsm"
-       "github.com/vapor/blockchain/signers"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/database"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/event"
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc/types"
-       w "github.com/vapor/wallet"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/asset"
+       "github.com/bytom/vapor/blockchain/pseudohsm"
+       "github.com/bytom/vapor/blockchain/signers"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/database"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc/types"
+       w "github.com/bytom/vapor/wallet"
 )
 
 type walletTestConfig struct {
index 84fbdc9..c399452 100644 (file)
@@ -6,7 +6,7 @@ import (
        "io"
        "testing"
 
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 func MustDecodeHash(s string) (h bc.Hash) {
index 4fdbed7..070f8b1 100644 (file)
@@ -1,8 +1,8 @@
 package testutil
 
 import (
-       "github.com/vapor/crypto/ed25519"
-       "github.com/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/crypto/ed25519"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
 )
 
 var (
index 818f7ee..f1a24d8 100644 (file)
@@ -3,12 +3,12 @@ package apinode
 import (
        "encoding/json"
 
-       "github.com/vapor/api"
-       "github.com/vapor/blockchain/pseudohsm"
-       "github.com/vapor/blockchain/query"
-       "github.com/vapor/blockchain/txbuilder"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/api"
+       "github.com/bytom/vapor/blockchain/pseudohsm"
+       "github.com/bytom/vapor/blockchain/query"
+       "github.com/bytom/vapor/blockchain/txbuilder"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/errors"
 )
 
 func (n *Node) CreateKey(alias, password string) (*api.CreateKeyResp, error) {
index 50ac53f..7b6ae94 100644 (file)
@@ -3,9 +3,9 @@ package apinode
 import (
        "encoding/json"
 
-       "github.com/vapor/api"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/api"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 func (n *Node) GetBlockByHash(hash string) (*types.Block, error) {
index d15c068..f093236 100644 (file)
@@ -3,9 +3,9 @@ package apinode
 import (
        "encoding/json"
 
-       "github.com/vapor/errors"
-       "github.com/vapor/netsync/peers"
-       "github.com/vapor/toolbar/common"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/netsync/peers"
+       "github.com/bytom/vapor/toolbar/common"
 )
 
 // Node can invoke the api which provide by the full node server
index 4bbae41..902aba3 100644 (file)
@@ -4,9 +4,9 @@ import (
        "encoding/json"
        "testing"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 func buildTxRequest(accountID string, outputs map[string]uint64) ([]byte, error) {
index 9486a09..c04f172 100644 (file)
@@ -3,11 +3,11 @@ package apinode
 import (
        "encoding/json"
 
-       "github.com/vapor/api"
-       "github.com/vapor/blockchain/query"
-       "github.com/vapor/errors"
-       "github.com/vapor/netsync/peers"
-       "github.com/vapor/wallet"
+       "github.com/bytom/vapor/api"
+       "github.com/bytom/vapor/blockchain/query"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/netsync/peers"
+       "github.com/bytom/vapor/wallet"
 )
 
 func (n *Node) ListAddresses(accountAlias string, from, count uint) (*[]api.AddressResp, error) {
index 4e9c242..3112595 100644 (file)
@@ -4,11 +4,11 @@ import (
        "encoding/hex"
        "encoding/json"
 
-       "github.com/vapor/blockchain/txbuilder"
-       "github.com/vapor/consensus"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/blockchain/txbuilder"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 type SpendAccountAction struct {
index d6f7193..aa352ce 100644 (file)
@@ -3,10 +3,10 @@ package common
 import (
        "errors"
 
-       "github.com/vapor/common"
-       "github.com/vapor/consensus"
-       "github.com/vapor/consensus/segwit"
-       "github.com/vapor/protocol/vm/vmutil"
+       "github.com/bytom/vapor/common"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/consensus/segwit"
+       "github.com/bytom/vapor/protocol/vm/vmutil"
 )
 
 func GetAddressFromControlProgram(prog []byte) string {
index 50983b1..36dffd8 100644 (file)
@@ -3,8 +3,8 @@ package common
 import (
        "sort"
 
-       "github.com/vapor/api"
-       "github.com/vapor/consensus"
+       "github.com/bytom/vapor/api"
+       "github.com/bytom/vapor/consensus"
 )
 
 const NumOfBPNode = 42
index 6519445..bcfee19 100644 (file)
@@ -6,7 +6,7 @@ import (
        _ "github.com/go-sql-driver/mysql"
        "github.com/jinzhu/gorm"
 
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/errors"
 )
 
 func NewMySQLDB(cfg MySQLConfig) (*gorm.DB, error) {
index 63b675e..2db9fef 100644 (file)
@@ -5,11 +5,11 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/errors"
-       "github.com/vapor/toolbar/apinode"
-       "github.com/vapor/toolbar/common"
-       "github.com/vapor/toolbar/consensusreward/config"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/toolbar/apinode"
+       "github.com/bytom/vapor/toolbar/common"
+       "github.com/bytom/vapor/toolbar/consensusreward/config"
 )
 
 const standbyNodesRewardForConsensusCycle = 7610350076 // 400000000000000 / (365 * 24 * 60 / (500 * 1200 / 1000 / 60))
index 8a23b9f..3888400 100644 (file)
@@ -7,10 +7,10 @@ import (
 
        "github.com/gin-gonic/gin"
 
-       "github.com/vapor/errors"
-       "github.com/vapor/toolbar/federation/common"
-       "github.com/vapor/toolbar/federation/database/orm"
-       serverCommon "github.com/vapor/toolbar/server"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/toolbar/federation/common"
+       "github.com/bytom/vapor/toolbar/federation/database/orm"
+       serverCommon "github.com/bytom/vapor/toolbar/server"
 )
 
 type listCrosschainTxsReq struct{ serverCommon.Display }
index 3df3925..a74319f 100644 (file)
@@ -4,8 +4,8 @@ import (
        "github.com/gin-gonic/gin"
        "github.com/jinzhu/gorm"
 
-       "github.com/vapor/toolbar/federation/config"
-       serverCommon "github.com/vapor/toolbar/server"
+       "github.com/bytom/vapor/toolbar/federation/config"
+       serverCommon "github.com/bytom/vapor/toolbar/server"
 )
 
 type Server struct {
index c02ed3d..4ac837d 100644 (file)
@@ -5,9 +5,9 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/consensus/segwit"
-       "github.com/vapor/wallet"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/consensus/segwit"
+       "github.com/bytom/vapor/wallet"
 )
 
 func ProgToAddress(prog []byte, netParams *consensus.Params) string {
index 45db1ba..b596a00 100644 (file)
@@ -6,8 +6,8 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       vaporJson "github.com/vapor/encoding/json"
-       "github.com/vapor/toolbar/common"
+       vaporJson "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/toolbar/common"
 )
 
 func NewConfig() *Config {
index 54b09c5..64129d5 100644 (file)
@@ -6,8 +6,8 @@ import (
        "github.com/golang/groupcache/lru"
        "github.com/jinzhu/gorm"
 
-       "github.com/vapor/errors"
-       "github.com/vapor/toolbar/federation/database/orm"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/toolbar/federation/database/orm"
 )
 
 const (
index 1d39d49..56c50b1 100644 (file)
@@ -1,7 +1,7 @@
 package orm
 
 import (
-       "github.com/vapor/toolbar/common"
+       "github.com/bytom/vapor/toolbar/common"
 )
 
 type Asset struct {
index 92656eb..b727f85 100644 (file)
@@ -1,7 +1,7 @@
 package orm
 
 import (
-       "github.com/vapor/toolbar/common"
+       "github.com/bytom/vapor/toolbar/common"
 )
 
 type Chain struct {
index 6c424db..af57b89 100644 (file)
@@ -4,9 +4,9 @@ import (
        "database/sql"
        "encoding/json"
 
-       "github.com/vapor/errors"
-       "github.com/vapor/toolbar/common"
-       fedCommon "github.com/vapor/toolbar/federation/common"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/toolbar/common"
+       fedCommon "github.com/bytom/vapor/toolbar/federation/common"
 )
 
 type CrossTransaction struct {
index 2719561..261cc27 100644 (file)
@@ -1,7 +1,7 @@
 package orm
 
 import (
-       "github.com/vapor/toolbar/common"
+       "github.com/bytom/vapor/toolbar/common"
 )
 
 type CrossTransactionReq struct {
index 9b5a856..5ca0042 100644 (file)
@@ -3,9 +3,9 @@ package service
 import (
        "encoding/json"
 
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/toolbar/common"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/toolbar/common"
 )
 
 // Node can invoke the api which provide by the full node server
index 5e58fde..95a422e 100644 (file)
@@ -1,7 +1,7 @@
 package synchron
 
 import (
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/errors"
 )
 
 var (
index 8bb13d0..117717c 100644 (file)
@@ -14,14 +14,14 @@ import (
        "github.com/jinzhu/gorm"
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/toolbar/federation/common"
-       "github.com/vapor/toolbar/federation/config"
-       "github.com/vapor/toolbar/federation/database"
-       "github.com/vapor/toolbar/federation/database/orm"
-       "github.com/vapor/toolbar/federation/service"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/toolbar/federation/common"
+       "github.com/bytom/vapor/toolbar/federation/config"
+       "github.com/bytom/vapor/toolbar/federation/database"
+       "github.com/bytom/vapor/toolbar/federation/database/orm"
+       "github.com/bytom/vapor/toolbar/federation/service"
 )
 
 type mainchainKeeper struct {
index 80061f1..0ec3d92 100644 (file)
@@ -9,15 +9,15 @@ import (
        "github.com/jinzhu/gorm"
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/toolbar/federation/common"
-       "github.com/vapor/toolbar/federation/config"
-       "github.com/vapor/toolbar/federation/database"
-       "github.com/vapor/toolbar/federation/database/orm"
-       "github.com/vapor/toolbar/federation/service"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/toolbar/federation/common"
+       "github.com/bytom/vapor/toolbar/federation/config"
+       "github.com/bytom/vapor/toolbar/federation/database"
+       "github.com/bytom/vapor/toolbar/federation/database/orm"
+       "github.com/bytom/vapor/toolbar/federation/service"
 )
 
 type sidechainKeeper struct {
index d8ca307..f30e9b1 100755 (executable)
@@ -1,10 +1,10 @@
 package mergeutxo
 
 import (
-       "github.com/vapor/consensus"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/toolbar/apinode"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/toolbar/apinode"
 )
 
 func MergeUTXO(hostPort, accountID, password, address string, amount uint64) ([]string, error) {
index 1a85c37..d3f0158 100644 (file)
@@ -3,8 +3,8 @@ package api
 import (
        "github.com/gin-gonic/gin"
 
-       "github.com/vapor/toolbar/precognitive/database/orm"
-       serverCommon "github.com/vapor/toolbar/server"
+       "github.com/bytom/vapor/toolbar/precognitive/database/orm"
+       serverCommon "github.com/bytom/vapor/toolbar/server"
 )
 
 type listNodesReq struct{ serverCommon.Display }
index b4e617d..02a351d 100644 (file)
@@ -6,8 +6,8 @@ import (
        "github.com/gin-gonic/gin"
        "github.com/jinzhu/gorm"
 
-       "github.com/vapor/toolbar/precognitive/config"
-       serverCommon "github.com/vapor/toolbar/server"
+       "github.com/bytom/vapor/toolbar/precognitive/config"
+       serverCommon "github.com/bytom/vapor/toolbar/server"
 )
 
 type Server struct {
index 3c5ba3f..4f40794 100644 (file)
@@ -5,9 +5,9 @@ import (
        "os"
 
        log "github.com/sirupsen/logrus"
-       "github.com/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
 
-       "github.com/vapor/toolbar/common"
+       "github.com/bytom/vapor/toolbar/common"
 )
 
 func NewConfig() *Config {
index addf7b1..944183a 100644 (file)
@@ -7,8 +7,8 @@ import (
        "fmt"
        "time"
 
-       "github.com/vapor/toolbar/common"
-       precogCommon "github.com/vapor/toolbar/precognitive/common"
+       "github.com/bytom/vapor/toolbar/common"
+       precogCommon "github.com/bytom/vapor/toolbar/precognitive/common"
 )
 
 type Node struct {
index 6072377..19aebf1 100644 (file)
@@ -6,8 +6,8 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/p2p"
-       "github.com/vapor/toolbar/precognitive/database/orm"
+       "github.com/bytom/vapor/p2p"
+       "github.com/bytom/vapor/toolbar/precognitive/database/orm"
 )
 
 func (m *monitor) connectionRoutine() {
index 6eb8781..8d92d3a 100644 (file)
@@ -6,8 +6,8 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/p2p/discover/dht"
-       "github.com/vapor/toolbar/precognitive/config"
+       "github.com/bytom/vapor/p2p/discover/dht"
+       "github.com/bytom/vapor/toolbar/precognitive/config"
 )
 
 var (
index 31a8411..6c69e01 100644 (file)
@@ -1,8 +1,8 @@
 package monitor
 
 import (
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/test/mock"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/test/mock"
 )
 
 func mockChainAndPool() (*mock.Chain, *mock.Mempool, error) {
index d32e2a4..59e3b56 100644 (file)
@@ -10,19 +10,19 @@ import (
        "github.com/jinzhu/gorm"
        log "github.com/sirupsen/logrus"
 
-       vaporCfg "github.com/vapor/config"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/event"
-       "github.com/vapor/netsync/chainmgr"
-       "github.com/vapor/netsync/consensusmgr"
-       "github.com/vapor/netsync/peers"
-       "github.com/vapor/p2p"
-       "github.com/vapor/p2p/discover/dht"
-       "github.com/vapor/p2p/discover/mdns"
-       "github.com/vapor/p2p/signlib"
-       "github.com/vapor/test/mock"
-       "github.com/vapor/toolbar/precognitive/config"
+       vaporCfg "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/netsync/chainmgr"
+       "github.com/bytom/vapor/netsync/consensusmgr"
+       "github.com/bytom/vapor/netsync/peers"
+       "github.com/bytom/vapor/p2p"
+       "github.com/bytom/vapor/p2p/discover/dht"
+       "github.com/bytom/vapor/p2p/discover/mdns"
+       "github.com/bytom/vapor/p2p/signlib"
+       "github.com/bytom/vapor/test/mock"
+       "github.com/bytom/vapor/toolbar/precognitive/config"
 )
 
 type monitor struct {
index 3538f61..07f46fc 100644 (file)
@@ -10,11 +10,11 @@ import (
        "github.com/jinzhu/gorm"
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/netsync/peers"
-       "github.com/vapor/p2p"
-       "github.com/vapor/toolbar/precognitive/common"
-       "github.com/vapor/toolbar/precognitive/config"
-       "github.com/vapor/toolbar/precognitive/database/orm"
+       "github.com/bytom/vapor/netsync/peers"
+       "github.com/bytom/vapor/p2p"
+       "github.com/bytom/vapor/toolbar/precognitive/common"
+       "github.com/bytom/vapor/toolbar/precognitive/config"
+       "github.com/bytom/vapor/toolbar/precognitive/database/orm"
 )
 
 func (m *monitor) upsertNode(node *config.Node) error {
index caa4e56..dd1a74c 100644 (file)
@@ -1,7 +1,7 @@
 package server
 
 import (
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/errors"
 )
 
 var (
index 8ecfdfb..e854d06 100644 (file)
@@ -1,7 +1,7 @@
 package server
 
 import (
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/errors"
 )
 
 //FormatErrResp format error response
index b891556..fb0bf24 100644 (file)
@@ -8,7 +8,7 @@ import (
 
        "github.com/gin-gonic/gin"
 
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/errors"
 )
 
 func Middleware(serverInstance interface{}) gin.HandlerFunc {
index 74bf297..38b83a7 100644 (file)
@@ -7,7 +7,7 @@ import (
 
        "github.com/gin-gonic/gin"
 
-       "github.com/vapor/errors"
+       "github.com/bytom/vapor/errors"
 )
 
 const (
index d15b3c6..0878e44 100644 (file)
@@ -7,7 +7,7 @@ import (
        "os"
        "path"
 
-       "github.com/vapor/toolbar/common"
+       "github.com/bytom/vapor/toolbar/common"
 )
 
 type Config struct {
index a6fdbcc..a778738 100644 (file)
@@ -7,12 +7,12 @@ import (
 
        "github.com/jinzhu/gorm"
 
-       "github.com/vapor/consensus"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/toolbar/apinode"
-       "github.com/vapor/toolbar/common"
-       "github.com/vapor/toolbar/vote_reward/config"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/toolbar/apinode"
+       "github.com/bytom/vapor/toolbar/common"
+       "github.com/bytom/vapor/toolbar/vote_reward/config"
 )
 
 var (
index 368cb44..e067096 100644 (file)
@@ -6,12 +6,12 @@ import (
        "github.com/jinzhu/gorm"
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/toolbar/apinode"
-       "github.com/vapor/toolbar/common"
-       "github.com/vapor/toolbar/vote_reward/config"
-       "github.com/vapor/toolbar/vote_reward/database/orm"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/toolbar/apinode"
+       "github.com/bytom/vapor/toolbar/common"
+       "github.com/bytom/vapor/toolbar/vote_reward/config"
+       "github.com/bytom/vapor/toolbar/vote_reward/database/orm"
 )
 
 var ErrInconsistentDB = errors.New("inconsistent db status")
index e77696b..3bf0f21 100644 (file)
@@ -4,9 +4,9 @@ import (
        "context"
 
        jww "github.com/spf13/jwalterweatherman"
-       "github.com/vapor/api"
-       "github.com/vapor/blockchain/rpc"
-       "github.com/vapor/env"
+       "github.com/bytom/vapor/api"
+       "github.com/bytom/vapor/blockchain/rpc"
+       "github.com/bytom/vapor/env"
 )
 
 const (
index ce8e28c..aebcd1a 100644 (file)
@@ -12,7 +12,7 @@ import (
        "strconv"
        "strings"
 
-       "github.com/vapor/crypto/ed25519"
+       "github.com/bytom/vapor/crypto/ed25519"
 )
 
 // NewPrivateKey returns a PrivateKey by parsing the string s.
index daf8e01..5f3d849 100644 (file)
@@ -8,7 +8,7 @@ import (
        "math/big"
        "strconv"
 
-       "github.com/vapor/crypto/ed25519"
+       "github.com/bytom/vapor/crypto/ed25519"
 )
 
 const format = "Private-key-format: v1.3\n"
index 50746ce..39d475f 100644 (file)
@@ -5,15 +5,15 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/account"
-       "github.com/vapor/asset"
-       "github.com/vapor/blockchain/query"
-       "github.com/vapor/common"
-       "github.com/vapor/consensus"
-       "github.com/vapor/consensus/segwit"
-       "github.com/vapor/crypto/sha3pool"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/asset"
+       "github.com/bytom/vapor/blockchain/query"
+       "github.com/bytom/vapor/common"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/consensus/segwit"
+       "github.com/bytom/vapor/crypto/sha3pool"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 // annotateTxs adds asset data to transactions
index f107aec..d0055d4 100644 (file)
@@ -8,13 +8,13 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/account"
-       "github.com/vapor/blockchain/query"
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto/sha3pool"
-       chainjson "github.com/vapor/encoding/json"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/blockchain/query"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto/sha3pool"
+       chainjson "github.com/bytom/vapor/encoding/json"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 func parseGlobalTxIdx(globalTxIdx []byte) (*bc.Hash, uint64) {
index 851d352..9e1bc67 100644 (file)
@@ -17,7 +17,7 @@ import (
        "github.com/johngb/langreg"
        "golang.org/x/crypto/pbkdf2"
 
-       "github.com/vapor/wallet/mnemonic/wordlists"
+       "github.com/bytom/vapor/wallet/mnemonic/wordlists"
 )
 
 var (
index a2aae5a..5458efc 100644 (file)
@@ -7,13 +7,13 @@ import (
        "sync/atomic"
        "time"
 
-       "github.com/vapor/account"
-       "github.com/vapor/blockchain/signers"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/crypto/sha3pool"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/blockchain/signers"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/crypto/sha3pool"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 const (
index c4ec390..32a0063 100644 (file)
@@ -9,18 +9,18 @@ import (
        "testing"
        "time"
 
-       "github.com/vapor/account"
-       acc "github.com/vapor/account"
-       "github.com/vapor/blockchain/pseudohsm"
-       "github.com/vapor/blockchain/signers"
-       "github.com/vapor/blockchain/txbuilder"
-       "github.com/vapor/common"
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/errors"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/account"
+       acc "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/blockchain/pseudohsm"
+       "github.com/bytom/vapor/blockchain/signers"
+       "github.com/bytom/vapor/blockchain/txbuilder"
+       "github.com/bytom/vapor/common"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 // MockBlock mock a block
index 90b6050..3c45be6 100644 (file)
@@ -1,10 +1,10 @@
 package wallet
 
 import (
-       acc "github.com/vapor/account"
-       "github.com/vapor/asset"
-       "github.com/vapor/blockchain/query"
-       "github.com/vapor/protocol/bc"
+       acc "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/asset"
+       "github.com/bytom/vapor/blockchain/query"
+       "github.com/bytom/vapor/protocol/bc"
 )
 
 // WalletStore interface contains wallet storage functions.
index aabf8d2..878a4ea 100644 (file)
@@ -6,15 +6,15 @@ import (
        "sort"
        "time"
 
-       "github.com/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc"
 
        log "github.com/sirupsen/logrus"
 
-       acc "github.com/vapor/account"
-       "github.com/vapor/blockchain/query"
-       "github.com/vapor/crypto/sha3pool"
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc/types"
+       acc "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/blockchain/query"
+       "github.com/bytom/vapor/crypto/sha3pool"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 const (
index 5904845..823b74c 100644 (file)
@@ -5,18 +5,18 @@ import (
        "os"
        "testing"
 
-       "github.com/vapor/account"
-       "github.com/vapor/asset"
-       "github.com/vapor/blockchain/pseudohsm"
-       "github.com/vapor/blockchain/query"
-       "github.com/vapor/blockchain/signers"
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/event"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/asset"
+       "github.com/bytom/vapor/blockchain/pseudohsm"
+       "github.com/bytom/vapor/blockchain/query"
+       "github.com/bytom/vapor/blockchain/signers"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestWalletUnconfirmedTxs(t *testing.T) {
index a1b44fa..278853a 100644 (file)
@@ -3,12 +3,12 @@ package wallet
 import (
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/account"
-       "github.com/vapor/consensus"
-       "github.com/vapor/consensus/segwit"
-       "github.com/vapor/crypto/sha3pool"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/consensus/segwit"
+       "github.com/bytom/vapor/crypto/sha3pool"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 // GetAccountUtxos return all account unspent outputs
index 9588a04..dadd834 100644 (file)
@@ -8,12 +8,12 @@ import (
        "sort"
        "testing"
 
-       "github.com/vapor/account"
-       "github.com/vapor/consensus"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
-       "github.com/vapor/testutil"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/consensus"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/testutil"
 )
 
 func TestGetAccountUtxos(t *testing.T) {
index 0a955d2..739e949 100644 (file)
@@ -5,14 +5,14 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/vapor/account"
-       "github.com/vapor/asset"
-       "github.com/vapor/blockchain/pseudohsm"
-       "github.com/vapor/errors"
-       "github.com/vapor/event"
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/asset"
+       "github.com/bytom/vapor/blockchain/pseudohsm"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 const (
index 49ad693..dfa451d 100644 (file)
@@ -12,23 +12,23 @@ import (
        "testing"
        "time"
 
-       "github.com/vapor/account"
-       acc "github.com/vapor/account"
-       "github.com/vapor/asset"
-       "github.com/vapor/blockchain/query"
-       "github.com/vapor/blockchain/signers"
-       "github.com/vapor/blockchain/txbuilder"
-       "github.com/vapor/common"
-       "github.com/vapor/config"
-       "github.com/vapor/consensus"
-       "github.com/vapor/crypto/ed25519/chainkd"
-       "github.com/vapor/crypto/sha3pool"
-       dbm "github.com/vapor/database/leveldb"
-       "github.com/vapor/errors"
-       "github.com/vapor/event"
-       "github.com/vapor/protocol"
-       "github.com/vapor/protocol/bc"
-       "github.com/vapor/protocol/bc/types"
+       "github.com/bytom/vapor/account"
+       acc "github.com/bytom/vapor/account"
+       "github.com/bytom/vapor/asset"
+       "github.com/bytom/vapor/blockchain/query"
+       "github.com/bytom/vapor/blockchain/signers"
+       "github.com/bytom/vapor/blockchain/txbuilder"
+       "github.com/bytom/vapor/common"
+       "github.com/bytom/vapor/config"
+       "github.com/bytom/vapor/consensus"
+       "github.com/bytom/vapor/crypto/ed25519/chainkd"
+       "github.com/bytom/vapor/crypto/sha3pool"
+       dbm "github.com/bytom/vapor/database/leveldb"
+       "github.com/bytom/vapor/errors"
+       "github.com/bytom/vapor/event"
+       "github.com/bytom/vapor/protocol"
+       "github.com/bytom/vapor/protocol/bc"
+       "github.com/bytom/vapor/protocol/bc/types"
 )
 
 func TestEncodeDecodeGlobalTxIndex(t *testing.T) {