Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Commit

Permalink
Updated protos to v0.1.3-beta
Browse files Browse the repository at this point in the history
Signed-off-by: willcl-ark <[email protected]>
  • Loading branch information
willcl-ark committed Jun 26, 2019
1 parent 779a35a commit 16a9d8b
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 19 deletions.
15 changes: 12 additions & 3 deletions loop_rpc/protos/loop_client.proto
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ message LoopOutRequest {

message LoopInRequest {
/**
Requested swap amount in sat. This does not include the swap and miner
Requested swap amount in sat. This does not include the swap and miner
fee.
*/
int64 amt = 1;
Expand All @@ -147,7 +147,7 @@ message LoopInRequest {
/**
Maximum in on-chain fees that we are willing to spent. If we want to
publish the on-chain htlc and the fee estimate turns out higher than this
value, we cancel the swap.
value, we cancel the swap.
max_miner_fee is typically taken from the response of the GetQuote call.
*/
Expand Down Expand Up @@ -221,6 +221,15 @@ message SwapStatus {
Htlc address.
*/
string htlc_address = 7;

/// Swap server cost
int64 cost_server = 8;

// On-chain transaction cost
int64 cost_onchain = 9;

// Off-chain routing fees
int64 cost_offchain = 10;
}

enum SwapType {
Expand Down Expand Up @@ -336,4 +345,4 @@ message QuoteResponse {
An estimate of the on-chain fee that needs to be paid to sweep the HTLC.
*/
int64 miner_fee = 3;
}
}
54 changes: 38 additions & 16 deletions loop_rpc/protos/loop_client_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 16a9d8b

Please sign in to comment.