Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor registry and encoding #50

Merged
merged 8 commits into from
May 1, 2020
Merged

Commits on Apr 30, 2020

  1. feat(encoding): add library to handle encoding

    Create a new library for general type encoding
    hannahhoward committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    460fcc8 View commit details
    Browse the repository at this point in the history
  2. feat(registry): add simple registry

    add a simple threadsafe registry to handle registering types like vouchers
    hannahhoward committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    49d5684 View commit details
    Browse the repository at this point in the history
  3. feat(datatransfer): incorporate registry

    incorporate registry into data transfer module
    hannahhoward committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    302c5ec View commit details
    Browse the repository at this point in the history
  4. feat(message): move decoding inside messages

    Move encode/decode inside the message -- so that we can insure cbor encodable values, and then use
    cbg.Deferred later
    hannahhoward committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    ea00968 View commit details
    Browse the repository at this point in the history
  5. feat(message): convert to cbg.Deferred

    convert messages to use cbg.Deferred so that the whole message is a proper CBOR value and also move
    selector encoding inside the message
    hannahhoward committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    2e95a7d View commit details
    Browse the repository at this point in the history
  6. refactor(graphsync): remove utils

    remove utils.go which is not used
    hannahhoward committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    4269dc6 View commit details
    Browse the repository at this point in the history
  7. refactor(registry): move types to root

    move Identifier & Registerable to root types package
    hannahhoward committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    b6f5f31 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3a5b05d View commit details
    Browse the repository at this point in the history