0

Good morning, I need help !! I have cloned other coins (scrypt and SHA256), but I found a big problem with the DASH CLONE. After having completed the DASHCLONE project. When I can not do the genesis block (tried with QT and tried with daemon) it does not mine .........! getgenerate = true, but do not mine! the log writes this:

CMasternodeSync::ProcessTick -- nTick 1189 nRequestedMasternodeAssets 0 nRequestedMasternodeAttempt 0 nSyncProgress -0.250000

Thank you

0

I am not familiar with dash-coin, however, in my experience with cloning other coins (litecoin w/ scrypt PoW, bitcoin w/ SHA256) even with a few nodes running the client, I was unable to mine with an external mining software (like cpuminer) until 15-20th block was generated using the CLI. Either within the qt client console or using the coin-cli generate nblocks command.

If you have successfully coded the genesis block into the source and were able to compile/run the client I would try using the generate command or whatever the equivalent is within the client.

  • ho già ammassato il litecoin e generato i primi blocchi con comando cli generate 1 (per esempio). Unfortunately with Dash, when you enter: setgenerate true, the response is: getgenerate true, but really do not mining – Omar Baruzzo Jun 14 '18 at 15:19
  • Oh I see what you're saying, yeah I have had that same issue. I believe the setgenerate config option is deprecated, so you have to use the cli generate nblocks or use mining software like cpuminer/gpuminer/cgminer etc. – apt-getschwifty Jun 14 '18 at 20:50
  • yes, it's deprecated. but you can not even use generate nblocks because it is disabled. if you change the variable fMineBlocksOnDemand = true, you can use the generate nblocks command, but the qt or the daemon crash. You can not use ccminer, cgminer etc., because the wallet is not synchronized to the network. That is the question.. – Omar Baruzzo Jun 15 '18 at 9:27
  • How many nodes do you have running the client..? – apt-getschwifty Jun 15 '18 at 23:57
  • only 2 nodes... but in scrypt i havent problems with one node too – Omar Baruzzo Jun 19 '18 at 9:24
0

MAIN: PART 1

MAIN: PART 2

MAIN: PART 3

MAIN: PART 4

MAIN: PART 5

MAIN: PART 6

All Modify are signed //Mod.

NOT MINING REALLY!!!!!!!!!!!!!!!!!!!!!1

enter image description here

not mining!!!

All modifies are in test and testreg too.

0

SOLUTION!!!!!!

for mining 1 block is necessary to change functions inside chainparams.cpp

enter image description here

RESULT:

enter image description here

BOOM!!!!!!!!!!!!

if you want a genesisblock calculator inside your project whatch this my repository:

https://gist.github.com/anewstarslot/a86a65d890ed823013315ea2d3727c2d

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.