Skip to content

refactor(storage): apply C best practices to storage.c#49

Merged
uink45 merged 15 commits intoPier-Two:devnet-2from
cdexe223:refactor/storage-cleanup
Feb 8, 2026
Merged

refactor(storage): apply C best practices to storage.c#49
uink45 merged 15 commits intoPier-Two:devnet-2from
cdexe223:refactor/storage-cleanup

Conversation

@cdexe223
Copy link
Contributor

@cdexe223 cdexe223 commented Feb 8, 2026

No description provided.

uink45 and others added 15 commits January 22, 2026 22:07
Update Dockerfile to add revision metadata
Refactor Snappy framing and endpoint naming for clarity
Improved support gossip payloads. Reliably track peer connections.
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
@uink45 uink45 merged commit 2189c0d into Pier-Two:devnet-2 Feb 8, 2026
4 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.

2 participants