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

Serialize Merkle trees, blocks and headers for sending over the network #45

Closed
joelreymont opened this issue Aug 31, 2017 · 5 comments
Closed
Assignees

Comments

@joelreymont
Copy link
Contributor

See #29 for the Merkle tree implementation.

  • The serialization format should be easily parsed by JavaScript clients while being reasonably compact.
@joelreymont joelreymont modified the milestone: Sprint 1 Aug 31, 2017
@joelreymont joelreymont changed the title Serialize Merkle trees and blocks for sending over the network Serialize Merkle trees, blocks and headers for sending over the network Sep 6, 2017
This was referenced Sep 11, 2017
@joelreymont
Copy link
Contributor Author

Let's use JSON for now.

@cytadela8
Copy link
Contributor

I think we can add a very nice JSON implementation with swagger. With help of swagger-codegen we might even be able to just pass our record to auto generated code as far as I remember swagger-codegen generated code mechanics.

@cytadela8
Copy link
Contributor

Then in future we can create special endpoints for erlang clients with space efficient serialization.

@joelreymont
Copy link
Contributor Author

+1

@velzevur
Copy link
Member

velzevur commented Sep 27, 2017

Transactions serialization:

  • Coinbase
  • Spend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants