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