Stack Exchange Network

Stack Exchange network consists of 175 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.

23
votes
3answers
4k views

What is the purpose of the tail emission?

What is the purpose of the tail emission? How does it relate to dynamic block sizes and miners penalties?
7
votes
2answers
2k 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 ...
8
votes
2answers
929 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 ...
15
votes
2answers
4k views

Will Monero ever move to Proof of Stake (PoS)?

As an ecological dilemma, burning a lot of energy via PoW seems not to align with the progressive agenda of an aspiring global cryptocurrency.
8
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 ...
11
votes
1answer
286 views

Which reasons were discussed for potentially changing the proof-of-work algorithm?

Which reasons were discussed for potentially changing the proof-of-work algorithm to something else in the future (Cuckoo cycle in particular)?
10
votes
1answer
301 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 ...
5
votes
1answer
757 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 ...
5
votes
1answer
323 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 ...
4
votes
1answer
122 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 ...
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 (...
4
votes
1answer
474 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 ...
1
vote
1answer
111 views

Is it possible to create a Monero miner in Python?

I would like to create a Python based Monero miner. I know that using Python for mining will likely be slow, but this is just for experimental purposes. Thanks.
0
votes
1answer
64 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 ...
0
votes
1answer
46 views

Which fork version is the py-cryptonight hash library using?

I was wondering what version the py-cryptonight library is using. For example, is it CryptoNight lite v2, CryptoNight v8, CryptoNight heavy?