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

Function TestHeaderConcurrentVerification2

core/block_validator_test.go:85–87  ·  view source on GitHub ↗

Tests that concurrent header verification works, for both good and bad blocks.

(t *testing.T)

Source from the content-addressed store, hash-verified

83
84// Tests that concurrent header verification works, for both good and bad blocks.
85func TestHeaderConcurrentVerification2(t *testing.T) {
86 testHeaderConcurrentVerification(t, 2)
87}
88func TestHeaderConcurrentVerification8(t *testing.T) {
89 testHeaderConcurrentVerification(t, 8)
90}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected