nxducominer
A multithreaded DUCO miner for the Nintendo Switch
 
Loading...
Searching...
No Matches
ResourceManager Struct Reference

resource manager for system-wide state More...

Data Fields

int last_share
 last nonce value submitted
 
u32 charge
 raw charge
 
char * chargeType
 charger type string
 
s32 skin_temp_milli_c
 temp in milliC
 
pthread_mutex_t lock
 UNUSED.
 
pthread_t * mining_threads
 array of mining threads
 
ThreadDatathread_data
 array of thread-specific data
 
int single_miner_id
 single id for all threads, to display as a single device in wallet
 
WebDashboardweb_dashboard
 

Detailed Description

resource manager for system-wide state

Definition at line 96 of file main.c.

Field Documentation

◆ charge

u32 charge

raw charge

Definition at line 98 of file main.c.

◆ chargeType

char* chargeType

charger type string

Definition at line 99 of file main.c.

◆ last_share

int last_share

last nonce value submitted

Definition at line 97 of file main.c.

◆ lock

pthread_mutex_t lock

UNUSED.

Definition at line 101 of file main.c.

◆ mining_threads

pthread_t* mining_threads

array of mining threads

Definition at line 102 of file main.c.

◆ single_miner_id

int single_miner_id

single id for all threads, to display as a single device in wallet

Definition at line 104 of file main.c.

◆ skin_temp_milli_c

s32 skin_temp_milli_c

temp in milliC

Definition at line 100 of file main.c.

◆ thread_data

ThreadData* thread_data

array of thread-specific data

Definition at line 103 of file main.c.

◆ web_dashboard

WebDashboard* web_dashboard

Definition at line 105 of file main.c.


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