Hello everyone. So over the last week, I've created my own altcoin using the Litecoin v0.8 source code for a university side project. Currently, the coin is fully functional, with a working wallet, send/receive, mining rewards, and even auto-connection to a DNS seed leading to a VPS (my full node hosted on DigitalOcean). Everything seems to be working great, except some really strange behavior from the full node (which also acts as the default DNS seed). When I run my node with either
./tigerstriped -server -printtoconsole
or
./tigerstriped -server -listen=1 -printtoconsole
It starts up and connects as usual to any wallets online. But, after a few minutes, it will start mining/processing blocks on the blockchain at a pretty fast rate. As I said, I am no expert so I'm not 100% sure if this is normal, but it seems to infinitely process empty blocks continuously at a rate much faster than that of my wallets mining from the debug window. I have tried console commands in the VPS like
./tigerstriped setgenerate false
to which I usually receive a blank response. Even weirder, I took all my wallets offline and stopped the full node for the night. The block height was at around 170. I come back this morning, start the full node and my wallet, and suddenly there is a block height of 700+! How could my node be processing/mining while it was offline after using
. Keep in mind nobody knows or has access to my wallets, so nobody could have been mining blocks. When I started the node, it spammed the console with hundreds of blocks found, as if it was mining while offline and would confirm when it was started back up again. I have never been so confused and frustrated. Is there even a command to stop this behavior? If my full node is processing a thousand empty blocks a day, the coin will half in just a few months. Maybe I am incorrect and the full node is supposed to process blocks forever? Could this be a result of connecting two wallets together and mining before connecting a masternode?
I've attatched a few pastebins for hopefully more clarity. Please let me know if there is any debug.log or file or console you need me to share in order to help out.
Full Node VPS Console (Startup message):
https://pastebin.com/LuTFi09LFull Node VPS Console (Processing blocks automatically):
https://pastebin.com/JFfDga2m^^^ These same messages show up in the debug.log in all of my valid wallets! What???
I have absolutely no idea where to turn. Any idea on where to look, what to change, or which pastebins to make for further clarity would be greatly appreciated.