Questions tagged [block]

This tag should be used for questions related to Bitcoin blocks

Filter by
Sorted by
Tagged with
0
votes
1answer
22 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
1
vote
0answers
33 views

How to make a block given transaction ids, fee ,weight, possible parents

I have a list of transactions in this form 6c665f1d784d2032a13fa0986f08a3306bb1a4430049787cb1b692ed0d5d9bde,302,1136,cbf57b4e77708a6d920a63e9584cb482b03c42374b6a49e6057170a9354a89c5 txid, fee, weight, ...
2
votes
1answer
31 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 ...
0
votes
1answer
20 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 ...
0
votes
1answer
68 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 ...
0
votes
0answers
15 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 ...
0
votes
1answer
42 views

Known cases of block-withholding attacks

At the moment I am doing a course about Bitcoin. The topic of the last session was the block-withholding attack and the course (being from 2014) claimed that there are no known attacks so far. Is ...
0
votes
1answer
52 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 ...
0
votes
1answer
48 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 ...
0
votes
1answer
26 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 ...
0
votes
0answers
27 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 ...
2
votes
1answer
59 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 ...
1
vote
0answers
27 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 ...
0
votes
1answer
22 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://...
1
vote
1answer
30 views

Block Validation Process, in Terms of adding Block to the Chain

quick question - How does a Node react to a new block propagated to the network? In Terms to does a Miner stop mining when "he" gets information of a new block to validate it? or does it ...
0
votes
1answer
25 views

Are trades done on exchanges added to blocks?

I found a few answers to this question here, here, and here, but my doubts weren't cleared. Are trades done on exchanges added to blocks? Or are they only added once you withdraw the funds to your own ...
0
votes
1answer
32 views

Check transaction per block in Bitcoin

what is bitcoin-cli command for checking how many transaction per block ? Thanks you
0
votes
1answer
55 views

Is my Bitcoin address valid for mining?

I am looking at the specific block at height 680175. When comparing the address which received the block reward # bitcoin-cli validateaddress 1KFHE7w8BhaENAswwryaoccDb6qcT6DbYY { "isvalid":...
5
votes
1answer
317 views

Why are there more than two transaction outputs in a coinbase transaction?

In a coinbase transaction there are always more than two transaction outputs. The first transaction output contains the reward. The second contains the witness reserved value. But why are there other ...
0
votes
1answer
33 views

Why does decoded block data not match coinbase transaction input?

I am looking at the specific block at height 680175. Via bitcoin-cli getblock 00000000000000000004dbd66fa71fdcd62658bf8c8e2e153521257ad5858c71 0 I obtained the serialized, hex-encoded block data. ...
0
votes
0answers
75 views

What's up with the block size of block# 295182?

I found an anomaly in the block size data: block 295182. This one seems to have a way higher payload. What happened there? Or is this there something wrong with my parsing? This file block does ...
0
votes
0answers
43 views

the two miner type of reward [duplicate]

The definition of a block in the blockchain is "A block records some or all of the most recent Bitcoin transactions that have not yet entered any prior blocks. Thus, a block is like a page of a ...
1
vote
2answers
72 views

REST API to fetch block by height

I am trying to incorporate bitcoin in one of the applications and want to integrate the REST API which exposes all the public information. I tried using https://chain.api.btc.com/v3/block/3 but upon ...
0
votes
1answer
108 views

Bitcoin cash not syncing the current block [closed]

I have installed BCH "Bitcoin Unlimited Cash Edition bucash1.7.0.0". Problem is the current block is not synced in our wallet server, the server is stuck at block "635258". How to ...
0
votes
1answer
151 views

To be blunt bought bitcoin in 2009 at 25 cents have not touched it

I am hoping you can help I read through a few of you answers to other inquiries and as per my research you are very well versersed. I acquired Bitcoin back when it first came out of trading at 0.0008 ...
0
votes
0answers
14 views

Building Compatible Blocks Post Block 227836 - Relevant BIPs

To build a miner capable of mining at today's blockchain level of complexity, are there any other relevant BIPs aside from the SegWit spec and Bech32 address scheme? I have implemented compatibility ...
1
vote
1answer
23 views

How to deserialize the Transaction Count in a raw block?

In the bitcoin-book, the "Transaction Counter" part of a block is documented as being 1~9 bytes long instead of a fixed size. How is this counter parsed from the raw data?
0
votes
0answers
32 views

What unconfirmed transactions in Mempool get into a block? [duplicate]

I have a question regarding picking unconfirmed transactions from the mempool. Let's say, there are 1000 transactions in the mempool. Can I randomly select some transactions, say, transaction a, b, c, ...
0
votes
1answer
84 views

How are the nBits of a block calculated?

So I've been trying to figure out how the nBits of a block is calculated, but I can't seem to come up with an answer. I know (think) that it's based off the difficulty of the block, but I'm still not ...
1
vote
2answers
805 views

How is the Target Hash determined?

So, I understand how the amount of leading 0's are calculated, but how is the hexadecimal that come after the leading 0's calculated? For example, the previous mined blocks hash was ...
1
vote
1answer
87 views

How does solving a block work in relation to the first letter/number after the 0's?

I did a terrible job of explaining it in the title so I'll explain here. Say the target hash to solve for a block is 00004aef... etc. does that mean that you can't solve the block if you get 00005fad (...
1
vote
1answer
58 views

Does the Merkle Root get constantly updated inside the block or does it only get added once the block is completed?

So, pretty much just the title. I'm just wondering how the Merkle Root works exactly. I know it's the result of pairing transactions and then hashing them until the last transaction in the block, but ...
0
votes
1answer
48 views

How does the difficulty target affect the time to complete the block? [duplicate]

So, I'm currently doing a personal project where I'm creating my own crypto blockchain (just for fun). I'm currently coding the Difficulty Target part of the Blockchain, but I'm not entirely sure how ...
0
votes
0answers
25 views

Is it true that the rate of finding a new block is constant, but just that the bitcoin reward become less and less? [duplicate]

Can somebody ELI5? Is it true that every block that is discovered, the person that discovered the block will be awarded 12.5 bitcoins? But to discover such a block, somehow the person has to get a ...
0
votes
1answer
32 views

creating your own bitcoin block

I've just started reading about bitcoin, and I had this question, what if : I created two bitcoin addresses. added for example 1 btc to one of them. then I start sending that 1 btc back and forth ...
0
votes
2answers
81 views

1 MB Block Size as a Anti-DoS Attack Measure

Wikipedia explains the rationale behind the 1 MB block size limit as follows: The one megabyte block size limit was added in 2010 by Satoshi Nakamoto as a temporary anti-DoS measure A SE post ...
0
votes
0answers
21 views

unconfirmed transaction 1/2fdlhhxj [duplicate]

I have seen a transaction in my wallet that was not made by me how can I stop it please it’s still on 1to6 unconfirmed
0
votes
1answer
28 views

Do all of the records in the same block share the same hash?

From what I have read, when a transaction is settled, the record is added to a block among with other records. The block is given a new hash as well as a hash from previous block. So does that means ...
0
votes
2answers
73 views

Does bitcoin mining pool hash randomly and separately

When it comes to hashing does each mining entity use total random seed for each of their hashing function or do they have a range like " Im gonna cover from 0 to 500, and you cover from 500 to ...
3
votes
1answer
128 views

Can two related “spends” be in the same block?

Consider the case where: Address A has some BTC. Address B is empty/zero. Address C is the intended recipient. B sending to C is invalid on its own, but does make sense if associated with A sending ...
0
votes
0answers
20 views

Block with a smaller height mined after blocks with higher height? [duplicate]

According to the Timestamp: 2020-11-05 16:03 of the block 655534, this block was mined before after the subsequent block: 655535 Timestamp: 2020-11-05 15:31. How can this be?
0
votes
1answer
57 views

Question regarding stale blocks and the heaviest chain

According to this website: https://forkmonitor.info/stale/btc/644543, at the block heigh 644543 multiple blocks were produced. If I understand correctly, in Bitcoin, the heaviest chain survives, while ...
1
vote
1answer
44 views

Why is the block size so big, taking into account a relatively small number of transactions?

Why the size of the block 656143 is so big (Size: 2,337,727 bytes), taking into account a relatively small number of transactions (Number of Transactions: 84)? Extra question: What is the block size ...
0
votes
0answers
130 views

Upgrading - OLD PC - Wallet v0.8.1-beta and qt v4.8.3

Can you advise me on upgrading my wallet and bitcoin software. Are there files I should save before upgrading? what should I upgrade to? Other basic questions. I have a number of bitcoin files in my ...
1
vote
1answer
54 views

How bitcoin network appends new block in its Block-chain

Well, According to my research, After solving the cryptographic hash, when the multiple nodes broadcast the block at the same time as a suggestion to be the next block in the chain. Bitcoin network ...
3
votes
1answer
57 views

Which blk*.dat file contains a particular block?

Is there a way to find out which blk*.dat file contains a particular block? For example, it would be useful to know which *.dat file contains block 478558, which is the point where BCH forked from BTC....
0
votes
0answers
40 views

What is the total number (or rate) of orphaned blocks in Bitcoin in 2020?

Apparently, blockchain.com stopped to provide such information in 2017. Obviously, we still have orphaned/stale blocks in Bitcoin (see, e.g., BitMEX Research: Bitcoin Has a Stale Block For The First ...
2
votes
1answer
49 views

Is every copy of the blockchain the same? If I have an error within file should I be able to copy this file from a backup and reindex chainstate?

I recently moved the first 2000 files of my blockchain from the SSD to a HDD. The HDD gets mounted in /mnt/ext. A symlink per file is then put into blocks that points to the remote files. So my blocks ...
0
votes
1answer
77 views

What pools will allow asic block erupters these days? [closed]

I'm a Ubuntu cgminer/bfgminer guy and purchased 6 asic block erupters and a newbie to mining. Could never get into slushpool, but have been mining for poolin for about a week and really don't see any ...
2
votes
2answers
111 views

Why does the txn_count field exists in a block?

I was wondering why the txn_count field in a block exists. The count of transactions could be determined by parsing the txns field in tx format, right? Same for 'tx_in count' and 'tx_out count' in a ...

1
2 3 4 5
12