hyli-model 0.15.0

Hyli datamodel
Documentation
#![cfg_attr(not(feature = "std"), no_std)]
extern crate alloc;

#[cfg(feature = "full")]
mod block;
#[cfg(feature = "full")]
mod node;
#[cfg(feature = "full")]
mod transaction;

pub mod utils;
pub mod verifiers;

#[cfg(feature = "full")]
pub use block::*;
#[cfg(feature = "full")]
pub use node::*;
#[cfg(feature = "full")]
pub use transaction::*;

#[cfg(feature = "full")]
pub mod api;

#[cfg(feature = "sqlx")]
pub mod sqlx_impls;

mod contract;
mod staking;
pub use contract::*;
pub use staking::*;

pub const HASH_DISPLAY_SIZE: usize = 3;

pub const HYLI_TESTNET_CHAIN_ID: u128 = 0x68796C655F746573746E6574;

// BusMessage implementations for use with hyli-bus
#[cfg(feature = "bus")]
mod bus_impls;