NodeRpcServiceBase constructor

NodeRpcServiceBase()

Implementation

NodeRpcServiceBase() {
  $addMethod($grpc.ServiceMethod<$1.BroadcastTransactionReq,
          $1.BroadcastTransactionRes>(
      'BroadcastTransaction',
      broadcastTransaction_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $1.BroadcastTransactionReq.fromBuffer(value),
      ($1.BroadcastTransactionRes value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.CurrentMempoolReq, $1.CurrentMempoolRes>(
      'CurrentMempool',
      currentMempool_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.CurrentMempoolReq.fromBuffer(value),
      ($1.CurrentMempoolRes value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$1.FetchBlockHeaderReq, $1.FetchBlockHeaderRes>(
          'FetchBlockHeader',
          fetchBlockHeader_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $1.FetchBlockHeaderReq.fromBuffer(value),
          ($1.FetchBlockHeaderRes value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.FetchBlockBodyReq, $1.FetchBlockBodyRes>(
      'FetchBlockBody',
      fetchBlockBody_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.FetchBlockBodyReq.fromBuffer(value),
      ($1.FetchBlockBodyRes value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$1.FetchTransactionReq, $1.FetchTransactionRes>(
          'FetchTransaction',
          fetchTransaction_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $1.FetchTransactionReq.fromBuffer(value),
          ($1.FetchTransactionRes value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.FetchBlockIdAtHeightReq,
          $1.FetchBlockIdAtHeightRes>(
      'FetchBlockIdAtHeight',
      fetchBlockIdAtHeight_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $1.FetchBlockIdAtHeightReq.fromBuffer(value),
      ($1.FetchBlockIdAtHeightRes value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.FetchBlockIdAtDepthReq,
          $1.FetchBlockIdAtDepthRes>(
      'FetchBlockIdAtDepth',
      fetchBlockIdAtDepth_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $1.FetchBlockIdAtDepthReq.fromBuffer(value),
      ($1.FetchBlockIdAtDepthRes value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.SynchronizationTraversalReq,
          $1.SynchronizationTraversalRes>(
      'SynchronizationTraversal',
      synchronizationTraversal_Pre,
      false,
      true,
      ($core.List<$core.int> value) =>
          $1.SynchronizationTraversalReq.fromBuffer(value),
      ($1.SynchronizationTraversalRes value) => value.writeToBuffer()));
}