Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
version.cpp
Go to the documentation of this file.
1#include "version.hpp"
2
3namespace bb {
4// This is updated in-place by bootstrap.sh during the release process. This prevents
5// the version string from needing to be present at build-time, simplifying e.g. caching.
6// The sentinel prefix allows inject_version to reliably find the version location even
7// after a version has already been injected, enabling re-injection for cached binaries.
8// Format: "BARRETENBERG_VERSION_SENTINEL" followed by version space "00000000.00000000.00000000"
9// The inject_version script writes the version starting at the offset after the sentinel.
10const char* const BB_VERSION_PLACEHOLDER = "BARRETENBERG_VERSION_SENTINEL00000000.00000000.00000000";
11} // namespace bb
Entry point for Barretenberg command-line interface.
Definition api.hpp:5
const char *const BB_VERSION_PLACEHOLDER
Definition version.cpp:10