Skip to content
Juvix imports

module arch.node.net.router_config;

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

Router Configuration

Overview

The static configuration of the engine.

The Router Local Configuration

RouterLocalCfg

The type for engine-specific local configuration.

type RouterLocalCfg := mkRouterLocalCfg;

The Router Configuration

RouterCfg

RouterCfg : Type := EngineCfg RouterLocalCfg;

Instantiation

exRouterCfg : RouterCfg :=
mkEngineCfg@{
node := Curve25519PubKey "0xabcd1234";
name := "router";
cfg := mkRouterLocalCfg;
};