Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [genesis-block]

Refers to the very first block of a new blockchain based cryptocurrency.

-1
votes
0answers
18 views

How do I generate genesis block for this PIVX clone? [on hold]

I am working on a PIVX clone for my project, I need more help from intrested people who are developers. The new blockchain would have a preemine 2.5 billion coins for present holders of Tunez and 1.5 ...
-1
votes
0answers
12 views

How do I premine all coins in a coinbase and award them to a specified coin address in the first block?

I'm testing some cryptocurrency code just for fun, and, for my purposes, I'd like to have the first block reward be a premine of all coins in the coinbase, awarded to an address that I control. In ...
0
votes
1answer
25 views

Mining with CPU on difficulty 1

I have been playing around cloning Peercoin client. I have found the genesis block for main net, but now I'm trying to mine the block 1 with difficulty set on 1. I connected 4 machines all doing about ...
-1
votes
1answer
46 views

ERROR: AcceptBlock: high-hash, proof of work failed (code 16)

I followed this medium link to create a coin just like bitcoin . https://medium.com/@jordan.baczuk/how-to-fork-bitcoin-c39139506443 Based on this tutorial i update DEFAULT_MAX_TIP_AGE to int64_t ...
1
vote
1answer
104 views

Premine coins from genesis block are gone after one transaction from account/wallet

Please check the whole question once before giving negative marking or Mark as duplicate of Why can’t the genesis block coinbase be spent? Why I cannot get transaction from genesis block [duplicate]...
-1
votes
1answer
386 views

Cannot mine Genesis / First Block (PIVX Fork / Clone)

Whatever I do, I am unable to mine the 1st block after the genesis block. All the while, I have assumed that I have mined the Genesis block, and I am unable to mine the 1st block using "setgenerate ...
0
votes
2answers
135 views

How do I solo mine my own modified altcoin

I forked DASH a week ago. I am able to generate genesis block hash, merkle hash. I created one VM (ubuntu 16.04) for rpc server. Another one VM For mining. I am able to establish connetion between two ...
-1
votes
1answer
79 views

Failed of genesis!

fruitd: chainparams.cpp:207: CMainParams::CMainParams(): Assertion `consensus.hashGenesisBlock == uint256S("0x000000004421dbf94542db9b40e4bc60da8ce6b793f00924cadf5677d364a6a1")' failed. Aborted used ...
1
vote
1answer
397 views

How is PSZ Timestamp encoded in Bitcoin core code?

In Chainparams.cpp of the Bitcoin Core source, the encoded PSZTimestamp is as follows ...
0
votes
2answers
82 views

Is the transaction within Genesis block spendable? [duplicate]

Are the transactions added to the genesis block spendable, just like any other transactions from other blocks, or is that an unspendable coinbase transaction. In other words.. Is the transaction ...
1
vote
1answer
49 views

Is it possible to append new blocks to a block of arbitrary age?

First of all, I'm aware of 51% attacks and how they work. Though, I was wondering, if Bitcoin and other blockchains allow appending cryptographically valid, new blocks to blocks of arbitrary age (if ...
-1
votes
2answers
344 views

hash dosent match nbits

Im trying to clone a coin and I created a genesis block but when I run the wallet, it dosent start.. When I go to the log file, I see this error and I honestly dont know how to solve the problem. How ...
0
votes
3answers
472 views

Problem mining Genesis Block in Dash Clone

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 ...
1
vote
1answer
152 views

Altcoin - genesis block - TypeError: __init__() takes exactly 2 arguments (3 given)

I'm trying to use the genesis script from innova to generate a genesis block of Xevan_hash https://github.com/innovacoin/GenesisH0/blob/master/genesis.py I'm using these parameters: python genesis....
2
votes
2answers
67 views

How are newly created bitcoins are validated?

I'm trying to understand how Bitcoin works but there's a concept I can't get my head around. I understand that transactions are validated by checking the signatures of each input is valid. However ...
0
votes
0answers
53 views

How can i create rpc json format for my altcoin

How can i create rpc json format for my altcoin ? is there any open source web url ? Sample link: btc-cce-1.coinomi.net:5001 {"jsonrpc": "2.0", "error": {"code": -32700, "message": "cannot decode ...
0
votes
0answers
261 views

How to mine a masternode altcoin fork without “setgenerate”-feature in wallet?

I´m doing some educational altcoin development (for fun, NOT for money) and I have a similar problem like the guy in this thread: New altcoin. Cpuminer gives me "booo" I forked this coin: ...
2
votes
2answers
123 views

What is Bitcoin's “genesis hash”?

From Lightning Network documentation: Used in several of the BOLT documents to denote the genesis hash of a target blockchain. This allows nodes to create and reference channels on several ...
0
votes
1answer
84 views

Restart altcoin blockchain

So, I'm setting up an altcoin for educational purposes and I've essentially forked Litecoin. It's got a 10% premine on it but this wasn't showing up in my wallet so I deleted the $HOME/.mycoin/ ...
0
votes
0answers
43 views

NXT Stuck on Blockchain Download

I'm getting this strange error that repeats over and over again no matter which peer it connects to. I deleted the nxt_db folder and restarted but that doesn't change anything: Cannot load blocks ...
0
votes
0answers
128 views

New coin daemon crashes ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=8)

Hi so I generated the genesis block using std::unique_ptr<CChainParams> CreateChainParams(const std::string& chain) { if (chain == CBaseChainParams::MAIN) return std::unique_ptr<...
0
votes
1answer
404 views

Different hash while creating genesis block

I've created a genesis block following this instructions: https://bitcointalk.org/index.php?topic=181981.0 Using this data: ./genesis ...
0
votes
1answer
836 views

How to correctly set attributes for block hash and nBits in PIVX Fork?

I've cloned PIVX(basically a DASH fork) and modified basic parameters. It compiles fine. When I'm trying to run it the server starts and the debug log file shows following errors: ERROR: ...
1
vote
0answers
64 views

Why for creating a new test coin is suggested to use Litecoin code?

I think I'd prefer to use Bitcoin code. Is there a reason that LiteCoin is preferred? As far as I know, for creating a different coin from BTC source I need to create a genesis block and remove the ...
0
votes
0answers
198 views

Cryptonote Premine and Money Supply

I have two question here. And both are related. I've been struggling about a week to solve this issue. 1) How do I set coin limit? I already set this in the MONEY_SUPPLY field. I want it to have ...
0
votes
1answer
323 views

Blocks fail to create in Altcoin

I have cloned litecoin and i am creating altcoin. I have successfully mined genesis block using GenesisH0 and compilation all works fine. I am trying to mine new coins in mainnet, When i try to ...
1
vote
1answer
435 views

Altcoin Genesis block fails after changing block reward

I have been struggling with this issue for a week. I have created an altcoin forking litecoin code, i have mined genesis block, the compiled code works fine with 50*COIN genesis block reward. When i ...
0
votes
1answer
322 views

Block Hash and Nonce generated by GenesisH0 python script is incorrect

After running GenesisH0 python script to generate the Genesis block for a local testnet (using v0.15.1), I got the following results. merkle hash: ...
1
vote
1answer
91 views

No .altcoin directory being generated

I am trying to create a genesis block for a personal play coin. I get the correct output of assertion failed. However when compiling I noticed the ./altcoin folder is not created at all.
1
vote
0answers
137 views

How to check that Genesis Block has valid proof of work using CheckProofOfWork() function?

I have been learning the ins and outs of the bitcoin source code over the past 3 months but I can say I have not fully mastered it yet. I wish to understand how the genesis block is validated using ...
0
votes
2answers
145 views

Determining the genesis transaction value or genesis_tx

Is there a way to determine the genesis transaction (genesis_tx) hash? I know the genesis block number but how do you determine genesis_tx? I am looking for this hash for an altcoin which was forked ...
5
votes
4answers
569 views

Why do we need a genesis block?

In bitcoin, a blockchain always starts at the unique genesis block. Beyond that point there can be forks, and only when it is clear which branch will grow fastest (or if it has grown enough), we can ...
0
votes
1answer
1k views

How to create a new genesis block using CreateGenesisBlock() function

I'm trying to create a new genesis block, you know for science. I saw a lot of write ups online but most of them seem kinda outdated. I found the function CreateGenesisBlock() in the source code. ...
0
votes
1answer
135 views

What are all the small transactions in Satoshi's address?

I read that Satoshi never moved or spent his coins, so I expected to see his address stay unchanged since mined. But it looks like there are lots of small transactions: e.g. in the first address there ...
0
votes
2answers
273 views

How to mine your own Bitcoin fork?

I have my own Bitcoin fork. I have the src and I have the Linux, Mac and Windows clients. The Windows client is using Bitcoin Core for the wallet. How do I go about mining the fork I created? I have ...
0
votes
0answers
194 views

Blockchain - How to generate a genesis block with Hybrid Coin (Lanacoin)

I am a new and i am researching about how to use create a hybrid coin. I used Lanacoin source and I try to create with it but I don't know how to generate a genesis block. Please help me. Thank you.
2
votes
1answer
319 views

Why cant my Altcoin Regnet create first 100 blocks?

I have modified bitcoin source code for my altcoin. I have successfully created genesis block, merkel root, noonce and daemon is working well. I have tweaked number of coins per day, total coins etc.. ...
0
votes
1answer
318 views

Bitcoin hash calculation [duplicate]

Best regards I have been doing a lot of research about bitcoin and blockchain. A lot of informacion across the Internet can be found where many people explains the basics of bitcoin an it´s ...
0
votes
1answer
3k views

How to Create New Genesis Block?

I am trying to create a new crypto currency and i am struggling with creating genesis block with the bitcoin code. I am following this tutorial https://bitcointalk.org/index.php?topic=225690.0 and i ...
0
votes
1answer
258 views

How is the Bitcoin Mined in Genesis Block Brought into Transaction?

I'm studying the source code Bitcoin, and have no clue to this question. It looks like the genesis block is mined "out-of-band" (given a timestamp, and a message with no transaction information) and ...
0
votes
0answers
259 views

dash-qt stuck at “Connecting to peers” after I created new genesis block

I'm trying to create my own cryptocurrency (for entertainment purpose of course, not pretending to make the new bitcoin here) I cloned the dash repository, changed to ports, removed the seeds ip and ...
1
vote
2answers
93 views

Were one or more machines required to be running 24/7 on the network after the first block was mined?

After mining the genesis block, did Satochi have to leave his computer running to mine the subsequente empty blocks? Was he running the whole network on a single node or did he require multiple ...
2
votes
0answers
69 views

Blake-256 genesis block generation helpint

I'm making my own coin and get problem to generate genesis for my fork. Genesis need to be blake-256. I was found this git https://github.com/lhartikk/GenesisH0 and tryed to use this script, i also ...
0
votes
3answers
303 views

How to read the transaction of a block?

Given this example block (it's the genesis block by the way): ...
2
votes
1answer
1k views

Altcoin (Litecoin fork) creation. No synchronisation

i m trying to create an altcoin from the current Litecoin master branch on github. Its Litecoin in the version of 0.15.1. By editing some parameter in chainparams.cpp i m able to create my genesis ...
-1
votes
1answer
105 views

blockchain. How worked at the beginning?

I would know some things about the creation of a blockchain for cryptocurrency (I let assume for simplicity Bitcoins). I red online that miners verify the blockchain, and when they verify a block, ...
-1
votes
1answer
62 views

are there Happy Hours?

after Genesis of Bitcoin, ie creating block#0, every wallet owner has an empty wallet, by the way there is nothing to mine. So how the block chain process can be initiated? Are there Happy Hours and ...
0
votes
1answer
200 views

how to transfer genesis block reward for blackcoin?

So my genesis block has a reward setup but I want to send it to my wallet. can you please tell me how? I am using black coin
0
votes
0answers
173 views

Are there any Bitcoin alt-coin creation tutorials above version 0.15.0?

There are many How to make an alt-coin tutorials out there, but all the ones I have seen are from 2015 or earlier (most are around 2013-2014). Bitcoin has changed dramatically since then, and I am ...
0
votes
1answer
651 views

Why can't the genesis block be found I create an altcoin?

I have built the bitcoin source code with a new pszTimestamp, hashGenesisBlock and hashMerkleRoot The code builds fine and does not run into any assert problems when validating these hashes on [line ...