#include <quorums_signing.h>
|
| | CRecoveredSigsDb (CDBWrapper &_db) |
| |
| void | ConvertInvalidTimeKeys () |
| |
| void | AddVoteTimeKeys () |
| |
| 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 | HasRecoveredSigForHash (const uint256 &hash) |
| |
| bool | GetRecoveredSigByHash (const uint256 &hash, CRecoveredSig &ret) |
| |
| bool | GetRecoveredSigById (Consensus::LLMQType llmqType, const uint256 &id, CRecoveredSig &ret) |
| |
| void | WriteRecoveredSig (const CRecoveredSig &recSig) |
| |
| void | RemoveRecoveredSig (Consensus::LLMQType llmqType, const uint256 &id) |
| |
| void | TruncateRecoveredSig (Consensus::LLMQType llmqType, const uint256 &id) |
| |
| void | CleanupOldRecoveredSigs (int64_t maxAge) |
| |
| bool | HasVotedOnId (Consensus::LLMQType llmqType, const uint256 &id) |
| |
| bool | GetVoteForId (Consensus::LLMQType llmqType, const uint256 &id, uint256 &msgHashRet) |
| |
| void | WriteVoteForId (Consensus::LLMQType llmqType, const uint256 &id, const uint256 &msgHash) |
| |
| void | CleanupOldVotes (int64_t maxAge) |
| |
|
| CDBWrapper & | db |
| |
| RecursiveMutex | cs |
| |
| unordered_lru_cache< std::pair< Consensus::LLMQType, uint256 >, bool, StaticSaltedHasher, 30000 > | hasSigForIdCache |
| |
| unordered_lru_cache< uint256, bool, StaticSaltedHasher, 30000 > | hasSigForSessionCache |
| |
| unordered_lru_cache< uint256, bool, StaticSaltedHasher, 30000 > | hasSigForHashCache |
| |
Definition at line 57 of file quorums_signing.h.
◆ CRecoveredSigsDb()
| llmq::CRecoveredSigsDb::CRecoveredSigsDb |
( |
CDBWrapper & |
_db | ) |
|
|
explicit |
- Todo:
- this can be completely removed after some time (when we're pretty sure the conversion has been run on most testnet MNs)
Definition at line 27 of file quorums_signing.cpp.
◆ AddVoteTimeKeys()
| void llmq::CRecoveredSigsDb::AddVoteTimeKeys |
( |
| ) |
|
◆ CleanupOldRecoveredSigs()
| void llmq::CRecoveredSigsDb::CleanupOldRecoveredSigs |
( |
int64_t |
maxAge | ) |
|
◆ CleanupOldVotes()
| void llmq::CRecoveredSigsDb::CleanupOldVotes |
( |
int64_t |
maxAge | ) |
|
◆ ConvertInvalidTimeKeys()
| void llmq::CRecoveredSigsDb::ConvertInvalidTimeKeys |
( |
| ) |
|
◆ GetRecoveredSigByHash()
◆ GetRecoveredSigById()
◆ GetVoteForId()
◆ HasRecoveredSig()
◆ HasRecoveredSigForHash()
| bool llmq::CRecoveredSigsDb::HasRecoveredSigForHash |
( |
const uint256 & |
hash | ) |
|
◆ HasRecoveredSigForId()
◆ HasRecoveredSigForSession()
| bool llmq::CRecoveredSigsDb::HasRecoveredSigForSession |
( |
const uint256 & |
signHash | ) |
|
◆ HasVotedOnId()
◆ ReadRecoveredSig()
◆ RemoveRecoveredSig() [1/2]
- Todo:
- remove the size() == sizeof(uint32_t) in a future version (when we stop supporting upgrades from < 0.14.1)
Definition at line 249 of file quorums_signing.cpp.
◆ RemoveRecoveredSig() [2/2]
◆ TruncateRecoveredSig()
◆ WriteRecoveredSig()
| void llmq::CRecoveredSigsDb::WriteRecoveredSig |
( |
const CRecoveredSig & |
recSig | ) |
|
◆ WriteVoteForId()
◆ cs
◆ db
◆ hasSigForHashCache
◆ hasSigForIdCache
◆ hasSigForSessionCache
The documentation for this class was generated from the following files: