#include <quorums_signing.h>
|
| | CSigningManager (CDBWrapper &llmqDb, bool fMemory) |
| |
| bool | AlreadyHave (const CInv &inv) |
| |
| bool | GetRecoveredSigForGetData (const uint256 &hash, CRecoveredSig &ret) |
| |
| void | ProcessMessage (CNode *pnode, const std::string &strCommand, CDataStream &vRecv, CConnman &connman) |
| |
| void | TruncateRecoveredSig (Consensus::LLMQType llmqType, const uint256 &id) |
| |
| void | RegisterRecoveredSigsListener (CRecoveredSigsListener *l) |
| |
| void | UnregisterRecoveredSigsListener (CRecoveredSigsListener *l) |
| |
| bool | AsyncSignIfMember (Consensus::LLMQType llmqType, const uint256 &id, const uint256 &msgHash, bool allowReSign=false) |
| |
| bool | HasRecoveredSig (Consensus::LLMQType llmqType, const uint256 &id, const uint256 &msgHash) |
| |
| bool | HasRecoveredSigForId (Consensus::LLMQType llmqType, const uint256 &id) |
| |
| bool | HasRecoveredSigForSession (const uint256 &signHash) |
| |
| bool | IsConflicting (Consensus::LLMQType llmqType, const uint256 &id, const uint256 &msgHash) |
| |
| bool | HasVotedOnId (Consensus::LLMQType llmqType, const uint256 &id) |
| |
| bool | GetVoteForId (Consensus::LLMQType llmqType, const uint256 &id, uint256 &msgHashRet) |
| |
| std::vector< CQuorumCPtr > | GetActiveQuorumSet (Consensus::LLMQType llmqType, int signHeight) |
| |
| CQuorumCPtr | SelectQuorumForSigning (Consensus::LLMQType llmqType, const uint256 &selectionHash, int signHeight=-1, int signOffset=SIGN_HEIGHT_OFFSET) |
| |
| bool | VerifyRecoveredSig (Consensus::LLMQType llmqType, int signedAtHeight, const uint256 &id, const uint256 &msgHash, const CBLSSignature &sig) |
| |
|
| void | ProcessMessageRecoveredSig (CNode *pfrom, const CRecoveredSig &recoveredSig, CConnman &connman) |
| |
| bool | PreVerifyRecoveredSig (NodeId nodeId, const CRecoveredSig &recoveredSig, bool &retBan) |
| |
| void | CollectPendingRecoveredSigsToVerify (size_t maxUniqueSessions, std::unordered_map< NodeId, std::list< CRecoveredSig >> &retSigShares, std::unordered_map< std::pair< Consensus::LLMQType, uint256 >, CQuorumCPtr, StaticSaltedHasher > &retQuorums) |
| |
| bool | ProcessPendingRecoveredSigs (CConnman &connman) |
| |
| void | ProcessRecoveredSig (NodeId nodeId, const CRecoveredSig &recoveredSig, const CQuorumCPtr &quorum, CConnman &connman) |
| |
| void | Cleanup () |
| |
Definition at line 105 of file quorums_signing.h.
◆ CSigningManager()
| llmq::CSigningManager::CSigningManager |
( |
CDBWrapper & |
llmqDb, |
|
|
bool |
fMemory |
|
) |
| |
◆ AlreadyHave()
| bool llmq::CSigningManager::AlreadyHave |
( |
const CInv & |
inv | ) |
|
◆ AsyncSignIfMember()
- Todo:
- fix this by re-signing when the next block arrives, but only when that block results in a change of the quorum list and no recovered signature has been created in the mean time
Definition at line 729 of file quorums_signing.cpp.
◆ Cleanup()
| void llmq::CSigningManager::Cleanup |
( |
| ) |
|
|
private |
◆ CollectPendingRecoveredSigsToVerify()
◆ GetActiveQuorumSet()
◆ GetRecoveredSigForGetData()
◆ GetVoteForId()
◆ HasRecoveredSig()
◆ HasRecoveredSigForId()
◆ HasRecoveredSigForSession()
| bool llmq::CSigningManager::HasRecoveredSigForSession |
( |
const uint256 & |
signHash | ) |
|
◆ HasVotedOnId()
◆ IsConflicting()
◆ PreVerifyRecoveredSig()
| bool llmq::CSigningManager::PreVerifyRecoveredSig |
( |
NodeId |
nodeId, |
|
|
const CRecoveredSig & |
recoveredSig, |
|
|
bool & |
retBan |
|
) |
| |
|
private |
◆ ProcessMessage()
| void llmq::CSigningManager::ProcessMessage |
( |
CNode * |
pnode, |
|
|
const std::string & |
strCommand, |
|
|
CDataStream & |
vRecv, |
|
|
CConnman & |
connman |
|
) |
| |
◆ ProcessMessageRecoveredSig()
◆ ProcessPendingRecoveredSigs()
| bool llmq::CSigningManager::ProcessPendingRecoveredSigs |
( |
CConnman & |
connman | ) |
|
|
private |
◆ ProcessRecoveredSig()
◆ RegisterRecoveredSigsListener()
◆ SelectQuorumForSigning()
◆ TruncateRecoveredSig()
◆ UnregisterRecoveredSigsListener()
◆ VerifyRecoveredSig()
◆ CSigSharesManager
◆ cs
◆ db
◆ DEFAULT_MAX_RECOVERED_SIGS_AGE
| const int64_t llmq::CSigningManager::DEFAULT_MAX_RECOVERED_SIGS_AGE = 60 * 60 * 24 * 7 |
|
staticprivate |
◆ lastCleanupTime
| int64_t llmq::CSigningManager::lastCleanupTime {0} |
|
private |
◆ pendingRecoveredSigs
| std::unordered_map<NodeId, std::list<CRecoveredSig> > llmq::CSigningManager::pendingRecoveredSigs |
|
private |
◆ recoveredSigsListeners
◆ rnd
◆ SIGN_HEIGHT_OFFSET
| const int llmq::CSigningManager::SIGN_HEIGHT_OFFSET = 8 |
|
staticprivate |
The documentation for this class was generated from the following files: