Questions tagged [mining-theory]

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

39 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
57 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
72 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
1answer
376 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
332 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
70 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 ...
1
vote
2answers
37 views

Can an unsynchronized node create a valid transaction?

I'm trying to understand how bitcoin transactions work. From what I understand, in the Bitcoin network nodes hold different versions of the Blockchain and after some time the different chains start ...
1
vote
0answers
59 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
1answer
50 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. ...
1
vote
2answers
303 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 ...
1
vote
0answers
204 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
2answers
82 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 ...
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
128 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
253 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
259 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
129 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
271 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
2answers
58 views

How does the mathematical problem get harder for bitcoin mining over time?

How does it become harder for miners to extract bitcoin as time passes (excluding increasing computer capabilities and the competition between miners accordingly)? Is related to the amount of bitcoins ...
0
votes
0answers
28 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
27 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
73 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
39 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
40 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
90 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
0answers
15 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
0answers
47 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
75 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
0
votes
1answer
279 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
118 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
206 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
143 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
69 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
706 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
177 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 ...