massa_models/lib.rs
1//! Copyright (c) 2022 MASSA LABS <info@massa.net>
2//! All the structures that are used everywhere
3//!
4#![warn(missing_docs)]
5#![warn(unused_crate_dependencies)]
6
7extern crate lazy_static;
8
9/// active blocks related structures
10pub mod active_block;
11/// address related structures
12pub mod address;
13/// amount related structures
14pub mod amount;
15/// async message related structures
16pub mod async_msg;
17/// async message id
18pub mod async_msg_id;
19/// block structure
20pub mod block;
21/// block-related structure: block_header
22pub mod block_header;
23/// block-related structure: block_id
24pub mod block_id;
25/// bytecode structures
26pub mod bytecode;
27/// clique
28pub mod clique;
29/// various structures
30pub mod composite;
31/// node configuration
32pub mod config;
33/// datastore serialization / deserialization
34pub mod datastore;
35/// deferred call id
36pub mod deferred_calls;
37/// denunciation
38pub mod denunciation;
39/// endorsements
40pub mod endorsement;
41/// models error
42pub mod error;
43/// execution related structures
44pub mod execution;
45/// ledger related structures
46pub mod ledger;
47/// mapping grpc
48pub mod mapping_grpc;
49/// node related structure
50pub mod node;
51/// operations
52pub mod operation;
53/// smart contract output events
54pub mod output_event;
55/// pre-hashed trait, for hash less hashmap/set
56pub mod prehash;
57/// rolls
58pub mod rolls;
59/// trait for [massa_signature::Signature] secured data-structs
60pub mod secure_share;
61/// serialization
62pub mod serialization;
63/// slots
64pub mod slot;
65/// various statistics
66pub mod stats;
67/// bootstrap streaming cursor
68pub mod streaming_step;
69/// management of the relation between time and slots
70pub mod timeslots;
71/// types
72pub mod types;
73/// versions
74pub mod version;
75
76/// Test utils
77#[cfg(feature = "test-exports")]
78pub mod test_exports;