aboutsummaryrefslogtreecommitdiffstats
path: root/core/blockchain.go
diff options
context:
space:
mode:
authorMission Liao <mission.liao@dexon.org>2018-09-17 17:16:26 +0800
committerGitHub <noreply@github.com>2018-09-17 17:16:26 +0800
commit874c4c599a80b9c6f9c085c216be5fd6492cd2c2 (patch)
tree390ff0d0ad11712612b2ee96a1703528c5789773 /core/blockchain.go
parent2110dcdae6ef551cedc006649a1ae1f429bcc013 (diff)
downloaddexon-consensus-874c4c599a80b9c6f9c085c216be5fd6492cd2c2.tar
dexon-consensus-874c4c599a80b9c6f9c085c216be5fd6492cd2c2.tar.gz
dexon-consensus-874c4c599a80b9c6f9c085c216be5fd6492cd2c2.tar.bz2
dexon-consensus-874c4c599a80b9c6f9c085c216be5fd6492cd2c2.tar.lz
dexon-consensus-874c4c599a80b9c6f9c085c216be5fd6492cd2c2.tar.xz
dexon-consensus-874c4c599a80b9c6f9c085c216be5fd6492cd2c2.tar.zst
dexon-consensus-874c4c599a80b9c6f9c085c216be5fd6492cd2c2.zip
cleanup (#109)
- With context, we don't need stopChan - Remove core.BlockChain. - Remove unused variable.
Diffstat (limited to 'core/blockchain.go')
-rw-r--r--core/blockchain.go26
1 files changed, 0 insertions, 26 deletions
diff --git a/core/blockchain.go b/core/blockchain.go
deleted file mode 100644
index 1222516..0000000
--- a/core/blockchain.go
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2018 The dexon-consensus-core Authors
-// This file is part of the dexon-consensus-core library.
-//
-// The dexon-consensus-core library is free software: you can redistribute it
-// and/or modify it under the terms of the GNU Lesser General Public License as
-// published by the Free Software Foundation, either version 3 of the License,
-// or (at your option) any later version.
-//
-// The dexon-consensus-core library is distributed in the hope that it will be
-// useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
-// General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public License
-// along with the dexon-consensus-core library. If not, see
-// <http://www.gnu.org/licenses/>.
-
-package core
-
-import "github.com/dexon-foundation/dexon-consensus-core/core/types"
-
-// BlockChain is the basic datastructure used for storing blocks in each
-// validator.
-type BlockChain struct {
- validatorID types.ValidatorID
-}