# Questions tagged [algorithm]

Questions about the details and implementation of various algorithms involved in Monero.

26 questions
Filter by
Sorted by
Tagged with
31k 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
650 views

### Can you have a multsig wallet with the current Monero protocol?

Can you create a bitcoin-style multisig wallet in Monero in the current protocol? You would have n participants, such that k of them can authorize a transaction.
252 views

### Ring signature with sublinear size increase

The Wikipedia article on Ring signatures states that CryptoNote implements O(n) ring signature scheme by Fujisaki and Suzuki in p2p payments to achieve sender's untraceability. More efficient ...
146 views

### Why limit the CRC by a modulo of 24 rather than 1626?

When looking through Monero's source code I was intrigued by the choice of the Mnemonic's 25th word which is defined as follow: words += (' ' + words_store[create_checksum_index(words_store, ...
246 views

### What is “aes_round” in the Monero hashing algorithm?

I'm embarking on the fool's errand of attempting to understand the Monero hash algorithm. Using this link -- https://cryptonote.org/cns/cns008.txt, I'm struggling to understand this step 3. ...
409 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 ...
289 views

### Why is sc_reduce32 needed?

I recently read a question about sc_reduce32 I stumbled on while investigating on Monero's Mnemonic Seed working. A great tool has been llcoins which states the following when talking about ...
477 views

### Where does Curve25519's limit occur?

While informing myself on the inner-working of Monero, I stumbled on Curve25519. The CryptoNote White Paper states: l: a prime order of the base point; l = 2^252 + ...
78 views

### How is the G constant calculated in the cryptonote protocol?

The cryptonote whitepaper uses a G constant, as a base point, to calculate various operations, but I don't understand where this constant actually comes from. Is it just a random point on an ...
546 views

### Non-Deterministic Wallets

Is it possible in Monero to have non-deterministic wallets (setting aside ergonomic issues such as ease of setting up the wallet)? I.e., if I use two random numbers as private spend and view keys, ...
1k 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....
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 ...
211 views

171 views

### How MoneroDice is provably fair?

MoneroDice is a dice gambling game that uses cryptography for provably fair randomness. How exactly does it proves its randomness?
236 views

### How can I tell what difficulty my solution is?

I read that sometimes a pool will report a "Low difficulty share" error if the solution indeed did not match the specified difficulty but it could also be reported if someone had already found a nonce ...
181 views

Attempting to follow the pseudo-code here -- What exactly has been changed in PoW algorithms in the v7 fork?, I was curious about this part of the Monero hashing algorithm ... scratchpad = ...
171 views

### Multiple CPU miners with low hashrate vs single CPU miner with high hashrate

I looked at the Monero algorythm (unfortunately not fully understood) and wonder if I could increase the probability of hitting a block with multiple CPU miners (low hashrate - for example 10 x 200h/s)...
720 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 ...
59 views

### how does monero schedule an algorithm update?

Will the algorithm change affect the blockchains to be generated or saved? How to deal with the new-generated blockchains and the old blockchains if the formers are changed?
345 views

### Set up miner R9 290X

Nicehash has been hacked and I know my R9 290X had highest profit on cryptonight hence monero. Where and how do I set up a new miner for monero in the best way? I used to have >700H/s. I'm unable to ...
28 views

### How is the address constructed? [duplicate]

How is the address generated? I know it contains the public view key and the public spend key.
146 views

### How are fees computed?

Can someone explain the algorithm to compute Monero transaction fee? I have seen somewhere it is based transaction size (or something called "weight"?), and some other vague explanation. But I would ...
143 views

### How to update algorithm to cryptonight v1

I just tried to make a coin with source: https://github.com/seredat/karbowanec and it works perfectly, then how do I update the algorithm of the code to make it Cryptonight v1? is there any reference ...
139 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 ...