pub mod block;
pub mod block_proof;
pub mod boot;
pub mod collator;
pub mod config;
pub mod db;
pub mod error;
pub mod engine;
pub mod engine_traits;
pub mod engine_operations;
pub mod full_node;
pub mod macros;
pub mod network;
pub mod out_msg_queue;
pub mod shard_state;
pub mod sync;
pub mod types;
pub mod validator;
pub mod ext_messages;
pub mod shard_blocks;
pub mod validating_utils;
pub mod rng;
pub mod collator_test_bundle;

#[cfg(feature = "tracing")]
pub mod jaeger;

#[cfg(not(feature = "tracing"))]
pub mod jaeger {
    pub fn init_jaeger(){}
    pub fn message_from_kafka_received(_kf_key: &[u8]) {}
    pub fn broadcast_sended(_msg_id: String) {}
}

#[cfg(feature = "external_db")]
mod external_db;


