Questions tagged [mining-theory]

The underlying concepts and game theory of mining.

43 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
33 views

Timelocked bribing

Did anyone observe any instance of Timelocked Bribing in Bitcoin transaction? Are there any specific articles that points out that the attack has been mounted in reality?
Subhra Mazumdar's user avatar
3 votes
0 answers
135 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 ...
Biology nerd's user avatar
3 votes
2 answers
414 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. ...
jwinterm's user avatar
  • 225
2 votes
0 answers
21 views

Any man-in-the-middle (MITM) hashrate theft examples

One benefit of Stratum V1 to Stratum V2 is protection from man-in-the-middle (MITM) hashrate theft. Are there any documented examples of man-in-the-middle (MITM) hashrate theft in practice ? Like ...
WebOrCode's user avatar
  • 353
2 votes
0 answers
42 views

Mining with multiple pools

Miners pool their hashpower together to reduce payout variance. The larger the pool, the lower the variance, which unfortunately incentivizes centralization. Today, over 50% of the total hashrate is ...
Vojtěch Strnad's user avatar
2 votes
0 answers
513 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 ...
McFlySoHigh's user avatar
2 votes
0 answers
116 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 ...
Heis N's user avatar
  • 21
2 votes
0 answers
330 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 ...
BlockChange's user avatar
1 vote
0 answers
51 views

What determines the order of transactions in a block?

I've been looking at the live mempool on mempool.space, and while most transactions are sorted in order of highest sat/vB to lowest, I've noticed some that standout with extremely high sat/vB but are ...
Blank Dev's user avatar
1 vote
1 answer
80 views

How does blind merge mining (BMM) work?

Proposals like Spacechain and Drivechain rely on blind merge mining (BMM). But how does it work and how it differs from normal merge mining?
fiatjaf's user avatar
  • 611
1 vote
0 answers
51 views

How does mining work on a technical level?

I want to make a scrypt/sha256 miner for Bitcoin and altcoins in C to learn more about how mining works in Bitcoin, altcoins and learn more C. getblocktemplate gives some data that is needed for ...
IdotMaster1's user avatar
1 vote
1 answer
111 views

How the system works when there's no block reward?

I've came across some articles arguing that it is a good idea to have no block reward at all, but I struggle to understand, how this would work. I understand that the incentive for miners would be ...
mathematician's user avatar
1 vote
0 answers
48 views

When was proof of stake theorized?

Hi l've seen a while ago that Proof of stake concensus mechanism was theorized a while ago (before proof of work) in distributed systems. But I can't find any source of that, while searching 'proof of ...
SadPepo's user avatar
  • 71
1 vote
0 answers
42 views

I need help figuring out what happened with my BFGminer overnight

I'm a newbie to crypto and was experimenting with usb erupters because I was getting into ETH mining with my rig and wanted to test it on something less risky. I ran ck pool for my USB erupter just to ...
Kulneet's user avatar
  • 11
1 vote
0 answers
182 views

Stratum: How many shares should I submit per job?

I'm implementing a bitcoin CPU miner just for fun in python. I've been reading a lot about bitcoin and the protocol pools use for communication and coordinating workers but there is a key concept I ...
PHAN's user avatar
  • 111
1 vote
0 answers
411 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. ...
glowkeeper's user avatar
1 vote
0 answers
51 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 ...
SpiderRico's user avatar
1 vote
0 answers
167 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 ...
nQuant's user avatar
  • 11
1 vote
0 answers
319 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 ...
Eimrine's user avatar
  • 95
1 vote
0 answers
313 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 ...
Laxmi Kadariya's user avatar
1 vote
0 answers
138 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 ...
Akash Garg's user avatar
1 vote
0 answers
185 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 ...
Kozuch's user avatar
  • 1,022
0 votes
1 answer
76 views

How to create coinbase? How to use witness?

BIP141 adds a new rule called "witness commitment". The document says: "The commitment is recorded in a scriptPubKey of the coinbase transaction." I didn't quite understand what ...
Jack Green's user avatar
0 votes
0 answers
59 views

nonce search algorithm

I have a question about the nonce search algorithm. Let's say I have a s9 miner and my competitor has a more powerful s19. We both check nonces from 0 sequentially, so I will check nonces that my ...
Oleh Baidiuk's user avatar
0 votes
0 answers
54 views

Bitcoin mining pre-computation benefits?

I asked this question on another forum but did not get any responses so I thought I'd try here. I've been researching bitcoin mining for a while and I have a work-in-progress hypothesis that could ...
arikachimoaririki's user avatar
0 votes
0 answers
74 views

Setup bitcoind and be able to make a call to GetBlockTemplate

I have been able to get bitcoind started by giving it the right data directory and configuration file. I downloaded and ran rpcauth.py from https://github.com/bitcoin/bitcoin/blob/master/share/...
MarkRLV's user avatar
0 votes
0 answers
63 views

Why is randomness needed in Proof-of-Work?

In Proof-of-Work (PoW) mining, a miner that contributes 10% of the network hash rate will on average receive 10% of the mining rewards. "On average" means that 10% of blocks are mined by ...
arni's user avatar
  • 101
0 votes
0 answers
48 views

What are the incentives behind mining different coins (i.e., profit-switching)?

Consider for example BTC and BCH (and possibly BSV) that are coins with significant market capitalization and share the same algorithm (SHA-256). We observe: (i) Large miners (or mining pools) divide ...
arni's user avatar
  • 101
0 votes
0 answers
52 views

How do bitcoin miners collect coin?

I was wondering how miners claim the reward? They find the nonce and then do they send that value to a Bitcoin server endpoint where it's validated? I'm not trying to reinvent the wheel but I don't ...
gph's user avatar
  • 101
0 votes
0 answers
53 views

Start mining without the need to downlod the 360gb blockchain

I am new to bitcoin mining but at least i understand the mathematics behind - the sha256 and finding nonce, i am a junior back-end developer. recently i have being interested in bitcoin mining, as way ...
D. Sikilai's user avatar
0 votes
0 answers
227 views

can i diy an asic miner?

Iam interested in mining bitcoin so Iam wondering if I can get a pcb for hashing and bring asic chip that algorithms are sha-256 and stick them together with some other electronics and have a control ...
Mustafa antar's user avatar
0 votes
1 answer
85 views

What function to use to model probabilistic bitcoin mining?

I would like to calculate profitability of various mining strategies. For that, i need to simulate many random mining intervals, that reflect probabilistic distribution of real block mining. What ...
Jan's user avatar
  • 157
0 votes
0 answers
514 views

Process for finding nonce

Assume we have a transaction in hex (tx_hex) and we want to find a nonce such that SHA-256(SHA-256(nonce|| tx_hex)) = new_transaction_id ('||' denotes concatenation) first bits consist of 32 zeros. ...
Paris's user avatar
  • 101
0 votes
0 answers
64 views

Do most small miners join mining pools? Is "pay-per-share" the dominant approach?

Is it correctly understood that most individual/small miners join mining pools? Is "pay-per-share" (or some variations thereof) the most popular mining pool approach, which means that the ...
arni's user avatar
  • 101
0 votes
0 answers
68 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 ...
user3486308's user avatar
0 votes
0 answers
136 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 ...
Chaitanya Bapat's user avatar
0 votes
0 answers
259 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 ...
Dave's user avatar
  • 405
0 votes
0 answers
345 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) +...
Kleber Mota's user avatar
0 votes
1 answer
175 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 ...
Ragu's user avatar
  • 1
-1 votes
1 answer
54 views

Why is it necessary to solve the SHA-256 issue to get a bitcoin?

I understand that for a new bitcoin to be born it is necessary to solve a SHA-256 problem, that is, to make a machine effort for this (a real race). Whoever makes this effort first takes the bitcoin, ...
wesleysc352's user avatar
-1 votes
1 answer
81 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 ...
user21839's user avatar
-1 votes
1 answer
65 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 ...
Kishore Chilakala's user avatar
-4 votes
2 answers
275 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 ...
Liky's user avatar
  • 1