github.com/decred/dcrlnd@v0.7.6/sweep/defaults_rpctest.go (about) 1 //go:build rpctest 2 // +build rpctest 3 4 package sweep 5 6 import ( 7 "time" 8 ) 9 10 var ( 11 // DefaultBatchWindowDuration specifies duration of the sweep batch 12 // window. The sweep is held back during the batch window to allow more 13 // inputs to be added and thereby lower the fee per input. 14 // 15 // To speed up integration tests waiting for a sweep to happen, the 16 // batch window is shortened. 17 DefaultBatchWindowDuration = 8 * time.Second 18 )