1 #ifndef KAGOME_STORAGE_CHANGES_TRIE_STORAGE_CHANGES_TRACKER_IMPL 2 #define KAGOME_STORAGE_CHANGES_TRIE_STORAGE_CHANGES_TRACKER_IMPL 14 storage_subscription_engine,
16 chain_subscription_engine);
24 bool new_entry)
override;
29 std::set<common::Buffer, std::less<>>
32 std::map<common::Buffer, std::optional<common::Buffer>, std::less<>>
44 #endif // KAGOME_STORAGE_CHANGES_TRIE_STORAGE_CHANGES_TRACKER_IMPL void onPut(const common::BufferView &key, const common::BufferView &value, bool new_entry) override
primitives::events::ChainSubscriptionEnginePtr chain_subscription_engine_
std::shared_ptr< StorageSubscriptionEngine > StorageSubscriptionEnginePtr
void onBlockAdded(const primitives::BlockHash &hash) override
std::map< common::Buffer, std::optional< common::Buffer >, std::less<> > actual_val_
std::shared_ptr< ChainSubscriptionEngine > ChainSubscriptionEnginePtr
std::shared_ptr< soralog::Logger > Logger
primitives::BlockHash parent_hash_
primitives::events::StorageSubscriptionEnginePtr storage_subscription_engine_
void onBlockExecutionStart(primitives::BlockHash new_parent_hash) override
~StorageChangesTrackerImpl() override=default
StorageChangesTrackerImpl(primitives::events::StorageSubscriptionEnginePtr storage_subscription_engine, primitives::events::ChainSubscriptionEnginePtr chain_subscription_engine)
void onRemove(const common::BufferView &key) override
std::set< common::Buffer, std::less<> > new_entries_