how I build the binaries?
It's written in the github link I've given you:
gcc generator.c -o generator -lcrypto
If i go to generate, how or where I get this info:
The
pubkey is your public key in uncompressed format. You could leave Satoshi's if you don't care of proving the ownership of your genesis block. In
timestamp, just
insert any unix timestamp you want. Leave
nBits unchanged, it has to do with the difficulty.
the zip from zippyshare is not working the link
It works for me. I just uploaded to files.fm, check:
https://files.fm/u/8sgp9adw7
Have you build your altcoin with Satoshi's block, just to see it working?
Perfect,
I will create my own pubkey, I followed:
https://github.com/lhartikk/GenesisH0installed, with some problems till I made the example of block
for those problems, I did:
install pip
install python (x3)
other dependencies
and if nothing works, with this:
sudo apt-get install python-pip
pip install scrypt construct
pip install construct==2.5.2
finaly:
root@DESKTOP-Q44IAMD:/home/mironkraft/GenesisH0-master# python genesis.py -z "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks" -n 2083236893 -t 1231006505
04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f7 2206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73
algorithm: SHA256
merkle hash: 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b
pszTimestamp: The Times 03/Jan/2009 Chancellor on brink of second bailout for banks
pubkey: 04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef3 8c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f
time: 1231006505
bits: 0x1d00ffff
Searching for genesis hash..
genesis hash found!
nonce: 2083236893
genesis hash: 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
wich confirms it works fine
So, my question is:
if I want to make my own pubkey i have to:
python genesis.py -z "XXXXXXXXXXX" -n 2083236893 -t 161XXXXX06
what means the NONCE, -n 2083236893 ? I mean, what configuration is this for? (it is related with the dificulty? I dont have to change it?)
So, when all this done, I gotta do:
genesis.exe >
Usage: genesisgen [options] <pubkey> "<timestamp>" <nBits>
genesisgen 04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef3
8c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f "161XXXXX06" 2083236893
I am right if this are the steps?
thanks!