Sha256: ec9cc4d68973429749819e03ccb4da3db5a4f17912b0b26c92495ca21e631695

Contents?: true

Size: 1.46 KB

Versions: 6

Compression:

Stored size: 1.46 KB

Contents

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

require 'google/protobuf'

require 'get_with_proof_pb'
require 'transaction_pb'
require 'proof_pb'
require 'ledger_info_pb'
require 'vm_errors_pb'
require 'mempool_status_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("admission_control.proto", :syntax => :proto3) do
    add_message "admission_control.SubmitTransactionRequest" do
      optional :signed_txn, :message, 1, "types.SignedTransaction"
    end
    add_message "admission_control.SubmitTransactionResponse" do
      optional :validator_id, :bytes, 4
      oneof :status do
        optional :vm_status, :message, 1, "types.VMStatus"
        optional :ac_status, :enum, 2, "admission_control.AdmissionControlStatus"
        optional :mempool_status, :enum, 3, "mempool.MempoolAddTransactionStatus"
      end
    end
    add_enum "admission_control.AdmissionControlStatus" do
      value :Accepted, 0
      value :Blacklisted, 1
      value :Rejected, 2
    end
  end
end

module AdmissionControl
  SubmitTransactionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("admission_control.SubmitTransactionRequest").msgclass
  SubmitTransactionResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("admission_control.SubmitTransactionResponse").msgclass
  AdmissionControlStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("admission_control.AdmissionControlStatus").enummodule
end

Version data entries

6 entries across 6 versions & 1 rubygems

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