Irys-xyz/arbundles

Deep Hash Clarification

Closed this issue · 4 comments

The ANS104 specifies that the deep hash should use the following:

[
  utf8Encoded("dataitem"),
  utf8Encoded("1"),
  owner,
  target,
  anchor,
  [
    ... [ tag.name, tag.value ],
    ... [ tag.name, tag.value ],
    ...
  ],
  data
]

The code in this project adds a stringToBuffer(item.signatureType.toString()), as the third element. I'm curious where this update is specified.

@skilesare , where did you get that information from? It sounds like it's an out of date/older version of the spec

ah, yeah that spec needs updating

defer to the implementation until it's updated