routing+lnrpc+lncli: allow setting min htlc policy

This commit is contained in:
Joost Jager committed 2019-12-11 00:17:08 +01:00
1 parent 74c2df658e
commit b6eb3a69ba
7 files changed
+633 -567

No files matched your search

+4
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