RubyGems Navigation menu

canoser 0.1.1

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:

a0fe8b0dfadf9499c768ef4f94aba251d075071bcb5985d4efd886e7b70932aa

Total downloads 10,052

For this version 1,896

License:

MIT

Required Ruby Version: >= 0

Links: