mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-26 05:27:19 +00:00
merge
This commit is contained in:
commit
07955b3041
@ -440,14 +440,12 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error {
|
|||||||
self.setTotalDifficulty(td)
|
self.setTotalDifficulty(td)
|
||||||
self.insert(block)
|
self.insert(block)
|
||||||
|
|
||||||
/*
|
|
||||||
jsonlogger.LogJson(&logger.EthChainNewHead{
|
jsonlogger.LogJson(&logger.EthChainNewHead{
|
||||||
BlockHash: ethutil.Bytes2Hex(block.Hash()),
|
BlockHash: ethutil.Bytes2Hex(block.Hash()),
|
||||||
BlockNumber: block.Number(),
|
BlockNumber: block.Number(),
|
||||||
ChainHeadHash: ethutil.Bytes2Hex(cblock.Hash()),
|
ChainHeadHash: ethutil.Bytes2Hex(cblock.Hash()),
|
||||||
BlockPrevHash: ethutil.Bytes2Hex(block.ParentHash()),
|
BlockPrevHash: ethutil.Bytes2Hex(block.ParentHash()),
|
||||||
})
|
})
|
||||||
*/
|
|
||||||
|
|
||||||
self.setTransState(state.New(block.Root(), self.stateDb))
|
self.setTransState(state.New(block.Root(), self.stateDb))
|
||||||
queue[i] = ChainEvent{block}
|
queue[i] = ChainEvent{block}
|
||||||
|
Loading…
Reference in New Issue
Block a user