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
0
votes
0answers
25 views

Mining pools communicating outside of network

Does anyone know of any papers / evidence of bitcoin mining pools communicating outside of the bitcoin network for financial gain? It seems plausible in practice, but I am not sure if that has ...
0
votes
0answers
20 views

Why stratum's data previous hash has that specific byte ordering?

I am doing some tests to understand the stratum protocol. If I connect to a stratum pool (slush in this case), and check the data I receive after mining.authorize, I get the following previous hash: ...
0
votes
2answers
58 views

Is it possible to mine bitcoins faster on CPUs with this strategy?

This guy on bitcointalk.org suggested a potentially faster method for mining bitcoins using CPUs: https://bitcointalk.org/index.php?topic=265759.0 To quote from the author: "Rather than ...
0
votes
1answer
30 views

If I were executing a 51% attack, would I be broadcasting my state of the network to nodes?

In the scenario where an entity has control of greater than 51% of the hash power and wishes to build a longer chain where they double-spend previously confirmed transactions, do they broadcast the ...
0
votes
1answer
26 views

Calculate the hash of mined block using stratum parameters (coinb1, coinb2, xtranonce1…)?

Miners get several parameters from the stratum pool: coinb1, coinb2, xtranonce1, xtranonce2... according to here. I wonder if it is possible to reproduce the hash of one already mined block, but ...
1
vote
5answers
503 views

What prevents a miner to be ignored by the other participants?

What prevents that certain miners and the blocks they can contribute to the chain are not ignored? What do the other participants in the network gain from accepting their answers to the puzzle?
0
votes
1answer
33 views

What is the SPV Mining Exploit?

Can anyone explain this simply? I am not finding enough explanation exactly on this type of attack. If possible, add some additional reading to your answer so that I can understand more.
0
votes
2answers
47 views

Will this bitcoin mining strategy work?

I'm new to bitcoin, and my knowledge of bitcoin is quite garbled and messy (I have only a vague understanding of Satoshi's original white paper for bitcoin......) I've been reading up on bitcoin ...
2
votes
2answers
38 views

Is it possible to have a modified Proof of Work that does not require as much energy to secure the blockchain?

As more ASICs hash away for acceptable difficulty, the difficulty keeps rising over time. Greater difficulty means to me that more electricity is used to secure the Bitcoin blockchain. Are there ...
3
votes
1answer
350 views

Bitcoin migrating to a ASIC resistant mining algorithm like RandomX used on Monero

What would need to happen for Bitcoin to fork to a ASIC resistant mining algorithm like RandomX used by Monero for CPU mining only?
0
votes
1answer
45 views

When does a miner get the reward?

Let's suppose that a miner mines a block and adds it to the blockchain. When it gets the reward ? I suspect that first of all the other nodes have to verify that its proof of work is correct and it's ...
0
votes
2answers
32 views

How Bitcoin mining contributes to confirmations?

Based on my knowledge I know (maybe wrong) when a miner is doing hash, he is inputting any arbitrary values, in order to get a value that can be hashed into something with certain preceding zeros. ...
0
votes
1answer
35 views

Mining process in a blockchain

Let's consider a blockchain. They mining nodes are listening to transactions and every one is building is own block. Due to latency and other issues, every miner is probably building a different block,...
0
votes
1answer
26 views

What would the effect of a very long bear market be on the Bitcoin economy?

I don't mean to be a doomsday prophet or spread FUD, but I need to know if Bitcoin (or any PoW coin) investors should be concerned about the following scenario: Assume Bitcoin goes in a very long ...
4
votes
0answers
48 views

Can we measure bitcoin's accumulated work in terms of entropy (in bits) directly rather than expected number of hashes?

The Background Bitcoin tracks chain work by counting the (expected) minimum number of hashes it would take to create a chain of the same number of blocks and same difficulty steps[1]. Naturally, ...
0
votes
1answer
84 views

Is mining a fair mechanism in blockchain network?

As we know, propagation of a new block in blockchain network has some delay and many nodes receive the new block later. so if it is that the first one who finds the nonce properly wins the block can ...
1
vote
1answer
32 views

Why does it make sense for mining pools to send empty blocks to miners in Stratum v1?

I am reading the recently released specs of Stratum v1 versus Stratum v2. One of the features is that "it is equally as efficient for pools to send full blocks for miners to begin working on as it is ...
1
vote
2answers
56 views

Bitcoin mining process

Can someone please explain these fuzzy understanding? I am trying to implement my proper demo application of blockchain, but now I discover that many concepts are not that clear.. 1- how do miners in ...
0
votes
2answers
30 views

Bitcoin mining process-the leading zeros before the hash-how is the mining puzzle solved exactly?

Can someone please explain: In Bitcoin proof of work, mining is done to create and validate new blocks. Who becomes the sole block producer is subject to winning a "mining puzzle". As I understand, ...
0
votes
1answer
14 views

how the miner start to count the timestamp to insert in the block

I have a doubt, how the miner starts to count the timestamp to insert in the block. An example the timestamp insert inside the genesis block is 1/3/2009, 7:15:05 PM GMT+1. If the genesis block would ...
0
votes
0answers
25 views

what prevents a miner from adding a false transaction to a block and then adding it to the block chain in PoW? [duplicate]

Here is what I understand, the step to PoW are: step 1:Miner select some transactions from its mempool. step 2:Miner tries to create a block and then broadcasts it if successful. step 3:Other ...
0
votes
1answer
45 views

How long does it take to find a UTXO in UTXOs set?

to validate a TX, the miner or full node should first find the UTXO. How long does it take to find a specific UTXO in a list of UTXOs set? Right now, there are around 100 million of UTXOs. Then, how ...
0
votes
0answers
30 views

How can we find the hashrate distribution of different pools? [duplicate]

we can see that different websites propose some graphs in which the hash rate distribution is depicted, like the attached Figure. 1) I want to know that how do these websites approximate this ...
0
votes
1answer
61 views

Who can predict that a benign attacker has 51% hash rate of the system?

In the Bitcoin network, suppose that there is an attacker who has 60% hash-rate (hr) and then other users have 40% hr. Therefore, it is obcioust if other users generate any new block, attacker can ...
1
vote
2answers
27 views

what is the most suitable time interval for updating information on a block while mining the block

So, Bitcoin block consists of some static (magic number, version, previous hash...) and dynamic (timestamp, Merkle Root, transaction count and transactions) elements. What I don't understand is if we ...
3
votes
3answers
96 views

Don't miners control who is allowed to make transactions?

Simple question really, considering theres a very small group of miners controlling the chain ATM. Whats to stop them from being forced by the goverment to disallow certain transactions or just mining ...
1
vote
1answer
30 views

How to transfer hash power from one pool to another

Is it possible to transfer hash power from one pool to another? If yes, how?
1
vote
2answers
44 views

How do more leading zeroes make it more difficult to find a block?

A couple of articles describing the process of mining do say that the more miners are in the network, the more 0 numbers are included in the encoded hash of the particular block. I cannot find an ...
3
votes
1answer
37 views

Could a malicious attacker subvert the Bitcoin network by failing to create a block?

I know its astronomically improbable, but say a malicious node "wins" the proof of work inherent to the Bitcoin protocol. If a malicious node simply waited indefinitely, or maliciously disconnected ...
2
votes
2answers
58 views

Who will be the future miners?

We know that the bitcoin for mining a block is going to converge to approximately zero as the number of bitcoins will be almost constant after a certain amount of time. So, mining will no more ...
1
vote
0answers
41 views

What is the formula for inferring hash rate from difficulty and block frequency?

Two parts to this question 1/ There have recently been concerns over drops in hash rate observed on sites such as blockchain.com. However, my understanding is that hash rate is inferred from the ...
0
votes
1answer
31 views

How the difficulty of the network affect the average block mining time if we have static hash power?

Let's suppose that I have 500 KH/s of hash power overall from my mining rig. I'm about to start mining coin X and its network difficulty is Y. Current hashrate of the whole network is 100 KH/s and ...
0
votes
1answer
57 views

If I have 51% of the capacity of the entire network, can I mine absolutely all the blocks faster than the network?

I'm really wondering can I mine absolutely all the blocks in the network faster than rest miners with their 49% hashing power not for the purpose of conducting double-spend attack?
1
vote
3answers
58 views

when a miner solves the problem in less than one timestamp then what does it do with its extra capacity?

If a miner solves the problem in less than one second then how does it use the extra capacity.
4
votes
2answers
897 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
23 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
0answers
27 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 ...
1
vote
1answer
53 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
1answer
29 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
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
37 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 ...
0
votes
1answer
52 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
1answer
36 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
53 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' ...
0
votes
1answer
32 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
104 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 ...
1
vote
1answer
41 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. ...
4
votes
1answer
79 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
28 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 ...