28
votes
What is TxIn's sequence?
Note that the accepted answer is outdated.
Currently, sequence numbers are mainly used for signaling RBF - replace-by-fee - that allows you to resend a transaction with a higher fee.
See https://...
13
votes
Accepted
Why is there a 5 days gap between genesis and block 1?
While the Genesis block is timestamped 3rd of January, the hash of the Genesis block is astonishingly low. It has been theorized that Satoshi set himself a more challenging target for the Genesis ...
10
votes
Why can’t the genesis block coinbase be spent?
How would you change it to allow it to be spent?
In order to make the coinbase spendable, the following changes have to be made to validation.cpp (v0.16.2). Note: as mentioned this would be ...
8
votes
Accepted
What is Bitcoin's "genesis hash"?
They're exactly the same number; one is written in little endian notation and the other is big endian. Notice that the bytes (two-hex-digit pairs) are exactly reversed from one to the other.
Block ...
7
votes
Accepted
Blocks from before the genesis block
The design of the blockchain is such that such a scenario is not possible. By definition, the genesis block does not have an ancestor block. While it has a field for the previous block hash, this ...
6
votes
RPC getblockstats call using genesis block
This occurs because the genesis block is a special block. It is not written to disk like all other blocks are. It cannot be undone so there is no undo data for it. getblockstats uses the undo data (...
5
votes
Accepted
What are all the small transactions in Satoshi's address?
Of course, because Bitcoin is (mostly) anonymous, we can't know for sure who has been sending these, let alone their reasons. But some guesses:
People donating money to Satoshi, since it's known to ...
5
votes
Accepted
Where is debug.log file in Bitcoin source code?
On Unix systems the debug.log file, as well as all other files created by the client (blockchain data, databases, etc) are placed by default in ~/.bitcoin; that is, a subdirectory of your home ...
4
votes
Accepted
How to create a new genesis block using CreateGenesisBlock() function
The genesis block still must meet the proof of work requirements that other blocks must also meet. So you must actually mine the genesis block. To do this, you need to put CreateGenesisBlock in a ...
4
votes
Accepted
How to read the transaction of a block?
The transaction, like the block, is in a serialized format. A description of the format is available on bitcoin.org
4
votes
Why do we need a genesis block?
I think your misunderstanding is in the assumption that the genesis block must be a block.
There is no need for that.
For all we care the genesis block is just a specific hash that is used as ...
4
votes
Accepted
Altcoin Genesis block fails after changing block reward
Looks like amount is a part of block information influencing hashes. Try to debug or log resulting hashes before assert:
logging.info("Genesis Block Hash " + consensus.hashGenesisBlock);
logging.info(...
4
votes
Accepted
How is PSZ Timestamp encoded in Bitcoin core code?
04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73
The above is actually Bitcoin Script, not ...
4
votes
Accepted
Why is the scriptSig formatted this way in the Genesis Block (inside function CreateGenesisBlock)
The scriptSig field of a coinbase transaction is special. It doesn't need any signatures at all, as no coins are being spent. The ability to produce new coins, which that input represents, is inherent ...
4
votes
How did Satoshi Nakamoto mine 50 bitcoins by creating genesis block? And where can I see blockchain?
The blockchain is the shared journal of all transactions on the network. Mining is the process which authors new blocks to extend the blockchain. Miners do not need unconfirmed transactions to create ...
4
votes
Accepted
How did the first transactions take place without balances?
The coinbase transaction in each block creates new coins and as a result does not require any pre-existing balances. You can accept new coins in an address even if you have no balance. The fact that ...
3
votes
Can malicious peer hack freshly installed bitcoin-core node
Does freshly installed bitcoin-core node have genesis block included in the installation?
Yes.
This fresh node contacts some peer for downloading blockchain. Can malicious peer give node wrong ...
3
votes
Accepted
How we decode output address from Bitcoin genesis transaction
This is a pay-to-pubkey (P2PK) script, where the transaction contains the destination public key itself. These were common in the early days of Bitcoin, and were originally the type of script that ...
3
votes
Accepted
New params of chainparams.cpp. What put on them and how generate?
uint256S("00000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"); //what this do ? end what put to here
The first line describes a minimum difficulty.
consensus....
3
votes
Is the transaction within Genesis block spendable?
Are the transactions added to the genesis block spendable, just like any other transactions from other blocks, or is that an unspendable coinbase transaction.
Transactions aren't spendable; ...
3
votes
What would be the easiest way to test the submitblock method?
regtest is the test network best suited for this kind of testing. While it does still have a PoW requirement, the work required is basically negligible. It also does not do retargeting so the ...
3
votes
Accepted
Why is the full blockchain required, effectively forever?
How likely is it that some block from 1 year ago later turns out to be invalid?
Very unlikely, but I think that isn't the problem.
The problem is, how does a new user find out the current state (UTXO ...
3
votes
Accepted
Meaning of SigScript in Satoshi Nakamoto's "Genesis" coinbase transaction
What is this bytes sequence: 04ffff001d0104
Non-functional data that probably only has meaning to the miner?
See What is the coinbase? where Murch answers
The coinbase transaction can have an ...
2
votes
What is the public key used to generate the Genesis block?
As a great answer to a related question points out: "merkle root of the genesis block is equal to the hash of the transaction in it"
How do I compute merkle root for genesis block?
2
votes
Before Mining Genesis Block
2014 methods no longer work.
2017 Bitcoin / Litecoin codebase update
http://practicecoin.com/index.php/2017/04/19/genesis-block/
Every cryptocurrency derived from Bitcoin has a Genesis Block, the ...
2
votes
How to find details about very first block mined for any crypto?
If you have an altcoin's node software and that software is based off of Bitcoin Core, then you can use the following RPC commands to get information about the genesis block:
getblockhash 0
This ...
2
votes
How to read the transaction of a block?
I have got this resource for you may be this could be useful: https://bitfalls.com/2017/10/03/read-bitcoin-blockchain-data-blockexplorer/
2
votes
Altcoin (Litecoin fork) creation. No synchronisation
remove the chainTxData
chainTxData = ChainTxData{
0,
0,
0
};
and make sure also that your first block is mined soon after the genesis time.
2
votes
Accepted
How to Create New Genesis Block?
genesis.GetHash("");
This is incorrect. GetHash does not take a parameter, as said in the compiler error. This should just be genesis.GetHash();.
I have checked the debug.log but i dont see new ...
2
votes
Why does the Genesis block coinbase input script push bits and the value 0x04 before the famous "Chancellor" message?
I found some more information on the Wiki:
Generations have a single input, and this input has a "coinbase" parameter instead of a scriptSig. The data in "coinbase" can be anything; it isn't used. ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
genesis-block × 119blockchain × 22
altcoin × 21
bitcoin-core × 18
altcoin-development × 16
coinbase-transaction × 12
bitcoind × 10
hash × 8
transactions × 6
block × 5
bitcoin-core-development × 5
litecoin × 5
protocol × 4
blockchain-fork × 3
raw-transaction × 3
difficulty × 3
proof-of-work × 3
history × 3
dash × 3
script × 2
public-key × 2
miner-configuration × 2
testnet × 2
bitcoin-cli × 2
consensus × 2