9 storage_subscription_engine,
11 : storage_subscription_engine_(
std::move(storage_subscription_engine)),
12 chain_subscription_engine_(
std::move(chain_subscription_engine)),
31 SL_TRACE(
logger_,
"Key: {:l}; Value {:l};", pair.first, *pair.second);
33 SL_TRACE(
logger_,
"Key: {:l}; Removed;", pair.first);
45 it->second.emplace(value);
Class represents arbitrary (including empty) byte buffer.
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
primitives::BlockHash parent_hash_
primitives::events::StorageSubscriptionEnginePtr storage_subscription_engine_
void onBlockExecutionStart(primitives::BlockHash new_parent_hash) override
StorageChangesTrackerImpl(primitives::events::StorageSubscriptionEnginePtr storage_subscription_engine, primitives::events::ChainSubscriptionEnginePtr chain_subscription_engine)
void onRemove(const common::BufferView &key) override
Logger createLogger(const std::string &tag)
std::set< common::Buffer, std::less<> > new_entries_
const common::Buffer kRuntimeCodeKey