Bitcoin Forum
May 05, 2024, 06:29:30 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: We're going to create a comprehensive Bitcoind source code documentation. Here.  (Read 3185 times)
Atlas (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1


View Profile
October 13, 2012, 04:05:48 PM
 #1

First file is bitcoin / src / main.cpp. Feel free to correct me and guide me during this process. I know pretty much shit about coding. Yes, this might be completely inane but I am going to take that risk.

Let's start with these #includes:

#include "alert.h"
#include "checkpoints.h"
#include "db.h"
#include "net.h"
#include "init.h"
#include "ui_interface.h"
#include <boost/algorithm/string/replace.hpp>
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>

What do each of these files do and refer to? What is the function of #include?

1714933770
Hero Member
*
Offline Offline

Posts: 1714933770

View Profile Personal Message (Offline)

Ignore
1714933770
Reply with quote  #2

1714933770
Report to moderator
1714933770
Hero Member
*
Offline Offline

Posts: 1714933770

View Profile Personal Message (Offline)

Ignore
1714933770
Reply with quote  #2

1714933770
Report to moderator
1714933770
Hero Member
*
Offline Offline

Posts: 1714933770

View Profile Personal Message (Offline)

Ignore
1714933770
Reply with quote  #2

1714933770
Report to moderator
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714933770
Hero Member
*
Offline Offline

Posts: 1714933770

View Profile Personal Message (Offline)

Ignore
1714933770
Reply with quote  #2

1714933770
Report to moderator
1714933770
Hero Member
*
Offline Offline

Posts: 1714933770

View Profile Personal Message (Offline)

Ignore
1714933770
Reply with quote  #2

1714933770
Report to moderator
1714933770
Hero Member
*
Offline Offline

Posts: 1714933770

View Profile Personal Message (Offline)

Ignore
1714933770
Reply with quote  #2

1714933770
Report to moderator
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5194
Merit: 12972


View Profile
October 13, 2012, 04:24:52 PM
 #2

Just learn C++. I recommend the book C++ Primer. Translating all of the code into English would take a very long time and wouldn't be very useful, since the C++ code would always be more accurate and clear than the English translation for people who know C++.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Atlas (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1


View Profile
October 13, 2012, 04:26:17 PM
 #3

Just learn C++. I recommend the book C++ Primer. Translating all of the code into English would take a very long time and wouldn't be very useful, since the C++ code would always be more accurate and clear than the English translation for people who know C++.

Will do.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!