MCPcopy Create free account
hub / github.com/CPChain/chain / TestIterativeStateSyncBatched

Function TestIterativeStateSyncBatched

core/state/sync_test.go:135–135  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

133// requesting retrieval tasks and returning all of them in one go.
134func TestIterativeStateSyncIndividual(t *testing.T) { testIterativeStateSync(t, 1) }
135func TestIterativeStateSyncBatched(t *testing.T) { testIterativeStateSync(t, 100) }
136
137func testIterativeStateSync(t *testing.T, batch int) {
138 // Create a random state to copy

Callers

nothing calls this directly

Calls 1

testIterativeStateSyncFunction · 0.85

Tested by

no test coverage detected