Skip to content

Latest commit

 

History

History
74 lines (60 loc) · 5.9 KB

dependencies.md

File metadata and controls

74 lines (60 loc) · 5.9 KB

FACTOR dependencies and component selection

Authority: configure.ac, depends/packages/packages.mk and the package recipes at the reviewed source revision e224c5277. See installation and Unix builds.

Dependency FACTOR role Evidence
GMP Required integer arithmetic, PoW and Deadpool gmp.mk pins 6.3.0; configure checks __gmpz_init
Crypto++ Required challenge hash construction cryptopp.mk pins 8.6.0; configure links cryptopp
Boost and libevent Required core utilities/networking Depends base package set and configure checks
Berkeley DB 4.8 Optional legacy wallet backend Disable with --without-bdb or --disable-wallet; incompatible BDB changes wallet portability
SQLite Optional descriptor wallet backend Disable with --without-sqlite or --disable-wallet
Qt, qrencode Optional GUI/QR --without-gui; depends NO_QT=1
ZeroMQ Optional notifications --with-zmq; depends NO_ZMQ=1
miniupnpc, libnatpmp Optional port mapping --without-miniupnpc, --without-natpmp
libmultiprocess/capnp Experimental optional multiprocess build Depends MULTIPROCESS=1, configure options

The project uses C++17 and Autotools. Consult actual configure checks for minimum versions and package recipes for pinned build inputs; a pin is not a current security assessment. The ASERT table generator uses modern Python Decimal logarithms and type syntax; do not assume the inherited Python 3.6 test minimum can run every new utility. Deadpool functional tests additionally import sympy.

No dependencies were upgraded and no platform was rebuilt in this review. CI scripts contain historical targets; their presence does not certify current support.

Upstream v22 dependency reference

The table and notes below are retained from Bitcoin Core v22.0. Its “CVEs” column and “version used” entries are historical, not a current vulnerability scan, FACTOR bill of materials or support matrix. FACTOR adds GMP/Crypto++ and has changed some pins. Use current recipes and an independent security review for deployment decisions.


Dependencies

These are the dependencies currently used by Bitcoin Core. You can find instructions for installing them in the build-*.md file for your platform.

Dependency Version used Minimum required CVEs Shared Bundled Qt library
Berkeley DB 4.8.30 4.8.x No
Boost 1.71.0 1.64.0 No
Clang * 5.0+ (C++17 support)
Expat 2.2.7 No Yes
fontconfig 2.12.1 No Yes
FreeType 2.7.1 No Yes (Android only)
GCC 7+ (C++17 support)
HarfBuzz-NG Yes
libevent 2.1.12-stable 2.0.21 No
libnatpmp git commit 4536032... No
libpng Yes
librsvg
MiniUPnPc 2.2.2 No
PCRE Yes
Python (tests) 3.6
qrencode 3.4.4 No
Qt 5.12.11 5.9.5 No
SQLite 3.32.1 3.7.17
XCB Yes (Linux only)
xkbcommon Yes (Linux only)
ZeroMQ 4.3.1 4.0.0 No
zlib Yes

Note * : When compiling with -stdlib=libc++, the minimum supported libc++ version is 7.0.

Controlling dependencies

Some dependencies are not needed in all configurations. The following are some factors that affect the dependency list.

Options passed to ./configure

  • MiniUPnPc is not needed with --without-miniupnpc.
  • libnatpmp is not needed with --without-natpmp.
  • Berkeley DB is not needed with --disable-wallet or --without-bdb.
  • SQLite is not needed with --disable-wallet or --without-sqlite.
  • Qt is not needed with --without-gui.
  • If the qrencode dependency is absent, QR support won't be added. To force an error when that happens, pass --with-qrencode.
  • ZeroMQ is needed only with the --with-zmq option.

Other

  • librsvg is only needed if you need to run make deploy on (cross-compilation to) macOS.
  • Not-Qt-bundled zlib is required to build the DMG tool from the libdmg-hfsplus project.