You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AM_CONDITIONAL([BUILD_BITCOIN_KERNEL_LIB], [test "$build_experimental_kernel_lib" != "no" && ( test "$build_experimental_kernel_lib" = "yes" || test "$build_bitcoin_chainstate" = "yes" )])
1647
1632
1648
-
AC_MSG_RESULT($build_bitcoin_libs)
1649
-
1650
1633
AC_LANG_POP
1651
1634
1652
1635
if test "$use_ccache" != "no"; then
@@ -1780,8 +1763,8 @@ else
1780
1763
AC_MSG_RESULT([no])
1781
1764
fi
1782
1765
1783
-
if test "$build_bitcoin_wallet$build_bitcoin_cli$build_bitcoin_tx$build_bitcoin_util$build_bitcoin_libs$build_bitcoind$bitcoin_enable_qt$enable_fuzz_binary$use_bench$use_tests" = "nononononononononono"; then
1784
-
AC_MSG_ERROR([No targets! Please specify at least one of: --with-utils --with-libs --with-daemon --with-gui --enable-fuzz(-binary) --enable-bench or --enable-tests])
1766
+
if test "$build_bitcoin_wallet$build_bitcoin_cli$build_bitcoin_tx$build_bitcoin_util$build_bitcoind$bitcoin_enable_qt$enable_fuzz_binary$use_bench$use_tests" = "nonononononononono"; then
1767
+
AC_MSG_ERROR([No targets! Please specify at least one of: --with-utils --with-daemon --with-gui --enable-fuzz(-binary) --enable-bench or --enable-tests])
Copy file name to clipboardExpand all lines: doc/design/libraries.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,9 @@
4
4
|--------------------------|-------------|
5
5
|*libbitcoin_cli*| RPC client functionality used by *bitcoin-cli* executable |
6
6
|*libbitcoin_common*| Home for common functionality shared by different executables and libraries. Similar to *libbitcoin_util*, but higher-level (see [Dependencies](#dependencies)). |
7
-
|*libbitcoin_consensus*| Stable, backwards-compatible consensus functionality used by *libbitcoin_node* and *libbitcoin_wallet* and also exposed as a [shared library](../shared-libraries.md). |
8
-
|*libbitcoinconsensus*| Shared library build of static *libbitcoin_consensus* library |
9
-
|*libbitcoin_kernel*| Consensus engine and support library used for validation by *libbitcoin_node* and also exposed as a [shared library](../shared-libraries.md). |
10
-
|*libbitcoinqt*| GUI functionality used by *bitcoin-qt* and *bitcoin-gui* executables |
7
+
|*libbitcoin_consensus*| Stable, backwards-compatible consensus functionality used by *libbitcoin_node* and *libbitcoin_wallet*. |
8
+
|*libbitcoin_kernel*| Consensus engine and support library used for validation by *libbitcoin_node*. |
9
+
|*libbitcoinqt*| GUI functionality used by *bitcoin-qt* and *bitcoin-gui* executables. |
11
10
|*libbitcoin_ipc*| IPC functionality used by *bitcoin-node*, *bitcoin-wallet*, *bitcoin-gui* executables to communicate when [`--enable-multiprocess`](multiprocess.md) is used. |
12
11
|*libbitcoin_node*| P2P and RPC server functionality used by *bitcoind* and *bitcoin-qt* executables. |
13
12
|*libbitcoin_util*| Home for common functionality shared by different executables and libraries. Similar to *libbitcoin_common*, but lower-level (see [Dependencies](#dependencies)). |
@@ -17,7 +16,7 @@
17
16
18
17
## Conventions
19
18
20
-
- Most libraries are internal libraries and have APIs which are completely unstable! There are few or no restrictions on backwards compatibility or rules about external dependencies. Exceptions are *libbitcoin_consensus* and *libbitcoin_kernel* which have external interfaces documented at [../shared-libraries.md](../shared-libraries.md).
19
+
- Most libraries are internal libraries and have APIs which are completely unstable! There are few or no restrictions on backwards compatibility or rules about external dependencies. An exception is *libbitcoin_kernel*, which, at some future point, will have a documented external interface.
21
20
22
21
- Generally each library should have a corresponding source directory and namespace. Source code organization is a work in progress, so it is true that some namespaces are applied inconsistently, and if you look at [`libbitcoin_*_SOURCES`](../../src/Makefile.am) lists you can see that many libraries pull in files from outside their source directory. But when working with libraries, it is good to follow a consistent pattern like:
0 commit comments