1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) Aptos
// SPDX-License-Identifier: Apache-2.0

#![forbid(unsafe_code)]
#![forbid(missing_debug_implementations)]

mod args;
mod cluster;
pub mod emitter;
mod instance;
mod transaction_generator;
mod wrappers;

// These are the top level things you should need to run the emitter.
pub use args::{ClusterArgs, EmitArgs, MintArgs};
pub use wrappers::emit_transactions;

// We export these if you want finer grained control.
pub use cluster::Cluster;
pub use emitter::{
    query_sequence_numbers,
    stats::{TxnStats, TxnStatsRate},
    EmitJob, EmitJobRequest, EmitThreadParams, TxnEmitter,
};
pub use wrappers::emit_transactions_with_cluster;