Questions tagged [block]

This tag should be used for questions related to Bitcoin blocks

Filter by
Sorted by
Tagged with
1 vote
1 answer
23 views

How does the block searching by txid works?

Is that the process will go through all the blocks and find the block which contains the txid or there's an index table for all transactions?
user avatar
0 votes
1 answer
52 views

In what format does a block store the transaction data?

Does it store the raw transaction data literally like (excuse the formatting inaccuracies): 0x24134i59435ej3...9 sends 0x9wri03vw3sdfsd...i 26.00000023423 Bitcoin. Or is it stored differently?
user avatar
  • 29
0 votes
0 answers
24 views

how do i run the invalidateblock command on bitcoind?

For a particular need I need to restart with the chain from a specific previous block. I thought about using the invalidateblock command, but it's a bitcoin-cli command and if I run it on bitcoind it ...
user avatar
0 votes
2 answers
61 views

Why aren't more empty blocks mined?

So currently only a tiny amount of empty blocks are mined A total of 71 empty blocks were mined in the first five months of 2020, accounting for 0.3% of the total blocks produced — less than half of ...
user avatar
0 votes
1 answer
41 views

Peer-to-peer - informations about downloading

I would like to know how the software downloads the blockchain. If the bytes write throught the socket and wait until it's written. And If the software asks 16 blocks to each peer in which you're ...
user avatar
  • 69
0 votes
1 answer
34 views

How many transactions fit into a single block?

there is a limited number of transactions that fit into a block if the network requires more throughput (more bitcoin is being sent), that means more blocks will be solved in a shorter time interval ...
user avatar
  • 101
0 votes
2 answers
55 views

Only My Transaction in a block

I am thinking of broadcasting a Bitcoin transaction with a very important message. The message is so important that I want it to be the only transaction (other than coinbase) in the block. For example ...
user avatar
1 vote
1 answer
47 views

How often does target hash change and how to find it?

So basically I was researching target hash and trying to figure out how I can find it. I know there are posts out there that have said that Bitcoins target hash is a 256 bit number with 32 bits of ...
user avatar
  • 21
0 votes
1 answer
25 views

Which time does timestamp given in the block explorer represents?

The time block header was constructed The time when block was validated? if 2, this means not only nonce is incremented +1 every time we have hashed block header but also timestamp increments and ...
user avatar
5 votes
1 answer
110 views

Is timestamping needed for anything except difficulty adjustment

This question asks about the role of timestamping and this answer supports the assertion that the main role is block difficulty adjustment. On the other hand, the whitepaper claims that ordering ...
user avatar
1 vote
1 answer
113 views

When do miners add a new block to blockchain?

I'm a bit new to blockchain and I am trying to understand. As I understand when a new transaction happens it's added to a mining pool and miners prioritize these transactions (for example by amount of ...
user avatar
0 votes
1 answer
39 views

Trying to validade a bitcoin block

So I'm trying to validade a bitcoin block just for curiosity, let's take for example bitcoin block #1 (https://bitpay.com/insight/#/BTC/mainnet/block/...
user avatar
-1 votes
1 answer
79 views

Theoretically how large can a blockchain block be?

How large can a blockchain block be? This is not specific to the current bitcoin blockchain or any blockchain. Just assuming you are creating a blockchain, how large can the blocks be? Also what are ...
user avatar
  • 157
0 votes
0 answers
66 views

How to decrypt private key bitcoin core?

I'am Wahyu. I found my old file on the flash disk which contains the encrypt private key, public key and address. can i get my bitcoin core account back? I created a core bitcoin wallet in 2012. if ...
user avatar
0 votes
1 answer
28 views

Segwit: Does the nodes saves 2 types of blocks (or atleast in the past)

Was wondering for a long why mempool.space was showing blocks greater than 1mb! Started digging deeper and read these: https://jimmysong.medium.com/understanding-segwit-block-size-fd901b87c9d4 https:/...
user avatar
  • 155
3 votes
1 answer
176 views

Why do early blocks contain OP_PUSHBYTES instructions in the coinbase input?

Early blocks contain OP_PUSHBYTES sequences in the coinbase input ScriptSig: Block 1: OP_PUSHBYTES_4 ffff001d OP_PUSHBYTES_1 04 Block 2: OP_PUSHBYTES_4 ffff001d OP_PUSHBYTES_1 0b Block 3: ...
user avatar
0 votes
1 answer
46 views

what is the confirmation section in the block info?

in the details of a bitcoin block there's a section called block confirmation (which is different than transaction confirmation), first i thought it was the number of the blocks that are created after ...
user avatar
0 votes
1 answer
36 views

what is block confirmation [duplicate]

in the details of a bitcoin block there's a section called block confirmation (which is different than transaction confirmation), first i thought it was the number of the blocks that are created after ...
user avatar
0 votes
0 answers
25 views

use java to scan all the block

I am trying to scan all the bitcoin data on my workstation with java to get some high level statistic data. I parsed all the transactions with bitcoinJ, but I encountered a problem, the Transaction ...
user avatar
  • 171
0 votes
1 answer
26 views

Getting wrong version number of block from block index of Bitcoin Core

I am reading block index using plyvel python package. Following is the location of block indexes: export BLOCK_INDEX_DB=$BITCOIN_HOME/blocks/index Following is the method to decode b128 varint: def ...
user avatar
0 votes
1 answer
31 views

Are filters available for Blockchain.com APIs?

I'm trying to get the block details of Bitcoin using block height. The API provided on the "blockchain.com" website also dumps the huge transaction list along with the response. Is there a ...
user avatar
0 votes
1 answer
30 views

Sync data (blk.dat) only with bitcoind

The purpose is to sync the all the blk data into local computer for analyzing. Is that possible to sync data (blk.dat) only with bitcoind? Or is there any other solution available?
user avatar
  • 171
0 votes
1 answer
51 views

Can a hacked/tampered full node be deployed in Bitcoin to accept blocks containing invalid transactions?

What if I deployed 3 of my personal tampered/hacked full nodes(with one of them a miner too) that accepts invalid blocks with proper PoW (containing invalid transactions) and rejects valid blocks. ...
user avatar
1 vote
2 answers
133 views

Is the coinbase automatically generated by the getblocktemplete rpc call?

I'm working on a mining script and i just want to really be certain for sure as I wouldn't want to waste Time & resources. Q1 - Is the coinbase transaction automatically generated by the ...
user avatar
3 votes
1 answer
152 views

Understanding POW and transactions

If I understand correctly, when calculating a proof of work, the entire header is being used in a sha256 function. Now, whenever a new transaction is added to a pre-mined block, the header completely ...
user avatar
  • 33
3 votes
1 answer
181 views

Can "Block" Message send multiple blocks?

Can multiple blocks be sent in a single block message in response to the GetBlocks message, or will a new Block message have to be sent for every block? Thanks.
user avatar
  • 121
2 votes
1 answer
87 views

What is encoded in the first taproot enabled block?

There are a bunch of encoded messages in the first taproot enabled block in op_return outputs. What is encoded there?
user avatar
1 vote
1 answer
60 views

How can a block validate a merkle-root if it is all hashed?

I am trying to understand how another block validates the transactions through the merkle root. Shouldn't it be impossible to know what hashes the merkle root is hashed from because you can't reverse ...
user avatar
0 votes
0 answers
40 views

Start mining without the need to downlod the 360gb blockchain

I am new to bitcoin mining but at least i understand the mathematics behind - the sha256 and finding nonce, i am a junior back-end developer. recently i have being interested in bitcoin mining, as way ...
user avatar
0 votes
1 answer
54 views

How to get list of Bitcoin Block Hashes by Block Number?

Suppose I want to obtain the block hashes for all Bitcoin blocks numbered 1 through 50,000. What would be the best way to obtain this information? I could write a web scraper to pull it off web-based ...
user avatar
  • 101
0 votes
0 answers
23 views

Bitcoin block reward contingencies [duplicate]

When the block reward runs out, I'm assuming Bitcoin is still around then. What are the current discussions around solutions to this? Are there any good places to look for info on this? Thank you!
user avatar
0 votes
0 answers
12 views

Is the block header the data that gets hashed or is it the info of the transactions that get hashed? [duplicate]

I just need to know what is the data that gets hashed. Also if the nonce is put from the beginning or if it's only out if it doesn't meet the requirements of the target. Thanks.
user avatar
  • 11
0 votes
1 answer
228 views

Struggling to Decode Raw Hex Data of a Block

I am trying to Decode the Raw hex data of a Coinbase Block to check my understanding of the DS but I am facing some difficulties in decoding marked by a ? below: Q1. Can someone please check the ...
user avatar
  • 107
0 votes
0 answers
37 views

Can transactions be held for a long time without being processed?

I am learning a little bit about the bitcoin technology and I have some basic questions about its p2p and transaction processing. First imagine that a bitcoin transaction has included a fee (maybe a ...
user avatar
  • 101
0 votes
1 answer
106 views

My transaction is in review for over 24hrs on blockchain, I want to cancel it

Please I want to cancel my in review transaction on blockchain. How will I go about it. Please help me,I need answers as soon as possible.
user avatar
3 votes
2 answers
153 views

What data is hashed to produce the block hash?

Exactly which items from a block are included in the data that is hashed to produce the block hash?
user avatar
1 vote
0 answers
24 views

Pseudocode for Bitcoin's P2P block propagation

I am going through Bitcoin's block propagation method at https://developer.bitcoin.org/devguide/p2p_network.html Are you aware of any pseudocode available on how blocks are propagated during the ...
user avatar
  • 141
0 votes
1 answer
75 views

Is bitcoin awarded per transaction or per block?

I'm still learning how Bitcoin works and one thing that remains unclear to me is when Bitcoin is awarded to a miner. From my understanding, a certain amount of Bitcoin is awarded to a miner when a new ...
user avatar
0 votes
1 answer
104 views

Are multiple parents/children possible in a block?

I always learnt/thought bitcoin blockchain is like a linked list and it can have only one parent and one child at max
user avatar
2 votes
1 answer
50 views

Can I merge blockchain downloads?

I downloaded the most recent 15GB of the Bitcoin blockchain. But I also have a back up from a year ago when I downloaded some more. Can I merely copy the old blockchain files into ~/.bitcoin and have ...
user avatar
  • 21
1 vote
1 answer
28 views

How does the mining network know/agree when a block has been defined and thus needs to be mined? (The hash determined.)

Based on my understanding, the blocks are made up a group of transactions. But somehow, the network needs to both agree on which transactions are part of the block and also (I would think) the order ...
user avatar
  • 143
0 votes
1 answer
79 views

What happens if a miner deliberately ignores a transaction, and "wins"?

Suppose a miner decides to solve the nonce for a particular block, where the miner deliberately excluded a particular transaction from this block. The miner "wins", i.e. they found the nonce ...
user avatar
0 votes
0 answers
27 views

bitcoin-cli error -28

When I run any bitcoin-cli command I get the following message: error code:-28 error message: loading block index... As far I know this error means Client still warming up, so I should wait a few ...
user avatar
0 votes
1 answer
84 views

Why do transactions have to be bundled in a block? Why not mine single transactions separately?

Why do transactions have to be bundled in a block? Why not mine single transactions separately? What is the advantage of bundling transactions in a block? Also are there any blockchains/decentralized ...
user avatar
  • 157
0 votes
1 answer
64 views

What is the Optimal block size based on 90 percentile block propogation delay?

We can have pruned nodes that can verify blocks and transactions so the block size can be increased without leading to the centralization of block verification. But if we increase block size then ...
user avatar
0 votes
1 answer
60 views

BTC - Block Index - Reading the flag values in Level DB

Following the article I tried reading the flag value for txindex in the Block Index database but was not able to fetch the values. I tried fetching value for all below but its NULL always. Am I doing ...
user avatar
  • 27
0 votes
0 answers
71 views

Submitting new block to blockchain

Supposed that I have managed to mine a new block that meets all requirements successfully by building my own script that can collect transactions and add them to new block and hashing the new block ...
user avatar
  • 1
1 vote
1 answer
129 views

Explanation of "Timestamp Server" section in original bitcoin paper

I'm trying to understand the "Timestamp Server" section in the original bitcoin paper. It feels overly short for someone without an understanding of cryptography. Is it saying? A block ...
user avatar
  • 113
0 votes
0 answers
32 views

Get/Calculate Address

I'm currently using a program that analyses the block files. It splits all the stuff into multiple .csv files. Is there any method I can do to get the addresses & amount sent/received from tx_in ...
user avatar
0 votes
1 answer
51 views

Bitcoin - Level DB - Block Index - Parsing value for block hash

I am trying to read the value against block hash in level DB of Bitcoin node database - Block/index. For Genesis block, I get 88 bytes which I want to parse. I tried to follow instructions in https://...
user avatar
  • 27

1
2 3 4 5
12