2018-10-23 13:05:48 +03:00
|
|
|
// +build rpctest
|
|
|
|
|
|
|
|
package sweep
|
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
// DefaultBatchWindowDuration specifies duration of the sweep batch
|
|
|
|
// window. The sweep is held back during the batch window to allow more
|
|
|
|
// inputs to be added and thereby lower the fee per input.
|
|
|
|
//
|
|
|
|
// To speed up integration tests waiting for a sweep to happen, the
|
|
|
|
// batch window is shortened.
|
2020-12-09 14:24:04 +03:00
|
|
|
DefaultBatchWindowDuration = 8 * time.Second
|
2018-10-23 13:05:48 +03:00
|
|
|
)
|