Skip to content

test(bor-consensus): concurrent header verification stress test#76

Merged
VAIBHAVJINDAL3012 merged 1 commit intomainfrom
issue-43/stress-test
Mar 11, 2026
Merged

test(bor-consensus): concurrent header verification stress test#76
VAIBHAVJINDAL3012 merged 1 commit intomainfrom
issue-43/stress-test

Conversation

@VAIBHAVJINDAL3012
Copy link
Copy Markdown
Contributor

Summary

  • 10 threads × 100 blocks concurrent header verification
  • Shared snapshot read access safety
  • Concurrent difficulty calculation determinism

Test plan

  • test_concurrent_header_verification_no_panics: 1000 blocks, 10 threads
  • test_concurrent_snapshot_access_no_panics: shared snapshot reads
  • test_concurrent_difficulty_calculation: deterministic across threads

Closes #43

10 threads × 100 blocks each, verifying:
- Header validation doesn't panic or deadlock under concurrency
- Snapshot read access is thread-safe
- Difficulty calculation is deterministic across threads

Closes #43
@VAIBHAVJINDAL3012 VAIBHAVJINDAL3012 merged commit ed121fa into main Mar 11, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[test] Stress test: concurrent header verification

1 participant