config+test: increase default num confs for funding flows to 3

In this commit, we increase the default number of confirmations we
require for funding flows from 1 to 3. The value of 1 was rather
unstable on testnet due to the frequent multi-block re-orgs.
Additionally, a value of 3 ensures our funding transaction is
sufficiently buried before we deem is usable.
This commit is contained in:
Olaoluwa Osuntokun committed 2017-12-05 17:46:20 -08:00
1 parent bd11529ae9
commit c5049125f8
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ const (
defaultPeerPort = 9735
defaultRPCHost = "localhost"
defaultMaxPendingChannels = 1
defaultNumChanConfs = 1
defaultNumChanConfs = 3
defaultNoEncryptWallet = false
defaultTrickleDelay = 30 * 1000
)