<p>SOLUTION!!!!!!</p>

<p>for mining 1 block is necessary to change functions inside chainparams.cpp</p>

<p><a href="https://i.sstatic.net/VRpSG.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/VRpSG.png" alt="enter image description here"></a></p>

<p>RESULT:</p>

<p><a href="https://i.sstatic.net/iI5rs.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/iI5rs.png" alt="enter image description here"></a></p>

<p><strong>BOOM!!!!!!!!!!!!</strong></p>

<p>if you want a genesisblock calculator inside your project whatch this my repository:</p>

<p><a href="https://gist.github.com/anewstarslot/a86a65d890ed823013315ea2d3727c2d" rel="nofollow noreferrer">https://gist.github.com/anewstarslot/a86a65d890ed823013315ea2d3727c2d</a></p>

CC BY-SA 4.0
2018-06-28T10:39:22.953Z
2018-06-28T13:27:05.720Z
2018-06-28T13:27:05.720Z
Omar Baruzzo
<p>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. </p>

<p>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.</p>

CC BY-SA 4.0
2018-06-14T15:19:47.000Z
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
CC BY-SA 4.0
2018-06-14T20:50:53.087Z
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
CC BY-SA 4.0
2018-06-15T09:27:14.133Z
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
CC BY-SA 4.0
2018-06-15T23:57:03.043Z
How many nodes do you have running the client..?
apt-getschwifty
CC BY-SA 4.0
2018-06-19T09:24:27.010Z
only 2 nodes... but in scrypt i havent problems with one node too
Omar Baruzzo
CC BY-SA 4.0
2018-06-20T17:45:22.357Z
My recommendation would be to add more nodes, or to start over and ensure you maintain at least a single node with the entire blockchain. As long as you do that and maintain consensus across your other nodes, synchronization should be automatic.
apt-getschwifty
CC BY-SA 4.0
2018-06-21T11:34:00.513Z
I tried to do that too. I created the coin clone from the Dash. I tried to put 3 knots in sync with each other. unfortunately nothing. it does not mine
Omar Baruzzo
CC BY-SA 4.0
2018-06-22T00:18:30.497Z
Doesn't mine with the generate command? or an external miner? What command specifically are you using. You normally can't mine blocks that will be accepted by an external miner until the coinbase height is at least around 20, and depending on your hardware you may need to be patient while the generate command works.
apt-getschwifty
CC BY-SA 4.0
2018-06-22T10:54:33.907Z
generate = 1 is deprecated, it does not work in Dash.

          setgenerate = true => tells me that it is undermining, but actually after a week it has not generated any blocking and the CPU memory is at zero ... so it does not undermine.

          gen = 1 in the file .log => tells me that it is undermining, but after a week it did not generate any blocking and the CPU memory is at zero ... so it does not undermine

          external miners (miners only) => do not work until the wallet is synchronized on the network, so it must first generate the 1st block
Omar Baruzzo
CC BY-SA 4.0
2018-06-22T22:54:57.213Z
try using whatevercoin-cli generate 1 99999999, your right, external miners won't work without synchronization but you should be able to generate a block from within the core regardless, so long as the core runs without error.
apt-getschwifty
CC BY-SA 4.0
2018-06-13T18:05:26.567Z
2018-06-13T18:05:26.567Z
apt-getschwifty
<p><a href="https://i.sstatic.net/vMdgS.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/vMdgS.png" alt="MAIN: PART 1"></a></p>

<p><a href="https://i.sstatic.net/h6buS.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/h6buS.png" alt="MAIN: PART 2"></a></p>

<p><a href="https://i.sstatic.net/h7cKo.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/h7cKo.png" alt="MAIN: PART 3"></a></p>

<p><a href="https://i.sstatic.net/RCZFi.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/RCZFi.png" alt="MAIN: PART 4"></a></p>

<p><a href="https://i.sstatic.net/yGoZa.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/yGoZa.png" alt="MAIN: PART 5"></a></p>

<p><a href="https://i.sstatic.net/URvr0.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/URvr0.png" alt="MAIN: PART 6"></a></p>

<p>All Modify are signed //Mod.</p>

<p>NOT MINING REALLY!!!!!!!!!!!!!!!!!!!!!1</p>

<p><a href="https://i.sstatic.net/sQO4o.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/sQO4o.png" alt="enter image description here"></a></p>

<p>not mining!!!</p>

<p>All modifies are in test and testreg too.</p>

CC BY-SA 4.0
2018-06-28T07:27:24.577Z
2018-06-28T10:19:30.990Z
2018-06-28T10:19:30.990Z
Omar Baruzzo
<p>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:</p>

<p>CMasternodeSync::ProcessTick -- nTick 1189 nRequestedMasternodeAssets 0 nRequestedMasternodeAttempt 0 nSyncProgress -0.250000</p>

<p>Thank you</p>

<altcoin><genesis-block><dash>
Problem mining Genesis Block in Dash Clone
Omar Baruzzo
# Problem mining Genesis Block in Dash Clone

(Asked by: username_0 on 2018-06-08)

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

**Tags:** altcoin, genesis-block, dash


---

## 3 answers

### Answer by username_0 on 2018-06-28. Score: 0 | Accepted answer

SOLUTION!!!!!!

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

[![enter image description here](https://i.sstatic.net/VRpSG.png)](https://i.sstatic.net/VRpSG.png)

RESULT:

[![enter image description here](https://i.sstatic.net/iI5rs.png)](https://i.sstatic.net/iI5rs.png)

**BOOM!!!!!!!!!!!!**

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

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


---

### Answer by username_1 on 2018-06-13. Score: 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.

> **Comments:**
> **username_0**: 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  
> **username_1**: 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.  
> **username_0**: 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..  
> **username_1**: How many nodes do you have running the client..?  
> **username_0**: only 2 nodes... but in scrypt i havent problems with one node too  
> **username_1**: My recommendation would be to add more nodes, or to start over and ensure you maintain at least a single node with the entire blockchain. As long as you do that and maintain consensus across your other nodes, synchronization should be automatic.  
> **username_0**: I tried to do that too. I created the coin clone from the Dash. I tried to put 3 knots in sync with each other. unfortunately nothing. it does not mine  
> **username_1**: Doesn't mine with the generate command? or an external miner? What command specifically are you using. You normally can't mine blocks that will be accepted by an external miner until the coinbase height is at least around 20, and depending on your hardware you may need to be patient while the generate command works.  
> **username_0**: generate = 1 is deprecated, it does not work in Dash.            setgenerate = true => tells me that it is undermining, but actually after a week it has not generated any blocking and the CPU memory is at zero ... so it does not undermine.            gen = 1 in the file .log => tells me that it is undermining, but after a week it did not generate any blocking and the CPU memory is at zero ... so it does not undermine            external miners (miners only) => do not work until the wallet is synchronized on the network, so it must first generate the 1st block  
> **username_1**: try using whatevercoin-cli generate 1 99999999, your right, external miners won't work without synchronization but you should be able to generate a block from within the core regardless, so long as the core runs without error.  

---

### Answer by username_0 on 2018-06-28. Score: 0

[![MAIN: PART 1](https://i.sstatic.net/vMdgS.png)](https://i.sstatic.net/vMdgS.png)

[![MAIN: PART 2](https://i.sstatic.net/h6buS.png)](https://i.sstatic.net/h6buS.png)

[![MAIN: PART 3](https://i.sstatic.net/h7cKo.png)](https://i.sstatic.net/h7cKo.png)

[![MAIN: PART 4](https://i.sstatic.net/RCZFi.png)](https://i.sstatic.net/RCZFi.png)

[![MAIN: PART 5](https://i.sstatic.net/yGoZa.png)](https://i.sstatic.net/yGoZa.png)

[![MAIN: PART 6](https://i.sstatic.net/URvr0.png)](https://i.sstatic.net/URvr0.png)

All Modify are signed //Mod.

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

[![enter image description here](https://i.sstatic.net/sQO4o.png)](https://i.sstatic.net/sQO4o.png)

not mining!!!

All modifies are in test and testreg too.


---

