Questions tagged [source-code-documentation]
Questions about the documentation of Monero source code contained in the official GitHub repository
17 questions
1
vote
1
answer
56
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 ...
1
vote
1
answer
73
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 ...
4
votes
1
answer
116
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 ...
2
votes
2
answers
1k
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 ...
1
vote
1
answer
125
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 ...
1
vote
1
answer
81
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 * ...
2
votes
1
answer
80
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 ...
4
votes
1
answer
508
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 ...
5
votes
1
answer
222
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 ...
1
vote
1
answer
83
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 ...
2
votes
1
answer
167
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 ...
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?
9
votes
2
answers
923
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 ...
3
votes
2
answers
337
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 ...
4
votes
1
answer
106
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 ...