Skip to content

016 audit remediation#5

Merged
timschwartz merged 6 commits intomainfrom
016-audit-remediation
Apr 12, 2026
Merged

016 audit remediation#5
timschwartz merged 6 commits intomainfrom
016-audit-remediation

Conversation

@timschwartz
Copy link
Copy Markdown
Member

No description provided.

- Added chunk retention mechanism in Blockchain to manage multi-access operations.
- Introduced ChunkRetainGuard for RAII-style chunk retention management.
- Refactored block broadcasting methods in PeerManager for better clarity and reusability.
- Simplified JSON-RPC error response handling in RpcServer by utilizing helper functions.
- Implemented utility functions for chunk filename generation and peer key parsing.
- Created TestHelpers for streamlined test setup and configuration.
- Added comprehensive tests for block propagation, chunk persistence, and lifecycle management.
- Improved difficulty caching logic in Consensus to handle cache hits and invalidation scenarios.
- Ensured consistent behavior of dirty flags during chunk rotations in lifecycle tests.
@timschwartz timschwartz merged commit e55dd4f into main Apr 12, 2026
4 checks passed
@timschwartz timschwartz deleted the 016-audit-remediation branch April 12, 2026 21:20
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.

1 participant