package
0.18.4-beta.rc2
Repository: https://github.com/lightningnetwork/lnd.git
Documentation: pkg.go.dev

# Functions

Invariant is a helper test function that will wait for a timeout period of time, verifying that a statement remains true for the entire duration.
InvariantNoError is a wrapper around Invariant that waits out the duration specified by timeout.
NoError is a wrapper around Predicate that waits for the passed method f to execute without error, and returns the last error encountered if this doesn't happen within the timeout.
Predicate is a helper test function that will wait for a timeout period of time until the passed predicate returns true.

# Constants

AsyncBenchmarkTimeout is the timeout used when running the async payments benchmark.
ChannelCloseTimeout is the max time we will wait before a channel is considered closed.
ChannelOpenTimeout is the max time we will wait before a channel to be considered opened.
DefaultTimeout is a timeout that will be used for various wait scenarios where no custom timeout value is defined.
MinerMempoolTimeout is the max time we will wait for a transaction to propagate to the mining node's mempool.
NodeStartTimeout is the timeout value when waiting for a node to become fully started.
PaymentTimeout is the timeout used when sending payments.
PollInterval is a constant specifying a 200 ms interval.
SqliteBusyTimeout is the maximum time that a call to the sqlite db will wait for the connection to become available.