Questions tagged [genesis-block]
Refers to the very first block of a new blockchain based cryptocurrency.
117
questions
1
vote
1
answer
822
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
1
answer
81
views
What do you think about "squashing" the blockchain?
So for some time i was thinking about a process where you "squash" the blockchain.
This would reduce its size significantly while maintaining integrity.
The process would look like this:
...
2
votes
1
answer
82
views
How can I look at the genesis block raw txn?
If I try to look at the txn in the genesis block, I get:
root@0eef0ed7601c:/home/bitcoin# bitcoin-cli getrawtransaction 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b
error code: -5
...
3
votes
1
answer
2k
views
How we decode output address from Bitcoin genesis transaction
Accordingly to blockchain.info, the first bitcoin transaction ever spends 50 BTC to the address 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa.
The pubkey script of that transaction is
PUSHDATA(65)[...
9
votes
1
answer
588
views
Why is there a 5 days gap between genesis and block 1?
I remember reading somewhere that it was because Satoshi wanted to make sure everyone had time to download the client and setup everything, but now that I think about it I’m not satisfied with this ...
0
votes
1
answer
109
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
18
votes
1
answer
4k
views
Is the timestamp in the genesis block relevant?
Bitcoin's genesis block contains this text published in The Times on January 3rd, 2009:
The Times 03/Jan/2009 Chancellor on brink of second bailout for banks
According to the Bitcoin Wiki, this ...
0
votes
2
answers
242
views
How did Satoshi Nakamoto mine 50 bitcoins by creating genesis block? And where can I see blockchain?
According to bitcoin.org, mining is referred to as 'the process of spending computing power to process transactions, secure the network, and keep everyone in the system synchronized together'.
First, ...
1
vote
2
answers
217
views
Meaning of SigScript in Satoshi Nakamoto's "Genesis" coinbase transaction
The Satoshi's coinbase transaction includes this following scriptSig:
...
0
votes
1
answer
51
views
Hash publication - Bitcoin whitepaper Section 3 Timestamp server
In section 3.Timestamp Server of the Bitcoin whitepaper it says:
The solution we propose begins with a timestamp server. A timestamp
server works by taking a hash of a block of items to be ...
0
votes
1
answer
95
views
How is the Genesis Block statically encoded into bitcoin client software?
What does 'statically encoded' even mean?
2
votes
1
answer
151
views
Why 1D00FFFF and not 1CFFFFFF as target in genesis block
Is there a specific reason why 1D00FFFF is the target bit for the genesis block and not 1CFFFFFF? Both bits are forcing 8 zeros in the front of the hash (hexadecimal).
Regards steff
1
vote
1
answer
387
views
How did the first transactions take place without balances?
If there were no bitcoins at first, how did a miner approve the transaction in the genesis block? I mean if there are no mined bitcoins (balances), how can a transaction take place? Also, I know that ...
-1
votes
1
answer
2k
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: ...
0
votes
1
answer
65
views
How did bitcoin spread its first rewards
I know that in the genesis block, Satoshi Nakamoto got 50 bitcoin's and there are certain rumors that the first transaction destinations, were are also to his other wallet's, but if he never spent any ...
1
vote
2
answers
160
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
1
answer
69
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 ...
0
votes
1
answer
892
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: ...
4
votes
2
answers
622
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 ...
2
votes
1
answer
218
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
0
answers
100
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
1
answer
264
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
0
answers
91
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
1
answer
632
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 ...
2
votes
4
answers
16k
views
How can I create a new Genesis Block? [closed]
I'm trying to create a testcoin using litecoin. To create genesis block I changed some lines to :
block.nTime = 1390948469; // current time
uint256 hashGenesisBlock("0x"); //I dont now it's true or ...
1
vote
0
answers
92
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 ...
45
votes
3
answers
19k
views
Why can’t the genesis block coinbase be spent?
According to the bitcoin wiki:
The first 50BTC block reward went to address 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa, though this reward can't be spent due to a quirk in the way that the genesis block is ...
3
votes
3
answers
5k
views
How can one create a Genesis Block for a new Proof of Stake Cryptocurrency?
I've been trying to fork the cryptocurrency Clams for about a week now. All of my code is correct to the coin's specifications, but I've been stuck on the creation of the blockchain. The developers ...
2
votes
2
answers
344
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
1
answer
52
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
2
answers
544
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 ...
0
votes
1
answer
208
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
1
answer
118
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
1
answer
211
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
0
answers
51
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 ...
2
votes
2
answers
681
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 ...
1
vote
1
answer
723
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....
0
votes
1
answer
213
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....
1
vote
1
answer
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
2
answers
630
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 ...
-1
votes
1
answer
2k
views
why did assert fail when creating my own genesis block?
I am trying to create my own genesis block using the bitcoin source code but my new hashes are not being accepted by the assert statements.
Step 1:
I have changed the pszTimestamp variable in ...
-1
votes
1
answer
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 ...
-1
votes
1
answer
3k
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
1
answer
136
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.
3
votes
1
answer
4k
views
Problem In Creating Genesis Block Twister-Core using Ubuntu and (Qt Creator IDE)
I am trying to create a genesis block in twister-core using Ubuntu and IDE Qt Creator. I have compiled the twister-core successfully, I have changed the these parameters for creating the genesis block ...
1
vote
2
answers
4k
views
altcoin debug.log shows ERROR: CTxDB::LoadBlockIndex() : Failed stake modifier checkpoint height=0 [closed]
What I have done so far:
Generated new Genesis Block
Generated new MerkleRoot
Updated MerkleRoot
Updated Genesis block values
Commented out these lines
Compiled on CentOS 6
Created altcoin....
0
votes
2
answers
653
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
1
answer
276
views
Failed of genesis!
fruitd: chainparams.cpp:207: CMainParams::CMainParams(): Assertion `consensus.hashGenesisBlock == uint256S("0x000000004421dbf94542db9b40e4bc60da8ce6b793f00924cadf5677d364a6a1")' failed.
Aborted
used ...
1
vote
1
answer
1k
views
New altcoin. Cpuminer gives me "booo"
I made a new altcoin based on "INSaNe" https://github.com/CryptoCoderz/INSN
I changed genesis hashes using this code:
if (true && (genesis.GetHash() != hashGenesisBlock)) {
...
2
votes
1
answer
816
views
How is PSZ Timestamp encoded in Bitcoin core code?
In Chainparams.cpp of the Bitcoin Core source, the encoded PSZTimestamp is as follows
...