Module mitrid_core::models[][src]

Types used to implement block-based authenticated data structures.

Models

models is the module providing the types used throughout the framework to implement block-based authenticated data structures and distributed ledgers.

Re-exports

pub use self::stage::Stage;
pub use self::meta::Meta;
pub use self::coin::Coin;
pub use self::input::Input;
pub use self::output::Output;
pub use self::transaction::Transaction;
pub use self::blocknode::BlockNode;
pub use self::block::Block;
pub use self::blockgraph::BlockGraph;

Modules

block

Type used to represent the (non-cryptographical) commitment to one or more Transactions in the BlockGraph.

blockgraph

Type used to represent a graph of authenticated Blocks, represented as BlockNodes.

blocknode

Type used to represent a node in the BlockGraph.

coin

Type used to represent a past Transaction Output.

input

Type used to bind as input one or more (generally one) Coin in a Transaction.

meta

Type used to convey the distributed ledger metadata.

output

Type used to represent the output of a Transaction.

stage

Type used to define the distributed ledger stage.

transaction

Type used to produce new Outputs from one or more input Coins.