tari_engine/lib.rs
1// Copyright 2022 The Tari Project
2// SPDX-License-Identifier: BSD-3-Clause
3
4pub mod executables;
5pub mod fees;
6pub mod runtime;
7pub mod state_store;
8pub mod template;
9pub mod traits;
10pub mod transaction;
11pub mod wasm;
12
13pub use tari_engine_types as types;
14pub use tari_template_abi as abi;
15
16pub mod base_layer_hashers {
17 use blake2::{Blake2b, digest::consts::U32};
18 use tari_crypto::hasher;
19 // TODO: DRY - This should always be the same as the base layer hasher
20 hasher!(
21 Blake2b<U32>,
22 ConfidentialOutputHasher,
23 "com.tari.layer_two.confidential_output",
24 1,
25 confidential_output_hasher
26 );
27}