Merge pull request #5064 from ellemouton/set-coop-close-target-confs

multi: allow setting target confs for co-op close
This commit is contained in:
Conner Fromknecht
2021-03-16 11:14:15 -07:00
committed by GitHub
6 changed files with 37 additions and 5 deletions

View File

@@ -3131,6 +3131,7 @@ func (s *server) peerConnected(conn net.Conn, connReq *connmgr.ConnReq,
UnsafeReplay: s.cfg.UnsafeReplay,
MaxOutgoingCltvExpiry: s.cfg.MaxOutgoingCltvExpiry,
MaxChannelFeeAllocation: s.cfg.MaxChannelFeeAllocation,
CoopCloseTargetConfs: s.cfg.CoopCloseTargetConfs,
MaxAnchorsCommitFeeRate: chainfee.SatPerKVByte(
s.cfg.MaxCommitFeeRateAnchors * 1000).FeePerKWeight(),
Quit: s.quit,