Merge pull request #3177 from halseth/autopilot-targetconf-conf

[autopilot] make confirmation target configurable
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2019-06-17 16:05:00 -07:00
commit df40a9c1e1
3 files changed
+25 -7

No files matched your search

+5
View File
@@ -9,6 +9,11 @@ import (
"github.com/lightningnetwork/lnd/lnwire"
)
// DefaultConfTarget is the default confirmation target for autopilot channels.
// TODO(halseth): possibly make dynamic, going aggressive->lax as more channels
// are opened.
const DefaultConfTarget = 3
// Node node is an interface which represents n abstract vertex within the
// channel graph. All nodes should have at least a single edge to/from them
// within the graph.