Questions tagged [block]

This tag should be used for questions related to Bitcoin blocks

Filter by
Sorted by
Tagged with
0
votes
1answer
71 views

Full node storage requirements for new 2MB block which is only 10% full

If blocks were 2MB, and a 2MB block that is only 10% full gets confirmed, then how much additional storage is required on a full node? I am guessing the correct answer here is 200K? Thanks in ...
1
vote
1answer
401 views

In Math or Python notation - How to convert bits to difficulty?

Questions What are the equations to convert between bits and difficulty? & understanding bits and difficulty in a block header ask how to convert between bits and difficulty. Unfortunately, I ...
0
votes
1answer
116 views

Would mining future bitcoins break the bitcoin?

assuming an bitcoin miner with very much hashrate like bitmain would decide to mine "future" bitcoin blocks and provide them within very short time to the network, would this break the bitcoin? As i ...
1
vote
4answers
61 views

Why blocks are validated instead of transactions?

In most of the conventional blockchains, blocks are validated instead of transactions. Why cant' transactions validated directly? The structure of basic blockchains are linked lists, by having DAGs, ...
0
votes
1answer
73 views

How are mined blocks broadcasted in a distributed environment?

I understand that after the golden nonce is found by the miner he broadcasts the block and the other miners verify it. But I don't understand how they broadcast it because bitcoin is completely ...
3
votes
4answers
386 views

Why miners need to broadcast blocks that contains full transactions in Bitcoin?

Does anyone know why Bitcoin requires miners to broadcast blocks that contains full transactions? When a user want to make a payment on Bitcion, he/she needs to broadcast a signed transaction, and ...
1
vote
1answer
56 views

When we're calling `getrawtransaction` how does Bitcoin-core calc and verify confirmations?

if a transaction has 10 confirmation, does bitcoin-core check if the txid exists in the last 10 blocks? or its calculated based on transaction block number?
0
votes
2answers
2k views

How to decode the block hash?

I got the block hash from zmq. 00000000000000000045c639280aee532c5b12b03c80bfdec7aae674fd8246e0 I want to decode the above block hash. Could anyone tell me how to decode the above block hash?
2
votes
1answer
48 views

Is transactions in bitcoin blockchain always coin transaction?

I'm new to crypto currencies correct me if I am wrong, when I checked the block explorer I found a single block contains nearly 2300 transaction in it and I think at an average every 10 minutes a new ...
0
votes
1answer
32 views

How bitcoin wallets connected between

I'm thinking, is it dangerous to buy bitcoin, in case if government want to block it? How bitcoin wallets connected between? If I'm right - there are support servers, who providing connection between ...
0
votes
1answer
56 views

Requesting Blocks

I've been thinking about this for a while and can't seem to understand part of the network. Lets assume that I'm a node that has been offline for 5 months and I want to retrieve the new blocks. When ...
0
votes
1answer
42 views

is it possible to retrieve some block transactions using bitcoin-core?

I'm trying to fetch specific block transactions, is it possible to do so using bitcoin-core? for example block number: 517716 can I get hex transactions or even just the txid's of that block?
0
votes
1answer
1k views

How to alter user's data in block in blockchain if i want to change user's details

In blockchain each user's data stored in seperate block, right? If I have created my own blockchain and i want to alter some user's data then I would need to alter some perticular block as I have ...
-1
votes
1answer
24 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
1k 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 ...
1
vote
2answers
78 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
53 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
170 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
411 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
62 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
225 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
145 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
88 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
75 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
692 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
409 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 ...
3
votes
1answer
503 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
30 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
667 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
1k 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
78 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
876 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
2k 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
163 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
51 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?...
1
vote
1answer
32 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
64 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 ...
-4
votes
1answer
57 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
67 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
97 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
348 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
99 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
76 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 ...
5
votes
2answers
4k 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 ...
1
vote
2answers
123 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 ...
1
vote
2answers
119 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
90 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 ...

1 2 3
4
5
12