Skip to main content

Questions tagged [block]

The components of the blockchain and a data structure that collects transactions.

Filter by
Sorted by
Tagged with
3 votes
1 answer
163 views

Given a bitcoin block, what's the easiest way to determine the minimum net fee rate (including ancestors) for transactions in that block?

Given a bitcoin block, what's the easiest way to determine the minimum net fee rate (including ancestors) for transactions in that block? A naive approach would be to just find the minimum fee rate ...
deezy's user avatar
  • 301
2 votes
1 answer
284 views

Is a timestamp in bitcoin different than just the "stamp of time"?

In the "References" section of Bitcoin's whitepaper, Satoshi Nakamoto points to three papers that serve as inspiration for digital timestamping. When you read those documents it is clear ...
Curious's user avatar
  • 21
4 votes
2 answers
2k views

Download blocks in blk00000.dat format from a specific period

For study purposes, I would like to download blocks from a specific period, i.e. January 2017 - June 2017, in blk.dat format (blk00000.dat, blk*.dat). I downloaded blockchain.core but it makes me ...
Eugenio Cortesi's user avatar
0 votes
1 answer
291 views

List of different unknown mining pools

A miner can identify himself when he receive his coinbase transaction, we can view them on website offering block explorer like https://www.blockchain.com/charts/pools Some of these miners are listed ...
Saxtheowl's user avatar
  • 2,810
0 votes
1 answer
85 views

Tiny 1-block forks in blk.dat files

I just completed parsing the Testnet3 Bitcoin blockchain stored in the blk.dat files into a database. Since I was using multi-processing to parse several files at the same time, I didn't add the ...
Oscar Serna's user avatar
1 vote
4 answers
2k views

How is data in a blockchain stored? Structure of block and blockchain

I'm trying to build a blockchain-based application and I have a problem with understanding some crucial issues. What exactly is a block? I mean, I've seen application where blocks were just String ...
mmaciek's user avatar
  • 13
0 votes
2 answers
1k views

How many transactions are there in one block

What I understand: When a transaction is made , miners compete to validate it and create a hash . If one miner creates the hash and more than 51% of miners agree on the validity .Then the a block is ...
pr1ax's user avatar
  • 101
2 votes
1 answer
107 views

Why are mined blocks not always full

Why do mined blocks tend to vary so much in size. If the miner's objective is to maximize their revenue from transaction fees they should add transactions starting with the one with the largest fee, ...
Saxtheowl's user avatar
  • 2,810
1 vote
1 answer
65 views

How come the bitcoin blockchain is only 285gb only?

I found some statistics that the bitcoin blockchain is 285gb. https://www.statista.com/statistics/647523/worldwide-bitcoin-blockchain-size/ Bitcoin has been around for how long? 10 years? with 1mb ...
Ivelin 's user avatar
0 votes
1 answer
279 views

How do I call getblocktemplate from C#'s bitcoinlib?

How do I call getblocktemplate from the bitcoinlib package for C#? This call does not work ICoinService CoinService = new BitcoinService(useTestnet: true); var blockTemplate = CoinService....
Thorkil Værge's user avatar
0 votes
2 answers
120 views

How to search for an address in last block?

I want to check in bitcoin-core and see if there is any of my watching addresses in last block. So my question is how can I know a specific address is included in last block or not? I can search with ...
Nima's user avatar
  • 53
1 vote
1 answer
130 views

How to see highest available block number in "Bitcoin Wallet" app for Android (Schildbach wallet)?

If I have downloaded the "Bitcoin Wallet" by "Bitcoin Wallet Developers" (Schildbach wallet) onto an Android phone from the Google Play store, how can I see the latest block number ...
RedGrittyBrick's user avatar
0 votes
1 answer
448 views

How to know Block height when a transaction entered Mempool?

I'm hosting a Listening Bitcoin Node in Capital of Pakistan. I want to know the Block height when Transaction entered the mempool. Right now I'm using the time from the Json format of the Transaction ...
Haseeb Saeed's user avatar
0 votes
1 answer
154 views

Some miners set the nVersion field of the block header to 0x8000004. What were they signalling for? Was this an error?

Some miners set the nVersion field of the block header to 0x8000004. What were they signalling for? Is this an error? I have been through a lot of the BIP documentations, but cannot seem to find any ...
Aman Saggu's user avatar
1 vote
1 answer
182 views

How to get the time when a block is received at a node?

Is there any variable in the bitcoind code that records the timestamp when a block is received for the first time by a particular node? To be more precise, for transactions, transaction information ...
Dragonboy's user avatar
1 vote
0 answers
691 views

Pruning Blockstore has been running for days

After activating the core (Testnet - Pruned) with the command bitcoin-qt i received the following error: Corrupt Block Database I restarted the synchronization always using the Pruned mode. The core ...
MaXbeMan's user avatar
  • 125
1 vote
1 answer
107 views

bitcoin block time after halving? [duplicate]

I would like to know why the bitcoin block time is taking longer than 10 minutes, I know that bitcoin halving had decrease reward and increase difficulty but according what I read the blockchain ...
andrew007's user avatar
1 vote
1 answer
58 views

How does a miner identify himself

There has been a new mining pool appearing after the halving called Lubian.com cf https://www.cryptoglobe.com/latest/2020/05/new-bitcoin-mining-pool-comes-out-of-nowhere-already-5th-largest/ How does ...
Saxtheowl's user avatar
  • 2,810
2 votes
1 answer
115 views

Unable to replicate block header validation errors: time-too-old and time-too-new

we are playing with the regtest and we don't able to replicate the two blocks validation error managed here https://github.com/bitcoin/bitcoin/blob/5b24f6084ede92d0f493ff416b4726245140b2c1/src/...
monkeyUser's user avatar
0 votes
0 answers
121 views

What does the version number in the blockheader represent

While looking up how a block get mined I stumbled over the version number in the header - which is used to "keep track of changes to the protocol". But even in the last 5 blocks of the chain (at the ...
Dalian's user avatar
  • 1
0 votes
1 answer
77 views

Why downloaded Block Size doesn't match with actual block size mentioned on network?

I am trying to download a block(Height:474044) using an API from here in python. Block is obviously downloaded in JSON format. But when I store it in a file on my system it shows very weird size ...
wowfactory's user avatar
1 vote
1 answer
662 views

Re-index/Re-download from specific height?

I seem to have discovered corrupt blocks on one of my nodes. The node is on all the time to keep up to sync and the rest of my nodes connect to it to retrieve block data when they need to sync. The ...
Shadouts's user avatar
  • 141
1 vote
1 answer
408 views

What does best block time mean in wallet.dat

I have a wallet.dat file that states: Best block at time of backup was 42603 (0000000013136bd812212959a15ef0ea0f084ee2c64e2f7f0e127d198f67a37f), mined on 2010-02-26T00:36:08Z Does that mean that one ...
burchbit's user avatar
0 votes
1 answer
241 views

Calculate Transaction Confirmations

I am writing an API for one of my systems which can verify if a monitored address is receiving Bitcoin, I can already check if the address is on the newly received block, save it to a database for ...
Allan Romanato's user avatar
2 votes
0 answers
56 views

Transaction validation cost

what relation is between transaction size or a number of input and validation cost? for example, It's o(n) or o(n^2)?
Maha's user avatar
  • 41
1 vote
3 answers
149 views

Does each block contain all the Bitcoin transactions for that time period?

When a miner validates a block, does the block contain all transactions in Bitcoin for that time period? So does a miner validate an individual transaction between two parties, or are they validating ...
W. Churchill's user avatar
1 vote
0 answers
104 views

Fork rate range in terms of network security

I am really new to bitcoin and am trying to understand the basics. Fork rate/Orphan rate is a measure of network security. The higher the fork rate, the more compromised the system. Also fork rate ...
AAKASH IYER's user avatar
4 votes
2 answers
650 views

Bitcoin Difficulty granularity

Difficulty adjusts by very granular percentages to target for 10 minutes blocks. But adding another zero at the end of the chain of zeroes from the header hash requirement for a valid block would ...
zndtoshi's user avatar
  • 153
0 votes
1 answer
41 views

Improve uniqueness of block for nonce creation

I am going through online Blockchain course and in the course, they have mentioned that uniqueness of a block is defined using hashes with leading zeros as well as timestamp. Since, in the training, ...
Pallavi's user avatar
  • 101
0 votes
2 answers
100 views

bitcoin back-end blockchain storage

bitcoin uses blockchain so blockchain is peer to peer, every peer stores the data so I wonder where does the data of all the bitcoins is stored? who is peer in case of bitcoin? so that peer gets ...
Nitin Sawant's user avatar
0 votes
2 answers
58 views

How Bitcoin mining contributes to confirmations?

Based on my knowledge I know (maybe wrong) when a miner is doing hash, he is inputting any arbitrary values, in order to get a value that can be hashed into something with certain preceding zeros. ...
gudako's user avatar
  • 159
4 votes
1 answer
750 views

Is the ordering of blocks in the rev*.dat files same as the blk*.dat files?

I understand that blk*.dat files save the blocks in the order it gets them from it's peers. Is the rev*.dat files in the same order as the blk*.dat files? For example, would the 400th magicbyte in ...
kcalvinalvin's user avatar
1 vote
1 answer
252 views

When exactly do the transactions get validated?

I have some gaps in my understanding to the life cycle of the transaction that I want someone to help me fill them specially with the validation. What I understand about the life cycle with my ...
Youssef Mohamed's user avatar
0 votes
1 answer
41 views

how the miner start to count the timestamp to insert in the block

I have a doubt, how the miner starts to count the timestamp to insert in the block. An example the timestamp insert inside the genesis block is 1/3/2009, 7:15:05 PM GMT+1. If the genesis block would ...
vincenzopalazzo's user avatar
1 vote
1 answer
79 views

Why Block Chain not Transactions Chain? [closed]

I believe that, for some people, the term Block is a sort of holy notion. However, there exist yet some block-free blockchains such as Libra (Sometimes referred to as Zuck Buck). Unlike previous ...
محمد جعفر نعمة's user avatar
0 votes
4 answers
746 views

How the blockchain knows that its been tampered with?

I know that the transactions stay in the block and hashed alongside few other things and that hash is stored in the next block. And I understand that if you try to tamper with one of the transactions, ...
l Wawa's user avatar
  • 11
4 votes
3 answers
168 views

What would happen if miners refused halving

In may 2020 the supply of bitcoin per block is supposed to be reduced by half https://www.bitcoinblockhalf.com/ What if after this phase the first miner or more than 51% of them decide to keep the ...
Saxtheowl's user avatar
  • 2,810
0 votes
1 answer
52 views

How can size of a block be significantly small? [duplicate]

As we all know bitcoin block size should be sth about 1MiB. (Some blocks about 2MB). And this is because miners put all transactions to the block every 10 minutes. So what happens technically that ...
behkod's user avatar
  • 313
0 votes
0 answers
36 views

Block validation process [duplicate]

Can some one explain how the block validation is done in blockchain based system with suitable example.
Sanjeev Dwivedi's user avatar
0 votes
1 answer
178 views

Block validation in blockchain

if i am saying that node A is having some block (B) and other nodes X,Y,Z are wants to validate the block B than node A has to send the block B to nodes X,Y,Z. This block B contains the hash of ...
Sanjeev Dwivedi's user avatar
1 vote
1 answer
166 views

Regarding block validation in blockchain

In mining process, miners validate the block based on proof of work or using some other consensus mechanism. Miners also validate the block. So in this validation process, miners validate only hash ...
Sanjeev Dwivedi's user avatar
2 votes
1 answer
169 views

What is the actual Bitcoin block size? 2mb or 1mb?

I am not asking about block weight. I hear many people saying that the actual Bitcon block size is 2mb. However, in any block explorer, I can see that blocks are around 1200kb. This is very confusing, ...
Alejandro Veintimilla's user avatar
0 votes
1 answer
94 views

what file/method is block reward processed?

I have managed to build an altcoin (from litecoin source) but my coin requires that I make changes to the way rewards are made. I have been looking at the source code to try to find where block reward ...
Patrick W. McMahon's user avatar
0 votes
2 answers
91 views

Including transactions in a block - rules and time / technical aspect

I’ve a question regarding block and transactions included in the next block that is solved. Let us assume theoretically that there is newly propagated solved block. And now there are: tx0 and tx1 –...
Adam's user avatar
  • 1
0 votes
0 answers
22 views

Where can I find a detailed network protocol spec? [duplicate]

I have been trying for a while to understand how the bitcoin network works, which I (kind of) do on a high level. However, all of the sources I read don't go into the details of the protocol that ...
dejavie21's user avatar
6 votes
1 answer
470 views

How long are orphaned or stale blocks kept in bitcoin core nodes memory?

If there was a chain reorg, for example: Blockchain: 0a---1a---2a---3a becomes... 0a---1a---2b---3b How long are blocks 2b and 3b kept in memory on the node? If I query the node for block 2b ...
Malone's user avatar
  • 207
6 votes
1 answer
126 views

How has the Bitcoin average block size recently risen above 3 MB?

I was aware that the block size could rise above the 1 MB cap due to SegWit. However, my understanding was that the block size would still be limited under SegWit. My understanding of SegWit is that ...
AdaptiveAnalysis's user avatar
2 votes
1 answer
222 views

Can a miner give themselves less than the maximum block subsidy if they wish to do so?

The current maximum block subsidy is 12.5 bitcoin. A mined block recently got rejected from full nodes after a miner tried to post the block subsidy as 13.26 bitcoin. But what about in the other ...
AdaptiveAnalysis's user avatar
2 votes
2 answers
89 views

How can bitcoin transactions for the same coin belong in different blocks?

Isn't each transaction dependent on a hash of the previous transaction? Wouldn't that mean all of the transactions for a particular coin would have to be grouped in the same block? As far I can tell ...
srlrs20020's user avatar
1 vote
1 answer
64 views

Doubt regarding hashing function in Merkle trees

From what I read, say in a block, there are 4 transactions. The hash value of transactions A and B are combined together to get the hash AB. Same goes for transactions C and D to get hash CD. Later AB ...
Saumya Bhatt's user avatar

1 2 3
4
5
14