package
0.1.4
Repository: https://github.com/techpay-io/sirius-base.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

DefaultConfig for livenet.
DefaultStoreConfig for livenet.
LiteConfig is for tests or inmemory.
LiteStoreConfig is for tests or inmemory.
New creates IndexedSirius instance.
NewMemStore creates store over memory map.
NewOrderer creates Orderer instance.
NewSirius creates Sirius instance.
NewStore creates store over key-value db.

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
Genesis stores genesis state.
IndexedSirius performs events ordering and detects cheaters It's a wrapper around Orderer, which adds features which might potentially be application-specific: confirmed events traversal, DAG index updates and cheaters detection.
LastDecidedState is for persistent storing.
Orderer processes events to reach finality on their order.
No description provided by the author
Sirius performs events ordering and detects cheaters It's a wrapper around Orderer, which adds features which might potentially be application-specific: confirmed events traversal, cheaters detection.
Store is a abft persistent storage working over parent key-value database.
StoreCacheConfig is a cache config for store db.
StoreConfig is a config for store db.

# Interfaces

No description provided by the author
No description provided by the author
EventSource is a callback for getting events from an external storage.
No description provided by the author

# Type aliases

No description provided by the author