BitLab 0.1.0
BitLab: A Browser for the Bitcoin P2P Network and Blockchain
Loading...
Searching...
No Matches
program_operation Struct Reference

The program operation structure used to store the operation of the program. More...

#include <state.h>

Data Fields

bool peer_discovery
 
bool peer_discovery_in_progress
 
bool peer_discovery_succeeded
 
bool peer_discovery_daemon
 
bool peer_discovery_hardcoded_seeds
 
bool peer_discovery_dns_lookup
 
char * peer_discovery_dns_domain
 
pthread_mutex_t operation_mutex
 

Detailed Description

The program operation structure used to store the operation of the program.

Parameters
peer_discoveryThe peer discovery operation of the program.
peer_discovery_in_progressThe peer discovery operation in progress.
peer_discovery_succeededThe peer discovery operation succeeded.
peer_discovery_daemonThe peer discovery operation as a daemon.
peer_discovery_hardcoded_seedsThe peer discovery operation with hardcoded seeds.
peer_discovery_dns_lookupThe peer discovery operation with DNS lookup.
peer_discovery_dns_domainThe peer discovery DNS domain field for custom DNS lookup.
operation_mutexThe mutex to protect the operation.

Definition at line 47 of file state.h.

Field Documentation

◆ operation_mutex

◆ peer_discovery

bool program_operation::peer_discovery

◆ peer_discovery_daemon

bool program_operation::peer_discovery_daemon

Definition at line 52 of file state.h.

Referenced by cli_info(), get_peer_discovery_daemon(), and set_peer_discovery_daemon().

◆ peer_discovery_dns_domain

char* program_operation::peer_discovery_dns_domain

Definition at line 55 of file state.h.

Referenced by get_peer_discovery_dns_domain(), and set_peer_discovery_dns_domain().

◆ peer_discovery_dns_lookup

bool program_operation::peer_discovery_dns_lookup

Definition at line 54 of file state.h.

Referenced by cli_info(), get_peer_discovery_dns_lookup(), and set_peer_discovery_dns_lookup().

◆ peer_discovery_hardcoded_seeds

bool program_operation::peer_discovery_hardcoded_seeds

◆ peer_discovery_in_progress

bool program_operation::peer_discovery_in_progress

◆ peer_discovery_succeeded

bool program_operation::peer_discovery_succeeded

Definition at line 51 of file state.h.

Referenced by cli_info(), finish_peer_discovery_progress(), and get_peer_discovery_succeeded().


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