Sha256: e32af5adce6d672dd46c3363a756f42ecad082e289433b1cfebcf884bff33e43

Contents?: true

Size: 1.91 KB

Versions: 6

Compression:

Stored size: 1.91 KB

Contents

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

require 'google/protobuf'

require 'transaction_info_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("proof.proto", :syntax => :proto3) do
    add_message "types.AccumulatorProof" do
      optional :bitmap, :uint64, 1
      repeated :non_default_siblings, :bytes, 2
    end
    add_message "types.SparseMerkleProof" do
      optional :leaf, :bytes, 1
      optional :bitmap, :bytes, 2
      repeated :non_default_siblings, :bytes, 3
    end
    add_message "types.SignedTransactionProof" do
      optional :ledger_info_to_transaction_info_proof, :message, 1, "types.AccumulatorProof"
      optional :transaction_info, :message, 2, "types.TransactionInfo"
    end
    add_message "types.AccountStateProof" do
      optional :ledger_info_to_transaction_info_proof, :message, 1, "types.AccumulatorProof"
      optional :transaction_info, :message, 2, "types.TransactionInfo"
      optional :transaction_info_to_account_proof, :message, 3, "types.SparseMerkleProof"
    end
    add_message "types.EventProof" do
      optional :ledger_info_to_transaction_info_proof, :message, 1, "types.AccumulatorProof"
      optional :transaction_info, :message, 2, "types.TransactionInfo"
      optional :transaction_info_to_event_proof, :message, 3, "types.AccumulatorProof"
    end
  end
end

module Types
  AccumulatorProof = Google::Protobuf::DescriptorPool.generated_pool.lookup("types.AccumulatorProof").msgclass
  SparseMerkleProof = Google::Protobuf::DescriptorPool.generated_pool.lookup("types.SparseMerkleProof").msgclass
  SignedTransactionProof = Google::Protobuf::DescriptorPool.generated_pool.lookup("types.SignedTransactionProof").msgclass
  AccountStateProof = Google::Protobuf::DescriptorPool.generated_pool.lookup("types.AccountStateProof").msgclass
  EventProof = Google::Protobuf::DescriptorPool.generated_pool.lookup("types.EventProof").msgclass
end

Version data entries

6 entries across 6 versions & 1 rubygems

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