Skip to main content

Questions tagged [source-code-documentation]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Does monero have a git repo on the radicle network or on another peer-to-peer network?

Does monero have a git repo on the radicle network or any other peer-to-peer network? If so, please post its id here. Having such repo hosted peer-to-peer may come handy in the event of banning the ...
John Smith's user avatar
1 vote
1 answer
40 views

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 ...
Hrt's user avatar
  • 11
1 vote
1 answer
52 views

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 ...
3af2's user avatar
  • 63
4 votes
1 answer
101 views

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 ...
Andrei's user avatar
  • 367
2 votes
2 answers
785 views

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 ...
koe's user avatar
  • 379
1 vote
1 answer
104 views

What is the logic behind sc_add?

In sc_add (crypto-ops.c) we first load three chars, we mask with 2097151 (loosing information?): int64_t a0 = 2097151 & load_3(a); Then continue with something similar, but this time with four ...
hokkjoy's user avatar
  • 23
1 vote
1 answer
56 views

What do these two lines in electrum-words.cpp do?

Analyzing the seed logic here; Can someone please explain this expression: w[0]= w[1] + word_list_length * (((word_list_length - w[1]) + w[2]) % word_list_length) + word_list_length * ...
hokkjoy's user avatar
  • 23
1 vote
1 answer
63 views

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 ...
joshuag's user avatar
  • 59
4 votes
1 answer
394 views

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 ...
The Shoe Shiner's user avatar
5 votes
1 answer
204 views

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 ...
Smart Kid's user avatar
  • 6,563
1 vote
1 answer
67 views

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 ...
Big Things's user avatar
2 votes
1 answer
147 views

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 ...
1010101 Lifestyle's user avatar
27 votes
3 answers
5k views

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's user avatar
  • 3,327
8 votes
2 answers
862 views

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 ...
fatdoor's user avatar
  • 589
3 votes
2 answers
300 views

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 ...
user141's user avatar
  • 3,327
4 votes
1 answer
93 views

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 ...
gdoober's user avatar
  • 685
8 votes
1 answer
203 views

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 ...
nicetrader's user avatar
2 votes
2 answers
3k views

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?
opensourceprivacy's user avatar