Sha256: e99b189602d9a09d95aebfad47ef790f585c73ab1ca80f84eb5005d78589ccab

Contents?: true

Size: 1.2 KB

Versions: 7

Compression:

Stored size: 1.2 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: ledger_info.proto

require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("ledger_info.proto", :syntax => :proto3) do
    add_message "types.LedgerInfo" do
      optional :version, :uint64, 1
      optional :transaction_accumulator_hash, :bytes, 2
      optional :consensus_data_hash, :bytes, 3
      optional :consensus_block_id, :bytes, 4
      optional :epoch_num, :uint64, 5
      optional :timestamp_usecs, :uint64, 6
    end
    add_message "types.LedgerInfoWithSignatures" do
      repeated :signatures, :message, 1, "types.ValidatorSignature"
      optional :ledger_info, :message, 2, "types.LedgerInfo"
    end
    add_message "types.ValidatorSignature" do
      optional :validator_id, :bytes, 1
      optional :signature, :bytes, 2
    end
  end
end

module Types
  LedgerInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("types.LedgerInfo").msgclass
  LedgerInfoWithSignatures = Google::Protobuf::DescriptorPool.generated_pool.lookup("types.LedgerInfoWithSignatures").msgclass
  ValidatorSignature = Google::Protobuf::DescriptorPool.generated_pool.lookup("types.ValidatorSignature").msgclass
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
libra_client-0.1.7 proto-lib/ledger_info_pb.rb
libra_client-0.1.6 proto-lib/ledger_info_pb.rb
libra_client-0.1.5 proto-lib/ledger_info_pb.rb
libra_client-0.1.3 proto-lib/ledger_info_pb.rb
libra_client-0.1.2 proto-lib/ledger_info_pb.rb
libra_client-0.1.1 proto-lib/ledger_info_pb.rb
libra_client-0.1.0 proto-lib/ledger_info_pb.rb