Questions tagged [cryptonight]
CryptoNight is a proof-of-work algorithm that mixes graphics processing unit (GPU) and central processing unit (CPU) mining to create a system resistant to both application-specific integrated circuits (ASICs) and fast memory-on-chip devices
73
questions
2
votes
1
answer
562
views
How does nicehash perform share validation?
I'm talking about two services: NiceHash and MiningRentals and CryptonightV1 algorithm (which they call CryptonightV7), for example.
Let's suppose someone trying to fool one of them and:
Miner (...
3
votes
1
answer
416
views
Keccak vs Keccak-f permutation in cns008
Keccak is mentioned in cns008 (the cryptonight hash description) in two ways: First in section 3 (Scratchpad Initialization) as Keccak, and another time in section 5 (Result Calculation) as Keccak-f (...
3
votes
2
answers
1k
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 ...
2
votes
5
answers
2k
views
Would this be a good hardware setup for Monero mining?
I'm completely new to mining Monero but I want to give it a try and get more knowledge of hardware. So I got a good price for an Asrock D1800M. It is a BGA Celeron and the system should use around 20W ...
5
votes
1
answer
199
views
What PoW hashing algorithms did Monero historically use?
Originally, Monero used the Cryptonight PoW algorithm, then started modifying it to thwart ASICs getting large parts of the network hash rate.
What is the timeline of these changes ?
19
votes
6
answers
35k
views
Is Monero amenable to ASIC mining?
Is Monero ASIC resistant? If not, are there already people out there running on ASICs?
1
vote
1
answer
218
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 ...
1
vote
1
answer
162
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 ...
2
votes
1
answer
148
views
Hardening a mining pool
I have setup a mining pool for a smaller project that uses Cryptonight variant 1.
I have been running into problems with ddos attacks when other people started launching other mining pools.
At first ...
0
votes
1
answer
340
views
Implementing Cryptonightv1 PoW algo change but miners are able to mine with both Cryptonightv0 or Cryptonightv1 now
I am modifying a cryptonote to transition over to PoW algo cryptonightv1 from cryptonightv0 and I am having a weird issue that I can't figure out...I'm starting to pull out my hair over this. I've ...
4
votes
1
answer
2k
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....
0
votes
1
answer
2k
views
What are the differences between Cryptonight-R and Cryptonight v4?
Monero is switching to Cryptonight variant 4 (CNv4) in March 2019. CNv4 is based on Cryptonight-R, with some modifications. What are these modifications ?
1
vote
3
answers
900
views
Is there a Javascript implementation of the CryptoNight algorithm?
Before I seek to write one of my own, I wanted to see if there's a CryptoNight Javascript algorithm anywhere out there. I found the CryptoNoter project, but it only contains an obfuscated binary file ...
0
votes
1
answer
121
views
Anyone know if CoinHive uses the new Monero hashing algorithm?
When I visit https://coinhive.com/ , I see a "Start Mining" button at the center of their page. I know recently Monero changed its hashing algorithm to be CryptoNight v1 (variant 1). Does Coinhive ...
0
votes
1
answer
214
views
CryptoNight can mine monero?
Thanks in advance for all answers
at first I am new in this business.
I want to buy Baikal N240 which has Algorithm CryptoNight and CryptoNight-lite. I want Mine Monero.
My question is, can we ...
0
votes
1
answer
327
views
Any quick way for me to test my browser's hash rate for CryptoNight v2?
I want to test the rate at which a WebAssembly miner can calculate CryptoNight v2 hashes in my Chrome web browser (or what my browser's Monero hash rate would have been as of ~May 2018). Is there an ...
0
votes
2
answers
147
views
Would a long-time block target be annoying?
Lets imagen for a second that I have an idea for a really unique coin and not just a clone ...
If I created this coin to have an average new block-time of 1 day would it need to give more coins for a ...
1
vote
1
answer
564
views
Can anyone explain the working of CryptoNight?
I went through this. And I could not comprehend well.
For example, in SHA-256, it takes any type of input and gives a 256-bit output. And if we add a random number as a tail in the input, the output ...
4
votes
1
answer
545
views
How is CryptoNight variant 4 increasing the CPU to ASIC performance ratio?
At block 1788000, Monero will switch PoW from CryptoNight variant 2 to variant 4. This change has two main goals:
break any current CNv2 ASIC
make hypothetical CNv4 ASICs perform less well compared ...
1
vote
1
answer
350
views
What is the best Python library for hashing Cryptonight?
What is the best Python library for hashing Cryptonight hashes and building mining software?
1
vote
1
answer
54
views
Is there a written document or resource about CryptoNight v2?
I am looking for something like this:
https://cryptonote.org/cns/cns008.txt
It's got a detailed, written explanation and not just code. I am trying to make a miner for learning purposes so I guess ...
2
votes
1
answer
1k
views
I'm trying to create a Python miner, can I get some guidance please?
I have been wondering how to make a Python Monero miner. I know about py-cryptonight, but does anyone know anything about how to actually code with it? I understand that cn_slow_hash is for mining, ...
2
votes
1
answer
759
views
What are the main advantages / disadvantages between proposed RandomX to ProgPoW?
Ethereum developers recently decided to fork off Ethash ASICs like Monero did before. However, Monero changes its CryptoNight mining algorithm only slightly every six months until a more robust ...
2
votes
2
answers
1k
views
Why does the Monero difficulty increase? [duplicate]
Monero's difficulty has soared a lot in the last days and the trend seems to be confirmed.
Why did it happen? What is the technical reason?
2
votes
2
answers
342
views
What is the difference between v7 and v8?
Only the version changes in block.major_version?
const int cn_variant = b.major_version >= 7 ? b.major_version - 6 : 0;
crypto::cn_slow_hash(bd.data(), bd.size(), res, cn_variant);
Am I right?
...
0
votes
3
answers
1k
views
CryptoNight heavy vs CryptoNight light
Which version of the CryptoNight algorithm can we use for ASIC resistance. My understanding is that CryptoNight v7 is not ASIC resistant. Can you please explain the algorithm versions.
Thanks in ...
2
votes
1
answer
66
views
Where and how to start to understand Monero?
I'm a newbie and I would like to know more about Monero and the technology behind it.
What is a good starting point to learn more about Monero? Website, wikis, books?
Thank you so much for answers.
1
vote
1
answer
149
views
Can't seem to reconstruct hashing blob for old block
I'm trying to re-construct the "hashing blob" for an old block and calculate the correct hash to validate some code, but I can't seem to get the correct results. I've confirmed (via unit tests against ...
0
votes
1
answer
97
views
How to switch the algorithm according to hard fork height?
When a hard fork is scheduled, how does the program recognize the hard fork? And how to make the whole network recognize the new algorithm?
0
votes
1
answer
148
views
Why does Monero use epee in the crypto module?
Is there any obvious gain to using epee in the crypto module?
I don't know why this code is inside crypto instead of cryptonote:
inline std::ostream &operator <<(std::ostream &o, ...
4
votes
1
answer
92
views
CryptoNight detail. Why this kind of multiplication?
The Cryptonight description by the CryptoNote team states that
The 8byte_mul function, however, uses only the first 8 bytes of each
argument, which are interpreted as unsigned 64-bit little-...
4
votes
1
answer
230
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 ...
5
votes
1
answer
386
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 ...
1
vote
1
answer
157
views
Why low hash rates doing SHA/CryptoNight algorithm?
I have benn dealing with crypto currencies for the last few days(especially on Raspberry Pis) and now I'm wondering how a Raspberry can have such a bad hashrate(1-20H/s)... Mining is just doing SHA/...
5
votes
1
answer
203
views
What is the 'tail-hash' in Cryptonight?
I understand cryptonight uses keccak and aes. I don't understand what the tail-hash means though.
0
votes
1
answer
153
views
Does anyone have test data that illustrates the CryptoNight 7 algorithm?
With the new CryptoNight 7 algorithm Monero introduced back in April, does anyone have an example of a data blob and a nonce that successfully hashes the block? I'm trying to figure out how to test ...
0
votes
1
answer
74
views
Wanna Use this library for a small project
Hope someones here, I wanna ask if what are the parameters in this code, in line 315:
void cryptonight_hash(void* output, const void* input, const int aes_ni_supported) {
struct cryptonight_ctx *...
1
vote
2
answers
464
views
How to validate cryptonight result?
I have a XMR proxy and check results with the job target before sending it to real pool. If I use mining software with the cryptonight-lite algorithm, my proxy accepts these hashes. Please help me to ...
1
vote
1
answer
47
views
Can you only allow certain miners on a cryptonote blockchain?
I am creating my own Cryptonote coin for a specific, business need. Can I only allow certain IPs to mine on it?
2
votes
1
answer
1k
views
Are Cryptonight lite and Cryptonight lite v1 the same?
Are Cryptonight lite and Cryptonight lite v1 the same?
1
vote
0
answers
901
views
Cryptonight V7 mining issues
I'm having a bit of problem here. As you all know, Cryptonight V7 is more profitable than v6 after the monero hardfork, I started trying to mine with this algo in Nicehash.But I got an error. The ...
0
votes
1
answer
90
views
is the Bitmain X3 compatible with Monero
Will Bitmain X3 be able to mine Monero?
0
votes
1
answer
899
views
Does Monero still use the Cryptonight algorithm since the fork?
Ok, I have read about the Lithium Luna release that's supposed to be ASIC resistant. However, I'm unclear about whether Monero is now using a new hash algorithm. Is Monero still using its ...
1
vote
1
answer
4k
views
Cryptonight mining on Raspberry Pi
Recently I found out about cryptonight algorithms, Bytecoin in specific. I have about 20 Raspberry Pi’s here and I would like to know if cryptonight mining is possible on ARM processors.
I am also ...
1
vote
0
answers
559
views
Sapphire RX 550, differences in models and consequences on hashrate
I'm new to mining, and I wanted to use Sapphire RX 550 GPUs to build a CryptoNight rig after reading a couple posts on the Internet about them, for instance:
How To Get 470 h/s On CryptoNote ...
1
vote
2
answers
4k
views
cpuminer-multi error when mining cryptonight on Linux
I have just set up cpuminer-multi on my Raspberry Pi B+, my aim is to mine a cryptonight coin called Bytecoin. Instead of connecting the mining Pi to the pool, I will be connecting the mining Pi to a ...
19
votes
2
answers
32k
views
Where can I find a description of the CryptoNight hash algorithm?
Where can I find a description of the CryptoNight hash algorithm?
Both a thorough and ELI5 description of the hash algorithm would be appreciated
1
vote
0
answers
379
views
Error message: failed to allocated device memory for long state
Trying to execute ccminer-cryptonight through powershell and finally hit an impasse. Any ideas?
edit:attempting to nvidia mine using 1080ti
Error msg
-1
votes
1
answer
4k
views
Best new cryptocurrencies to mine using CPU [closed]
I’ve been mining LiteCoins since it was worth around £40. Now it’s worth £200 pounds and I have less than 0.01 LTC and I cannot withdraw any of what I earned from my pool. This balance is very low ...
2
votes
1
answer
1k
views
CryptoNight Algorithm Keccak1600?
I've looked at this file https://github.com/monero-project/monero/blob/master/src/crypto/slow-hash.c#L543
What does it mean when it says " CryptoNight Step 1: Use Keccak1600 to initialize the '...