From e6b45a76a47bb03ef89d9ea3b0a8ae2ca9e63d24 Mon Sep 17 00:00:00 2001 From: positiveblue Date: Thu, 27 Oct 2022 07:37:54 -0700 Subject: [PATCH] rpc: update the comment for --- auctioneerrpc/auctioneer.pb.go | 6 +++--- auctioneerrpc/auctioneer.proto | 6 +++--- poolrpc/trader.pb.go | 6 +++--- poolrpc/trader.proto | 6 +++--- poolrpc/trader.swagger.json | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/auctioneerrpc/auctioneer.pb.go b/auctioneerrpc/auctioneer.pb.go index dd91fc9a5..0d6a3131d 100644 --- a/auctioneerrpc/auctioneer.pb.go +++ b/auctioneerrpc/auctioneer.pb.go @@ -3567,9 +3567,9 @@ type ServerBid struct { //Give the incoming channel that results from this bid being matched an //initial outbound balance by adding additional funds from the taker's account //into the channel. As a simplification for the execution protocol and the - //channel reserve calculations, the self_chan_balance can be at most the same - //as the order amount and the min_chan_amt must be set to the full order - //amount. + //channel reserve calculations the min_chan_amt must be set to the full order + //amount. For the inbound liquidity market the self_chan_balance can be at + //most the same as the order amount. SelfChanBalance uint64 `protobuf:"varint,6,opt,name=self_chan_balance,json=selfChanBalance,proto3" json:"self_chan_balance,omitempty"` // //If this bid order is meant to lease a channel for another node (which is diff --git a/auctioneerrpc/auctioneer.proto b/auctioneerrpc/auctioneer.proto index 1804808d3..a753511ef 100644 --- a/auctioneerrpc/auctioneer.proto +++ b/auctioneerrpc/auctioneer.proto @@ -1060,9 +1060,9 @@ message ServerBid { Give the incoming channel that results from this bid being matched an initial outbound balance by adding additional funds from the taker's account into the channel. As a simplification for the execution protocol and the - channel reserve calculations, the self_chan_balance can be at most the same - as the order amount and the min_chan_amt must be set to the full order - amount. + channel reserve calculations the min_chan_amt must be set to the full order + amount. For the inbound liquidity market the self_chan_balance can be at + most the same as the order amount. */ uint64 self_chan_balance = 6; diff --git a/poolrpc/trader.pb.go b/poolrpc/trader.pb.go index 18e6b9951..c5450eb8b 100644 --- a/poolrpc/trader.pb.go +++ b/poolrpc/trader.pb.go @@ -2410,9 +2410,9 @@ type Bid struct { //Give the incoming channel that results from this bid being matched an //initial outbound balance by adding additional funds from the taker's account //into the channel. As a simplification for the execution protocol and the - //channel reserve calculations, the self_chan_balance can be at most the same - //as the order amount and the min_chan_amt must be set to the full order - //amount. + //channel reserve calculations the min_chan_amt must be set to the full order + //amount. For the inbound liquidity market the self_chan_balance can be at + //most the same as the order amount. SelfChanBalance uint64 `protobuf:"varint,5,opt,name=self_chan_balance,json=selfChanBalance,proto3" json:"self_chan_balance,omitempty"` // //If this bid order is meant to lease a channel for another node (which is diff --git a/poolrpc/trader.proto b/poolrpc/trader.proto index 3ed1cd9b2..cbd4af406 100644 --- a/poolrpc/trader.proto +++ b/poolrpc/trader.proto @@ -714,9 +714,9 @@ message Bid { Give the incoming channel that results from this bid being matched an initial outbound balance by adding additional funds from the taker's account into the channel. As a simplification for the execution protocol and the - channel reserve calculations, the self_chan_balance can be at most the same - as the order amount and the min_chan_amt must be set to the full order - amount. + channel reserve calculations the min_chan_amt must be set to the full order + amount. For the inbound liquidity market the self_chan_balance can be at + most the same as the order amount. */ uint64 self_chan_balance = 5; diff --git a/poolrpc/trader.swagger.json b/poolrpc/trader.swagger.json index ae3f222c3..e425d3c18 100644 --- a/poolrpc/trader.swagger.json +++ b/poolrpc/trader.swagger.json @@ -1206,7 +1206,7 @@ "self_chan_balance": { "type": "string", "format": "uint64", - "description": "Give the incoming channel that results from this bid being matched an\ninitial outbound balance by adding additional funds from the taker's account\ninto the channel. As a simplification for the execution protocol and the\nchannel reserve calculations, the self_chan_balance can be at most the same\nas the order amount and the min_chan_amt must be set to the full order\namount." + "description": "Give the incoming channel that results from this bid being matched an\ninitial outbound balance by adding additional funds from the taker's account\ninto the channel. As a simplification for the execution protocol and the\nchannel reserve calculations the min_chan_amt must be set to the full order\namount. For the inbound liquidity market the self_chan_balance can be at\nmost the same as the order amount." }, "sidecar_ticket": { "type": "string",