mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-12-23 20:20:01 +00:00
common/ops
This commit is contained in:
parent
7a784459da
commit
7ae2e5e5b4
1 changed files with 11 additions and 1 deletions
|
@ -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).
|
Loading…
Reference in a new issue