Kagome
Polkadot Runtime Engine in C++17
|
#include "offchain/offchain_storage.hpp"
Go to the source code of this file.
Classes | |
class | kagome::offchain::OffchainPersistentStorage |
It is non-revertible and not fork-aware. It means that any value set by the offchain worker is persisted even if that block (at which the worker is called) is reverted as non-canonical (meaning that the block was surpassed by a longer chain). The value is available for the worker that is re-run at the new (different block with the same block number) and future blocks. This storage can be used by offchain workers to handle forks and coordinate offchain workers running on different forks. More... | |
Namespaces | |
kagome::offchain | |