TBD54566975 / web5-go

Apache License 2.0
10 stars 6 forks source link

Move serialization and resolver into their own files #31

Closed mihai-chiorean closed 6 months ago

mihai-chiorean commented 6 months ago

As part of working on the DHT Create operation, I did some refactoring to be able to better organize and test.

  1. Moved constant mappings that are based on the DHT spec to their own file
  2. Removed key index "2" from the mapping because it was mapping to the same alg as 1, and updated the appropriate test
  3. Moved the resolver in it's own file so I can independently test it