<p><a href="https://github.com/emercoin/emercoin/blob/master/src/primitives/transaction.h" rel="nofollow noreferrer">https://github.com/emercoin/emercoin/blob/master/src/primitives/transaction.h</a></p>

<p>const uint32_t nTime;                    // PPCoin: transaction timestamp</p>

<p>The bitcoin genesis block has a timestamp that is nTime. </p>

<p>For emercoin there seems to be two timestamps, one for the genesis block and one for the coinabase transaction. So in this case nTimeBlock is the original nTime and nTimeTx is the transaction timestamp.</p>

CC BY-SA 4.0
2018-08-02T13:46:25.537Z
how to generate transaction timestamp. this from fork or i used emercoin timestamp. but fail like up there. need tools like genesis block?any clue sir. how to generate this.
Nur1Labs
CC BY-SA 4.0
2018-08-02T13:09:51.990Z
2018-08-02T13:09:51.990Z
Nikos Kostoulas
<p>fruitd: chainparams.cpp:207: CMainParams::CMainParams(): Assertion `consensus.hashGenesisBlock == uint256S("0x000000004421dbf94542db9b40e4bc60da8ce6b793f00924cadf5677d364a6a1")' failed.
Aborted</p>

<p>used fork emercoin</p>

<p><a href="https://github.com/emercoin/emercoin/blob/master/src/chainparams.cpp" rel="nofollow noreferrer">https://github.com/emercoin/emercoin/blob/master/src/chainparams.cpp</a></p>

<pre><code>return CreateGenesisBlock(pszTimestamp, genesisOutputScript, nTimeTx, nTimeBlock, nNonce, nBits, nVersion, genesisReward);
genesis = CreateGenesisBlock(1533183609, 0, 3712766900, 0x1d00ffff, 1, 0);
</code></pre>

<p>what is nTimeTx, nTimeBlock and how generate this?</p>

<p>i used this for generates <a href="https://github.com/liveblockchain/genesisgen" rel="nofollow noreferrer">https://github.com/liveblockchain/genesisgen</a></p>

<genesis-block>
Failed of genesis!
Nur1Labs
# Failed of genesis!

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

fruitd: chainparams.cpp:207: CMainParams::CMainParams(): Assertion `consensus.hashGenesisBlock == uint256S("0x000000004421dbf94542db9b40e4bc60da8ce6b793f00924cadf5677d364a6a1")' failed.
Aborted

used fork emercoin

<https://github.com/emercoin/emercoin/blob/master/src/chainparams.cpp>

```
return CreateGenesisBlock(pszTimestamp, genesisOutputScript, nTimeTx, nTimeBlock, nNonce, nBits, nVersion, genesisReward);
genesis = CreateGenesisBlock(1533183609, 0, 3712766900, 0x1d00ffff, 1, 0);

```

what is nTimeTx, nTimeBlock and how generate this?

i used this for generates <https://github.com/liveblockchain/genesisgen>

**Tags:** genesis-block


---

## 1 answers

### Answer by username_1 on 2018-08-02. Score: 0 | Accepted answer

<https://github.com/emercoin/emercoin/blob/master/src/primitives/transaction.h>

const uint32\_t nTime; // PPCoin: transaction timestamp

The bitcoin genesis block has a timestamp that is nTime.

For emercoin there seems to be two timestamps, one for the genesis block and one for the coinabase transaction. So in this case nTimeBlock is the original nTime and nTimeTx is the transaction timestamp.

> **Comments:**
> **username_0**: how to generate transaction timestamp. this from fork or i used emercoin timestamp. but fail like up there. need tools like genesis block?any clue sir. how to generate this.  

---

