Questions tagged [mining-theory]

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

43 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
109 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
99 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
402 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
448 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
0answers
109 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
0answers
28 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 ...
1
vote
0answers
72 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 ...
1
vote
0answers
312 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
44 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
147 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
265 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
267 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
132 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
293 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
183 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
32 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 ...
0
votes
0answers
43 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 ...
0
votes
1answer
31 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 ...
0
votes
0answers
26 views

Mining logistics/algorithm beginner numerical example?

I'm learning about the bitcoin mining process. I'm a learn-by-example type, so I'm wondering if anyone has come across the following: A numerical example of the bitcoin mining process. How to get the &...
0
votes
0answers
10 views

Custom hardware mining on a block header

I am looking for a hardware miner that would allow me to send it a block header and it would loop through the nonce performing hashing and return either a success with the nonce number or fail (once ...
0
votes
0answers
17 views

Help regrading validating a raw Hex Block on desktop?

Is there a desktop C++/Python library to take a raw hex bitcoin block as input and then break it down to various parameters and print it. Moreover it should be able to validate the structure of a ...
0
votes
0answers
37 views

Fee-gathering advantages for geo-optimised miners

As the fee-in-reward percentage grows relative to subidy, will profitability increasingly be proportional to the number of listening nodes a miner has access to? While Bitcoin Core randomises ...
0
votes
1answer
158 views

How to install the latest bfgminer binaries directly from terminal without 'aptitude' on a raspberry pi 4 8gb running raspbian?

months ago I found an entry on StackExchange or somewhere else on how to install the latest (!) bfgminer binaries directly from terminal. I can not find the stackexchange post, no matter how deep I ...
0
votes
0answers
42 views

Looking for feedback on (Browser-based) Blockchain Simulator

I have created a Blockchain 'simulator' in JavaScript, for the purpose of helping explain how the technology works. It is complementary to a website I have set up years ago, where I attempt to explain ...
0
votes
0answers
23 views

how to identify as soon as possible that a new block was mined

From the miner perspective: You have a worker, fetching data from a full-node with getblocktemplate to create a candidate block and push it to the miners, to effective mine it. As soon as your miner ...
0
votes
0answers
31 views

Is the block header in stratum protocol double hashed?

I'm trying to understand how the block header is done when mining in a stratum pool. Should the block header be hashed once or double hashed ? the block header consists of the version, previous hash, ...
0
votes
0answers
47 views

What algorithm do miners (mining pools) use the generate different blocks as they exhaust the nonce values

As I understand it, the building of a block goes something like this (please correct): Collect a bunch of new transactions. Hash all those transactions. Generate a coinbase transaction using the ...
0
votes
0answers
59 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. ...
0
votes
0answers
493 views

How to setup cgminer.conf for solo mining?

How can I configure an ASIC such as S9 using cgminer.conf, in order to do solo mining? I would appreciate a guidance for creating the config file.
0
votes
0answers
43 views

What advantages do large-scale miners have?

Do established mining hardware companies (e.g., Bitmain) offer discounts to mining operations that place large orders (e.g., orders for 100s or 1000s of units)? Since this is a competitive business, ...
0
votes
0answers
47 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 ...
0
votes
0answers
58 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
0answers
81 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
594 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
229 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
240 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
154 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
72 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
121 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
88 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
771 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
252 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 ...