Questions tagged [mining-theory]

This tag should be used for questions about the function, the reason for, and the underlying concepts of mining.

Filter by
Sorted by
Tagged with
4
votes
2answers
751 views

Which block header fields are miners able to change in an effort to avoid having to recalculate the Merkle Root?

In addition to the nonce and the Merkle Root, there are 4 other fields in the header - version, previous header hash, time and nbits. Assuming a miner does not want to change the merkle root because ...
0
votes
1answer
24 views

using rpccookiefile instead of username and password for antminers

I mine using username and password at the moment but as bitcoin core is changing over to rpccookiefile. My question is, if i use rpccookiefile how do i point my antminers to my local bitcoind 'pool' ...
3
votes
1answer
168 views

Can Undercutting attacks be Mitigated?

An Undercutting attack as described in this paper, is a mining strategy which involves producing new blocks not on the longest known chain, but instead 'undercutting' the longest chain by building a ...
4
votes
1answer
74 views

How has the Bitcoin average block size recently risen above 3 MB?

I was aware that the block size could rise above the 1 MB cap due to SegWit. However, my understanding was that the block size would still be limited under SegWit. My understanding of SegWit is that ...
0
votes
1answer
30 views

Mining operation calculation

My goal is to understand bitcoin. I have read what happens during a transaction and have a question about it: When a transaction happen, the miners compute a value called "prof of work". This value ...
19
votes
6answers
7k views

51% attack - apparently very easy? refering to CZ's “rollback btc chain” - How to make sure such corruptible scenario can never happen so easily?

I was shocked to see binance CZ comment to literally "roll back" the bitcoin chain by just "calling" in some favors from "friendly" Asian miners . This ONE person could effectively do it??? I mean ...
0
votes
1answer
22 views

How can size of a block be significantly small? [duplicate]

As we all know bitcoin block size should be sth about 1MiB. (Some blocks about 2MB). And this is because miners put all transactions to the block every 10 minutes. So what happens technically that ...
0
votes
1answer
194 views

A different way to create coinbase transaction

AFAIK when a miner succeeds in creating a block, he puts a special transaction (coinbase) in it which spends no input and sends a fixed amount of BTC to an address he can arbitrarily specify. Instead ...
7
votes
3answers
5k views

What Value does mining provide?

After reading the O'Reilly book and perusing online resources, I'm still confused about the value that the actual mathematical mining provides to Network (I understand it does provide value, but not ...
1
vote
1answer
42 views

How many hash calculation is needed to reach one BTC?

What I am asking for is a formula and it's source of numbers to put in there and calculate how many hashes must be calculated to get 1 bitcoin today(or every other day in future)? For example, if I ...
0
votes
0answers
21 views

Are miner builder/sellers profitability calculations true?

regarding to this question here How many hash calculation is needed to reach one BTC? , it takes about 1387 years with 1 TH/s power rate to reach 1 BTC. So if someone has a machine with 53TH/s power ...
0
votes
1answer
26 views

Why all miners produce the same blocks

My understanding is that all miners are feeded with transactions published by full node servers, but I didn't understand why they end up with exactly the same transactions in their created blocks ? ...
4
votes
2answers
1k views

Why is the winner of Pow different everytime?

I just read about how miners have to change the nonce bit in order to find an hash below a certain result. Granted each miner process it the same way, incrementally, adding 1 and hashing, adding one ...
0
votes
1answer
39 views

How can i enable mining

My goal is to understand bitcoin. I do not want to earn money with mining. I have a server without GPU (intel i5 with 4 cores) Here is what i've done: I have downloaded, maked and installed bitcoin ...
0
votes
0answers
17 views

How does proof of work works? [duplicate]

I am wondering how POW calculation is working ? Is it basicly a hash brute force ? So it is based on probability and luck for miners ? Thanks
0
votes
1answer
19 views

A question about transaction broadcasting and block creation

Let's say we have transaction X and transaction Y. The timestamp of X is chronologically earlier than that of Y. X's spender broadcasts X to the network and the same goes for Y's spender. Let's say ...
0
votes
1answer
55 views

Bitcoin blockchain minner

Q. Is it correct to state that a Bitcoin miner has only two jobs: validating transactions creating a block to add into the blockchain
1
vote
1answer
33 views

Timer-based consensus algorithm in blockchain

Assume that there is an algorithm that ensures: 1- That a full node chooses an honest random wait time. 2- That the same node has waited the specified amount of time before proceeding to mine a block. ...
0
votes
2answers
110 views

Besides greater probablity of discovery, are there other **significant** optimizations a of mining pool?

Besides the benefit of increased attempts, are there any other significant, measurable optimizations that mining pools provide? I'm referring to intrinsic functions such as non-duplication of failed "...
0
votes
2answers
88 views

Is it possible to generate(mine) a block with specific transaction via bitcoin-cli on regtest?

I want to generate a block with specific transaction via bitcoin-cli on regtest. The "generate" command does not have the option. It collects transactions in mempool by the default rule. I guess I ...
0
votes
1answer
216 views

Is there only one method? for miner and pool communication?

I tried doing some sort of filtering on XMRig using wireshark on an ETN pool and I found that XMRig was using login method of JSON-RPC 2.0, my question is does all miners use this method? By "all" I ...
1
vote
2answers
75 views

What happens when a node cannot find the base Block of a newly received Block

This particular question has been bugging my mind for sometime now. Suppose there an adversary miner who mines a Block with one of his transactions. The miner would only send the updated Block to a ...
0
votes
1answer
31 views

Miners conceding forks

When bitcoin forks, does anyone know how many blocks ahead one chain gets before the miners on the shorter chain concede? I am doing a research project on modeling Bitcoin, and I am wondering how ...
0
votes
2answers
55 views

Mining Probability

Assuming two miners have a (1/x) chance of finding a block over some time period, is the probability of both miners finding a block within that period simply (1/x^2)? More generally, would n miners ...
0
votes
1answer
37 views

What are the steps to overcome a state in which miners couldn't mine blocks?

The difficulty is set according to the total hash rate of the network. Is there a possibility in which miners just can't validate blocks (will not find hash that will satisfy the POW)? I understand ...
0
votes
1answer
26 views

When a new block is propagated, nodes validate from genesis block to propagated block?

For example, I have a nth block and when n + 1 th block is propagated, i have to compare with n+1 block's previous hash and nth block's hash for validation. It is pretty trivial. But do i have to ...
0
votes
1answer
48 views

Is there any guarantee that mining will be profitable?

I'm not a money person. I deal with it only out of necessity. So say I have $1000.00 worth of Bitcoin and decide to enter the world of "mining". What's the physical process on my end and is there any ...
0
votes
3answers
510 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 ...
7
votes
2answers
2k views

How to prevent a miner from stealing another miner's block?

Many articles only contain a phrasing like A miner A solves the hash problem and gives the result to the network to check. Once a majority of the network confirms, A gets the reward. But how does ...
1
vote
0answers
48 views

Will Bitcoin mining stop?

According to this site there are 3,260,162.5 bitcoins left to be mined. Do you know if eventually Bitcoin mining will stop after that? If yes which other cryptocurrency can be mined for ever? Thank ...
1
vote
1answer
55 views

Shorter Chains in blockdata

Assuming two blocks are published at exactly the same time, a race for the next block to be added to one of them begins, which eventually one chain will eventually win. My question: will the shorter ...
5
votes
3answers
712 views

Is bitcoin-gold more ASIC-resistant than Litecoin?

Bitcoin Gold's main point for existence has claimed to be ASIC-resistant in order to have mining power more distributed. But wasn't this tried already with Litecoin via Scrypt mining algorithm? I've ...
0
votes
2answers
25 views

Please guide what should i do

Am new in bitcoin world and didn't started it yet... A man from USA saying to create blockchain wallet n top up then share ur email n wallet address not login not password to connect my wallet to a s9 ...
1
vote
2answers
53 views

What would be the consequence of a constant network difficulty?

Say the difficulty of the bitcoin network was not variable. Then regardless of the network hash-rate, the mining puzzle will be the same. What would that mean in terms of the security and economics of ...
0
votes
0answers
14 views

Stochastically, fork can influence on block generation time?

I have known that we can calculate a network hashrate using ellipse time during 1 round(2016 blocks for adjusting difficulty) Stochastically, we can calculate a contribution of all miner for one ...
0
votes
2answers
39 views

Bitcoin transactions validation process

I have a general understanding of building blocks. But am hoping someone can fill in the details/gaps. Also, can you correct if something is not right? Thanks. Scenario: Bitcoin transactions are ...
1
vote
2answers
159 views

Mining: what is the lowest possible target? Could it be a block hash of all zeros?

I had a basic question about Bitcoin mining. I understand that as the bitcoin difficulty adjustment becomes harder the hash output will require more 0s in the beginning of the hash. Is it ...
1
vote
1answer
51 views

What is a relationship with total hash rate(hash power) and average block generation time?

This chart - hash rate means total hash rate of All minor? I think the most significant factor for difficulty and block generation time is the hash rate of the biggest mining pool not total hash rate ...
1
vote
1answer
38 views

Is Block Finalization a valid development to remove the threat of 51% attacks?

https://www.reddit.com/r/btc/comments/bq8cqo/btctop_currently_has_51_hashing_power/eo2p4md?utm_source=share&utm_medium=web2x A recent comment from a Reddit user in response to BTC.top acquiring ...
1
vote
1answer
33 views

What is stopping pool managers to fake a miner?

What if a pool manager introduces a miner that is not there and then uses the reward distribution?
44
votes
8answers
16k views

Can bitcoin exist without miners?

In the past year only, the bitcoin mining difficulty has increased fivefold. If in the coming years the difficulty increases so much that mining is no longer profitable (i.e. consumes more power than ...
0
votes
2answers
55 views

Is the time taken for the verification of a transcation not much relevant?

By verification I do not mean the puzzle solving/hash calculating part but the part involving searching all of the blocks to check if the transaction is valid or not? For example if A transferred ...
1
vote
1answer
40 views

Does the pool miners in mining pool receive the same block in case of a fork?

For example there are 2 mining pools A and B and they mined a block in same time. Then, A mining pool got a block that A mining pool mined? Or nodes in mining pool receive independently so they ...
6
votes
1answer
1k views

Why doesn't the same miner always win?

If the miner with the strongest ability to solve the block wins, why doesn't the same miner win every time? Wouldn't that miner still have the strongest ability to perform the proof of work on the ...
-3
votes
1answer
47 views

How do miners construct and submit blocks [duplicate]

1) Assume there are 20 nodes in network and all are receiving all transactions. Afterr 10 min they all pick transactions from their transaction pool and start creating a block. Now, will all nodes use ...
0
votes
0answers
31 views

Orphaned block probability ratio

The probability of orphaned blocks should also take into consideration the proportion of the total mining hash power that the miner has. If M_i and M_j are 2 miners with p_i= 2* p_j (proportion of ...
2
votes
1answer
87 views

How does the 51 percent or 2/3 majority voting rule work?

For a block to be added to the chain, it needs vote from majority of miners, is that correct? If yes, does that mean a single block gets worked upon by all of the miners?
5
votes
2answers
874 views

What is preventing me from simply constructing a hash that's lower than the current target?

I just started learning about Bitcoin, and something I can figure out is why miners have to use a random process (hashing a nonce) to get lower than the target. For example, if the target is ...
0
votes
2answers
50 views

Why dont' nodes change the block version number when the nonce overflows?

After computing 4 billion nonces, the miner is supposed to update the merkle root. Why don't they choose a new nonce and assign it to the block version number and begin again? It would save time and ...
0
votes
1answer
44 views

Bitcoin fork resolution - Fork losers download previous blocks 'til common block?

When resolving a naturally occurring fork in Bitcoin, do the miners who were working on the orphaned fork download previous blocks from the miner who won the block reward that resolved the fork until ...