rpcserver+lnrpc: allow users to update max HTLC channel policies

In this commit, we enable callers of UpdateChannelPolicy to
specify their desired max HTLC forwarding policy for one or
multiple channels.
This commit is contained in:
Valentine Wallace authored and Joost Jager committed 2019-09-23 13:07:12 +02:00
1 parent 9a52cb6dab
commit 4b9da07e78
5 files changed
+571 -522

No files matched your search

+1
View File
@@ -4602,6 +4602,7 @@ func (r *rpcServer) UpdateChannelPolicy(ctx context.Context,
chanPolicy := routing.ChannelPolicy{
FeeSchema: feeSchema,
TimeLockDelta: req.TimeLockDelta,
MaxHTLC: lnwire.MilliSatoshi(req.MaxHtlcMsat),
}
rpcsLog.Debugf("[updatechanpolicy] updating channel policy base_fee=%v, "+