Function sp_io::offchain::local_storage_set
source · pub fn local_storage_set(kind: StorageKind, key: &[u8], value: &[u8])
Expand description
Sets a value in the local storage.
Note this storage is not part of the consensus, it’s only accessible by offchain worker tasks running on the same machine. It IS persisted between runs.