RubyGems Navigation menu

canoser 0.1.2

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:

ab46b902da71668b33ce31fe8cd63bd838f4717adbb9054a0d2afe49ade3c12e

Total downloads 10,002

For this version 1,863

License:

MIT

Required Ruby Version: >= 0

Links: