Questions tagged [source-code-documentation]

Questions about the documentation of Monero source code contained in the official GitHub repository

17 questions
27
votes
3 answers

What are Fluffy Blocks?

I heard the term thrown around here and on Reddit, but I haven't found its definition anywhere. Could someone please clarify?
user141
  • 3,337
  • 14
  • 34
9
votes
2 answers

Is there information available about the Levin protocol?

Is there any information available about the Levin protocol? It seems to be used for the peer to peer communication. Things like: The working of the protocol? What are the benefits? Why was it chosen for Monero? Is it used in any other product?…
fatdoor
  • 609
  • 4
  • 9
8
votes
1 answer

Formal Verification of Monero code

This answer mentions a plan to eventually formally verify Monero code. Which approach will be used for that verification process? The cited wikipedia page mentions model checking, deductive verification and program derivation as possibilities.
nicetrader
  • 607
  • 3
  • 9
5
votes
1 answer

Wolfram Warptangent, Point Release 10.2.1 performance improvements

There have been multiple reports of massive reductions in memory and CPU usage with the new Monero 10.2.1 point release. What specific optimizations led to the "massive speed improvements to RingCT validation" reported in the release notes? Which…
4
votes
1 answer

Where is the original CryptoNote Java implementation?

Supposedly CryptoNote was first implemented in Java and soon after migrated to C++. Where can I get the original Java implementation? I don't see it on GitHub and I can't get access to the official CryptoNote forum, so I can't ask there.
4
votes
1 answer

Code that checks for 'rogue block'

I read recently about, for lack of a better term, a rogue block that was recorded into the blockchain that forked the chain but it didn't split exactly. I read that there is some code in later versions that looks for that bad block, but that there's…
gdoober
  • 685
  • 4
  • 14
4
votes
1 answer

Problem with compile part of monero sources to create python bindings

I want to create python module with C++ bindings of monero functions: parse_and_validate_block_from_blob get_block_hashing_blob rx_slow_hash and more... I'm using ubuntu 18.04. For the simplicity of this question, I removed the code associated…
Andrei
  • 367
  • 1
  • 9
3
votes
2 answers

Computing the hash of a string using Monero's codebase

In the process of trying to learn Monero's codebase and attempting to modify it, I have come across this difficulty: after having a user to enter his/her passphrase (a string), I would like to compute it's hash. Since I know that Monero uses SHA-3…
user141
  • 3,337
  • 14
  • 34
2
votes
1 answer

Payment URI support

According to the Wolfram Warptangent, Point Release 1 notes, the new release will add Monero payment URI support to the wallet library What is the definition and purpose of payment URI support? Is there any source code documentation that explains…
2
votes
2 answers

Complete extra field structure (standard interpretation)

The documentation on transactions' 'extra' field is spread out and not completely clear. This is the original cryptonote description. Here is a different question that reveals some more of the concepts. I would like to devote this question to…
koe
  • 379
  • 1
  • 9
2
votes
2 answers

How many lines of source code does Monero have?

How many lines of source code does Monero have? How does that number compare with the amount of Bitcoin source code?
2
votes
1 answer

P2P, RPC and Server related code

Is there a recommended source of information as to how Monero interacts with wallets and other nodes? I'd like to get as much information as possible about the structure of the source code and am having some trouble understanding just from looking…
joshuag
  • 69
  • 3
1
vote
1 answer

Tools to ease Monero source code pull request

After seeing this meta question I thought I would research the difficulty of submitting a pull request to replace mixin with ring size everywhere it is found in Monero source code. Although I believe I am capable of doing this manually, there are so…
Big Things
  • 857
  • 7
  • 11
1
vote
1 answer

What is ge.h and what do its structs store?

As I am reading the Monero source code to understand it, I am not getting one thing, the confusion is caused due to crypto-ops.c,ge.h,rctOps.cpp. Monero uses keccak hash that is 32 bytes in size, it uses (mod)q where size of q is 32 bytes, and it is…
Hrt
  • 11
  • 2
1
vote
1 answer

Why is the limit in the random32_unbiased function different between the comments and the actual code?

I'm talking about this specific function: void random32_unbiased(unsigned char *bytes) { // l = 2^252 + 27742317777372353535851937790883648493. // l fits 15 times in 32 bytes (iow, 15 l is the highest multiple of l that fits in 32 bytes) …
3af2
  • 63
  • 6
1
2