Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

spork.h File Reference
#include <hash.h>
#include <net.h>
#include <utilstrencodings.h>
#include <key.h>
#include <unordered_map>
#include <unordered_set>
+ Include dependency graph for spork.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  is_serializable_enum< SporkId >
 
struct  std::hash< SporkId >
 
struct  CSporkDef
 
class  CSporkMessage
 Sporks are network parameters used primarily to prevent forking and turn on/off certain features. More...
 
class  CSporkManager
 CSporkManager is a higher-level class which manages the node's spork messages, rules for which sporks should be considered active/inactive, and processing for certain sporks (e.g. More...
 

Namespaces

 std
 

Enumerations

enum  SporkId : int32_t {
  SPORK_2_INSTANTSEND_ENABLED = 10001, SPORK_3_INSTANTSEND_BLOCK_FILTERING = 10002, SPORK_9_SUPERBLOCKS_ENABLED = 10008, SPORK_17_QUORUM_DKG_ENABLED = 10016,
  SPORK_19_CHAINLOCKS_ENABLED = 10018, SPORK_21_QUORUM_ALL_CONNECTED = 10020, SPORK_22_PS_MORE_PARTICIPANTS = 10021, SPORK_INVALID = -1
}
 

Variables

std::vector< CSporkDefsporkDefs
 
CSporkManager sporkManager
 

Enumeration Type Documentation

◆ SporkId

enum SporkId : int32_t
Enumerator
SPORK_2_INSTANTSEND_ENABLED 
SPORK_3_INSTANTSEND_BLOCK_FILTERING 
SPORK_9_SUPERBLOCKS_ENABLED 
SPORK_17_QUORUM_DKG_ENABLED 
SPORK_19_CHAINLOCKS_ENABLED 
SPORK_21_QUORUM_ALL_CONNECTED 
SPORK_22_PS_MORE_PARTICIPANTS 
SPORK_INVALID 

Definition at line 23 of file spork.h.

Variable Documentation

◆ sporkDefs

std::vector<CSporkDef> sporkDefs

Definition at line 19 of file spork.cpp.

Referenced by CSporkManager::CSporkManager(), and spork().

◆ sporkManager

Released under the MIT license