In the last article, we compiled the Bitcoin source code locally. And a brief understanding of bitcoind and bitcoin-CLI simple use. This time, we’ll start by taking a look at the various modules of the Bitcoin source code.

Sublime opens the Bitcoin source code and we find that there are several other types of directories and files besides the.h,.cpp and other source code.

Know yourself and know your enemy, and you can win a hundred battles. So, I spent some time going through all the directories and files. A preliminary summary of the functions of each module code is made to understand the overall framework of Bitcoin and the code functions of the core module.

This way, when you come across some CPP files in the source code, you won’t be confused. If necessary, you can refer back to this summary diagram.

Cut the crap and just go ahead

Some places may be summed up not in place, the big guy can directly tell me. This structure is made by Xmind. If you need it, you can leave a message for Xmind source files.

The next article explores bitcoin’s data structure – blocks.

The Internet disrupts the world, blockchain disrupts the Internet!

— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — 20180419 00:06