#![feature(lazy_cell)]
mod bloom;
mod error;
pub mod http;
#[cfg(feature = "chain")]
pub mod node;
mod builder;
pub mod verifier;
mod version;
use std::sync::LazyLock;
pub use crate::error::Error;
pub use version::{VERSION, VERSION_BUILD};
pub use builder::Builder;
pub type Result<T, E = Error> = core::result::Result<T, E>;
use dusk_bytes::DeserializableSlice;
use dusk_core::signatures::bls::PublicKey as BlsPublicKey;
#[cfg(feature = "chain")]
pub use node::Rusk;
pub const DELETING_VM_FNAME: &str = ".delete";
pub static DUSK_CONSENSUS_KEY: LazyLock<BlsPublicKey> = LazyLock::new(|| {
let dusk_cpk_bytes = include_bytes!("../assets/dusk.cpk");
BlsPublicKey::from_slice(dusk_cpk_bytes)
.expect("Dusk consensus public key to be valid")
});
#[cfg(feature = "testwallet")]
mod test_utils;