Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

Superblock Manager. More...

#include <governance-classes.h>

Static Public Member Functions

static bool IsSuperblockTriggered (int nBlockHeight)
 Is Superblock Triggered. More...
 
static bool GetSuperblockPayments (int nBlockHeight, std::vector< CTxOut > &voutSuperblockRet)
 Get Superblock Payments. More...
 
static void ExecuteBestSuperblock (int nBlockHeight)
 
static std::string GetRequiredPaymentsString (int nBlockHeight)
 Get Required Payment String. More...
 
static bool IsValid (const CTransaction &txNew, int nBlockHeight, CAmount blockReward)
 

Static Private Member Functions

static bool GetBestSuperblock (CSuperblock_sptr &pSuperblockRet, int nBlockHeight)
 

Detailed Description

Superblock Manager.

Class for querying superblock information

Definition at line 55 of file governance-classes.h.

Member Function Documentation

◆ ExecuteBestSuperblock()

void CSuperblockManager::ExecuteBestSuperblock ( int  nBlockHeight)
static

◆ GetBestSuperblock()

◆ GetRequiredPaymentsString()

std::string CSuperblockManager::GetRequiredPaymentsString ( int  nBlockHeight)
static

Get Required Payment String.

  • Get a string representing the payments required for a given superblock

Definition at line 700 of file governance-classes.cpp.

References CGovernanceManager::cs, EncodeDestination(), ExtractDestination(), GetBestSuperblock(), BCLog::GOBJECT, governance, LOCK, LogPrint, and CGovernancePayment::script.

Referenced by GetRequiredPaymentsString().

◆ GetSuperblockPayments()

bool CSuperblockManager::GetSuperblockPayments ( int  nBlockHeight,
std::vector< CTxOut > &  voutSuperblockRet 
)
static

◆ IsSuperblockTriggered()

◆ IsValid()

bool CSuperblockManager::IsValid ( const CTransaction txNew,
int  nBlockHeight,
CAmount  blockReward 
)
static

The documentation for this class was generated from the following files:
Released under the MIT license