Skip to content

Commit 42b60f7

Browse files
committed
Bitcoin: document native C and Windows security alignment
1 parent 2ad4b41 commit 42b60f7

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Bitcoin Native/Platform Revisions — 2026-09-16
2+
3+
## C implementation
4+
5+
`linux/c/bitcoin/base/BitcoinBase.c` was brought into alignment with the hardened Java Bitcoin boundary.
6+
7+
- Removed RPC password and empty password flags.
8+
- Uses `BITCOIN_RPC_PORT` with a validated default of `2222`.
9+
- Uses Bitcoin Core cookie authentication through `bitcoin-cli` rather than command-line credentials.
10+
- Replaced shell-based `popen()`/`system()` command execution with `fork()`/`execvp()` argument-based execution.
11+
- Added bounded process waiting and forced termination on timeout.
12+
- Keeps stderr/stdout inside the controlled child-process pipe.
13+
- Disabled destructive wallet deletion instead of issuing `rm -r`.
14+
- Keeps wallet creation/load/unload as explicit Bitcoin Core operations.
15+
- Keeps transaction broadcasting disabled in the placeholder `send_local_to_remote` path.
16+
17+
## Windows installer
18+
19+
`scripts/windows/bitcoin/windows.install.bat` was updated to:
20+
21+
- stop generating placeholder `rpcuser` and `rpcpassword` credentials;
22+
- configure local regtest mode;
23+
- bind RPC to `127.0.0.1`;
24+
- use a defined local RPC port;
25+
- perform the Bitcoin Core health check through the same regtest endpoint;
26+
- return a non-zero exit status when the health check fails.
27+
28+
## Remaining platform verification
29+
30+
The native C implementation and Windows script have been source-updated, but a native compiler run and Windows execution are not claimed from source inspection alone. Those environments should be exercised in CI or on their target systems.

0 commit comments

Comments
 (0)