-
public final class CompactTxStreamerGrpc.CompactTxStreamerBlockingV2Stub extends AbstractBlockingStub<CompactTxStreamerGrpc.CompactTxStreamerBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service CompactTxStreamer.
-
-
Method Summary
Modifier and Type Method Description Service.BlockIDgetLatestBlock(Service.ChainSpec request)Return the height of the tip of the best chainCompactFormats.CompactBlockgetBlock(Service.BlockID request)Return the compact block corresponding to the given block identifierCompactFormats.CompactBlockgetBlockNullifiers(Service.BlockID request)Same as GetBlock except actions contain only nullifiersBlockingClientCall<out Object, CompactFormats.CompactBlock>getBlockRange(Service.BlockRange request)Return a list of consecutive compact blocksBlockingClientCall<out Object, CompactFormats.CompactBlock>getBlockRangeNullifiers(Service.BlockRange request)Same as GetBlockRange except actions contain only nullifiersService.RawTransactiongetTransaction(Service.TxFilter request)Return the requested full (not compact) transaction (as from zcashd)Service.SendResponsesendTransaction(Service.RawTransaction request)Submit the given transaction to the Zcash networkBlockingClientCall<out Object, Service.RawTransaction>getTaddressTxids(Service.TransparentAddressBlockFilter request)Return the txids corresponding to the given t-address within the given block rangeService.BalancegetTaddressBalance(Service.AddressList request)BlockingClientCall<Service.Address, Service.Balance>getTaddressBalanceStream()BlockingClientCall<out Object, CompactFormats.CompactTx>getMempoolTx(Service.Exclude request)Return the compact transactions currently in the mempool; the results can be a few seconds out of date. If the Exclude list is empty, return all transactions; otherwise return all *except* those in the Exclude list (if any); this allows the client to avoid receiving transactions that it already has (from an earlier call to this rpc). The transaction IDs in the Exclude list can be shortened to any number of bytes to make the request more bandwidth-efficient; if two or more transactions in the mempool match a shortened txid, they are all sent (none is excluded). Transactions in the exclude list that don't exist in the mempool are ignored.BlockingClientCall<out Object, Service.RawTransaction>getMempoolStream(Service.Empty request)Return a stream of current Mempool transactions. This will keep the output stream open while there are mempool transactions. It will close the returned stream when a new block is mined.Service.TreeStategetTreeState(Service.BlockID request)GetTreeState returns the note commitment tree state corresponding to the given block. See section 3.7 of the Zcash protocol specification. It returns several other useful values also (even though they can be obtained using GetBlock). The block can be specified by either height or hash.Service.TreeStategetLatestTreeState(Service.Empty request)BlockingClientCall<out Object, Service.SubtreeRoot>getSubtreeRoots(Service.GetSubtreeRootsArg request)Returns a stream of information about roots of subtrees of the Sapling and Orchard note commitment trees.Service.GetAddressUtxosReplyListgetAddressUtxos(Service.GetAddressUtxosArg request)BlockingClientCall<out Object, Service.GetAddressUtxosReply>getAddressUtxosStream(Service.GetAddressUtxosArg request)Service.LightdInfogetLightdInfo(Service.Empty request)Return information about this lightwalletd instance and the blockchainService.PingResponseping(Service.Duration request)Testing-only, requires lightwalletd --ping-very-insecure (do not enable in production)-
Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub -
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getLatestBlock
Service.BlockID getLatestBlock(Service.ChainSpec request)
Return the height of the tip of the best chain
-
getBlock
CompactFormats.CompactBlock getBlock(Service.BlockID request)
Return the compact block corresponding to the given block identifier
-
getBlockNullifiers
CompactFormats.CompactBlock getBlockNullifiers(Service.BlockID request)
Same as GetBlock except actions contain only nullifiers
-
getBlockRange
@ExperimentalApi(value = https://github.com/grpc/grpc-java/issues/10918) BlockingClientCall<out Object, CompactFormats.CompactBlock> getBlockRange(Service.BlockRange request)
Return a list of consecutive compact blocks
-
getBlockRangeNullifiers
@ExperimentalApi(value = https://github.com/grpc/grpc-java/issues/10918) BlockingClientCall<out Object, CompactFormats.CompactBlock> getBlockRangeNullifiers(Service.BlockRange request)
Same as GetBlockRange except actions contain only nullifiers
-
getTransaction
Service.RawTransaction getTransaction(Service.TxFilter request)
Return the requested full (not compact) transaction (as from zcashd)
-
sendTransaction
Service.SendResponse sendTransaction(Service.RawTransaction request)
Submit the given transaction to the Zcash network
-
getTaddressTxids
@ExperimentalApi(value = https://github.com/grpc/grpc-java/issues/10918) BlockingClientCall<out Object, Service.RawTransaction> getTaddressTxids(Service.TransparentAddressBlockFilter request)
Return the txids corresponding to the given t-address within the given block range
-
getTaddressBalance
Service.Balance getTaddressBalance(Service.AddressList request)
-
getTaddressBalanceStream
@ExperimentalApi(value = https://github.com/grpc/grpc-java/issues/10918) BlockingClientCall<Service.Address, Service.Balance> getTaddressBalanceStream()
-
getMempoolTx
@ExperimentalApi(value = https://github.com/grpc/grpc-java/issues/10918) BlockingClientCall<out Object, CompactFormats.CompactTx> getMempoolTx(Service.Exclude request)
Return the compact transactions currently in the mempool; the results can be a few seconds out of date. If the Exclude list is empty, return all transactions; otherwise return all *except* those in the Exclude list (if any); this allows the client to avoid receiving transactions that it already has (from an earlier call to this rpc). The transaction IDs in the Exclude list can be shortened to any number of bytes to make the request more bandwidth-efficient; if two or more transactions in the mempool match a shortened txid, they are all sent (none is excluded). Transactions in the exclude list that don't exist in the mempool are ignored.
-
getMempoolStream
@ExperimentalApi(value = https://github.com/grpc/grpc-java/issues/10918) BlockingClientCall<out Object, Service.RawTransaction> getMempoolStream(Service.Empty request)
Return a stream of current Mempool transactions. This will keep the output stream open while there are mempool transactions. It will close the returned stream when a new block is mined.
-
getTreeState
Service.TreeState getTreeState(Service.BlockID request)
GetTreeState returns the note commitment tree state corresponding to the given block. See section 3.7 of the Zcash protocol specification. It returns several other useful values also (even though they can be obtained using GetBlock). The block can be specified by either height or hash.
-
getLatestTreeState
Service.TreeState getLatestTreeState(Service.Empty request)
-
getSubtreeRoots
@ExperimentalApi(value = https://github.com/grpc/grpc-java/issues/10918) BlockingClientCall<out Object, Service.SubtreeRoot> getSubtreeRoots(Service.GetSubtreeRootsArg request)
Returns a stream of information about roots of subtrees of the Sapling and Orchard note commitment trees.
-
getAddressUtxos
Service.GetAddressUtxosReplyList getAddressUtxos(Service.GetAddressUtxosArg request)
-
getAddressUtxosStream
@ExperimentalApi(value = https://github.com/grpc/grpc-java/issues/10918) BlockingClientCall<out Object, Service.GetAddressUtxosReply> getAddressUtxosStream(Service.GetAddressUtxosArg request)
-
getLightdInfo
Service.LightdInfo getLightdInfo(Service.Empty request)
Return information about this lightwalletd instance and the blockchain
-
ping
Service.PingResponse ping(Service.Duration request)
Testing-only, requires lightwalletd --ping-very-insecure (do not enable in production)
-
-
-
-