aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2024-08-15 21:21:11 +0100
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2024-08-29 12:38:53 +0100
commite268b48419b802857c329a7ae27d3dbe4c1a9a4b (patch)
tree13b4b30c8855626fa7c2f71b09867f83622be3ab
parentd209e4f1566f9240f105bb93ed61bda9b4bb272b (diff)
downloadbitcoin-e268b48419b802857c329a7ae27d3dbe4c1a9a4b.tar.xz
doc: Adjust `doc/design/libraries.md`
-rw-r--r--doc/design/libraries.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/design/libraries.md b/doc/design/libraries.md
index caf414ac47..8a4ee31568 100644
--- a/doc/design/libraries.md
+++ b/doc/design/libraries.md
@@ -19,7 +19,7 @@
- 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.
-- 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:
+- 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 [`add_library(bitcoin_* ...)`](../../src/CMakeLists.txt) 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:
- *libbitcoin_node* code lives in `src/node/` in the `node::` namespace
- *libbitcoin_wallet* code lives in `src/wallet/` in the `wallet::` namespace