How t4t5/bitcoin-0.1-rebuilt works
This repository’s product is a byte-for-byte rebuild of Bitcoin 0.1.0’s Windows executable and release archive, not the Bitcoin application runtime itself. The principal workflow is to obtain and validate the original release inputs, reconstruct the historical toolchain and dependencies, build the executable, recreate the RAR, and compare the outputs with published hashes. The README documents the major stages and some script responsibilities; source excerpts are limited to the timestamp shim and DLL export converter, so links involving other scripts reflect README evidence rather than inspected implementations.
Main entry points: build.sh Build entry · prepare-deps.sh Prepare dependencies · fetch.sh Fetch inputs · build-bitcoin.sh Bitcoin build
Components 17
Release inputs
- Fetch inputs
scripts/fetch.sh - Input manifests
downloads/MANIFEST - Original archives
original/archives
Build environment
- Toolchain setup
scripts/setup-toolchain.sh - Prepare dependencies
scripts/prepare-deps.sh - wxWidgets build
scripts/build-wx.sh - Berkeley DB build
scripts/build-db.sh - Fixed-time shim
docker/fixedtime.c
Reconstruction
- Build entry
build.sh - Bitcoin build
scripts/build-bitcoin.sh - DLL export converter
deps/dll_to_def.py - RAR recreation
scripts/build-rar.sh - RAR attributes
scripts/rar-attributes.pl
Output validation
- Rebuilt executable
build.sh - Rebuilt archive
build.sh - Published hashes
README.md
Other components
- Engineer
Connections 17
- Engineer → Build entry: runs
README.md - Build entry → Fetch inputs: starts workflow
- Fetch inputs → Input manifests: reads sources
README.md - Fetch inputs → Original archives: checks archive
README.md - Build entry → Toolchain setup: sets up
- Build entry → Prepare dependencies: prepares
- Prepare dependencies → wxWidgets build: builds
- Prepare dependencies → Berkeley DB build: builds
- Bitcoin build → Fixed-time shim: uses timestamps
README.md - Prepare dependencies → DLL export converter: generates import definition
README.md - Build entry → Bitcoin build: builds executable
- Bitcoin build → Rebuilt executable: produces
- RAR recreation → Rebuilt archive: creates archive
README.md - RAR attributes → Rebuilt archive: updates headers
README.md - Build entry → RAR recreation: recreates archive
- Rebuilt executable → Published hashes: checks SHA-256
README.md - Rebuilt archive → Published hashes: checks MD5 and SHA-1
README.md