RubyGems Navigation menu

canoser 0.1.3

A ruby implementation of the canonical serialization for the Libra network. Canonical serialization guarantees byte consistency when serializing an in-memory data structure. It is useful for situations where two parties want to efficiently compare data structures they independently maintain. It happens in consensus where independent validators need to agree on the state they independently compute. A cryptographic hash of the serialized data structure is what ultimately gets compared. In order for this to work, the serialization of the same data structures must be identical when computed by independent validators potentially running different implementations of the same spec in different languages.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.2.1 - October 06, 2019 (14 KB)
  2. 0.1.3 - September 04, 2019 (14 KB)
  3. 0.1.2 - September 02, 2019 (13.5 KB)
  4. 0.1.1 - August 30, 2019 (13.5 KB)
  5. 0.1.0 - August 27, 2019 (12.5 KB)

Development Dependencies (4):

bundler ~> 2.0
byebug ~> 11.0
minitest ~> 5.0
rake ~> 10.0

Owners:

Pushed by:

Authors:

  • yuan xinyu

SHA 256 checksum:

f180fadc452e498f1cb6d62bdb6376b638927860d47d57ecdba7d7756986ed53

Total downloads 10,017

For this version 1,933

License:

MIT

Required Ruby Version: >= 0

Links: