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 [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

0
votes
0answers
19 views

What's the difference between the latest Ryo PoW algorithm and Cryptonight v8?

I took a brief look of both xmr-stak and Ryo 0.4.0 source release, it seems that, beside the 3 parameters adjustments (i.e., number of iteration, memory size, and mask), Ryo's version is also ...
1
vote
1answer
38 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
1answer
734 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 ?
4
votes
1answer
191 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
1answer
29 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 ...
1
vote
1answer
80 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, ...
1
vote
1answer
65 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
1answer
248 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
2answers
437 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?
0
votes
3answers
144 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
2answers
107 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? ...
2
votes
1answer
32 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.
0
votes
1answer
29 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
1answer
48 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
1answer
55 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
1answer
69 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-...
0
votes
1answer
51 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
votes
1answer
81 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 ...
4
votes
1answer
118 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
142 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
111 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/...
1
vote
1answer
89 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
130 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
100 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
267 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 ...
1
vote
1answer
342 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
39 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
1k views

Are Cryptonight lite and Cryptonight lite v1 the same?

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

is the Bitmain X3 compatible with Monero

Will Bitmain X3 be able to mine Monero?
0
votes
1answer
646 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
3answers
437 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
500 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
328 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
66 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
0answers
333 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
3k 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
930 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 '...
4
votes
1answer
439 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 ...
5
votes
2answers
765 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 ...
5
votes
1answer
1k 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":"...
2
votes
2answers
784 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
431 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
394 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 ...
5
votes
1answer
319 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.