mirror of https://github.com/bitcoin/bitcoin.git
As a first step, implement the equivalent of what was implemented in the now deprecated libbitcoinconsensus header. Also add a test binary to exercise the header and library. Unlike the deprecated libbitcoinconsensus the kernel library can now use the hardware-accelerated sha256 implementations thanks for its statically-initialzed context. The functions kept around for backwards-compatibility in the libbitcoinconsensus header are not ported over. As a new header, it should not be burdened by previous implementations. Also add a new error code for handling invalid flag combinations, which would otherwise cause a crash. The macros used in the new C header were adapted from the libsecp256k1 header. To make use of the C header from C++ code, a C++ header is also introduced for wrapping the C header. This makes it safer and easier to use from C++ code. Co-authored-by: stickies-v <stickies-v@protonmail.com> |
||
---|---|---|
.. | ||
00_setup_env.sh | ||
00_setup_env_arm.sh | ||
00_setup_env_i686_no_ipc.sh | ||
00_setup_env_mac_cross.sh | ||
00_setup_env_mac_native.sh | ||
00_setup_env_mac_native_fuzz.sh | ||
00_setup_env_native_asan.sh | ||
00_setup_env_native_centos.sh | ||
00_setup_env_native_fuzz.sh | ||
00_setup_env_native_fuzz_with_msan.sh | ||
00_setup_env_native_fuzz_with_valgrind.sh | ||
00_setup_env_native_msan.sh | ||
00_setup_env_native_nowallet_libbitcoinkernel.sh | ||
00_setup_env_native_previous_releases.sh | ||
00_setup_env_native_tidy.sh | ||
00_setup_env_native_tsan.sh | ||
00_setup_env_native_valgrind.sh | ||
00_setup_env_s390x.sh | ||
00_setup_env_win64.sh | ||
01_base_install.sh | ||
02_run_container.py | ||
02_run_container.sh | ||
03_test_script.sh | ||
GetCMakeLogFiles.cmake | ||
wrap-valgrind.sh |