2019-03-28 05:00:39 +03:00
|
|
|
// +build darwin
|
|
|
|
|
|
|
|
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 05:11:57 +03:00
|
|
|
MinerMempoolTimeout = time.Minute
|
2019-03-28 05:00:39 +03: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. This timeout takes considerably longer on darwin
|
|
|
|
// after go1.12 corrected its use of fsync.
|
|
|
|
AsyncBenchmarkTimeout = time.Minute * 3
|
|
|
|
)
|