All Questions
Tagged with block blockchain
248
questions
0
votes
0
answers
36
views
what is expectedFees and expectedWeight in a block and why its changing frequently?
what is expectedFees and expectedWeight in a block and why its changing frequently ?
https://mempool.space/api/v1/block/00000000000000000001c680ee86b8eaa43c94ac9012f4d2dcbfa9f45beadf06
when i last ...
0
votes
1
answer
64
views
bitcoin block time analysis with conjuction to propagation
For both scenarios that I will describe below, assume the 2 things.
that network propagation for blocks always 6 seconds.
that we start looking at my analysis from time = t0 and at that t0, every ...
1
vote
1
answer
106
views
What are ALL the consensus rules?
I asked this question before, and it was quickly locked and pointed to a thread about mempool policy... yet my question remains unanswered.
Let it be known, I don't want to know what policy is [or is ...
7
votes
2
answers
1k
views
What is the Block 1,983,702 Problem?
The issue, transition to requiring block height in block coinbases, was discussed back in 2012, however I just stumbled upon it, and would like to understand more about its significance.
0
votes
0
answers
31
views
NodeJS code to deobfuscate chainstate data
I am currently working on a Blockchain trading platform for a company and I want to have all the unspent output saved to a local database by reading the contents of chainstate folder but I couldn't ...
1
vote
0
answers
50
views
How can I collate blocks in blk*.dat files and rev*.dat files?
According to this answer, blocks in blk*.dat files and rev*.dat files don't necessarily appear in the same order, nor are either files necessarily in monotonic order, and blocks not part of the active ...
5
votes
1
answer
157
views
Can I replace a single corrupted block?
I'm running Bitcoin Core on Linux and it seems I have a single corrupted block file which is causing problems. It's taken me 2 weeks to download 75% of the blockchain, so I'd like to replace the ...
0
votes
0
answers
36
views
How to display {block number} instead {date value} on Wordpress posts?
Ideally, the goal is to show the block number (ie: 782667) instead of the date value (ie: 26 March 2023 4:44PM CT) on all wordpress posts and pages that currently display it.
There's maybe a script we ...
-2
votes
1
answer
164
views
How did Satoshi Nakamoto create the first Bitcoin? The Genesis Block
How did Satoshi Nakamoto create the first Bitcoin? I have never read any statement where he recommends specific tools like CGMiner. You can't mine with the Bitcoin Core software. Actually, Bitcoin ...
0
votes
1
answer
96
views
Exploiting the use of signature?
I've just learned signatures and why they're used in blockchain.
As I understand there is a key pair that consist of one public key and one private key:
Private keys are used to sign a message(...
1
vote
1
answer
80
views
Wrong hashes for blocks when parsing from blk
Hello I'm using a python script to actually retrieve information from a blk file and to read data.
import datetime
# Read block !
file = open("REDACTED\blocks\\blk00000.dat", 'rb')
...
1
vote
2
answers
349
views
Are transactions included in a block or is only the Merkle-root hash included in a block
Before broadcasting block into bitcoin blockchain, Does a Block transactions are included in a block or only the hash of them are included in a block. While I am surfing through net, I came across two ...
2
votes
1
answer
105
views
What's the logic behind the way block proofs (in GetBlockProof) is calculated?
Bitcoin Core uses GetBlockProof() function to determine the contribution of a block to the total difficulty of the current chain, aka, nChainWork in CBlockIndex. I'm having trouble understanding the ...
5
votes
1
answer
130
views
How are validity flags in block index set in concurrent blocks when one of them is chosen?
I'm trying to understand block validity flags, and what happens when a branch occurs.
I found a block status flags in the bitcoin core source code:
enum BlockStatus : uint32_t {
...
4
votes
1
answer
913
views
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? And if "invalid" block remains: is it somehow ...