First exchange listing: the NonKYC campaign needs 100 backers by 2027-02-04, and $5 counts as one. Pledges are donations, refunded if the listing does not happen. Back the campaign →

Bitflash Download

Docs · Dependencies

Build Dependencies

Bitflash links consensus-adjacent cryptographic and proof-of-work code from external repositories. Fresh builds must not follow upstream master silently: a changed upstream branch can break reproducible builds or change behavior in code that every node relies on.

The top-level Makefile pins source dependencies by full commit hash:

dependencyrepositorypinned commit
libsecp256k1https://github.com/bitcoin-core/secp256k17fecac74aed8e1fd9078380d67dd04663705c989
RandomXhttps://github.com/tevador/RandomX1e9d4b2df63fa6edf46b06789486e23c0fcaa55a

Vendored into src/ as copied files, not fetched at build time:

filefromversionsha256
qrcodegen.hpphttps://github.com/nayuki/QR-Code-generator (cpp/), MITv1.8.0b779c3b156cf7a57ce789d6fee4fc991ccc2913774d26c909d22bb8f26b2a793
qrcodegen.cppsamev1.8.01f3b3fcdac6954c32cf583ccd02ec9b5901f756a38c461acedc70be4a77d3757

The QR codes of payment links (bip21.h) in the wallet. Pure computation: only the C++ standard library, no I/O. Kept byte for byte as released, so the hashes above check it.

When updating either dependency, rebuild from a clean dependency directory and run the full selftest suite before opening the PR. The PR should explain why the dependency changed and whether the update can affect consensus, addresses, signatures, proof-of-work validation, or mining.

Foreign-chain light-validation code is also vendored into src/pow_vendor/:

dependencyrepository / tagpinned commitlicenses
DigiByte PoW primitiveshttps://github.com/DigiByte-Core/digibyte / v8.22.2cc529634484591e1ceb57b6168b93c3671e27335MIT (Core/sphlib/Odocrypt), CC0 (Keccak), Brian Gladman redistribution notice
Ravencoin KAWPOW / ethashhttps://github.com/RavenProject/Ravencoin / v4.6.17864c39c2bbc85eadcc36cdf5b789d5f551ede7dApache-2.0
Ravencoin X16R/X16RV2 hashes (x16/, regtest only)same, src/algo/sameMIT (sphlib)

The complete source-path/SHA256 inventory is src/pow_vendor/UPSTREAM.json, with license files beside the copies and documented SIMD signed-shift and unused seed-memo patches in the vendor README. No dependency is downloaded at build time. Every package carries these licenses, and the others, in THIRD-PARTY-NOTICES.txt. Original C translation units are compiled as C99; the wrappers and C++ copies compile as C++14 without -fpermissive. See light-pow.md for checkpoint scope, measurements, cache limits and integration requirements.


Rendered from docs/dependencies.md in the repository. Read the source.