Skip to content
Juvix imports

module arch.node.net.storage_config;

import arch.node.net.storage_messages open;
import arch.node.types.basics open;
import arch.node.types.engine open;
import arch.node.types.identities open;

Storage Configuration

Overview

The static configuration of the engine.

Local Configuration

StorageLocalCfg

The type for engine-specific local configuration.

type StorageLocalCfg := mkStorageLocalCfg;

Engine Configuration

StorageCfg

StorageCfg : Type := EngineCfg StorageLocalCfg;

Instantiation

exStorageCfg : StorageCfg :=
mkEngineCfg@{
node := Curve25519PubKey "0xabcd1234";
name := "storage";
cfg := mkStorageLocalCfg;
};