Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mining-theory]

Questions about the function, reason for, and underlying concepts of mining.

0
votes
1answer
36 views

Can pool miners update early and then the pool software will automatically ask its workers for new POW when necessary?

Many people mine Monero in a pool. Monero has recently changed its proof of work, and it is about to do so again. There may be more changes to its proof of work in the future. When miners update ...
1
vote
1answer
35 views

When does validation of blocks occur

At what point does a miner validate blocks shared and created by other miners on the blockchain?
4
votes
1answer
76 views

How is Keccak calculated in Monero?

I am reading the monero's implementation of Keccak (used as first part of slow_hash) in src/crypto/keccak.c I have found that it is a Keccak-256 (with b=1600, c=512, r=1088) and "output" of 1600 bits ...
1
vote
1answer
71 views

How GPU gets its mining work and nonce range?

I tried to study source of both xmr-stak and xmrig to understand how it communicates with the kernel running on GPU, but both these softwares are too huge to understand (too many objects calling each ...
1
vote
1answer
62 views

How does nicehash perform share validation?

I'm talking about two services: NiceHash and MiningRentals and CryptonightV7 algorithm, for example. Let's suppose someone trying to fool one of them and: Miner (seller) tries to fool pool (buyer) ...
4
votes
1answer
101 views

How do miners attempt to avoid duplicating nonces of other miners? Do they try?

In a very general sense, most people who know about cryptocurrency mining understand that for every block in a proof-of-work blockchain there is a new "challenge" for the miners, and that challenge is ...
4
votes
1answer
100 views

How do I figure out how much a share is worth in the PPLNS world?

I'm trying to figure out how much accepted shares are worth, however small, in a mining pool, situation, specifically of a PPLNS scheme. What is the formula to figure how what a specific share is ...
3
votes
2answers
183 views

Are mining pools shares based on prescribed difficulty or the actual difficulty you hash a block with?

I'm mining Monero as part of a pool (specifically this pool -- https://mixpools.org/xmr/). I'm using a CryptoNoter package to do the mining. The pool will send back work taht looks like {"data":"{"...
2
votes
1answer
123 views

How does a Monero pool confirm/reject a submitted nonce?

I'm trying to get a handle on how the protocol works between Monero miners and pools. Although I've looked at Stratum, the rules seem slightly different with Monero mining. For example, I'm using a ...
0
votes
1answer
69 views

Is there a pool that will tell you the real time shares you've submitted?

I'm trying some mining on my MacBook Pro. Although I don't expect to make any money, I was curious if the software I'm using is actually submitting the shares it is reporting. Is there a pool that ...
3
votes
1answer
83 views

What does the “hashes” field mean in an authentication message received from a pool?

I'm still trying to get a handle on how all this pool mining stuff works so I decided to use this guy's project -- https://github.com/cryptonoter/CryptoNoter/ to give it a whirl. In particular I ...
2
votes
1answer
606 views

Explaining result report at XMR-STAK

Here is the example of result report by XMR-STAK: RESULT REPORT Difficulty : 13214 Good results : 6330 / 6331 (100.0 %) Avg result time : 10.0 sec Pool-side hashes : 83681055 Top 10 best ...
0
votes
1answer
76 views

Am I understanding PPLNS correctly in this example?

I want to be sure I understand how the PPLNS pool payment system works. As I understand it, the theory is to reward loyal miners as opposed to people who continually switch pools. So I've been ...
2
votes
1answer
339 views

How are Monero blocks found and confirmed? (solo mining)

In case of solo mining - how are Monero blocks found and confirmed? If using monerod - let's say solo mining is started with start_mining somewalletaddress threadcount. What is the principle of block ...
3
votes
3answers
239 views

How to know when I would get any profit by Monero mining program?

I am an absolutely newb to Monero and Blockchain. I download the Monero GUI program from https://getmonero.org/downloads/ and run on my windows system. After sync all block to my local, I started to ...
1
vote
4answers
814 views

More cores are better for Monero CPU mining?

Considering that I have the same intel processor, but one has 4 cores and the other has 8 cores. It will mine better or its the same? I know that several parameters are important but consider that ...
0
votes
2answers
101 views

Monero mining equipments can mine Zcash as well and have the same hashpower?

Is any device capable to mine monero, also capable to mine Zcash (zec)? The hashes per second offered in that equipment for monero would apply also for zcash? That would be helpful for the mining ...
0
votes
0answers
445 views

How is the mining difficulty calculated?

For bitcoin it would be D = Hn / (2^256 / Mt / t) Where: Hn = Net Hash, Mt = Max_target and t = time per block Is this the same for the CryptoNight algorithm, or is it totally different? Note: ...
2
votes
1answer
130 views

Why are only 8 bytes of the hash compared with the target?

This is the line in xmr-stak where the hash is compared to the target: if (*piHashVal < oWork.iTarget) executor::inst()->push_event(ex_event(result, oWork.iPoolId)); However, if you look above,...
4
votes
1answer
345 views

Formulas for calculating current target and difficulty

I'm looking for formulas on how Monero/CryptoNight/Keccak1600 are calculating difficulty and current target. E.g. something like: max_target =? current_target = f(max_target, blockrate) //some ...
0
votes
1answer
452 views

where does “my pending balance” stay until I receive my payment in mining pools? [duplicate]

where does "my pending balance" stay until I receive my payment in mining pools? what is the procedure? where/how pool keeps the pending balance?
0
votes
1answer
271 views

ViaXMR payouts time length

I've been mining on ViaXMR.com for nearly a month now and still no payout, is this because its a small pool or something else? Hobbyist miner using one GPU/CPU
3
votes
1answer
294 views

C/C++ - What is nonceptr in scanhash_cryptonight function?

This is a C/C++ programming question related to CPU mining. In the source code for CPU miners wolf-xmr-miner, cpuminer-multi et al there is a function called scanhash_cryptonight that has this the ...
5
votes
1answer
574 views

How to Generate a Blob for PoW Hashing

The Cryptonight PoW hash function (cns008) expects an input (a blob on which to mine a new block). I know that a mining blob can easily be obtained via the monerod daemon's JSON-RPC interface by ...
0
votes
1answer
230 views

Byte reversing (nonce and resulted hash)

I've tcpdump'ed a session with my miner and xmr pool (port difficulty 1063). My miner sent the pool this result: { "id":2, "jsonrpc":"2.0", "method":"submit", "params":{ "id":......, "...
4
votes
2answers
4k views

How many hashes are needed to solve a Monero block of difficulty 1?

For example, for ZCash, it takes, on average, 8192 hashes (aka "solutions") to solve a block of difficulty 1. That number is determined in the source code by a 256-bit target threshold (...
-2
votes
1answer
55 views

Private Block chain App

I would love to use monero to "power" my private block chain app. Would this be overkill? Would ethereum be secure "enough"?
3
votes
0answers
185 views

A Miners Future [closed]

I want to support the Monero network and eventually fill a warehouse with miners. Will there ever be a point where the reward for mining is no longer justifiable? For example, before BitCoin split, ...
7
votes
2answers
1k views

How does the dynamic blocksize and the dynamic fees work together in Monero?

This mechanism is unique to Monero because it's the only cryptocurrency to have both blocksize and transaction fee dictated by an algorithm, how was this achieved and what is the rationale behind such ...
7
votes
1answer
2k views

How can I Mine Monero using a Processor in Memory PCIe Card?

Where can I find out more (enough) about Processor in Memory (PIM) Mining (Monero and a few suitable other Cryptocurrencys) on a PCIe Card? One example of such a Card is the Micron D480 Automata ...
4
votes
2answers
167 views

Does a node that is more geographically centered in the Monero network have a higher chance of mining a block?

As nodes are in competition with each other over who mines the next block first, does geography play a role in that competition? Would a 100 KH/sec mining pool located in, for example, Plettenberg Bay,...
5
votes
1answer
300 views

Cryptonote SHA3 bigger than 64byte? (Scratchpad Initialization)

The cryptonote whitepaper says First, the input is hashed using Keccak [KECCAK] with parameters b = 1600 and c = 512. [..] That's nothing else as hashing the input with SHA3. The size of a ...
3
votes
1answer
1k views

Is it private pool mining efficient?

I have several machines ready to mine. Is it more efficient to setup one machine as the central "pool"(e.g. with a software like this) and connect other machines/miners to it or is it more efficient ...
2
votes
0answers
123 views

Descriptive tutorial on mining Monero and information on files as per “Monero-v0.10.3.1”

It will be very grateful, if someone can post the descriptive tutorial on installing Monero (solo and pool) from scratch with the explanation around different files as per "Monero-v0.10.3.1.Zip." ...
8
votes
2answers
873 views

Are [solo] mining yield calculations like dice or playing card calculations?

If I want to know how many times I need to roll a die in order to have a given chance of seeing at least one six, I can use the formula: n = (log(1 - s))/(log(1 - p)) where n is the required number ...
3
votes
1answer
142 views

Keep mining to replace an already published block

If two miners find a valid block for the same height, the block with the largest difficulty is selected and the other one is rejected by the network (orphaned), regardless of their discovery timestamp....
4
votes
1answer
262 views

What is the difference between an orphaned block and a alternative block?

I see alternative blocks reorganizing the blockchain in monerod, but my mining pool's orphaned block doesnt show.
7
votes
1answer
94 views

Miner publishes a block to the network with a lag

I just noticed that a pool has "retained" a new block for quite a long time. See snapshot below where the block was found 3 minutes ago but still not pushed to the network (my own node was not seeing ...
10
votes
1answer
291 views

How can block size grow over time when miners are incentivised to keep size small?

Miners are penalised if they mine a block that is larger than a threshold. Miners can make sure that the blocks they mine don't go over that threshold in order to avoid a reward penalty (by adapting ...
3
votes
1answer
801 views

Do cryptonight hash speeds mirror scrypt and SHA-256 hash speeds?

There are various websites that tabulate SHA-256 & scrypt hash speeds of various hardware. I wonder how these correspond to crytonight hash speeds. Are they correlated? Or does the correlation ...
4
votes
1answer
125 views

Do coins mined per day scale linearly with computing power?

In other words, if I double my number of video cards, should I expect twice as many coins mined per unit time? From what I can gather, coins are rewarded in a winner-take-all fashion, so if you have ...
3
votes
1answer
599 views

Understanding block reward calculation

I've read this explanation of how block rewards are calculated. But I fail to apply it in practice. Let's take block #1233057 as an example: The base reward is 8.8005 (which matches the result of the ...
1
vote
1answer
169 views

Where is the public key/output for the miner reflected on the blockchain?

One of the ways that I can understand how Monero demonstrably works, despite the opacity of the blockchain, is that the inputs used in transactions (whether mixin decoys, or the actual one-time public ...
3
votes
0answers
76 views

As a pool operator how can I setup having my pool payouts be mined with a 0 fee?

I was just wondering because some people talk about mining my pool payout transaction in a block with a 0 fee. How would someone go about doing this properly?
7
votes
1answer
134 views

Could (merge) mining provide a vector for deanonymization?

With the recent news that Digitalnote (XDN) is implementing merge mining in an effort to boost the hashrate by basically piggybacking off of Monero, I was wondering if this could lead to some leakage ...
2
votes
2answers
3k views

What are the benefits of restricting difficulty while mining?

Virtually all the mining pools I have seen specify a few ports with differing initial difficulties. The difficulty adjusts automatically according to your hash power. I notice that monerohash now ...
5
votes
2answers
506 views

What happens as monero network hash rate decreases

I've noticed the network hashrate has decreased, does that mean anything for overall monero future. What happens if the network hashrate gets too low? What level is dangerously low? Just wondering, ...
6
votes
1answer
292 views

What stops the miner or the pool owner from cheating?

Jafar the malevolent pool owner checks for solved blocks, any only allows a percentage to go to the pool bounty, and the remainder going to his personal secret bounty. To the miner, it is ...
8
votes
2answers
3k views

What is actually happening when you pool mine? What is a share? [duplicate]

When I connect to a miner, I recieve a 'job', process that 'job', and send back 'shares'. Somehow this means that I earn Monero for my investment in GPUs and electricity. What is actually happening ...
4
votes
1answer
1k views

What are the bandwidth and latency requirements of a miner? What is the total data usage per week?

If I were to run a standard 6-GPU miner, what would be the expected data usage, bandwidth and latency requirements? Is this something that could feasibly by run of a cheap 4G plan?