routing+server: expose DefaultChannelPruneExpiry
This commit is contained in:
2 files changed
+5
-1
No files matched your search
@@ -33,6 +33,10 @@ const (
|
||||
// if we should give up on a payment attempt. This will be used if a
|
||||
// value isn't specified in the LightningNode struct.
|
||||
defaultPayAttemptTimeout = time.Duration(time.Second * 60)
|
||||
|
||||
// DefaultChannelPruneExpiry is the default duration used to determine
|
||||
// if a channel should be pruned or not.
|
||||
DefaultChannelPruneExpiry = time.Duration(time.Hour * 24 * 14)
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
Reference in new issue
Block a user