Juvix imports
module arch.node.engines.local_key_value_storage_config;
import prelude open;
import arch.node.engines.local_key_value_storage_messages open;
import arch.node.types.engine open;
import arch.node.types.messages open;
import arch.node.types.identities open;
Local Key Value Storage Configuration¶
Overview¶
The Local Key Value Storage engine configuration contains static information for Local Key Value Storage engine instances.
The Local Key Value Storage Local Configuration¶
LocalKVStorageLocalCfg
¶
The type for engine-specific local configuration.
type LocalKVStorageLocalCfg := mk;
The Local Key Value Storage Configuration¶
LocalKVStorageCfg
¶
LocalKVStorageCfg : Type := EngineCfg LocalKVStorageLocalCfg;
Instantiation¶
localKVStorageCfg : LocalKVStorageCfg :=
EngineCfg.mk@{
node := PublicKey.Curve25519PubKey "0xabcd1234";
name := "key value storage";
cfg := LocalKVStorageLocalCfg.mk;
};