Documentation ¶
Overview ¶
Package ws contains a Witness Store backed by a file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage is a Witness Storage intended for storing witness checkpoints. Currently a simple file is used as a storage mechanism
func NewStorage ¶
NewStorage creates a new WS that uses the given file as DB backend. The DB will be initialized if needed.
func (*Storage) RetrieveCP ¶
RetrieveCP gets the checkpoint previously stored.
Click to show internal directories.
Click to hide internal directories.