Skip to content
Commit 36a5dd78 authored by thiolliere's avatar thiolliere
Browse files

introduction of prefixed map

Prefixed map is a new storage available in decl_storage, it differ from
map as it stores it keys at `twox_256(prefix)++map_hasher(key)` instead
of `map_hasher(prefix ++ key)`. Thus it allows to remove all key of the
map using `sr-io::kill_prefix`, but the final goal is to also allow to
iter on the map once sr-io make such call available.
parent c9004866
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment