looprpc: add cli commands to all calls

This commit is contained in:
Olaoluwa Osuntokun 2020-02-04 18:42:32 -08:00
parent 0dae5460e8
commit 39640d2465
No known key found for this signature in database
GPG key ID: BC13F65E2DC84465

View file

@ -22,7 +22,7 @@ service SwapClient {
};
}
/**
/** loop: `in`
LoopIn initiates a loop in swap with the given parameters. The call
returns after the swap has been set up with the swap server. From that
point onwards, progress can be tracked via the SwapStatus stream
@ -44,7 +44,7 @@ service SwapClient {
};
}
/**
/** loop: `listswaps`
ListSwaps returns a list of all currently known swaps and their current
status.
*/
@ -54,7 +54,7 @@ service SwapClient {
};
}
/**
/** loop: `swapinfo`
SwapInfo returns all known details about a single swap.
*/
rpc SwapInfo (SwapInfoRequest) returns (SwapStatus) {
@ -82,7 +82,7 @@ service SwapClient {
};
}
/**
/** loop: `terms`
GetTerms returns the terms that the server enforces for swaps.
*/
rpc GetLoopInTerms (TermsRequest) returns (TermsResponse) {
@ -91,7 +91,7 @@ service SwapClient {
};
}
/**
/** loop: `quote`
GetQuote returns a quote for a swap with the provided parameters.
*/
rpc GetLoopInQuote (QuoteRequest) returns (QuoteResponse) {
@ -100,7 +100,7 @@ service SwapClient {
};
}
/**
/** loop: `listauth`
GetLsatTokens returns all LSAT tokens the daemon ever paid for.
*/
rpc GetLsatTokens (TokensRequest) returns (TokensResponse) {