Questions tagged [block]

This tag should be used for questions related to Bitcoin blocks

Filter by
Sorted by
Tagged with
-1
votes
0answers
15 views

I want to start Bitcoin Mining but I dont know what the cost to profit ratio would be [duplicate]

So I am rocking a Ryzen 5 2600x, Rx 570 4gb, and 16gb ram 3000mhz I am going to be soloing but i was wondering if i would be able to make profit I am quite new to this so i just had a couple questions ...
1
vote
1answer
33 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 ...
0
votes
1answer
235 views

How do I double SHA-256 the header of block #59,500?

I'm not sure how to combine all of this information. https://blockchain.info/block/00000000096af43105123c499521e1d131d172e7e1bf2ed0843290a921f1f6a7 Version 1 Time Bits 470771548 (is this the right ...
0
votes
1answer
13 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....
0
votes
1answer
25 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 ...
1
vote
1answer
53 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 ...
0
votes
1answer
32 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 ...
0
votes
1answer
28 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 ...
2
votes
1answer
131 views

Different balances in API block explorers for BTC

BTC.com block explorer shows bigger balance than for example Insight or Blockchair. For example: https://btc.com/1FLDCfr9iG7n6bAdGsqBXmhaLgC4aSze72 https://insight.bitpay.com/address/...
6
votes
1answer
6k views

What is the block verification procedure, and will it ever become too expensive?

I'm trying to get a grasp on which items the network is responsible for validating / enforcing. If I understand correctly, when a new block is received, the recipient needs to verify the following: ...
3
votes
2answers
2k views

Which cryptocurrency has the smallest block time?

What is the lowest block time of any cryptocurrency? I don't mean the time of an individual block, but the target time per block. What is the shortest reasonable block interval?
0
votes
1answer
50 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 ...
1
vote
1answer
31 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 ...
1
vote
0answers
46 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 ...
0
votes
0answers
14 views

Corrupt block database

I activated the core with bitcoin-qt as I always do. What can be the cause of the database loss? Synchronization is restarted from the genesis block. I use the testnet with Pruned mode activated.
1
vote
1answer
31 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 ...
2
votes
1answer
29 views

Halving formula

So I was looking at https://www.binance.vision/halving and it shows that their formula for halving is - (Halving block - Next block height) * Average time between blocks - estimated time until the ...
2
votes
1answer
25 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/...
0
votes
4answers
545 views

Where is the data stored in Bitcoin?

Is all the data related with the transaction of bitcoin stored in blockchain or the data stored somewhere in the cloud and they are referenced from blockchain. I have this confusion because if we are ...
0
votes
1answer
165 views

Testing altcoin reward halving - Help! [closed]

I am currently working on reward halving changes for a test coin and i have added all the necessary changes but my question is how do i safely test this new halving without affecting production. I ...
0
votes
2answers
289 views

Is there any python library could be used to decodescript in output

For example decode the ScriptPubKey like 4104678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5fac to some data like ...
0
votes
0answers
27 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 ...
0
votes
1answer
31 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 ...
8
votes
4answers
3k views

Shortest and Longest block interval time ever recorded in Bitcoin

Bitcoin block interval time is on average 10 minutes, that is the difficulty is adjusted in such a way that every 10 minutes a miner will manage to find the right hash. This is just an average time ...
1
vote
1answer
51 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 ...
0
votes
0answers
18 views

GeForce GTX 780 desktop pc vs. old dell and toshiba laptops

I'm curious as to why when I mine Satoshis with the app "Bitcoin Miner" with my gaming computer I get slower or = to the hashrate that my older laptops are getting.. I assumed it would be 10x faster ...
4
votes
3answers
574 views

Which is the smallest hash that has ever been hashed?

Let's assume, the hash 00000000000000000024c0bdbec66a889778c00bc69be0a96cbbd98b75c3ce09 of block #499644 is smaller than 0000000000000000002d429f39afec70c938e888c3417d690bbc85e83529991c of block #...
0
votes
1answer
34 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 ...
1
vote
1answer
73 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 ...
2
votes
0answers
50 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)?
1
vote
3answers
71 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 ...
1
vote
0answers
29 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 ...
0
votes
0answers
31 views

How can I do CDataStream to String to CDataStream conversion?

I'm developing a bitcoin application which saves Block to a file from which it can be read at later point of time. So I'm converting CDataStream vRecv to hex string using below bitcoin defined ...
0
votes
4answers
119 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, ...
0
votes
1answer
21 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, ...
0
votes
2answers
57 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 ...
0
votes
2answers
47 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. ...
1
vote
2answers
102 views

How do SPV clients apply a new block?

SPV (lightweight) users do not have a chain. (Well, some SPV users have a fraction of the full chain, but some SPV users only have block headers. Am I correct?) If a block is created by a miner and a ...
2
votes
1answer
122 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 ...
0
votes
2answers
300 views

What is the most optimal way to parse a raw bitcoin block with python?

Let's say one is connected to a zmq socket and listening for rawblock. How you'd parse the block header is as follows: block_header = raw[:80] version = block_header[:4] prev_merkle_root = ...
1
vote
1answer
63 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 ...
0
votes
1answer
19 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 ...
1
vote
1answer
58 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 ...
9
votes
2answers
26k views

How many Bitcoin are mined per day?

A block is generated every ten minutes. The reward changes periodically, and will halve 32 more times. What is the approximately daily reward across the entire network?
1
vote
0answers
65 views

What is the formula for inferring hash rate from difficulty and block frequency?

Two parts to this question 1/ There have recently been concerns over drops in hash rate observed on sites such as blockchain.com. However, my understanding is that hash rate is inferred from the ...
4
votes
1answer
82 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 ...
0
votes
2answers
60 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 –...
17
votes
4answers
16k views

Why does each block store a Merkle root?

I understand how a Merkle root is calculated and stored in the block. But how do miners verify a transaction using the Merkle root? Here are 18 conditions that verify a transaction. None of them uses ...
3
votes
2answers
117 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 ...
0
votes
1answer
30 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 ...

1
2 3 4 5
11