RubyGems Navigation menu

canoser 0.2.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:

140f0a15724f4b5499e9ffbe3e908ba634026e37b3fefae14c829077825f45c4

Total downloads 9,957

For this version 2,424

License:

MIT

Required Ruby Version: >= 0

Links: