update proto files
This commit is contained in:
parent
446671dffe
commit
c6bacef417
|
@ -71,6 +71,16 @@ internal protocol DarksideStreamerClientProtocol: GRPCClient {
|
|||
callOptions: CallOptions?
|
||||
) -> UnaryCall<Empty, Empty>
|
||||
|
||||
func addAddressUtxo(
|
||||
_ request: GetAddressUtxosReply,
|
||||
callOptions: CallOptions?
|
||||
) -> UnaryCall<GetAddressUtxosReply, Empty>
|
||||
|
||||
func clearAddressUtxo(
|
||||
_ request: Empty,
|
||||
callOptions: CallOptions?
|
||||
) -> UnaryCall<Empty, Empty>
|
||||
|
||||
}
|
||||
|
||||
extension DarksideStreamerClientProtocol {
|
||||
|
@ -270,6 +280,41 @@ extension DarksideStreamerClientProtocol {
|
|||
callOptions: callOptions ?? self.defaultCallOptions
|
||||
)
|
||||
}
|
||||
|
||||
/// Add a GetAddressUtxosReply entry to be returned by GetAddressUtxos().
|
||||
/// There is no staging or applying for these, very simple.
|
||||
///
|
||||
/// - Parameters:
|
||||
/// - request: Request to send to AddAddressUtxo.
|
||||
/// - callOptions: Call options.
|
||||
/// - Returns: A `UnaryCall` with futures for the metadata, status and response.
|
||||
internal func addAddressUtxo(
|
||||
_ request: GetAddressUtxosReply,
|
||||
callOptions: CallOptions? = nil
|
||||
) -> UnaryCall<GetAddressUtxosReply, Empty> {
|
||||
return self.makeUnaryCall(
|
||||
path: "/cash.z.wallet.sdk.rpc.DarksideStreamer/AddAddressUtxo",
|
||||
request: request,
|
||||
callOptions: callOptions ?? self.defaultCallOptions
|
||||
)
|
||||
}
|
||||
|
||||
/// Clear the list of GetAddressUtxos entries (can't fail)
|
||||
///
|
||||
/// - Parameters:
|
||||
/// - request: Request to send to ClearAddressUtxo.
|
||||
/// - callOptions: Call options.
|
||||
/// - Returns: A `UnaryCall` with futures for the metadata, status and response.
|
||||
internal func clearAddressUtxo(
|
||||
_ request: Empty,
|
||||
callOptions: CallOptions? = nil
|
||||
) -> UnaryCall<Empty, Empty> {
|
||||
return self.makeUnaryCall(
|
||||
path: "/cash.z.wallet.sdk.rpc.DarksideStreamer/ClearAddressUtxo",
|
||||
request: request,
|
||||
callOptions: callOptions ?? self.defaultCallOptions
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
internal final class DarksideStreamerClient: DarksideStreamerClientProtocol {
|
||||
|
|
|
@ -114,4 +114,11 @@ service DarksideStreamer {
|
|||
|
||||
// Clear the incoming transaction pool.
|
||||
rpc ClearIncomingTransactions(Empty) returns (Empty) {}
|
||||
|
||||
// Add a GetAddressUtxosReply entry to be returned by GetAddressUtxos().
|
||||
// There is no staging or applying for these, very simple.
|
||||
rpc AddAddressUtxo(GetAddressUtxosReply) returns (Empty) {}
|
||||
|
||||
// Clear the list of GetAddressUtxos entries (can't fail)
|
||||
rpc ClearAddressUtxo(Empty) returns (Empty) {}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue