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_template_abi as abi;
14
15pub mod base_layer_hashers {
16 use blake2::{Blake2b, digest::consts::U32};
17 use tari_crypto::hasher;
18 // TODO: DRY - This should always be the same as the base layer hasher
19 hasher!(
20 Blake2b<U32>,
21 ConfidentialOutputHasher,
22 "com.tari.layer_two.confidential_output",
23 1,
24 confidential_output_hasher
25 );
26}