I had NoirSharesd running for over 24 hours. I bought coins and transferred them successfully to the wallet.
I shut down the daemon.
I added gen=1 to the NoirShares.conf file to see if I could mine with the Daemon
This is the error:
NoirSharesd: kernel.cpp:368: unsigned int GetStakeModifierChecksum(const CBlockIndex*): Assertion `pindex->pprev || pindex->GetBlockHash() == (!fTestNet ? hashGenesisBlock : hashGenesisBlockTestNet)' failed.
Now I've set gen=0, and tried to start the daemon, and it's the same error.
I've rebuilt the daemon, and it's the same error.
I'm ready to delete the downloaded blockchain and see if that helps. This appears to be a problem with the NoirSharesd code though.
I'm trying this on Ubuntu, 32-bit
*** glibc detected *** NoirSharesd: double free or corruption (!prev): 0x099eb758 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x75ee2)[0xb7051ee2]
/usr/lib/i386-linux-gnu/libstdc++.so.6(_ZdlPv+0x1f)[0xb727a51f]
NoirSharesd[0x80e3093]
NoirSharesd[0x80e316a]
/usr/lib/libboost_thread.so.1.48.0(+0xb1cc)[0xb76931cc]
/lib/i386-linux-gnu/libpthread.so.0(+0x6d4c)[0xb72bcd4c]
/lib/i386-linux-gnu/libc.so.6(clone+0x5e)[0xb70cbbae]
======= Memory map: ========
UPDATE:This part is the most problematic it seems:
double free or corruption (!prev)What I did, was run it again, exported my private keys before the crash. I removed all references to gen=1 and gen=0 from my NoirShares.conf. Created a completely new data directory, which generated a new wallet. I imported the private keys again, and resynced the block chain.
My coins are back, and everything is good.
Word of warning, never put gen=1 or gen=0 in your conf file otherwise apparently you corrupt some of the data files or your wallet.
This is my findings anyway.
By the way, this miner:
https://github.com/reorder/momentum-getwork..doesn't work for me. I can run it, but then it segmentation faults on me at this exact part of
ptc.py:
hasher = PTSHasher(0, 0)
Segmentation fault (core dumped)
Can we not get a cgminer fork that has momentum algo in it? Even if it comes off cgminer 2.x which had CPU capability in it?