Skip to content

Conversation

@dannywillems
Copy link
Member

These are run by the main node.
Therefore, we suggest to move all the code spawned in other threads in a sub-directory called "services". This would ease the replacement of code that can be rewritten in Rust.

@dannywillems dannywillems requested a review from a team as a code owner January 20, 2026 15:27
These are run by the main node.
Therefore, we suggest to move all the code spawned in other threads in a
sub-directory called "services". This would ease the replacement of code
that can be rewritten in Rust.
@glyh
Copy link
Member

glyh commented Jan 20, 2026

We might want to refactor them to not to be services when migrating to OCaml 5 though.

Also libp2p helper is a "service".

Parts of verifier is running on main process as well.

@dannywillems
Copy link
Member Author

We might want to refactor them to not to be services when migrating to OCaml 5 though.

Also libp2p helper is a "service".

Parts of verifier is running on main process as well.

We plan to move the verifier from OCaml to Rust, and share this part with the Rust node.
If anything relies on the verifier "service" as a library, we will probably make a binding to it, and move it into src/lib/crypto.

@dannywillems
Copy link
Member Author

!ci-build-me

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.

3 participants