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

Function MultiAddTimeData

src/test/timedata_tests.cpp:46–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46static void MultiAddTimeData(int n, int64_t offset)
47{
48 static int cnt = 0;
49 for (int i = 0; i < n; ++i) {
50 CNetAddr addr;
51 addr.SetInternal(ToString(++cnt));
52 AddTimeData(addr, offset);
53 }
54}
55
56
57BOOST_AUTO_TEST_CASE(addtimedata)

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 3

AddTimeDataFunction · 0.85
SetInternalMethod · 0.80
ToStringFunction · 0.50

Tested by

no test coverage detected