routing+lnrpc+lncli: allow setting min htlc policy

This commit is contained in:
Joost Jager
2019-11-15 11:24:58 +01:00
parent 74c2df658e
commit b6eb3a69ba
7 changed files with 633 additions and 567 deletions

View File

@@ -224,6 +224,10 @@ type ChannelPolicy struct {
// MaxHTLC is the maximum HTLC size including fees we are allowed to
// forward over this channel.
MaxHTLC lnwire.MilliSatoshi
// MinHTLC is the minimum HTLC size including fees we are allowed to
// forward over this channel.
MinHTLC *lnwire.MilliSatoshi
}
// Config defines the configuration for the ChannelRouter. ALL elements within