Questions tagged [genesis-block]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
36 views

Why does the Genesis block appear to have a lower hash than necessary?

The hash of the genesis block of bitcoin has two extra 0 as compared to other block hashes. According to the logic, it should have been the same as they all have the same difficulty. Why is it so? Was ...
0
votes
1answer
35 views

Is the coinbase transaction the one and only means of minting new coins?

I'm new to blockchain and want to start my own private network. I've gotten a lot of information here about coinbase transactions and how they make mining "empty" blocks useful. I would like ...
4
votes
2answers
591 views

Why is the full blockchain required, effectively forever?

I do understand that every block is validated in terms of the blocks before it by way of the previous block's hash, all the way back to the genesis block. However, could the protocol be modified such ...
1
vote
1answer
42 views

What would be the easiest way to test the submitblock method?

I'm constructing a customized miner, and I'd like to check if the submitblock method would work properly when connected to mainnet. What would be the easiest way of doing that using RPC calls and ...
1
vote
0answers
39 views

cannot generate bitcoin first block

I have download bitcoin source and change genesis in regtest. and i try to generate 1 block by command ./bitcoin-cli -generate 1 it does not show any mining block. i try over 10 times but it is still ...
1
vote
1answer
60 views

How is the Max Target of a Genesis Block Decided?

I've been diving into the world of Blockchain and crypto lately, trying to build my understanding of mining specifically. I understand that in POW systems, the difficulty of the first block is 1, and ...
1
vote
0answers
21 views

RegTest Genesis Error

how to generate regression test genesis block ? i saw in bitcion nonce is 2. but i generate from GenesisH0 it not showed nonce 2. for other altcoin i saw nonce is 0 why ? how to generate it ? python ...
4
votes
1answer
450 views

Blocks from before the genesis block

How do we know that there are no blocks that predate the genesis block? A block that could potentially contain any number of coins. If somebody already created such a block from before the genesis but ...
1
vote
0answers
38 views

When, and why did people use 1-starting P2PKH address to represent bare-pubkey P2PK outputs?

I notice that some web blockchain explorer, like https://blockstream.info, doesn't show the famous "Satoshi's bitcoin genesis address" (1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa) for me in the ...
0
votes
1answer
48 views

cannot decode block 0 to find the output address. I can decode much higher blocks. what am i missing?

Can you please decode block 0 output transaction manually showing me how to get the output address namely: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
2
votes
2answers
199 views

Why is the scriptSig formatted this way in the Genesis Block (inside function CreateGenesisBlock)

I was exploring the function static CBlock CreateGenesisBlock inside src/chainparams.cpp and I was looking at the way Satoshi created its scriptSig: txNew.vin[0].scriptSig = CScript() << ...
0
votes
1answer
36 views

GetBlockChecked always returning genesis block?

currently I'm exploring Bitcoin source code and I tried to add custom function getblockvalue inside of blockchain.cpp. Purpose of function is to return sum of all transaction outputs inside of a ...
0
votes
1answer
56 views

How to calculate nbits from powlimit

I remember some where was table and python scrypt for do this , when reinstall my debian i was lose this script. Example we hv uint256S("...
0
votes
1answer
61 views

How were the first coins spendable?

Apologies for my limited understanding, still learning. According to https://en.bitcoin.it/wiki/Genesis_block: The first 50 BTC block reward went to address 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa,[1]...
2
votes
1answer
139 views

Genesis block coinbase transaction without confirmations

Why the coinbase transaction, comming from the genesis block, don't have confirmations? All the others coinbase transactions have confirmations, but not in the Genesis block.
2
votes
0answers
38 views

What in detail makes the Coinbase in the Genesis Block unspendable? [duplicate]

I was aware that the Genesis block's reward was unspendable, and that there was no UTXO for it in the UTXO Set. I thought that this was due to the Genesis block being hardcoded and the actual ...
0
votes
1answer
140 views

Why explorers show difference balance for genesis block?

When I check balance for the address 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - different sources show different results. 66.92700504 BTC https://bitref.com/1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa https://www....
0
votes
2answers
415 views

What is the source of initial transactions of bitcoin?

Sorry, if I am wrong or silly! It is understood that: a) Satoshi Nakamoto sent the first transaction to developer Hal Finney on January 12, 2009, the genesis block contains 1,073 transactions and he ...
-1
votes
1answer
2k 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
1k 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
3k views

Cannot mine Genesis / First Block (PIVX Fork / Clone) [closed]

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
542 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
177 views

Failed of genesis!

fruitd: chainparams.cpp:207: CMainParams::CMainParams(): Assertion `consensus.hashGenesisBlock == uint256S("0x000000004421dbf94542db9b40e4bc60da8ce6b793f00924cadf5677d364a6a1")' failed. Aborted used ...
2
votes
1answer
671 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
215 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
196 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
1k 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
2k 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
499 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
98 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 ...
2
votes
2answers
447 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
186 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/ ...
1
vote
1answer
724 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
1k 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
72 views

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

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 ...
1
vote
1answer
1k 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
805 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
123 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
197 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 ...
1
vote
2answers
468 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
978 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
2k 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. ...
1
vote
1answer
209 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 ...
-1
votes
2answers
558 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 ...
2
votes
1answer
584 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
630 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 ...
1
vote
1answer
5k 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
321 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 ...
1
vote
2answers
100 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
81 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 ...