MCPcopy Create free account
hub / github.com/ElementsProject/elements / RandomTime8s

Function RandomTime8s

src/test/txrequest_tests.cpp:53–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51};
52
53std::chrono::microseconds RandomTime8s() { return std::chrono::microseconds{1 + InsecureRandBits(23)}; }
54std::chrono::microseconds RandomTime1y() { return std::chrono::microseconds{1 + InsecureRandBits(45)}; }
55
56/** A proxy for a Runner that helps build a sequence of consecutive test actions on a TxRequestTracker.

Callers 8

BuildSingleTestFunction · 0.85
BuildPriorityTestFunction · 0.85
BuildBigPriorityTestFunction · 0.85
BuildRequestOrderTestFunction · 0.85
BuildWtxidTestFunction · 0.85
BuildTimeBackwardsTestFunction · 0.85
BuildWeirdRequestsTestFunction · 0.85
TestInterleavedScenariosFunction · 0.85

Calls 1

InsecureRandBitsFunction · 0.85

Tested by

no test coverage detected