refactor(storage): apply C best practices to storage.c#49
Merged
uink45 merged 15 commits intoPier-Two:devnet-2from Feb 8, 2026
Merged
refactor(storage): apply C best practices to storage.c#49uink45 merged 15 commits intoPier-Two:devnet-2from
uink45 merged 15 commits intoPier-Two:devnet-2from
Conversation
Update Dockerfile to add revision metadata
Update ci.yml
Update workflow and Dockerfile
Update Dockerfile
Add versioning for endpoints
Align tests
Refactor Snappy framing and endpoint naming for clarity
Improved support gossip payloads. Reliably track peer connections.
Update c-libp2p
Align forkchoice restore with anchor vote and reduce libp2p debug
Improve sync recovery for missing parents and BlocksByRoot handling
Avoid transient +1 finalized skew sync churn
Support legacy SSZ signature layouts to prevent decode stalls
- Convert all functions to goto-based cleanup pattern
- Add Doxygen documentation to all public API functions
- Apply const qualifiers to immutable locals
- Use bool/stdbool.h for boolean flags
- Use sizeof(variable) instead of sizeof(type)
- Use zero initializers {0} for structs
- Add unsigned literal suffixes (1u, 0u) in size expressions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.