Documentation ¶
Overview ¶
Package storage implements the storage backend.
Index ¶
Constants ¶
View Source
const ( // CfgBackend configures the storage backend flag. CfgBackend = "storage.backend" // CfgLRUSlots configures the LRU apply lock slots. CfgLRUSlots = "storage.root_cache.apply_lock_lru_slots" // CfgMaxCacheSize configures the maximum in-memory cache size. CfgMaxCacheSize = "storage.max_cache_size" )
Variables ¶
View Source
var Flags = flag.NewFlagSet("", flag.ContinueOnError)
Flags has the configuration flags.
Functions ¶
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package api implements the storage backend API.
|
Package api implements the storage backend API. |
Package client implements a client for Oasis storage nodes.
|
Package client implements a client for Oasis storage nodes. |
Package database implements a database backed storage backend.
|
Package database implements a database backed storage backend. |
Package mkvs provides a Merklized Key-Value Store (MKVS) implementation.
|
Package mkvs provides a Merklized Key-Value Store (MKVS) implementation. |
checkpoint
Package checkpoint provides methods for creating MKVS checkpoints.
|
Package checkpoint provides methods for creating MKVS checkpoints. |
db/api
Package api provides a persistent node database interface for MKVS trees.
|
Package api provides a persistent node database interface for MKVS trees. |
db/badger
Package badger provides a Badger-backed node database.
|
Package badger provides a Badger-backed node database. |
interop
MKVS interoperability test helpers.
|
MKVS interoperability test helpers. |
interop/cmd
Package cmd implements the commands for MKVS interoperability test helpers.
|
Package cmd implements the commands for MKVS interoperability test helpers. |
node
Package node defines MKVS tree nodes.
|
Package node defines MKVS tree nodes. |
syncer
Package syncer provides the read-only sync interface.
|
Package syncer provides the read-only sync interface. |
tests
Package tests contains helpers for testing MKVS trees.
|
Package tests contains helpers for testing MKVS trees. |
Package tests is a collection of storage implementation test cases.
|
Package tests is a collection of storage implementation test cases. |
Click to show internal directories.
Click to hide internal directories.