iota_core/
lib.rs

1// Copyright (c) 2021, Facebook, Inc. and its affiliates
2// Copyright (c) Mysten Labs, Inc.
3// Modifications Copyright (c) 2024 IOTA Stiftung
4// SPDX-License-Identifier: Apache-2.0
5
6extern crate core;
7
8pub mod authority;
9pub mod authority_aggregator;
10pub mod authority_client;
11pub mod authority_server;
12pub mod checkpoints;
13pub mod congestion_tracker;
14pub mod connection_monitor;
15pub mod consensus_adapter;
16pub mod consensus_handler;
17pub mod consensus_manager;
18pub(crate) mod consensus_types;
19pub mod consensus_validator;
20pub mod db_checkpoint_handler;
21pub mod epoch;
22pub mod execution_cache;
23mod execution_driver;
24mod fallback_fetch;
25pub mod jsonrpc_index;
26pub mod metrics;
27pub mod mock_consensus;
28pub mod module_cache_metrics;
29pub mod mysticeti_adapter;
30pub mod overload_monitor;
31mod par_index_live_object_set;
32pub(crate) mod post_consensus_tx_reorder;
33pub mod quorum_driver;
34pub mod rest_index;
35pub mod safe_client;
36mod scoring_decision;
37mod stake_aggregator;
38pub mod starfish_adapter;
39pub mod state_accumulator;
40pub mod storage;
41pub mod streamer;
42pub mod subscription_handler;
43pub mod test_utils;
44pub mod traffic_controller;
45mod transaction_input_loader;
46mod transaction_manager;
47pub mod transaction_orchestrator;
48mod transaction_outputs;
49pub mod validator_tx_finalizer;
50pub mod verify_indexes;
51
52#[cfg(test)]
53#[path = "unit_tests/congestion_control_tests.rs"]
54mod congestion_control_tests;
55#[cfg(test)]
56#[path = "unit_tests/gas_price_feedback_tests.rs"]
57mod gas_price_feedback_tests;
58#[cfg(test)]
59#[path = "unit_tests/move_package_management_tests.rs"]
60mod move_package_management_tests;
61#[cfg(test)]
62#[path = "unit_tests/move_package_publish_tests.rs"]
63mod move_package_publish_tests;
64#[cfg(test)]
65#[path = "unit_tests/move_package_tests.rs"]
66mod move_package_tests;
67#[cfg(test)]
68#[path = "unit_tests/move_package_upgrade_tests.rs"]
69mod move_package_upgrade_tests;
70#[cfg(test)]
71#[path = "unit_tests/pay_iota_tests.rs"]
72mod pay_iota_tests;
73#[cfg(test)]
74#[path = "unit_tests/shared_object_deletion_tests.rs"]
75mod shared_object_deletion_tests;
76pub mod test_authority_clients;
77#[cfg(test)]
78#[path = "unit_tests/transfer_to_object_tests.rs"]
79mod transfer_to_object_tests;
80#[cfg(test)]
81#[path = "unit_tests/type_param_tests.rs"]
82mod type_param_tests;
83#[cfg(test)]
84#[path = "unit_tests/unit_test_utils.rs"]
85mod unit_test_utils;
86
87pub mod signature_verifier;
88
89pub mod runtime;
90mod transaction_signing_filter;