Questions tagged [mining-theory]

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

36 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
65 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, ...
3
votes
0answers
74 views

Why can't Grover's algorithm be used for bitcoin mining?

Similar questions have been asked before: Can quantum computing improve Bitcoin mining? Can a Qubit Miner ASIC device be created and what would its impact be on the mining community? However, none ...
3
votes
2answers
389 views

Do multi-PoW currencies open up additional attack vectors on a blockchain?

I'm curious if there have been any technical evaluations of the vulnerabilities of cryptocurrencies that utilize more than one proof of work algorithm - for instance, myriadcoin or huntercoin. ...
2
votes
0answers
339 views

Calculating Hashrate / Threads correlating to Average Block Time

Wondering if anyone can provide some detailed fact based information on how pool mining using Fixed Difficulty affects the probability of N number of shares found over T time given the variables X ...
2
votes
1answer
79 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 ...
2
votes
0answers
105 views

Technical details of premining

I'm just kind of an enthusiastic beginner in this topic. I have created an altcoin using one of the many public available sources (cryptonote in this case). I want now to create a new coin with ...
2
votes
1answer
371 views

Mining algorithm in vb.net

I wanted to convert the following bitcoin mining python code to VB.net (2012) and I tried to convert it's functionality, but it throws some errors and I'm stuck as I even can't get the resulting value ...
1
vote
0answers
18 views

What is the relationship between bitmain-freq, Hashrate and Power Consumption?

I am running a few old miners (T9+) to heat my home and they are too loud and making a loss (which is ok, as I am interested in the heat). Following this suggestions (sticking with the standard ...
1
vote
0answers
80 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 ...
1
vote
0answers
224 views

Estimated number of hashes

This is not a duplicate of previous, similar questions I've read on StackExchange, since none of those questions, nor the answers, go into the difficulty theory, as espoused on the Bitcoin Wiki. ...
1
vote
0answers
43 views

Dividing miner reward over a k-length jumping window

Nowadays, a miner can gain more than another one even when they mine the same amount of blocks due to variance in tx fees. It's expected that, especially once the coinbase reward is gone, this will ...
1
vote
0answers
133 views

Bitcoin mining specification to write own mining application

Where can I find the design specifications to write my own mining application for mining bitcoin. More I read I find there are number of implementations and some pools only work with specific mining ...
1
vote
0answers
255 views

What parts of SHA-256 hashing an ASIC miner really does, and what remains a CPU job?

I know that ASIC does not perform transactions ledgering, it is a CPU job. I also know that SHA256 consists of two logical parts: a digest function, which reduces any big message, like ~1MB block, to ...
1
vote
0answers
260 views

how the FruitChains consensus works in bitcoin

I came across the paper FruitChains: A Fair Blockchain. The basic nakamoto blockchain algorithm seems to be slightly twisted with using fruits instead of directly inserting transaction in to the ...
1
vote
0answers
130 views

Minority Attack on Bitcoins

I read the first paper which described the bitcoins. Most of it is clear except for one thing. I tried to find solutions online but couldn't find it. I am completely aware of the implications of a ...
1
vote
0answers
274 views

New transaction, merkle tree change, when to decide what to include in new block

As I understand the merkle tree hash is a (semi)unique hash of the combination of the new transactions and the previous blocks hash. I'm assuming this hash changes when a new transaction is added to ...
1
vote
0answers
182 views

How has mining evolved since the start of Bitcoin?

Can someone post a detailed description on how mining has evolved since the introduction of Bitcoin all the way till today? I mean quantity of miners, hardware used, profits made, ROI etc. I guess ...
0
votes
0answers
17 views

Probability of hash yielding a valid block

I read today in a paper that for BTC every hash has a probability of yielding a valid block and that this is approximated by most of the time. Can someone explain to me how to come up with this ...
0
votes
1answer
36 views

How to create bitcoin coin , coinbase transaction?

I know about createrawtransaction '[{"txid":"0000000000000000000000000000000000000000000000000000000000000000","vout":0}]' '{"39jbHRLG6Z2KgXLHR3BWgbccZde1Moo15k"...
0
votes
1answer
31 views

Some miners set the nVersion field of the block header to 0x8000004. What were they signalling for? Was this an error?

Some miners set the nVersion field of the block header to 0x8000004. What were they signalling for? Is this an error? I have been through a lot of the BIP documentations, but cannot seem to find any ...
0
votes
0answers
38 views

Can D-wave quantum annealing computers mine bitcoin?

I'm not talking about quantum computers here, I'm talking about quantum annealing computers, which is quite different. According to Wikipedia, quantum annealing "is a metaheuristic for finding the ...
0
votes
0answers
33 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
1answer
82 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 ...
0
votes
0answers
44 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
44 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
0answers
49 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 ...
0
votes
1answer
317 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 ...
0
votes
0answers
126 views

How often should a mining pool be notifying workers about new work (cancelling current jobs)?

I'm trying to get a handle on the Stratum mining pool protocol. If I set up a mining pool client, I will initially get something to work on. Let's say it takes me a while (e.g. an hour) to solve the ...
0
votes
0answers
208 views

How generate a hex string for a block

I have written this code to create and submit a new minned block to the bitcoin network: unsigned long magic_number = 0xD9B4BEF9; unsigned long block_size = 89 + (strlen(coinbase_transaction)-1) +...
0
votes
1answer
146 views

which cryptocurrency using Slasher algorithm for Proof of Stake mining process?

Ethash algorithm for PoW mining process on my own cryptocurrency. I need to use Slasher algorithm instead of Ethash algorithm for Proof of Stake process. My question is Which cryptocurrency using ...
-1
votes
1answer
70 views

Why don't private blockchain networks that do not charge for transactions charge a fee when processing ethereum/ proprietary token on the network?

I ask this questions because there seems to be 2 flavors of blockchain: 1. Public think bitcoin and ethereum. 2. Private hyperledger, SAP Leonaro, etc. The public network charges for transactions to ...
-1
votes
1answer
61 views

What next after coin creation?

I am working on the new litecoin source 0.15.0.1. Change the required things in the source and compiled. I am able to generate the blocks. Now How I can add a miner to this coin/network to mine this ...
-1
votes
1answer
116 views

blockchain. How worked at the beginning?

I would know some things about the creation of a blockchain for cryptocurrency (I let assume for simplicity Bitcoins). I red online that miners verify the blockchain, and when they verify a block, ...
-1
votes
1answer
86 views

Wouldn't Bitcoin cause biased economy?

Whales, big miners, or those who hold huge amounts of bitcoin, if bitcoin becomes mainstream, won't big holders be like ultra rich people in today's world? Some holding lots of money, whereas some ...
-2
votes
2answers
712 views

Why don't miners act as nodes?

Why didn't bitcoin make miners and nodes one in the same? It seems that the miner computers are not being used at all in for the network. Also their gpu power is not being used for the sake of the ...
-4
votes
2answers
190 views

Farming with CPU in my Lan

I have recently built an internet network for my entire condominium to use for a very cheap price, and i thought, why not farm bitcoins with it using users CPU? I heard about coffee miners, but i ...