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

Function TestIterativeRandomStateSyncBatched

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

Source from the content-addressed store, hash-verified

202// random order.
203func TestIterativeRandomStateSyncIndividual(t *testing.T) { testIterativeRandomStateSync(t, 1) }
204func TestIterativeRandomStateSyncBatched(t *testing.T) { testIterativeRandomStateSync(t, 100) }
205
206func testIterativeRandomStateSync(t *testing.T, batch int) {
207 // Create a random state to copy

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected