Skip to content

Commit 02e2e49

Browse files
committed
Merge commit 'ccb97793906c3798a8d235cdb4fcedf75508a8bc'
2 parents cc22b8f + ccb9779 commit 02e2e49

File tree

256 files changed

+4344
-2815
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

256 files changed

+4344
-2815
lines changed

depend/bitcoin/.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
steps:
3939
- name: Determine fetch depth
4040
run: echo "FETCH_DEPTH=$((${{ github.event.pull_request.commits }} + 2))" >> "$GITHUB_ENV"
41-
- uses: actions/checkout@v4
41+
- uses: actions/checkout@v5
4242
with:
4343
ref: ${{ github.event.pull_request.head.sha }}
4444
fetch-depth: ${{ env.FETCH_DEPTH }}
@@ -116,7 +116,7 @@ jobs:
116116

117117
steps:
118118
- name: Checkout
119-
uses: actions/checkout@v4
119+
uses: actions/checkout@v5
120120

121121
- name: Clang version
122122
run: |
@@ -183,7 +183,7 @@ jobs:
183183

184184
steps:
185185
- name: Checkout
186-
uses: actions/checkout@v4
186+
uses: actions/checkout@v5
187187

188188
- name: Configure Developer Command Prompt for Microsoft Visual C++
189189
# Using microsoft/setup-msbuild is not enough.
@@ -294,7 +294,7 @@ jobs:
294294

295295
steps:
296296
- name: Checkout
297-
uses: actions/checkout@v4
297+
uses: actions/checkout@v5
298298

299299
- name: Set CI directories
300300
run: |
@@ -348,7 +348,7 @@ jobs:
348348

349349
steps:
350350
- name: Checkout
351-
uses: actions/checkout@v4
351+
uses: actions/checkout@v5
352352

353353
- name: Download built executables
354354
uses: actions/download-artifact@v4
@@ -417,7 +417,7 @@ jobs:
417417
DANGER_CI_ON_HOST_FOLDERS: 1
418418
steps:
419419
- name: Checkout
420-
uses: actions/checkout@v4
420+
uses: actions/checkout@v5
421421

422422
- name: Set CI directories
423423
run: |

depend/bitcoin/contrib/guix/security-check.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,6 @@ def check_ELF_CONTROL_FLOW(binary) -> bool:
123123

124124
def check_ELF_FORTIFY(binary) -> bool:
125125

126-
# bitcoin-util does not currently contain any fortified functions
127-
if 'Bitcoin Core bitcoin-util utility version ' in binary.strings:
128-
return True
129126
# bitcoin wrapper does not currently contain any fortified functions
130127
if '--monolithic' in binary.strings:
131128
return True

depend/bitcoin/contrib/guix/symbol-check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
# See https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html for more info.
3333

3434
MAX_VERSIONS = {
35-
'GCC': (4,3,0),
35+
'GCC': (7,0,0),
3636
'GLIBC': {
3737
lief.ELF.ARCH.X86_64: (2,31),
3838
lief.ELF.ARCH.ARM: (2,31),

depend/bitcoin/contrib/tracing/mempool_monitor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
PROGRAM = """
1818
# include <uapi/linux/ptrace.h>
1919
20-
// The longest rejection reason is 118 chars and is generated in case of SCRIPT_ERR_EVAL_FALSE by
21-
// strprintf("mandatory-script-verify-flag-failed (%s)", ScriptErrorString(check.GetScriptError()))
22-
#define MAX_REJECT_REASON_LENGTH 118
20+
// The longest rejection reason is 114 chars and is generated in case of SCRIPT_ERR_EVAL_FALSE by
21+
// strprintf("block-script-verify-flag-failed (%s)", ScriptErrorString(check.GetScriptError()))
22+
#define MAX_REJECT_REASON_LENGTH 114
2323
// The longest string returned by RemovalReasonToString() is 'sizelimit'
2424
#define MAX_REMOVAL_REASON_LENGTH 9
2525
#define HASH_LENGTH 32

depend/bitcoin/doc/build-freebsd.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ Run the following as root to install the base dependencies for building.
1313
pkg install boost-libs cmake git libevent pkgconf
1414
```
1515

16+
SQLite is required for the wallet:
17+
18+
```bash
19+
pkg install sqlite3
20+
```
21+
22+
To build Bitcoin Core without the wallet, use `-DENABLE_WALLET=OFF`.
23+
1624
See [dependencies.md](dependencies.md) for a complete overview.
1725

1826
### 2. Clone Bitcoin Repo
@@ -23,17 +31,6 @@ git clone https://github.com/bitcoin/bitcoin.git
2331

2432
### 3. Install Optional Dependencies
2533

26-
#### Wallet Dependencies
27-
It is not necessary to build wallet functionality to run either `bitcoind` or `bitcoin-qt`.
28-
29-
###### Descriptor Wallet Support
30-
31-
`sqlite3` is required to support [descriptor wallets](descriptors.md).
32-
Skip if you don't intend to use descriptor wallets.
33-
```bash
34-
pkg install sqlite3
35-
```
36-
3734
#### GUI Dependencies
3835
###### Qt6
3936

@@ -79,7 +76,7 @@ pkg install python3 databases/py-sqlite3 net/py-pyzmq
7976

8077
There are many ways to configure Bitcoin Core, here are a few common examples:
8178

82-
##### Descriptor Wallet and GUI:
79+
##### Wallet and GUI:
8380
This enables the GUI, assuming `sqlite` and `qt` are installed.
8481
```bash
8582
cmake -B build -DBUILD_GUI=ON

depend/bitcoin/doc/build-netbsd.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ cmake -B build
3131
...
3232
```
3333

34+
SQLite is required for the wallet:
35+
36+
```bash
37+
pkgin sqlite3
38+
```
39+
40+
To build Bitcoin Core without the wallet, use `-DENABLE_WALLET=OFF`.
41+
3442
See [dependencies.md](dependencies.md) for a complete overview.
3543

3644
### 2. Clone Bitcoin Repo
@@ -43,18 +51,6 @@ git clone https://github.com/bitcoin/bitcoin.git
4351

4452
### 3. Install Optional Dependencies
4553

46-
#### Wallet Dependencies
47-
48-
It is not necessary to build wallet functionality to run bitcoind or the GUI.
49-
50-
###### Descriptor Wallet Support
51-
52-
`sqlite3` is required to enable support for [descriptor wallets](https://github.com/bitcoin/bitcoin/blob/master/doc/descriptors.md).
53-
54-
```bash
55-
pkgin install sqlite3
56-
```
57-
5854
#### GUI Dependencies
5955
###### Qt6
6056

depend/bitcoin/doc/build-openbsd.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ Run the following as root to install the base dependencies for building.
1313
pkg_add git cmake boost libevent
1414
```
1515

16+
SQLite is required for the wallet:
17+
18+
```bash
19+
pkg_add sqlite3
20+
```
21+
22+
To build Bitcoin Core without the wallet, use `-DENABLE_WALLET=OFF`.
23+
1624
See [dependencies.md](dependencies.md) for a complete overview.
1725

1826
### 2. Clone Bitcoin Repo
@@ -23,16 +31,6 @@ git clone https://github.com/bitcoin/bitcoin.git
2331

2432
### 3. Install Optional Dependencies
2533

26-
#### Wallet Dependencies
27-
28-
It is not necessary to build wallet functionality to run either `bitcoind` or `bitcoin-qt`.
29-
SQLite is required to build the wallet.
30-
31-
32-
``` bash
33-
pkg_add sqlite3
34-
```
35-
3634
#### GUI Dependencies
3735
###### Qt6
3836

@@ -77,8 +75,8 @@ pkg_add python py3-zmq # Select the newest version of the python package if nec
7775

7876
There are many ways to configure Bitcoin Core, here are a few common examples:
7977

80-
##### Descriptor Wallet and GUI:
81-
This enables descriptor wallet support and the GUI, assuming SQLite and Qt 6 are installed.
78+
##### Wallet and GUI:
79+
This enables wallet support and the GUI, assuming SQLite and Qt 6 are installed.
8280

8381
```bash
8482
cmake -B build -DBUILD_GUI=ON

depend/bitcoin/doc/build-osx.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ To install, run the following from your terminal:
5151
brew install cmake boost pkgconf libevent
5252
```
5353

54+
#### Wallet Dependencies
55+
56+
If you do not need wallet functionality, you can use `-DENABLE_WALLET=OFF` in
57+
the `cmake -B` step below.
58+
59+
SQLite is required, but since macOS ships with a useable `sqlite` package, you don't need to
60+
install anything.
61+
5462
### 4. Clone Bitcoin repository
5563

5664
`git` should already be installed by default on your system.
@@ -63,19 +71,6 @@ git clone https://github.com/bitcoin/bitcoin.git
6371

6472
### 5. Install Optional Dependencies
6573

66-
#### Wallet Dependencies
67-
68-
It is not necessary to build wallet functionality to run `bitcoind` or `bitcoin-qt`.
69-
70-
###### Descriptor Wallet Support
71-
72-
`sqlite` is required to support for descriptor wallets.
73-
74-
macOS ships with a useable `sqlite` package, meaning you don't need to
75-
install anything.
76-
77-
---
78-
7974
#### GUI Dependencies
8075

8176
###### Qt

depend/bitcoin/doc/build-unix.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ Now, you can either build from self-compiled [depends](#dependencies) or install
5454

5555
sudo apt-get install libevent-dev libboost-dev
5656

57-
SQLite is required for the descriptor wallet:
57+
SQLite is required for the wallet:
5858

5959
sudo apt install libsqlite3-dev
6060

61-
To build Bitcoin Core without wallet, see [*Disable-wallet mode*](#disable-wallet-mode)
61+
To build Bitcoin Core without the wallet, see [*Disable-wallet mode*](#disable-wallet-mode)
6262

6363
ZMQ-enabled binaries are compiled with `-DWITH_ZMQ=ON` and require the following dependency:
6464

@@ -105,11 +105,11 @@ Now, you can either build from self-compiled [depends](#dependencies) or install
105105

106106
sudo dnf install libevent-devel boost-devel
107107

108-
SQLite is required for the descriptor wallet:
108+
SQLite is required for the wallet:
109109

110110
sudo dnf install sqlite-devel
111111

112-
To build Bitcoin Core without wallet, see [*Disable-wallet mode*](#disable-wallet-mode)
112+
To build Bitcoin Core without the wallet, see [*Disable-wallet mode*](#disable-wallet-mode)
113113

114114
ZMQ-enabled binaries are compiled with `-DWITH_ZMQ=ON` and require the following dependency:
115115

@@ -155,11 +155,11 @@ Now, you can either build from self-compiled [depends](#dependencies) or install
155155

156156
apk add libevent-dev boost-dev
157157

158-
SQLite is required for the descriptor wallet:
158+
SQLite is required for the wallet:
159159

160160
apk add sqlite-dev
161161

162-
To build Bitcoin Core without wallet, see [*Disable-wallet mode*](#disable-wallet-mode)
162+
To build Bitcoin Core without the wallet, see [*Disable-wallet mode*](#disable-wallet-mode)
163163

164164
ZMQ dependencies (provides ZMQ API):
165165

depend/bitcoin/doc/files.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
- [Installed Files](#installed-files)
2020

21+
- [Filesystem recommendations](#filesystem-recommendations)
22+
2123
## Data directory location
2224

2325
The data directory is the default location where the Bitcoin Core files are stored.
@@ -160,3 +162,8 @@ This table describes the files installed by Bitcoin Core across different platfo
160162
- *Italicized* files are only installed in source builds if relevant CMake options are enabled. They are not included in binary releases.
161163
- README and bitcoin.conf files are included in binary releases but not installed in source builds.
162164
- On Windows, binaries have a `.exe` suffix (e.g., `bitcoin-cli.exe`).
165+
166+
## Filesystem recommendations
167+
168+
When choosing a filesystem for the data directory (`datadir`) or blocks directory (`blocksdir`) on **macOS**,the `exFAT` filesystem should be avoided.
169+
There have been multiple reports of database corruption and data loss when using this filesystem with Bitcoin Core, see [Issue #31454](https://github.com/bitcoin/bitcoin/issues/31454) for more details.

0 commit comments

Comments
 (0)