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

Questions tagged [algorithm]

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

1
vote
1answer
38 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?
0
votes
1answer
114 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 ...
0
votes
1answer
117 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 ...
1
vote
1answer
123 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 ...
0
votes
1answer
255 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
104 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)...
6
votes
3answers
136 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. ...
3
votes
1answer
114 views

What's the scratchpad for?

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 = ...
0
votes
1answer
585 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
2answers
332 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
0answers
124 views

How to duplicate the crypto night algorithm and making your own miner? [duplicate]

I need a duplicate of the Monero algorithm. Is that all that is needed to create a Monero miner?
10
votes
1answer
109 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, ...
5
votes
1answer
382 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 + ...
4
votes
1answer
135 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 ...
1
vote
0answers
316 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 ...
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
389 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
482 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, ...
5
votes
1answer
75 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 ...
10
votes
1answer
213 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 ...
20
votes
2answers
29k 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
15
votes
1answer
585 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.
3
votes
1answer
137 views

How is the one time address generated from the public address?

Given the public address, how is the one time address generated. Also, cryptographically, what links them?
1
vote
0answers
27 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.
1
vote
1answer
142 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?