diff --git a/books/architecture/src/storage/common/ops.md b/books/architecture/src/storage/common/ops.md index 2bfd3f9..8ade48b 100644 --- a/books/architecture/src/storage/common/ops.md +++ b/books/architecture/src/storage/common/ops.md @@ -1 +1,11 @@ -# 🟢 ops +# `ops` +Both [`cuprate_blockchain`](https://doc.cuprate.org/cuprate_blockchain) +and [`cuprate_txpool`](https://doc.cuprate.org/cuprate_txpool) expose an +`ops` module containing abstracted abstracted Monero-related database operations. + +For example, [`cuprate_blockchain::ops::block::add_block`](https://doc.cuprate.org/cuprate_blockchain/ops/block/fn.add_block.html). + +These functions build on-top of the database traits and allow for more abstracted database operations. + +Although these are exposed, they are not the main API, that would be next section: +the [`tower::Service`](./service/intro.md) (which uses these functions). \ No newline at end of file