Expand description
Β§Database Operations
Database crate provides functions that adds/reads values from PostgreSQL database.
Warning: This crate wonβt configure PostgreSQL itself and excepts admin privileges to create/drop databases.
ModulesΒ§
- aggregator π
- Verifier Related Database Operations
- bitcoin_
syncer π - header_
chain_ πprover - Header Chain Prover Related Database Operations
- operator π
- Operator Related Database Operations
- state_
machine π - State Machine Related Database Operations
- tx_
sender π - Transaction Sender Related Database Operations
- verifier π
- Verifier Related Database Operations
- wrapper π
- Type Wrappers for Parsing
StructsΒ§
- Database
- PostgreSQL database connection details.
ConstantsΒ§
- MAX_
CONNECTIONS_ FOR_ POOL - Assuming total of 100 max connections as default, the verifier and operator can share 50 each.
Type AliasesΒ§
- Database
Transaction - Database transaction for Postgres.