Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
governance-classes.h
Go to the documentation of this file.
140 void ParsePaymentSchedule(const std::string& strPaymentAddresses, const std::string& strPaymentAmounts);
147 static void GetNearestSuperblocksHeights(int nBlockHeight, int& nLastSuperblockRet, int& nNextSuperblockRet);
std::vector< CSuperblock_sptr > GetActiveTriggers()
Get Active Triggers.
Definition: governance-classes.cpp:201
CGovernancePayment(CTxDestination destIn, CAmount nAmountIn)
Definition: governance-classes.h:91
boost::variant< CNoDestination, CKeyID, CScriptID > CTxDestination
A txout script template with a specific destination.
Definition: standard.h:80
static void GetNearestSuperblocksHeights(int nBlockHeight, int &nLastSuperblockRet, int &nNextSuperblockRet)
Definition: governance-classes.cpp:444
static bool IsSuperblockTriggered(int nBlockHeight)
Is Superblock Triggered.
Definition: governance-classes.cpp:223
CGovernanceObject * GetGovernanceObject()
Definition: governance-classes.h:156
static bool IsValid(const CTransaction &txNew, int nBlockHeight, CAmount blockReward)
Definition: governance-classes.cpp:363
trigger_m_t::iterator trigger_m_it
Definition: governance-classes.h:36
CGovernanceObject * FindGovernanceObject(const uint256 &nHash)
Definition: governance.cpp:463
Definition: governance.h:151
static bool IsValidBlockHeight(int nBlockHeight)
Is Valid Superblock Height.
Definition: governance-classes.cpp:437
static std::string GetRequiredPaymentsString(int nBlockHeight)
Get Required Payment String.
Definition: governance-classes.cpp:700
CScript GetScriptForDestination(const CTxDestination &dest)
Generate a Bitcoin scriptPubKey for the given CTxDestination.
Definition: standard.cpp:256
std::map< uint256, CSuperblock_sptr > trigger_m_t
Definition: governance-classes.h:35
CGovernanceTriggerManager()
Definition: governance-classes.h:45
static bool GetSuperblockPayments(int nBlockHeight, std::vector< CTxOut > &voutSuperblockRet)
Get Superblock Payments.
Definition: governance-classes.cpp:315
static CAmount GetPaymentsLimit(int nBlockHeight)
Definition: governance-classes.cpp:463
std::string EncodeDestination(const CTxDestination &dest)
Definition: base58.cpp:329
static bool GetBestSuperblock(CSuperblock_sptr &pSuperblockRet, int nBlockHeight)
Definition: governance-classes.cpp:276
CAmount GetPaymentsTotalAmount()
Definition: governance-classes.cpp:562
The basic transaction that is broadcasted on the network and contained in blocks. ...
Definition: transaction.h:198
void ParsePaymentSchedule(const std::string &strPaymentAddresses, const std::string &strPaymentAmounts)
Definition: governance-classes.cpp:481
AssertLockHeld(g_cs_orphans)
static void ExecuteBestSuperblock(int nBlockHeight)
Definition: governance-classes.cpp:376
std::vector< CGovernancePayment > vecPayments
Definition: governance-classes.h:138
bool IsValid(const CTransaction &txNew, int nBlockHeight, CAmount blockReward)
Is Transaction Valid.
Definition: governance-classes.cpp:580
bool GetPayment(int nPaymentIndex, CGovernancePayment &paymentRet)
Definition: governance-classes.cpp:552