Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
dsnotificationinterface.cpp
Go to the documentation of this file.
37 void CDSNotificationInterface::NotifyHeaderTip(const CBlockIndex *pindexNew, bool fInitialDownload)
42 void CDSNotificationInterface::SynchronousUpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload)
50 void CDSNotificationInterface::UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload)
77 void CDSNotificationInterface::TransactionAddedToMempool(const CTransactionRef& ptx, int64_t nAcceptTime)
84 void CDSNotificationInterface::BlockConnected(const std::shared_ptr<const CBlock>& pblock, const CBlockIndex* pindex, const std::vector<CTransactionRef>& vtxConflicted)
99 void CDSNotificationInterface::BlockDisconnected(const std::shared_ptr<const CBlock>& pblock, const CBlockIndex* pindexDisconnected)
106 void CDSNotificationInterface::NotifyMasternodeListChanged(bool undo, const CDeterministicMNList& oldMNList, const CDeterministicMNListDiff& diff)
112 void CDSNotificationInterface::NotifyChainLock(const CBlockIndex* pindex, const llmq::CChainLockSig& clsig)
void UpdatedBlockTip(const CBlockIndex *pindexNew)
Definition: quorums_chainlocks.cpp:206
static void UpdatedBlockTip(const CBlockIndex *pindex)
Definition: privatesend.cpp:558
void TransactionAddedToMempool(const CTransactionRef &tx, int64_t nAcceptTime)
Definition: quorums_chainlocks.cpp:364
void NotifyChainLock(const CBlockIndex *pindex, const llmq::CChainLockSig &clsig) override
Definition: dsnotificationinterface.cpp:112
void UpdatedBlockTip(const CBlockIndex *pindex)
Definition: privatesend-client.cpp:1692
void BlockDisconnected(const std::shared_ptr< const CBlock > &pblock, const CBlockIndex *pindexDisconnected) override
Notifies listeners of a block being disconnected.
Definition: dsnotificationinterface.cpp:99
Definition: deterministicmns.h:547
void SynchronousUpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload) override
Same as UpdatedBlockTip, but called from the caller's thread.
Definition: dsnotificationinterface.cpp:42
static void BlockConnected(const std::shared_ptr< const CBlock > &pblock, const CBlockIndex *pindex, const std::vector< CTransactionRef > &vtxConflicted)
Definition: privatesend.cpp:591
void BlockDisconnected(const std::shared_ptr< const CBlock > &pblock, const CBlockIndex *pindexDisconnected)
Definition: quorums_instantsend.cpp:1040
void UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload) override
Notifies listeners of updated block chain tip.
Definition: dsnotificationinterface.cpp:50
void TransactionAddedToMempool(const CTransactionRef &tx)
Definition: quorums_instantsend.cpp:1017
CDKGSessionManager * quorumDKGSessionManager
Definition: quorums_dkgsessionmgr.cpp:19
void BlockConnected(const std::shared_ptr< const CBlock > &pblock, const CBlockIndex *pindex, const std::vector< CTransactionRef > &vtxConflicted) override
Notifies listeners of a block being connected.
Definition: dsnotificationinterface.cpp:84
void NotifyHeaderTip(const CBlockIndex *pindexNew, bool fInitialDownload, CConnman &connman)
Definition: masternode-sync.cpp:318
void InitializeCurrentBlockTip()
Definition: dsnotificationinterface.cpp:24
void NotifyMasternodeListChanged(bool undo, const CDeterministicMNList &oldMNList, const CDeterministicMNListDiff &diff) override
Definition: dsnotificationinterface.cpp:106
static void NotifyChainLock(const CBlockIndex *pindex)
Definition: privatesend.cpp:565
static void NotifyMasternodeListChanged(bool undo, const CDeterministicMNList &oldMNList, const CDeterministicMNListDiff &diff)
Definition: mnauth.cpp:194
std::unique_ptr< CDeterministicMNManager > deterministicMNManager
Definition: deterministicmns.cpp:24
void NotifyHeaderTip(const CBlockIndex *pindexNew, bool fInitialDownload) override
Definition: dsnotificationinterface.cpp:37
static void BlockDisconnected(const std::shared_ptr< const CBlock > &pblock, const CBlockIndex *pindexDisconnected)
Definition: privatesend.cpp:603
CInstantSendManager * quorumInstantSendManager
Definition: quorums_instantsend.cpp:40
Definition: deterministicmns.h:288
void AcceptedBlockHeader(const CBlockIndex *pindexNew) override
Definition: dsnotificationinterface.cpp:31
void UpdatedBlockTip(const CBlockIndex *pindexNew, bool fInitialDownload)
Definition: quorums.cpp:165
void AcceptedBlockHeader(const CBlockIndex *pindexNew)
Definition: masternode-sync.cpp:308
void BlockDisconnected(const std::shared_ptr< const CBlock > &pblock, const CBlockIndex *pindexDisconnected)
Definition: quorums_chainlocks.cpp:407
void TransactionAddedToMempool(const CTransactionRef &tx, int64_t nAcceptTime) override
Notifies listeners of a transaction having been added to mempool.
Definition: dsnotificationinterface.cpp:77
bool IsInitialBlockDownload()
Check whether we are doing an initial block download (synchronizing from disk or network) ...
Definition: validation.cpp:1219
static void TransactionAddedToMempool(const CTransactionRef &tx)
Definition: privatesend.cpp:585
void UpdatedBlockTip(const CBlockIndex *pindex, CConnman &connman)
Definition: governance.cpp:1199
void UpdatedBlockTip(const CBlockIndex *pindexNew)
Definition: quorums_instantsend.cpp:1140
void NotifyChainLock(const CBlockIndex *pindexChainLock)
Definition: quorums_instantsend.cpp:1135
void UpdatedBlockTip(const CBlockIndex *pindexNew, bool fInitialDownload)
Definition: quorums_dkgsessionmgr.cpp:53
The block chain is a tree shaped structure starting with the genesis block at the root...
Definition: chain.h:170
const CChainParams & Params()
Return the currently selected parameters.
Definition: chainparams.cpp:947
void BlockConnected(const std::shared_ptr< const CBlock > &pblock, const CBlockIndex *pindex, const std::vector< CTransactionRef > &vtxConflicted)
Definition: quorums_chainlocks.cpp:374
void UpdatedBlockTip(const CBlockIndex *pindexNew, bool fInitialDownload, CConnman &connman)
Definition: masternode-sync.cpp:331
CBlockIndex * Tip() const
Returns the index entry for the tip of this chain, or nullptr if none.
Definition: chain.h:453
Definition: quorums_chainlocks.h:25
const Consensus::Params & GetConsensus() const
Definition: chainparams.h:54
CChain & chainActive
The currently-connected chain of blocks (protected by cs_main).
Definition: validation.cpp:217
void BlockConnected(const std::shared_ptr< const CBlock > &pblock, const CBlockIndex *pindex, const std::vector< CTransactionRef > &vtxConflicted)
Definition: quorums_instantsend.cpp:1022
void AcceptedBlockHeader(const CBlockIndex *pindexNew)
Definition: quorums_chainlocks.cpp:184