In future if many more values are added, it should be considered to expand the element size to 64 bytes (with padding the spare space as needed) so the key can be long.
More...
In future if many more values are added, it should be considered to expand the element size to 64 bytes (with padding the spare space as needed) so the key can be long.
Shortening the key too much risks opening ourselves up to consensus-failing collisions, however it should be noted that our cache nonce is private and unique, so collisions would affect only one node and attackers have no way of offline-preparing a collision attack even on short keys.
Definition at line 25 of file scriptcache.cpp.