massnetorg / MassNet-miner

MassNet-miner is a Golang implementation of MassNet full-node miner.
MIT License
42 stars 19 forks source link

Miner stops with panic: unknown trie type <nil> #24

Closed HelamanWarrior closed 3 years ago

HelamanWarrior commented 3 years ago

My miner won't run now, was working earlier today looks like there is a problem in the block chain.

Adding orphan block with Parent elapsed=9.9938ms file=process.go flags=0 func="blockchain.(Blockchain).processBlock" height=1426903 line=182 orphan=cc93d69c29e011ab926d392bf3f3cc40949c2621ad962e5d472294c5a0dc1f0e parent=a4190caea087c2414d77954b4de335603ca3245fc4030eea0244cf8b0e6ae4ee tid=114 FORK: Block forks the chain at height, but does not cause a reorganize block_hash=a4190caea087c2414d77954b4de335603ca3245fc4030eea0244cf8b0e6ae4ee block_height=1426902 file=chain.go fork_hash=a28676a3cdd60ab34d785d916db1b3cf28274a0287df3171e32ad162f7071d55 fork_height=1426901 func="blockchain.(Blockchain).connectBestChain" line=553 tid=114 process orphan child_hash=cc93d69c29e011ab926d392bf3f3cc40949c2621ad962e5d472294c5a0dc1f0e child_height=1426903 file=process.go func="blockchain.(Blockchain).processOrphans" line=80 parent_hash=a4190caea087c2414d77954b4de335603ca3245fc4030eea0244cf8b0e6ae4ee tid=114 reorganize: block is causing a reorganize. block=cc93d69c29e011ab926d392bf3f3cc40949c2621ad962e5d472294c5a0dc1f0e file=chain.go func="blockchain.(Blockchain).connectBestChain" line=603 tid=114 panic: unknown trie type

HelamanWarrior commented 3 years ago

Just downloaded the new build 2.0.3 and it seems to be working.