Sha256: 339ae2fda1ec28baaafd94e209e2e4dedcb73ebdef9161694a929d76348d76d4

Contents?: true

Size: 1.31 KB

Versions: 1

Compression:

Stored size: 1.31 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: bitcoin/grpc/grpc.proto for package 'bitcoin.grpc'

require 'grpc'
require 'bitcoin/grpc/grpc_pb'

module Bitcoin
  module Grpc
    module Blockchain
      class Service

        include GRPC::GenericService

        self.marshal_class_method = :encode
        self.unmarshal_class_method = :decode
        self.service_name = 'bitcoin.grpc.Blockchain'

        rpc :WatchTxConfirmed, WatchTxConfirmedRequest, stream(WatchTxConfirmedResponse)
        rpc :WatchUtxo, WatchUtxoRequest, stream(WatchUtxoResponse)
        rpc :WatchUtxoSpent, WatchUtxoSpentRequest, stream(WatchUtxoSpentResponse)
        rpc :WatchToken, WatchTokenRequest, stream(WatchTokenResponse)
        rpc :GetBlockchainInfo, GetBlockchainInfoRequest, GetBlockchainInfoResponse
        rpc :Events, stream(EventsRequest), stream(EventsResponse)
        rpc :ListUnspent, ListUnspentRequest, ListUnspentResponse
        rpc :ListColoredUnspent, ListColoredUnspentRequest, ListColoredUnspentResponse
        rpc :ListUncoloredUnspent, ListUncoloredUnspentRequest, ListUncoloredUnspentResponse
        rpc :GetBalance, GetBalanceRequest, GetBalanceResponse
        rpc :GetTokenBalance, GetTokenBalanceRequest, GetTokenBalanceResponse
      end

      Stub = Service.rpc_stub_class
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bitcoinrb-grpc-0.1.9 lib/bitcoin/grpc/grpc_services_pb.rb