Questions tagged [mining-theory]
Questions about the function, reason for, and underlying concepts of mining.
79 questions
0 votes
1 answer
64 views
What is current network difficulty
How can I find current network difficulty in decimal system is there any formula for it and is there any server which continuously calculate and I can get its value in real time.
1 vote
1 answer
65 views
Does mining in a pool help the network?
So basically, if you solo mine you create decentralization, but your chance to get reward is almost nonexistent. When you mine with a pool, you don't validate anything. You just hash blocks produced ...
1 vote
1 answer
323 views
Scaling of hash rate with computation and potential bottlenecks
There is a similar post which asks the question about scaling up hash rates with computational power here. My question is similar, however with the added question about a potential bottleneck. I am ...
0 votes
1 answer
204 views
Wordpress :: mining with user's CPU
We are in 2020 and I was having a look at this post from 2018 which describes 3 WordPress plug-in we might use to mine Bitcoins through users CPU: Simple Monero miner: needs subscription to https://...
3 votes
2 answers
2k views
What is so different about RandomX from other attempted ASIC-resistant mining algorithms?
I read that the original Cryptonight hashing algorithm was optimized for the L3 cache of a modern CPU, giving CPUs as large of an edge as possible. I've also heard that RandomX effectively turns a ...
1 vote
1 answer
189 views
Online implementation of CryptoNight/R
I'm on an adventure trying to write my own own implementation of a C CryptoNight/R hasher. I already have some working code but wanted something that could help me validate the hashes. Is there any ...
1 vote
1 answer
284 views
Cant't find out where replace the nonce to get a blob hash
I'm trying to understand the basics of mining and have a very specific question about hashing a blob. When I start a miner and capture the packets, I get a job from the pool and then the work ...
2 votes
2 answers
386 views
Updated dynamic fee calculation?
I'm hoping to find a current reference that explains how the dynamic block size/fee calculation works? This link has a nice explanation, but a community member on reddit suggested it was out-of-date (...
3 votes
1 answer
379 views
Validate the result of a job sent by a miner
I'm implementing my own mining pool and I need to know how the result of a job obtained from a miner is validated. I looked at the snipa22's code but have a small doubt. When sending a job to miner: ...
3 votes
1 answer
234 views
Steps to generate a job for miners using a mining pool
I'm working on building a mining pool from scratch and it'd be really helpful if someone explained the steps to generate a job for miners. Let's say I have 10 miners connected to my pool, what are the ...
1 vote
1 answer
396 views
Code a mining pool from scratch
I'm looking for resources to get me started on coding a mining pool from scratch. I know there are several mining pool implementations and it's reinventing the wheel, but I want to do it so I can ...
4 votes
1 answer
3k views
What's the difference between the CryptoNightR and RandomX algorithms?
My understanding is that CryptoNightR randomly creates different calculations for each block, and that RandomX does the same, but using a system where any bytecode can be translated into a calculation....
2 votes
1 answer
1k views
What exactly do miners communicate with a pool?
What JSON messages are exchanged with the pool, and how does one connect to a pool? With mining.subscribe? I read somewhere that the stratum protocol that CryptoNote coins use is different to, say, ...
1 vote
1 answer
438 views
How can I generate the blockhashing blob for my Python miner?
I am in the works of making a pool-compatable fully python miner, and I need to know how to generate the blockhashing blob for the miner.
1 vote
1 answer
389 views
Can someone show me how to hash with CryptoNight in Python?
I need a Python(2 or 3) Monero miner that outputs hashes to terminal. Please ask me if you need clarification.