We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [mining-theory]

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

40 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
176 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 ...
3
votes
1answer
368 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
275 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
60 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
98 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
2answers
56 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
28 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
34 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
0answers
49 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
0answers
138 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
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 ...
1
vote
0answers
39 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
121 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
245 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
249 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
127 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
258 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
181 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
1answer
55 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
1answer
23 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 ...
0
votes
0answers
23 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

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
38 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
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
0answers
32 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
0answers
37 views

Locating Bitcoin mining activity

There is any systematic way to locate Bitcoin mining activity (either block creation or node activity). I stumble upon with Bitnodes code which implements a recursive search using some nodes as "seed",...
0
votes
2answers
106 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
59 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
0answers
37 views

Why this alternative method to mining will fail?

From what I understand, we need mining to validate the block, we need the proof of work to limit the number of miners can add a block, and we need the block interval to give time to the new block to ...
0
votes
1answer
220 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
107 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
1answer
195 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 ...
0
votes
0answers
194 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
140 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
66 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
59 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
85 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
699 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 ...
-3
votes
2answers
127 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 ...