diff options
author | obscuren <geffobscura@gmail.com> | 2015-06-03 19:14:06 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-06-04 04:39:17 +0800 |
commit | 770a0e78396d66dc0b15a267891ed69be1414f52 (patch) | |
tree | feb88a9ad7352bfb422bba11d6c066c9487575f0 /core/block_processor.go | |
parent | b26f5e0bb7e8922c80bc3513d1ebce2c99a081f5 (diff) | |
download | go-tangerine-770a0e78396d66dc0b15a267891ed69be1414f52.tar go-tangerine-770a0e78396d66dc0b15a267891ed69be1414f52.tar.gz go-tangerine-770a0e78396d66dc0b15a267891ed69be1414f52.tar.bz2 go-tangerine-770a0e78396d66dc0b15a267891ed69be1414f52.tar.lz go-tangerine-770a0e78396d66dc0b15a267891ed69be1414f52.tar.xz go-tangerine-770a0e78396d66dc0b15a267891ed69be1414f52.tar.zst go-tangerine-770a0e78396d66dc0b15a267891ed69be1414f52.zip |
wip
Diffstat (limited to 'core/block_processor.go')
-rw-r--r-- | core/block_processor.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/block_processor.go b/core/block_processor.go index a3ad383d0..9a013b280 100644 --- a/core/block_processor.go +++ b/core/block_processor.go @@ -178,7 +178,6 @@ func (sm *BlockProcessor) Process(block *types.Block) (logs state.Logs, err erro return nil, ParentError(header.ParentHash) } parent := sm.bc.GetBlock(header.ParentHash) - return sm.processWithParent(block, parent) } @@ -254,14 +253,9 @@ func (sm *BlockProcessor) processWithParent(block, parent *types.Block) (logs st return nil, err } - // Calculate the td for this block - //td = CalculateTD(block, parent) // Sync the current block's state to the database state.Sync() - // Remove transactions from the pool - sm.txpool.RemoveTransactions(block.Transactions()) - // This puts transactions in a extra db for rpc for i, tx := range block.Transactions() { putTx(sm.extraDb, tx, block, uint64(i)) |