Crate solana [] [src]

Modules

accountant

The accountant is a client of the historian. It uses the historian's event log to record transactions. Its users can deposit funds and transfer funds to other users.

accountant_skel
accountant_stub

The accountant is a client of the historian. It uses the historian's event log to record transactions. Its users can deposit funds and transfer funds to other users.

entry
event

The event crate provides the data structures for log events.

hash
historian

The historian crate provides a microservice for generating a Proof-of-History. It manages a thread containing a Proof-of-History Logger.

ledger

The ledger crate provides the foundational data structures for Proof-of-History, an ordered log of events in time.

mint

A library for generating the chain's genesis block.

plan

A domain-specific language for payment plans. Users create Plan objects that are given to an interpreter. The interpreter listens for Witness events, which it uses to reduce the payment plan. When the plan is reduced to a Payment, the payment is executed.

recorder

The recorder crate provides an object for generating a Proof-of-History. It records Event items on behalf of its users. It continuously generates new hashes, only stopping to check if it has been sent an Event item. It tags each Event with an Entry and sends it back. The Entry includes the Event, the latest hash, and the number of hashes since the last event. The resulting stream of entries represents ordered events in time.

result
signature

The signature crate provides functionality for public and private keys

streamer
transaction

The transaction crate provides functionality for creating log transactions.