package
0.6.0
Repository: https://github.com/threefoldtech/rivine.git
Documentation: pkg.go.dev

# Functions

New creates a new DataStore from a consensus set and a Database.
NewRedis creates a new redis struct which attempts to connect to the specified DB/instance The connection always used tcp.

# Constants

NamespaceBytes is the byte length of a namespace.
SubEnd indicates that a subscription ends immediatly.
SubStart indicates that a new subscribtion must begin, with an optional starttime indicating the earliest block which must be tracked.

# Variables

ErrInvalidNamespaceLength indicates that a namespace identifier is used which does not have the correct length according to the NamespaceBytes.

# Structs

No description provided by the author
Redis wraps a redis connection.
No description provided by the author

# Interfaces

Database is the common interface which must be implemented to be compatible with the datastore.

# Type aliases

Namespace is an identifier used to group data written on the blockchain when it is replicated to external storage.
No description provided by the author