Crate massa_storage

Crate massa_storage 

Source
Expand description

Copyright (c) 2022 MASSA LABS info@massa.net

This crate is used to store shared objects (blocks, operations…) across different modules. The cloneable Storage structure has thread-safe shared access to the stored objects.

The Storage structure also has lists of object references held by the current instance of Storage. When no instance of Storage claims a reference to a given object anymore, that object is automatically removed from storage.

Modules§

block_indexes 🔒
endorsement_indexes 🔒
operation_indexes 🔒

Structs§

Storage
A storage system for objects (blocks, operations…), shared by various components.