Questions tagged [block]

This tag should be used for questions related to Bitcoin blocks

Filter by
Sorted by
Tagged with
2
votes
1answer
47 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
55 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
61 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 ...
11
votes
4answers
15k views

Can there be a blockchain without mining?

This is a question about Blockchain in general, not about Bitcoin as a currency on top of Blockchain technology. Let's say I want to issue a vote on top of, lets say, multichain. I would issue an ...
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
vote
3answers
5k views

How to install Abe?

I've downloaded Abe and ran python "setup.py install". There were no errors. But what's next? I didn't find any guidelines on how to run Abe in README.
0
votes
1answer
89 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 ...
3
votes
2answers
489 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 ...
3
votes
1answer
625 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 ...
-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
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 ...
1
vote
2answers
75 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
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
925 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 ...
1
vote
0answers
162 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 ...
0
votes
1answer
404 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
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 ...
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 ...
1
vote
2answers
694 views

How exactly does a block get constructed and verified?

From what I understand, a new block contains all the transactions within the last 10 minutes. So when Alice sends Bob 10 BTC, how does this information get put onto the newest block? I guess I am ...
1
vote
0answers
60 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 ...
3
votes
1answer
330 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
216 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 = "...
1
vote
1answer
224 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?
1
vote
1answer
584 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/...
2
votes
1answer
83 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 ...
1
vote
1answer
2k views

How to start working with blk*.dat data?

I have the complete bitcoins block data (blk00000.dat, blk00001.dat.....). I want to convert it into some readable format like csv or json. Can it be done using python or any other software ?
2
votes
1answer
675 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
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. ...
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
339 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 ...
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 ...
4
votes
1answer
487 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
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
1answer
868 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, ...
2
votes
1answer
155 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?...
0
votes
1answer
63 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 ...
0
votes
2answers
209 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 ...
5
votes
6answers
1k views

can blocks remain capped to 1MB forever?

this is perhaps more of an economics question than a bitcoin question, but i'm wondering if it would be viable to leave the block size capped at 1MB for all time and simply let a series of rules ...
0
votes
1answer
61 views

What is the implication of Induced Demand for Bitcoin scaling?

For the purposes of this question the working definition of Induced Demand is taken from Wikipedia: Induced demand, or latent demand, is the phenomenon that after supply increases, more of a good ...
0
votes
1answer
96 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
341 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
2answers
89 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
102 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
121 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 ...
0
votes
2answers
382 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 ...

1
3 4
5
6 7
12