emarkproject / eMark

https://deutsche-emark.org
MIT License
24 stars 36 forks source link

[Mining] DEM rejected blocks #44

Closed goodthebest closed 6 years ago

goodthebest commented 6 years ago

Hey eMark Devs @Rumhocker @Broatcast I'm getting DEM blocks rejected, what RPC encoding is needed for a successful block, POS or POW?

drphipps commented 6 years ago

if(strcmp(coind->symbol, "DEM") == 0){if(coind->txmessage){strcat(templ->coinb2, "00");}} //fixes eMark.

coinbase.cpp in yiimp/stratum/

go to bottom of the file and you'll see the commented out version of the 2nd and 3rd lines, replace those with these 3.

once done, save, then sudo make, and sudo mv stratum /var/stratum/ it will overwrite the existing file, but not kill already running ones. then just restart sha, and poof, dem is back baby!*

Compliments of the Geniuses hanging out at Coinstop.me @LT1428 deserves the credit

https://hastebin.com/onoranizex.php