[−][src]Module blockchain::backend
Basic backend definitions and memory backend.
Structs
BlockData | Representing raw block data. |
DirectBackend | Direct backend built on top of a database. |
KeyValueMemoryState | State stored in memory. |
MemoryDatabase | Database backed by memory. |
RwLockBackend | A shared backend based on RwLock. |
SharedDirectBackend | Shared direct backend built on top of a shared database. |
TreeRoute | A tree-route from one block to another in the chain. |
Enums
DirectError | Memory errors |
MemoryError | Memory errors |
Traits
Committable | Committable backend. |
Database | A database trait where the reference to database is unique. |
MemoryLikeBackend | A backend type that stores all information in memory. |
SharedCommittable | SharedCommittable backend. |
SharedDatabase | A database trait where the reference to database is unique. |
Functions
tree_route | Compute a tree-route between two blocks. See tree-route docs for more details. |
Type Definitions
MemoryBackend | Memory direct backend. |