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 ...
6
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 ...
5
votes
Accepted
What is the public key used to generate the Genesis block?
Second one is the latest usage before it being totally removed from the source code.
It wasn't removed. It just got moved:
static CBlock CreateGenesisBlock(uint32_t nTime, uint32_t nNonce, uint32_t ...
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
What is the genesis block?
It is important, because it is used to seed the block and chain databases before syncing can occur (you need a block to build on). It's the root of the tree of blocks, forks, and ultimately the chain ...
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
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 ...
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
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
Accepted
How can we look at the hidden message in the first block?
Click on the sole transaction in that block (4a5e1e4b...) and click Show scripts & coinbase.
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
Why can’t the genesis block coinbase be spent?
At least with current versions of the Bitcoin Core client, the Genesis block is actually hard coded into the client.
The part of the code that builds this block is located here and I have included a ...
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
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
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
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 ...
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
Accepted
What is NXT's Genesis Account's Passphrase / Password?
Genesis Account Number
The genesis account number is 1739068987193023818 (NXT-MRCC-2YLS-8M54-3CMAJ).
Genesis Account Passphrase
The passphrase “It was a bright cold day in April, and the clocks were ...
2
votes
What values should be initially assigned to Checkpoints for a new Genesis block?
You can generate several blocks and put (block_height, block_hash) pairs into the following field. Or just delete all of the checkingpoints : )
static Checkpoints::MapCheckpoints mapCheckpoints =
...
2
votes
Accepted
Problem In Creating Genesis Block Twister-Core using Ubuntu and (Qt Creator IDE)
chainparams.cpp contains a line of code that checks whether the chain’s genesis block is equal to a specified hash. Since you created a new genesis block, you will have to update the value to your own ...
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
Accepted
Trying to find the raw genesis transaction length
Unfortunately, the genesis block is not indexed in most altcoins (because they forked from bitcoin and kept the same bug), so you can't really get access to it via the RPC methods.
What you could do ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
genesis-block × 116blockchain × 22
altcoin × 21
bitcoin-core × 17
altcoin-development × 16
coinbase-transaction × 11
bitcoind × 10
hash × 8
transactions × 6
bitcoin-core-development × 5
litecoin × 5
block × 4
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
consensus × 2
sha256 × 2