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