Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

llmq::CSigSharesNodeState Class Reference

#include <quorums_signing_shares.h>

+ Collaboration diagram for llmq::CSigSharesNodeState:

Classes

struct  Session
 
struct  SessionInfo
 

Public Member Functions

SessionGetOrCreateSessionFromShare (const CSigShare &sigShare)
 
SessionGetOrCreateSessionFromAnn (const CSigSesAnn &ann)
 
SessionGetSessionBySignHash (const uint256 &signHash)
 
SessionGetSessionByRecvId (uint32_t sessionId)
 
bool GetSessionInfoByRecvId (uint32_t sessionId, SessionInfo &retInfo)
 
void RemoveSession (const uint256 &signHash)
 

Public Attributes

std::unordered_map< uint256, Session, StaticSaltedHashersessions
 
std::unordered_map< uint32_t, Session * > sessionByRecvId
 
uint32_t nextSendSessionId {1}
 
SigShareMap< CSigSharependingIncomingSigShares
 
SigShareMap< int64_t > requestedSigShares
 
bool banned {false}
 

Detailed Description

Definition at line 294 of file quorums_signing_shares.h.

Member Function Documentation

◆ GetOrCreateSessionFromAnn()

◆ GetOrCreateSessionFromShare()

CSigSharesNodeState::Session & llmq::CSigSharesNodeState::GetOrCreateSessionFromShare ( const CSigShare sigShare)

◆ GetSessionByRecvId()

CSigSharesNodeState::Session * llmq::CSigSharesNodeState::GetSessionByRecvId ( uint32_t  sessionId)

Definition at line 147 of file quorums_signing_shares.cpp.

References sessionByRecvId.

Referenced by GetSessionInfoByRecvId().

◆ GetSessionBySignHash()

CSigSharesNodeState::Session * llmq::CSigSharesNodeState::GetSessionBySignHash ( const uint256 signHash)

Definition at line 138 of file quorums_signing_shares.cpp.

References sessions.

Referenced by llmq::CSigSharesManager::ForceReAnnouncement().

◆ GetSessionInfoByRecvId()

◆ RemoveSession()

void llmq::CSigSharesNodeState::RemoveSession ( const uint256 signHash)

Member Data Documentation

◆ banned

bool llmq::CSigSharesNodeState::banned {false}

Definition at line 334 of file quorums_signing_shares.h.

◆ nextSendSessionId

uint32_t llmq::CSigSharesNodeState::nextSendSessionId {1}

Definition at line 329 of file quorums_signing_shares.h.

◆ pendingIncomingSigShares

SigShareMap<CSigShare> llmq::CSigSharesNodeState::pendingIncomingSigShares

Definition at line 331 of file quorums_signing_shares.h.

Referenced by RemoveSession().

◆ requestedSigShares

SigShareMap<int64_t> llmq::CSigSharesNodeState::requestedSigShares

Definition at line 332 of file quorums_signing_shares.h.

Referenced by RemoveSession().

◆ sessionByRecvId

std::unordered_map<uint32_t, Session*> llmq::CSigSharesNodeState::sessionByRecvId

Definition at line 328 of file quorums_signing_shares.h.

Referenced by GetSessionByRecvId(), and RemoveSession().

◆ sessions

std::unordered_map<uint256, Session, StaticSaltedHasher> llmq::CSigSharesNodeState::sessions

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