Kagome
Polkadot Runtime Engine in C++17
|
#include <extrinsic_event_key_repository.hpp>
Public Types | |
using | ExtrinsicKey = primitives::events::SubscribedExtrinsicId |
Public Member Functions | |
ExtrinsicEventKeyRepository () | |
ExtrinsicKey | add (const primitives::Transaction::Hash &hash) noexcept |
bool | remove (const primitives::Transaction::Hash &hash) noexcept |
std::optional< ExtrinsicKey > | get (const primitives::Transaction::Hash &hash) const noexcept |
Private Attributes | |
std::atomic< ExtrinsicKey > | last_key_ {} |
std::unordered_map< primitives::Transaction::Hash, ExtrinsicKey > | keys_ |
log::Logger | logger_ |
Definition at line 14 of file extrinsic_event_key_repository.hpp.
using kagome::subscription::ExtrinsicEventKeyRepository::ExtrinsicKey = primitives::events::SubscribedExtrinsicId |
Definition at line 16 of file extrinsic_event_key_repository.hpp.
|
inline |
Definition at line 18 of file extrinsic_event_key_repository.hpp.
|
inlinenoexcept |
Definition at line 21 of file extrinsic_event_key_repository.hpp.
|
inlinenoexcept |
Definition at line 35 of file extrinsic_event_key_repository.hpp.
|
inlinenoexcept |
Definition at line 31 of file extrinsic_event_key_repository.hpp.
|
private |
Definition at line 45 of file extrinsic_event_key_repository.hpp.
|
private |
Definition at line 44 of file extrinsic_event_key_repository.hpp.
|
private |
Definition at line 46 of file extrinsic_event_key_repository.hpp.