Electroneum
subnet_env Struct Reference

#include <subnetmod.h>

Collaboration diagram for subnet_env:

Public Attributes

struct slabhashsubnet_msg_cache
 
struct ecs_whitelistwhitelist
 
struct alloc_cache alloc
 
lock_rw_type biglock
 

Detailed Description

Global state for the subnet module.

Definition at line 54 of file subnetmod.h.

Member Data Documentation

◆ alloc

struct alloc_cache subnet_env::alloc

allocation service

Definition at line 62 of file subnetmod.h.

◆ biglock

lock_rw_type subnet_env::biglock

Definition at line 63 of file subnetmod.h.

◆ subnet_msg_cache

struct slabhash* subnet_env::subnet_msg_cache

shared message cache key: struct query_info* data: struct subnet_msg_cache_data*

Definition at line 58 of file subnetmod.h.

◆ whitelist

struct ecs_whitelist* subnet_env::whitelist

access control, which upstream servers we send client address

Definition at line 60 of file subnetmod.h.


The documentation for this struct was generated from the following file: