Migrate from concurrency unsafe MapSlice to concurrency safe OrderedMap.
Other minor changes:
- Consistently name hash alg related variables to "hsh" to conform to three letter
sig
andenc
. Hash functions are still named "hash". - Formally require in in the spec that Coze errors on duplicates. For the Go implementation this applies to structures Pay, Coze, Key, and OrderedMap.
- ErrJSONDuplicate is now a type instead of a (constant) variable.