From 25dc87e6f84c38c21e109e11f7bbd93f1e1f3183 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Fri, 5 Jan 2024 16:27:58 +0000 Subject: [PATCH] libconsensus: deprecate This library has existed for nearly 10 years with very little known uptake or impact. It has become a maintenance burden. In several cases it dictates our code/library structure (for example necessitating LIBBITCOIN_CRYPTO_BASE), as well as build-system procedures (building multiple copies of object files especially for the lib). Several discussions have arisen wrt migrating it to CMake and it has become difficult to justify adding more complexity for a library that is virtually unused anyway. See for example the discussions: https://github.com/hebasto/bitcoin/pull/41 https://github.com/bitcoin/bitcoin/pull/29123 Instead, we (fanquake, hebasto, TheCharlatan, and I) propose simply not migrating it to CMake and letting it end with v27. Any remaining use-cases could be handled in the future by libbitcoinkernel. --- doc/release-notes-29189.md | 15 +++++++++++++++ doc/shared-libraries.md | 1 + 2 files changed, 16 insertions(+) create mode 100644 doc/release-notes-29189.md diff --git a/doc/release-notes-29189.md b/doc/release-notes-29189.md new file mode 100644 index 0000000000000..f75e450217229 --- /dev/null +++ b/doc/release-notes-29189.md @@ -0,0 +1,15 @@ +libbitcoinconsensus +======================== + +This library is deprecated and will be removed for v28. + +It has existed for nearly 10 years with very little known uptake or impact. It +has become a maintenance burden. + +The underlying functionality does not change between versions, so any users of +the library can continue to use the final release indefinitely, with the +understanding that Taproot is its final consensus update. + +In the future, libbitcoinkernel will provide a much more useful API that is +aware of the UTXO set, and therefore be able to fully validate transactions and +blocks. diff --git a/doc/shared-libraries.md b/doc/shared-libraries.md index 07aee46f0bbf8..3a448c655612e 100644 --- a/doc/shared-libraries.md +++ b/doc/shared-libraries.md @@ -2,6 +2,7 @@ Shared Libraries ================ ## bitcoinconsensus +***This library is deprecated and will be removed in v28*** The purpose of this library is to make the verification functionality that is critical to Bitcoin's consensus available to other applications, e.g. to language bindings.