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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

0
votes
1answer
37 views

Hardening a mining pool

I have setup a mining pool for a smaller project that uses cryptonightv7 I have been running into problems with ddos attacks when other people started launching other mining pools. At first it was ...
3
votes
1answer
59 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 ...
0
votes
1answer
69 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 ...
1
vote
1answer
60 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/...
0
votes
1answer
47 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) ...
0
votes
1answer
76 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
1answer
54 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 CryptoNightV7. Does coinhive use their new ...
0
votes
1answer
216 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 ...
0
votes
1answer
119 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 ...
1
vote
1answer
30 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
1answer
674 views

Are Cryptonight lite and Cryptonight lite v1 the same?

Are Cryptonight lite and Cryptonight lite v1 the same?
1
vote
0answers
791 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
1answer
71 views

is the Bitmain X3 compatible with Monero

Will Bitmain X3 be able to mine Monero?
0
votes
1answer
387 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 ...
0
votes
0answers
64 views

Can I rent ASIC Hashing Power on a Standard Mining Rig?

So I got to thinking, since Monero is going to be hard-forking pretty soon and is going to make the new Antminer X3s pretty obsolete before they even start their life cycle, and I want to increase my ...
0
votes
1answer
192 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 ...
1
vote
0answers
438 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
2answers
211 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 ...
0
votes
1answer
56 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 *...
0
votes
0answers
367 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: ...
1
vote
0answers
306 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
1answer
3k 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 ...
1
vote
2answers
1k 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 ...
1
vote
1answer
2k 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 ...
3
votes
1answer
777 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 '...
3
votes
1answer
316 views

What are the differences between the slow hash, fast hash, and tree hash on the monero github?

Additionally, if I wanted to put together my own implementation of the Monero CryptoNight PoW, specifically for mining, and was using one of those (with the corresponding tests on GitHub) to validate ...
3
votes
2answers
596 views

Where can I find some test inputs and outputs for the CryptoNight (Monero PoW) hash algorithm?

I'm interested in cobbling together my own implementation, but in order to validate it, I need to find some valid inputs/outputs (4 minimum, i.e. one that goes through the groestl path, one that goes ...
4
votes
1answer
896 views

Monero Pool job contents, blob length

I am trying to understand the contents, their meaning and their volatility of the job we receive from Monero pool. For example data from pool: {"id":1,"jsonrpc":"2.0","error":null,"result":{"id":"...
1
vote
2answers
710 views

connecting wolf`s miner to monero daemon

I want to start solo-gpu mining with wolf`s amd miner. in the config file i put daemon+tcp://localhost:18781 and so far its connecting to the daemon but I'm getting following message: "Setting up GPU(...
6
votes
2answers
393 views

Monero Hash, how does it work, C++ basisc

I am trying to understand xmr-stak miner program. I have understood most of it but having hard time visualizing some pointer manipulation in below code. Its been over 10 years for me to go through any ...
3
votes
1answer
3k views

Monero CPU mining, how much memory to include in a new build

I would like to try Monero CPU mining on a new Linux box I would like to build. More memory the better for CryptoNight algorithm, right? Is there an upper limit at a point where more memory is not ...
3
votes
1answer
2k views

How can I validate a cryptonight algorithm implementation?

Is there an easy way to validate an implementation of the cryptonight hash function? I wrote an implementation just to explore the features of various hash functions, but I'd like to validate that I'm ...
6
votes
1answer
368 views

Is CryptoNight the hash function which plays the role of the “random oracle”?

Is CryptoNight the hash function which plays the role of the "random oracle" in the random oracle model under which certain properties of CryptoNote are mathematically proven in the original paper? Or ...
4
votes
1answer
286 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 ...
2
votes
3answers
4k views

How to mine with NVidia GeForce GTX 560Ti on Linux?

The questions is in title. Been surfing a bit, and I'm not aware of any software which allows mining with Nvidia GPU on Linux.
0
votes
3answers
2k views

I'm new to monero, would this be a good setup?

I'm completely new to mining Monero but I want to try it and got a lot of knowledge in hardware. So I got a good price for a Asrock D1800M. It is a BGA Celeron, the system should use around 20W ...
9
votes
1answer
836 views

How does CryptoNight “depend on all the previous blocks”?

Originally, I thought the CryptoNight puzzle was similar to the SHA2 puzzle, with a more exotic hash function replacing SHA2. In other words, the puzzle was essentially H(prev||nonce) < diff, but ...
11
votes
3answers
998 views

Energy consumed to protect the Monero network

Based on typical Monero mining equipment used today, approximately how many Kilowatt-hours (kWh) of electricity are consumed each day in by computers running the Monero cryptonight PoW mining ...
3
votes
1answer
310 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 (...
5
votes
1answer
4k views

How significant is the number of threads when mining? (I7-4790K)

I'm currently mining XMR on a dedicated server that has an Intel I7-4790K CPU. It has 4 cores/8 threads, and 8 MB of L3 cache. I'm using cpuminer-multi. This is a full node with the monero daemon ...
5
votes
1answer
146 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.
3
votes
2answers
205 views

Would having two separate proof of work algorithms for Monero be more secure?

Say 50% is CryptoNight and 50% is an ASIC friendly PoW, would this create more security? Maybe current miners would leave, creating less security? This might be an idea that would be better for the ...
5
votes
1answer
381 views

What other benefits does Cuckoo Cycle have over cryptonight, is it quantum computer proof?

I have read Which reasons were discussed for potentially changing the proof-of-work algorithm? but aside from being more asic 'resistant' and faster to verify what other reason should monero change ...
3
votes
1answer
651 views

Is Monero susceptible to botnets?

When reading up on CryptoNote, something struck me on the wikipedia page. From wikipedia (emphasis mine) CryptoNight is a proof-of-work algorithm that mixes graphics processing unit (GPU) and ...
10
votes
1answer
273 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)?
14
votes
3answers
38k views

Is it better to mine with a CPU or GPU

"The proof-of-work algorithm, CryptoNight, is AES-intensive and "memory heavy", which significantly reduces the advantage of GPU over CPU." https://en.wikipedia.org/wiki/Monero_(cryptocurrency) ...
5
votes
1answer
463 views

Can a CryptoNote coin be merge mined with a non-CryptoNote coin?

If the CryptoNight algorithm was replaced with say, SHA-256, could it be merge mined with bitcoin, for example? The prior merge mining question is about mining with other CryptoNote networks.
13
votes
2answers
8k views

What is the difference between CryptoNote and CryptoNight?

I saw some mining software labelled as CryptoNight miners and they have XMR (Monero) in their list. Many other CryptoNote mining software also has XMR in their list. What is the case? And while adding ...
18
votes
2answers
27k 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
12
votes
2answers
2k views

Mining Monero with Pencil and Paper

People have successfully performed SHA-256 hashing with pencil and paper If I wanted to perform the CryptoNight PoW by hand how would I do so? Are there any PoW instructions that a human with a ...