1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! # Model
//!
//! `model` is the module providing the types used throughout the framework to implement
//! block-based authenticated data structures and distributed ledgers.
/// Type used to represent a past `Transaction` `Output`.
/// Type used to bind as input one or more (generally one) `Coin` in a `Transaction`.
/// Type used to represent the output of a `Transaction`.
/// Type used to produce new `Output`s from one or more input `Coin`s.
/// Type used to represent a node in the `BlockGraph`.
/// Type used to represent the (non-cryptographical) commitment to one or more `Transaction`s
/// in the `BlockGraph`.
/// Type used to represent a graph of authenticated `Block`s, represented as `BlockNode`s.
/// Type used to represent a wallet (account) in the protocol.
pub use Coin;
pub use Input;
pub use Output;
pub use Transaction;
pub use BlockNode;
pub use Block;
pub use BlockGraph;
pub use Wallet;