Did I break my miner?

in #steemit-help8 years ago (edited)

The other day I tried to set up a second PC to do some mining, following the advice of having the miner set, but no witness for the second PC while the primary PC had both the miner and witness set.

At some point my primary PC ran into some issues, some weird error with mining that I probably should have been smart enough to record. I eventually just let the secondary PC run, with the no-witness configuration.

At this point whenever I try to start up the mining on my primary PC I get a ridiculously long error message which seems to boil down to "unlinkable block."

In the meantime, my secondary PC found three POWs... but I didn't see them credit to my SP.

I decided to leave the primary PC miner off, and set the witness correctly on the secondary PC. I just found another POW 4 hours ago... but that doesn't look like it's been credited to my SP either.

So, either I've misremembered my starting SP before getting each of these POWs, or they aren't getting credited to me for some reason I don't understand.

Is there a way to check the full transaction history on my SP value? That would be anything credited from POW, interest, curation/author rewards, etc so that I could calculate where it should be?

Is there another way to check if those POW's are making it to my account?

EDIT: I think I just verified this through steemdb.com. I'm showing I found a block 5 hours ago, but the last block credited on the block tab is 4 days ago!

So what do I do about it?

Sort:  

Mining works a bit different than other cryptocurrencies.

You need to have a witness running, otherwise the blocks you find the POW for won't count.

The way it works is when you find a POW - you're entered into the witness queue, and within the next 2ish hours, you're witness account will be given the chance to witness a block. If your witness isn't online or doesn't respond in time, the block is given to someone else, and the POW was wasted.

If your first mining computer is offline, you've gotta add the witness information to the one that's online and restart it. Otherwise you're not going to get anything.

As for your issues with the error - without knowing exactly what it is, try running steemd with the --replay flag to replay the blockchain. If it's still not working, use the --rescan option to rescan everything (which will take a long time). If all else fails... destroy the blockchain folder out of the witness_node_data_dir and redownload it from @fydel's post, and start it back up again.

Hope that helps!

Thanks!

--rescan was an unrecognized command, so I'm doing --replay although I think it's done that automatically a couple times. Is the rescan option something else? Is there a "help" for this thing so I could figure out the commands myself?

So what happened to the blocks I found when my witness wasn't running? Do they just get lost to the ether, or returned to the mine for someone else to get?

EDIT: OK found the help option, running --resync-blockchain now. We'll see how that goes when I get home...

They are lost, and someone else witnessed a block in that time :(

Get the witness node working again, and point the miner to it? I take it the witness is your main PC and the miner is not doing anything else? I am not sure, but I do feel pretty confident in saying that a miner must have a pointer to a witness to propagate to the network properly.

I think you're posting to the wrong website. This is HotTub 69, swingers only night.

Coin Marketplace

STEEM 0.19
TRX 0.17
JST 0.031
BTC 81728.21
ETH 3198.83
USDT 1.00
SBD 2.82