mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Merge 99e35fb7b9 into merged_master (Bitcoin PR bitcoin/bitcoin#30779)
This commit is contained in:
commit
4e8f4adcde
4 changed files with 5 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
# Test cache
|
||||
/test/cache/
|
||||
/test/config.ini
|
||||
|
||||
# Previous releases
|
||||
/releases
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ Run `cmake -B build -LH` to see the full list of available options.
|
|||
This enables support for both wallet types, assuming
|
||||
`sqlite3` and `db4` are both installed.
|
||||
```bash
|
||||
cmake -B build -DBerkeleyDB_INCLUDE_DIR:PATH="${BDB_PREFIX}/include"
|
||||
cmake -B build -DBerkeleyDB_INCLUDE_DIR:PATH="${BDB_PREFIX}/include" -DWITH_BDB=ON
|
||||
```
|
||||
|
||||
##### No Wallet or GUI
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ There is an included test suite that is useful for testing code changes when dev
|
|||
To run the test suite (recommended), you will need to have Python 3 installed:
|
||||
|
||||
```bash
|
||||
pkg_add install python # Select the newest version of the package.
|
||||
pkg_add python # Select the newest version of the package.
|
||||
```
|
||||
|
||||
## Building Bitcoin Core
|
||||
|
|
@ -112,7 +112,7 @@ Run `cmake -B build -LH` to see the full list of available options.
|
|||
This enables support for both wallet types:
|
||||
|
||||
```bash
|
||||
cmake -B build -DBerkeleyDB_INCLUDE_DIR:PATH="${BDB_PREFIX}/include"
|
||||
cmake -B build -DBerkeleyDB_INCLUDE_DIR:PATH="${BDB_PREFIX}/include" -DWITH_BDB=ON
|
||||
```
|
||||
|
||||
### 2. Compile
|
||||
|
|
|
|||
|
|
@ -167,7 +167,7 @@ and configure using the following:
|
|||
```bash
|
||||
export BDB_PREFIX="/path/to/bitcoin/depends/x86_64-pc-linux-gnu"
|
||||
|
||||
cmake -B build -DBerkeleyDB_INCLUDE_DIR:PATH="${BDB_PREFIX}/include"
|
||||
cmake -B build -DBerkeleyDB_INCLUDE_DIR:PATH="${BDB_PREFIX}/include" -DWITH_BDB=ON
|
||||
```
|
||||
|
||||
**Note**: Make sure that `BDB_PREFIX` is an absolute path.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue