Commit Graph

112 Commits (c42186f3602433228cb0198b38d82a16083c674e)

Author SHA1 Message Date
James Phillips bd605e330c
Adds basic support for node IDs.
8 years ago
Sean Chittenden d695bcaae6 Use a cryptographically secure seed
9 years ago
Sean Chittenden da298f527d Guard against divide by zero in lib.RandomStagger()
9 years ago
Sean Chittenden 3a6be9cab0 Add a helper function DurationMinusBuffer() to calculate an interval
9 years ago
Sean Chittenden 4584e70636 Add lib.AbsInt() helper function
9 years ago
Sean Chittenden 88c42f4056 Move lib's tests to lib_test
9 years ago
Sean Chittenden 9fb64ab114 Allow adjusting the number of DNS records in a response...
9 years ago
Sean Chittenden 4fec6a9608 Guard against very small or negative rates
9 years ago
Sean Chittenden 81e1e1c05d Cull unused function and its unit test.
9 years ago
Sean Chittenden 6c1bb78d06 Cull unused function and its unit test.
9 years ago
Sean Chittenden 4382c1f7aa Always seed math/rand on consul startup
9 years ago
Sean Chittenden 7af6a94edb Factor out duplicate functions into a lib package
9 years ago