上QQ阅读APP看书,第一时间看更新
Cloning the Bitcoin source code
Prior to building the code, start by creating a source directory called workspace/, where we can clone the Bitcoin Core source repository:
mkdir workspace && cd
To download the Bitcoin Core source code, we'll use git to clone the latest version of its repository in the current local directory:
git clone https://github.com/bitcoin/bitcoin.git && cd bitcoin
The download process will take a few minutes. At the end, you'll get a new directory called bitcoin/ containing all the Bitcoin source code files.