github.com/decred/dcrlnd@v0.7.6/lntest/timeouts_remote_db.go (about) 1 //go:build kvdb_etcd || kvdb_postgres 2 // +build kvdb_etcd kvdb_postgres 3 4 package lntest 5 6 import "time" 7 8 const ( 9 // MinerMempoolTimeout is the max time we will wait for a transaction 10 // to propagate to the mining node's mempool. 11 MinerMempoolTimeout = time.Minute 12 13 // ChannelOpenTimeout is the max time we will wait before a channel to 14 // be considered opened. 15 ChannelOpenTimeout = time.Second * 30 16 17 // ChannelCloseTimeout is the max time we will wait before a channel is 18 // considered closed. 19 ChannelCloseTimeout = time.Second * 120 20 21 // DefaultTimeout is a timeout that will be used for various wait 22 // scenarios where no custom timeout value is defined. 23 DefaultTimeout = time.Second * 30 24 25 // AsyncBenchmarkTimeout is the timeout used when running the async 26 // payments benchmark. 27 AsyncBenchmarkTimeout = 3 * time.Minute 28 29 // NodeStartTimeout is the timeout value when waiting for a node to 30 // become fully started. 31 NodeStartTimeout = time.Second * 60 32 )