Questions tagged [block]

This tag should be used for questions related to Bitcoin blocks

Filter by
Sorted by
Tagged with
1
vote
0answers
121 views

Bitcoin mining specification to write own mining application

Where can I find the design specifications to write my own mining application for mining bitcoin. More I read I find there are number of implementations and some pools only work with specific mining ...
1
vote
2answers
377 views

Valid block on top of invalid block

I have been researching a little on the concept of blockchain for some time now. If there is any corrupted block then others won't try to build blocks on top of it. But suppose for some time if it ...
1
vote
1answer
48 views

artificial block size cap?

What, either technically or not, is preventing bitcoin core miners from expanding the number of transactions included in each block? Wouldn't the corresponding increase in maximum number of ...
4
votes
0answers
3k views

How to recover corrupted Bitcoin-Core blockchain?

I recently experienced a I/O error resulting in data block corruption or index corruption cause bitcoin-qt wasn't quitting so I forced bitcoin core to shutdown without killin it properly. I checked ...
0
votes
2answers
634 views

As a miner can i mine my own transaction to speed up the confirmation?

So i found here: What can I do to make my stuck transaction confirm? one of the options was: Ask a miner for help Some mining pools and miners offer services to allow you to prioritize your ...
0
votes
1answer
1k views

Mining your transaction to push it to the blockchain? [duplicate]

Is there a way to mine your own transaction to push it to the block chain. I see these individual miners out there on forums speeding up other users transactions within 10-60 minutes. So i guess i ...
4
votes
1answer
343 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 #...
2
votes
2answers
874 views

How can I check the hash of a bitcoin block?

Let's pick an example bitcoin block: #499583 This is the block: https://insight.bitpay.com/api/rawblock/000000000000000000677c4077da7c9f01dde5f332ba2fbff962ee699714d5da It starts with ...
3
votes
1answer
94 views

Adjustable block size

We know that PoW difficulty is adjusted s.t a block is found roughly in every 10 minute. So, if nodes happen to mine a block too fast, difficulty is increased and vice versa. I wonder if it's ...
1
vote
1answer
328 views

How to broadcast a new block

When i mine a new block on my pc, how can i broadcast it to other peers, making it included in the blockchain and getting my reward? Is there any API that provides a function like "sendBlock" or ...
0
votes
2answers
326 views

validation of a block with false transactions

When a miner can find a number to create a hash with enough zeros, the other miners can verify his work by testing that number and seeing if everything is correct. But how do they verify that the ...
0
votes
1answer
49 views

What happens if the block's generated are exactly 10 minutes?

My understanding is that every 2016 blocks, the average block time is taken. If it is less than 10 minutes, network ramps up the difficulty. Is there a possibility where the average block time is ...
0
votes
1answer
273 views

Difficulty to Hash Validation Correlation

In the validation of a block it is said that a miner has a valid block if the transactions can be tracked in the chain and the hash of the block header is less than the difficulty. I am having a hard ...
4
votes
2answers
258 views

How segwit blocks are seen by segwit and non-segwit nodes?

Let's say a miner mines a block. In this block some transactions will be non-segwit and some will be segwit? The block contains two parts: The part with transactions The segregated part with ...
2
votes
3answers
128 views

Transactions that cannot be part of block

Is it possible to have a "unlucky" transaction that can never be part of block? Meaning grouping it with other transactions never results in a valid block? [Edit] By not being in valid block, I meant ...
1
vote
1answer
617 views

Where can i find proof of work in bitcoin core source code?

does anyone knows which part of the bitcoin core source code contains the proof of work for mining, creating of block and adding to blockchain? what are the files and functions involves? https://...
0
votes
3answers
498 views

Validation of New Blocks [duplicate]

Basic mining question: Once a miner solves the block and comes up with the block hash, how are the other nodes in the network incentivized to validate that hash?
0
votes
1answer
27 views

Where to find the data to compare the decentralisation of mining for different cryptos?

I'd like to compare the centralisation of BTC's mining / nodes / pools for BTC and other alts. Where can data be found on this? Thank you! David
0
votes
2answers
192 views

How many blocks have no unspent transaction outputs?

I can't seem to find statistics anywhere on how many blocks have no UTXOs, or what the distribution of UTXOs are in blocks over time, or anything like that. If you could point me in the direction of ...
1
vote
1answer
459 views

How often is a block mined on the bitcoin testnet?

I've been watching testnet for a few minutes and I haven't seen a block come in yet. I'm testing some code that works with incoming validated blocks, and I'd like to test it out.
0
votes
1answer
735 views

What is the structure of bitcoin block?

If I understand correctly block consists of: block header, transactions counter, list of signed transactions. Each signed transaction consists of transaction itself and appended signature. Each ...
0
votes
1answer
56 views

Wouldn't a full node use nearly the same space for large or small block sizes?

I keep hearing that a larger block size for Bitcoin increases the network weight for full nodes, i.e. more hard drive space required for full nodes. And hence it would make less full nodes, and so ...
1
vote
1answer
901 views

nBit to leading zeros in Block Hash

I am trying to understand how can I check if my Block Hash satisfies or not the nBits. For example, for block 506679 (https://blockchain.info/block-index/506679): nBits: 404454260 Block Hash: ...
2
votes
4answers
374 views

Theoretical block prediction

Theoretically speaking: I take a random hash as a previous hash and compute whole block of hashes. I'll wait for work on some mining pool until by some miracle this hash will be generated. Would I get ...
3
votes
1answer
306 views

What algorithm do bitcoin miners use to choose which tx to include in their block?

I understand it's in the miner's best interest to receive as many fees as possible for his hopefully-accepted block, hence it should include the most rewarding (fee / size) txs - up to the 1MB limit. ...
1
vote
1answer
537 views

Are the vin and vout from multiple transactions related?

Note: I am using regtest for the code in this question, so it won't be the actual block I am trying to crate a block viewer that shows what transactions there are, and what addresses where sent to/...
0
votes
3answers
341 views

After sending/flooding transactions, how do we know that a specific transaction is on all nodes?

In the book "Mastering the Blockchain" by Imran Bashir, it says that a transaction's life cycle is the following: A user/sender sends a transaction using wallet software or some other interface. ...
1
vote
2answers
421 views

What is the “certain criteria” to be a valid Bitcoin block?

I'm looking for information about Bitcoin. And I read this, it's really helpful. I already asked the question and many of you guys said it's duplicated, and link to the question "What exactly is the ...
1
vote
1answer
93 views

How does number of transactions in the block affect it's mining time?

Does number of transactions in the block affect it's mining time? How and why?
1
vote
1answer
132 views

How is mining time validated?

New target is calculated from the T(new_block-1) - T(new_block-2016). Here T is the time miner mined the block. Miner itself sets this time for the block. Thus miner can falsify this time. I see a ...
0
votes
1answer
88 views

Block validation files?

Which part of the code is responsible for validating blocks? I'm working on a BIP to modify the structure of block.h, and I think that would definitely affect the validation process. Can anyone point ...
1
vote
1answer
359 views

How to access Blockchain remotely for statistics study?

I would like to write small paper supported by Blockchain stats. Could you tell me how to access blocks chain remotely via GUI to make a query ? Blockchain's size is 159GB as of today, so download is ...
0
votes
1answer
170 views

Bitcoin Blockchain block time [duplicate]

From Bitcoin.org The peer-to-peer network allows block time to be up to two hours ahead of real time, so a locktime transaction can be added to the blockchain up to two hours before its time lock ...
0
votes
2answers
247 views

At which point and how does the miner who successfully solved hash get coins? [duplicate]

When miner creates a valid block he broadcasts that to the network. It can happen that someone else did the same. So we have half nodes think that chain+A is correct, and other half that it is chain+...
2
votes
2answers
805 views

Why are transactions grouped into blocks? (how are transactions put into blocks)

Why are transactions grouped into blocks (PART 3)? Lets say we have just put a block on the blockchain. Now miners start forming new blocks and try to guess new hash values. The miners are putting ...
1
vote
2answers
467 views

Why are transactions grouped into blocks?(puzzle creation)

Why are transactions grouped into blocks (PART 2)? Let's say we have just put a block on a chain. At that moment does a protocol create a new unique puzzle to be solved? Is the new puzzle known ...
1
vote
1answer
396 views

Merkle Root for 1-transaction block!

I know that merkle hash for one transaction tx is: sha256(sha256(tx)) In this block: https://blockchain.info/block/000000000000000001291219dde8ed705903e8c101f416c68a439e5171ede5bc there is only one ...
1
vote
2answers
759 views

BlockChain scalability: How does BlockChain process multiple parallel transactions?

I just did some introductory research into blockchain technology and this is a breakdown of my understanding of how it works: Scenario: Assume Trump wants to send Obama 5 bitcoins. As soon as this ...
0
votes
1answer
369 views

Finding new Block

I need to know how miners try to find the next block hash... First, they choose list of transactions to be included in the block, calculate [Merkle Root], set current Timestamp, then start Nonce=1 and ...
5
votes
2answers
713 views

Which block has the lowest hash? [duplicate]

Which block has the lowest hash currently? Is there a website that allows to sort blocks by hash?
1
vote
1answer
264 views

How does Bitcoin know if enough BTC are available for an account to allow a transaction?

Let's consider this simplified blockchain: BLOCK 108 address ddd111 received 2 BTC by mining block 108 BLOCK 109 address abc123 received 2 BTC by mining block 109 BLOCK 110 address xyz999 created ...
1
vote
1answer
41 views

What happens to witness blocks?

What happens to witness blocks after they are broadcast to other witness nodes? Are they kept or forgotten after some blocks?
0
votes
2answers
270 views

how many miners should validate a block before its considered valid?

How many miners should validate a block before it gets added to the blockchain? Or does every miner add the blocks it receives to its local blockchain?
2
votes
2answers
62 views

In blockchain, particular bitcoin why is difficulty not part of the Block but merkleroothash is

After some consideration I came up with two assumptions, please correct me if I am way off here. The merkleroot being part of the block information is a validation shortcut? Difficulty not being part ...
1
vote
2answers
340 views

Longest-time-verifying block

I heard that there was an old block with one transaction and it takes 20 seconds of CPU time to verify. 1) Which block was it? I forgot its block height. 2) Is there a block that takes more time to ...
2
votes
1answer
2k views

How get raw block data?

I can use getblock json rpc method to get parsed block, but I need raw data. Is there any way to get raw block data using bitcoin core?
4
votes
1answer
576 views

How to mine first block of POS coin

I have tried in all the way to do this by using google and other things .but not find something that give me complete idea for doing this . i have created genesis block successfully and coin is ...
4
votes
2answers
520 views

What is the mechanism by which the 'system' adjusts the difficulty of finding blocks so one is found on average every 10 minutes? [duplicate]

Here we read: In the Bitcoin network, only blocks with certain hashes get accepted and included in the official list. The criteria for which blocks "count" is that their hash has to be below a ...
1
vote
2answers
423 views

Can I increase or decrease the block reward an year after launching my altcoin?

Can I increase or decrease the block rewards or coin per block once I make my coin public and people start mining it.
7
votes
2answers
1k views

What would happen if two blocks had the same hash?

Consider the following scenario: January 2016 block A gets submitted. Its hash is 0001010. January 2017 block B gets submitted. Its hash is also 0001010 (collision). 10 minutes later, block C gets ...