server: Add max value in flight to server

This commit is contained in:
vctt94 committed 2020-07-02 15:49:19 -03:00
1 parent 01ba4d0b59
commit 474ce4ae25
3 files changed
+17 -10

No files matched your search

+4
View File
@@ -3179,6 +3179,10 @@ type openChanReq struct {
// This value is optional, so may be nil.
shutdownScript lnwire.DeliveryAddress
// maxValueInFlight is the maximum amount of coins in millisatoshi that can
// be pending within the channel. It only applies to the remote party.
maxValueInFlight lnwire.MilliSatoshi
// TODO(roasbeef): add ability to specify channel constraints as well
// chanFunder is an optional channel funder that allows the caller to