We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [block]

This tag should be used for questions related to Bitcoin blocks

Filter by
Sorted by
Tagged with
-1
votes
1answer
19 views

Pertaining to slushpool mining . What is the most lucrative way to vote ? Or does it matter

What is the most lucrative way to vote on slushpool? Or does it matter
2
votes
2answers
711 views

Difference between transaction chain vs blockchain

What are the difference between transaction chain in bitcoin and blockchain used in bitcoin? Is it sufficient to say to each transaction refers to previous transactions in the transaction chain and ...
0
votes
1answer
235 views

Can miner send garbled block height?

This previous answer shows that BIP34 adds block height as one of the fields in a coinbase transaction of a block. This question is about whether block height is calculated fully independently by each ...
1
vote
2answers
66 views

Does a node validates a transaction that comes with a block if it's already in its mempool?

Except for checking for double spends, if there's a transaction in a block that's already in the node's mempool, it can theoretically skip its validation. Does it actually happen, or the nodes ...
0
votes
2answers
45 views

How can coinbase transactions be created?

How can a coinbase transaction be created and what would happen if there was more than one coinbase transaction in a block?
1
vote
0answers
136 views

What is BIP34Height and BIP65Height? [duplicate]

I am looking at the litecoin code and i cant seem to understand these lines. I am learning to create a new coin. What exactly is BIP34Height and BIP65Height and BIP66Height? What is the purpose and ...
1
vote
1answer
41 views

Why is explorers shows different difficulty values?

Just take a random block for example, for block 506068, blockchain.info shows difficulty as 2,603,077,300,218.59, while blockcypher shows 392,962,374, do the explorers use a different way to calculate ...
0
votes
1answer
304 views

Analysing the raw block Hex file but I can not find the expected information

My goal is to understand better, how transactions and blocks are built raw. For that, I found several questions and answer here on StackExchange, but the best for me was this post: Download single and ...
1
vote
0answers
54 views

Segwit and block size limit

I'am learning about Bitcoin and I didn't understand something. Maybe someone could clarify. I [think] I understood what Segwit does (increases block size, solves malleability and works better with ...
1
vote
1answer
182 views

Which elements of a block are hashed?

Other than the previous block hash and nonce data, which elements of a block are concatenated in order to be hashed?
0
votes
2answers
109 views

Bitcoin Core LevelDB Index saves forked blocks

I've noticed that bitcoind will permanently save unverified blocks that it receives even if they turn out to be small blockchain forks, likely occurring from the relatively simultaneous discovery of ...
2
votes
1answer
65 views

In what circumstances would a block appear in the Leveldb .ldb index but have no data in a .dat file?

I've observed this behavior with Bitcoin Core v0.15 while parsing the LevelDB index in .bitcoin/blocks/index. It is also a situation that is obviously accounted for in the Bitcoin Core source code ...
0
votes
2answers
60 views

Does blockchain have any value if you trust all nodes?

If we are designing a new project or application whatever it is, and you can trust all nodes, should we still consider blockchains in the architecture? I saw this video of IBM and I was wondering ...
2
votes
1answer
484 views

Decoding a Block beyond the Coinbase transaction

I am attempting to decode a Block and have managed to decode the Coinbase transaction but after the transaction, there is huge gaps in them that I do not understand. Taking this Block as a sample: ...
1
vote
1answer
1k views

What are layer 2 protocols?

People often talk about building a protocol “on top of” the bitcoin blockchain. Those same people often call this building a layer 2 protocol. To be clear, “on top of” is clearly metaphorical ...
0
votes
1answer
225 views

What means discovering a block? [duplicate]

I'm reading about the miners and it always says that the miners are rewarded when a block is discovered. What is that? What they discover are new bitcoin pieces, isn't it? When they find a new ...
2
votes
1answer
262 views

How to handle incomplete blocks when reading blk*.dat files?

I'm trying to write a parser for blk*.dat files from scratch. Right now, I can read blocks, extract the header fields and calculate the correct block hash based on the header fields. I just tried to ...
1
vote
1answer
29 views

Why the system does not try to optimize and put maximum number of transactions in blocks?

If the reward to add a block is the same, why the system does not try to optimize and put maximum number of transactions in it? I saw an example block where there was only one transaction in it. ...
0
votes
2answers
450 views

How similar is Blockchain (as a data structure) to double linked list?

I came across this definition of Blockchain from Oleg Andreev , who is the protocol architect of @chain - It felt like double linked list to me.
0
votes
2answers
61 views

Possible optimisation to bitcoin propagation

One of the main arguments for not raising the block size in Bitcoin is the fact that larger block size means slower propagation. The most space consuming section of the Bitcoin block is the data of ...
1
vote
1answer
603 views

Submitting a block

We assume that trying to mine a block as of 2018 is like digging for gold with a plastic spoon. There are chances but remote if any, of success. That being said, if someone can get the info from ...
0
votes
2answers
70 views

Block number + bitcoin address -> Find transactions with bitcoind?

If I have a block number and a bitcoin address -> Can I list all transactions for this address with an bitcoind command? Or mutliple commands?
0
votes
1answer
735 views

How does the bitcoin exactly prevent Double spending attacks?

I recently started reading about Bitcoin, the idea seems hard to get, and I'm trying to understand the basics now. I read the white paper by Satoshi Nakamoto but I still have some confusions First, ...
3
votes
2answers
1k views

What is the difference between Root Hash and Block Hash?

I was reading about how Bitcoin works from Satoshi's original paper. I had a query while going through the 7th paragraph. What is the difference between Root Hash and Block Hash? Isn't the block hash ...
2
votes
1answer
115 views

Why do some blocks not have Miner's name/identity?

I was going through blocks on Block explorer and I saw that some of the blocks were containing the miner's name and some were not. What is the reason behind this? See this sample block for an example....
0
votes
1answer
50 views

Determining total blocks solved

How do you determine the total blocks solved among all clients in the source code of an Altcoin? Is there a file in the code that can be viewed to see how many blocks have been solved in the meta data?...
0
votes
1answer
23 views

Is there any python lib could be used to analysis the local block data?

Just downloaded all the block files to local and want to try some analysis on the transaction data in the block. is there any python library can be used to do the analysis?
0
votes
1answer
59 views

P2Pool Missing BTC Reward in Block History

I have been studying the block history for P2Pool here: http://p2pool.org/stats/?blockoffset=40 over the last several days. I noticed that bitcoin reward for each recent block is blank until 459871 ...
-3
votes
1answer
54 views

decentralized cryto currency without block time

Block time or delay is often a problem in Bitcoin. Then would it be possible to develop a decentralized cryto currency with zero delay/block time? Any reference will be appreciated.
0
votes
1answer
65 views

Why different coins have different number of confirmations?

Does it have to do with the block difficulty? What factors impact the number of confirmations that is considered to be safe in a bloc
0
votes
1answer
94 views

What makes the block time of a certain coin shorter than the other? [duplicate]

What are the factors that impact the block time of a certain coin? Is a shorter block time always better or there's a trade off?
1
vote
0answers
275 views

Bitcoin ABC stucked on connect to peer [closed]

So i have a testnet bitcoin cash that i just put txindex=1 (because a api requires this) and it stuck on block 1155875 and I restart the core and even follow the step in this thread: https://www....
0
votes
1answer
76 views

Is transaction time correlated to block generation time

As I unterstood in other answers (see https://bitcoin.stackexchange.com/a/8922/74399), a transaction is added to the blockchain, once a new block has been found/generated. The average time between ...
0
votes
1answer
75 views

What is happening to the none approved transactions?

Every 10 minutes only 1MB of transactions are been approved, so what happened to the rest of them? Let's say my transaction was not entered into the block, can I be sure that no one is going insert it ...
4
votes
2answers
3k views

The role of timestamp

In Satoshi’s original paper, it is written that “we need timestamp to prevent double-spending”. However, I think timestamp is unnecessary, because every block has a previous block hash and merkle ...
0
votes
1answer
72 views

A part I do not get about SPV

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 ...
1
vote
2answers
103 views

How is a transaction created?

( I have almost no background of coding, so please explain this in relatively easy words :) ) I want to know what are pubkey script, signature, full public key and the roles of these. Specifically, ...
0
votes
2answers
84 views

Is it true that bitcoin could be extremely slow?

I am trying to understand the algorithm of bitcoin. Let A be a node, and let (...,T_0,T_1,T_2) represents a block chain that A has at some time. Here, T_i designates a block which was created at the ...
0
votes
1answer
76 views

How is a “reward” encoded in a block?

If a miner creates a block including an appropriate hash value, then he sends it to all nodes, and each node verifies if this is correct or not and add it to the previous block chain if this is chosen ...
0
votes
1answer
115 views

What exactly is a block? [duplicate]

I am trying to understand the Blockchain algorithm used in Bitcoin. I do not get the part how blocks are created. Let’s say transactions occur at some time. Then, if some nodes get these ...
1
vote
1answer
150 views

Why do we inverse the hash of the blockheader?

Let's pick this example blockheader-hashing in Python: from hashlib import sha256 import hashlib header = "...
0
votes
3answers
533 views

Could I theoretically mine a block faster than 10 minutes?

I have been reading a lot about this 10 minute block in the Bitcoin network. I'm slightly confused because I thought mining was a somewhat random process, mostly based on how powerful your mining ...
0
votes
1answer
57 views

Confirmations in block and trasaction

From the bitcoin RPC, both gettransaction and getblock returns a confirmation number in their response, are they always the same? Is there a case a transaction's confirmations isn't the same as its ...
0
votes
0answers
26 views

Who actually gives the miner his Bitcoin reward? [duplicate]

I've read that calculating how much Bitcoin you have in your wallet is going through the ledger and computing who has given Bitcoins to you and who you have given Bitcoins to. Correct me if this ...
0
votes
1answer
78 views

What happens to a spent Bitcoin that was earned from a chain replaced by a longer chain?

Let's say miner Moe mines a block taht is accepted by the network. Moe presumably receives some Bitcoins in his wallet for this. So let's say Moe "spends" that Bitcoin by buying some anti-poking ...
0
votes
1answer
277 views

How can I mine a specific block?

How can I set my miner to mine a specific block? like: Block: 496705 I have tried looking in ccminer options for that it looks like there is no option like that.
11
votes
6answers
6k views

So I mined a block, but why would other nodes accept my mined block?

When a miner finds a hash and is thus able to confirm a block of transactions, that miner will then broadcast the confirmation (block?) to the other Bitcoin nodes so that it can be added to the ...
0
votes
1answer
62 views

If you have two chains of same length and you add your block to one chain while n/w selects the other [duplicate]

If you have two block-chains of same length and you add your block to one chain while the network selects the other chain, what happens to the transactions in your block ?
3
votes
2answers
409 views

How do Bitcoin mining pools send their miner's their share of the block reward

In most bitcoin mining pools, miners of a pool are sent their portion of a block reward that the pool collectively mines, every 30 minutes or 1 hour. How exactly does a mining pool tell the Bitcoin ...
2
votes
3answers
607 views

How to read the transaction of a block?

Given this example block (it's the genesis block by the way): ...