HS dir hashing is illogical
Amongst the strangenesses:
-
replicanum
is defined to be a value in the range 1..16 but is hashed as a 64-bit integer. -
period_length
is represented in minutes; there is no reason not to use seconds -
period_num
andperiod_length
are in opposite orders in the two hashes (!)
Improving this would be an incompatible change.