New answers tagged block
2
votes
Where Is Signature Data Stored In Post-SegWit Transactions?
From the perspective of new post-segwit nodes, the witness data is part of the transaction data. It is serialized in a new field, after all the transaction outputs, before the locktime field.
However, ...
0
votes
What's the logic behind the way block proofs (in GetBlockProof) is calculated?
Any block, no matter how low its block hash is, contributes the same amount of work. This work depends on the current difficulty, as an average expected amount of work that should be performed to find ...
6
votes
Accepted
How are validity flags in block index set in concurrent blocks when one of them is chosen?
What will happen to the index entry for the abandoned block?
Nothing. The block index contains information about the available blocks and branches, and their validity. It does not contain any ...
6
votes
Accepted
Does local blockchain database (blkXXXXX.dat) contain abandoned forks forever?
When my node realizes that the given block needs to be abandoned - does it leave it in the database or replace the block with a valid one?
It remains on disk along with its entry in the block index ...
3
votes
How are TXIDs determined from the raw hex data of a block? Also, what is the coinbase transaction?
Its a double SHA256 hash of the binary transaction data
See https://go.dev/play/p/PDURm9NTLYm for a worked example using your data.
package main
import (
"crypto/sha256"
"...
2
votes
Accepted
How are TXIDs determined from the raw hex data of a block? Also, what is the coinbase transaction?
Transaction ID (TXID) are determined by a double SHA256 hash of the transaction data, but represented in little-endian.
For example, the transaction data of the coinbase transaction is:
...
6
votes
Accepted
What are the components of the raw block shown in this image?
The diagram is wrong
The data in the gap between the two brackets is the count of transactions and most of the first coinbase transaction.
The brackets are positioned incorrectly.
Various components ...
1
vote
Is there a way to know how many of currently unconfirmed transactions in the MemPool is currently being attempted by other miners?
No one cares
(about what other miners are exactly working on)
Miners have no way of knowing the contents of block templates being used by other independent miners.
There is nothing in the Bitcoin ...
Top 50 recent answers are included
Related Tags
block × 605blockchain × 227
transactions × 113
mining-theory × 60
bitcoin-core × 56
hash × 45
bitcoind × 37
mining-reward × 29
difficulty × 28
validation × 20
transaction-fees × 19
mining-pools × 19
protocol × 19
block-header × 19
blockchain-fork × 17
timestamp × 17
blocksize × 17
api × 16
coinbase-transaction × 16
bitcoin-core-development × 15
merkle-tree × 15
synchronization × 14
blockchain.info × 13
confirmations × 13
proof-of-work × 12