1#![forbid(unsafe_code)]
2#![doc = include_str!("../README.md")]
3
4mod events;
5mod evidence;
6mod hints;
7mod host;
8mod state;
9mod tracker;
10
11pub use events::{decode_envelope, ChainEnvelope, ChainEvent, DecodeError, EventHeader, Outpoint};
12pub use evidence::{CheckError, CheckedProof, Header, HeaderError, Headers, Proof};
13pub use hints::{Hint, HintStatus, Verdict, VerdictError};
14pub use host::{Clock, HintSource, ProofFetcher, SpendCheck};
15pub use state::{Evidence, HostAction, Input, Mined, NodeVerdict, Params, Reask, State, Word};
16pub use tracker::{ChainUpdate, Tracker};
17
18pub type Height = u32;
20pub type Timestamp = u64;
22pub type TxId = String;
24pub type Hash = String;