aboutsummaryrefslogtreecommitdiffstats
path: root/eth/block_pool.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-12-15 04:08:24 +0800
committerzelig <viktor.tron@gmail.com>2014-12-15 04:53:20 +0800
commit4c89d5331f41fa93e6840893c6727b05eabe5f99 (patch)
treedd221008e8ee584a574148a53dc8e228cdf95bec /eth/block_pool.go
parent61940b2275a8f3c77d906947b2d1126bb6c3b21d (diff)
downloadgo-tangerine-4c89d5331f41fa93e6840893c6727b05eabe5f99.tar.gz
go-tangerine-4c89d5331f41fa93e6840893c6727b05eabe5f99.tar.zst
go-tangerine-4c89d5331f41fa93e6840893c6727b05eabe5f99.zip
adapt blockpool/backend to use pow/ezp with pow.Block for VerifyPoW func
Diffstat (limited to 'eth/block_pool.go')
-rw-r--r--eth/block_pool.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/eth/block_pool.go b/eth/block_pool.go
index a5cda7b58..7cfbc63f8 100644
--- a/eth/block_pool.go
+++ b/eth/block_pool.go
@@ -55,11 +55,7 @@ type BlockPool struct {
// the minimal interface with blockchain
hasBlock func(hash []byte) bool
insertChain func(types.Blocks) error
-<<<<<<< HEAD
verifyPoW func(pow.Block) bool
-=======
- verifyPoW func(*types.Block) bool
->>>>>>> blockpool rewritten , tests broken FIXME
}
type peerInfo struct {
@@ -78,11 +74,7 @@ type peerInfo struct {
quitC chan bool
}
-<<<<<<< HEAD
func NewBlockPool(hasBlock func(hash []byte) bool, insertChain func(types.Blocks) error, verifyPoW func(pow.Block) bool,
-=======
-func NewBlockPool(hasBlock func(hash []byte) bool, insertChain func(types.Blocks) error, verifyPoW func(*types.Block) bool,
->>>>>>> blockpool rewritten , tests broken FIXME
) *BlockPool {
return &BlockPool{
hasBlock: hasBlock,