2021-08-23 10:35:48 +02:00
|
|
|
//go:build !darwin && !kvdb_etcd && !kvdb_postgres
|
2021-06-14 16:24:02 +02:00
|
|
|
// +build !darwin,!kvdb_etcd,!kvdb_postgres
|
2019-03-28 03:00:39 +01:00
|
|
|
|
|
|
|
package lntest
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
const (
|
|
|
|
// MinerMempoolTimeout is the max time we will wait for a transaction
|
|
|
|
// to propagate to the mining node's mempool.
|
2020-05-27 04:11:57 +02:00
|
|
|
MinerMempoolTimeout = time.Minute
|
2019-03-28 03:00:39 +01:00
|
|
|
|
|
|
|
// ChannelOpenTimeout is the max time we will wait before a channel to
|
|
|
|
// be considered opened.
|
|
|
|
ChannelOpenTimeout = time.Second * 30
|
|
|
|
|
|
|
|
// ChannelCloseTimeout is the max time we will wait before a channel is
|
|
|
|
// considered closed.
|
|
|
|
ChannelCloseTimeout = time.Second * 30
|
|
|
|
|
|
|
|
// DefaultTimeout is a timeout that will be used for various wait
|
|
|
|
// scenarios where no custom timeout value is defined.
|
|
|
|
DefaultTimeout = time.Second * 30
|
|
|
|
|
|
|
|
// AsyncBenchmarkTimeout is the timeout used when running the async
|
|
|
|
// payments benchmark.
|
2020-03-05 15:59:01 +01:00
|
|
|
AsyncBenchmarkTimeout = 2 * time.Minute
|
2021-09-11 19:58:05 +02:00
|
|
|
|
|
|
|
// NodeStartTimeout is the timeout value when waiting for a node to
|
|
|
|
// become fully started.
|
|
|
|
NodeStartTimeout = time.Second * 60
|
2019-03-28 03:00:39 +01:00
|
|
|
)
|