Macros§
- with_
pool 🔒 - Expands
$bodyonce per backend, so each copy type-checks against a concrete sqlx database.
Structs§
- Light
Client Postgres Options - Postgres connection for a light client that shares its node’s database.
- Light
Client Sqlite Options - Recency 🔒
- In-memory LRU recency tracker shared across all clones of a
SqlStorage. - SqlStorage
Storagebacked by SQLite or Postgres.
Enums§
- DbPool 🔒
- Leaf
Request - Different ways to ask the database for a leaf.
- Light
Client DbOptions - Where a node keeps its light client database.
Constants§
- WRITE_
BACKOFF 🔒 - Backoff for retrying failed writes. Staggered so concurrent writers don’t lock-step.
- WRITE_
RETRY_ 🔒MAX - Maximum number of retries for a failed write before propagating the error.
Traits§
- Storage
- Client-side database for a [
LightClient].