This message shows up after running
zcashd for about ten minutes (admittedly on a very low end machine.) I am using the version of Zcash packaged in the Arch repositories.
Zcash in ProcessMessages()
zcashd: main.cpp:2067: bool ConnectBlock(const CBlock&, CValidationState&, CBlockIndex*, CCoinsViewCache&, bool): Assertion `hashPrevBlock == view.GetBestBlock()' failed.
Can you please give more details about the machine? That error often occurs when the machine doesn’t have enough RAM.
that’s the problem isn’t it
Try to add some swap space.
I believe it’s possible to run zcashd on any x86_64 machine.
Also, just to be sure, check your
ulimit -a for memory limits.
total used free shared buff/cache available
Mem: 3.7G 1.9G 1.0G 434M 825M 1.4G
Swap: 61M 59M 1.6M
(I hate it when the Markdown version in use doesn’t support tables.) I have no idea how I ended up with only 1.4G memory available.
As far as adding swap that will take a while. I can do it, but it’s gonna take ages.
dd if=/dev/zero of=swapfile bs=1024 count=4194304