Crate tinychain[][src]

Tinychain is a distributed state machine with an HTTP + JSON API designed to provide cross-service transactions across an ensemble of microservices which implement the Tinychain protocol. Tinychain itself is also a Turing-complete application platform.

Tinychain is intended to be used as an executable binary (i.e., with cargo install) via its HTTP API. For usage instructions and more details, visit the repository page at http://github.com/haydnv/tinychain.

Re-exports

pub use kernel::*;
pub use tc_error as error;
pub use tc_transact as transact;
pub use tc_value as value;
pub use tcgeneric as generic;

Modules

chain

A Chain responsible for recovering a State from a failed transaction. INCOMPLETE AND UNSTABLE.

cluster

Maintains the consistency of the network by coordinating transaction commits.

gateway

Gateway handles network traffic.

kernel

The host kernel, responsible for dispatching requests to the local host

object

User-defined object-orientation features.

scalar

Immutable values which always reside in memory

state

A Tinychain State

txn

The transaction context Txn.

Functions

mount

Initialize the transactional filesystem layer.