Skip to content

Remove the daemon module and hal-simplicity-daemon binary - #52

Open
stringhandler wants to merge 1 commit into
BlockstreamResearch:masterfrom
stringhandler:remove-daemon
Open

stringhandler wants to merge 1 commit into
BlockstreamResearch:masterfrom
stringhandler:remove-daemon

Conversation

@stringhandler

@stringhandler stringhandler commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Removing the daemon due to the amount of AI reports against it. It's not used anywhere AFAIK.

The JSON-RPC daemon was an optional, off-by-default feature that was not built or tested in CI and is not documented. It exposes key generation and program execution over unauthenticated plain HTTP with no request size or resource limits, so it is not suitable for production use and keeps attracting security reports. All of its functionality is a thin wrapper around the actions module, which remains available to library users.

This removes the daemon feature, the hal_simplicity::daemon module, the hal-simplicity-daemon binary, and the daemon-only dependencies (chrono, hyper, hyper-util, http-body-util, tokio).

Assisted-by: Claude Code (Claude Opus 5.5)

The JSON-RPC daemon was an optional, off-by-default feature that was not
built or tested in CI and is not documented. It exposes key generation and
program execution over unauthenticated plain HTTP with no request size or
resource limits, so it is not suitable for production use and keeps
attracting security reports. All of its functionality is a thin wrapper
around the `actions` module, which remains available to library users.

This removes the `daemon` feature, the `hal_simplicity::daemon` module, the
`hal-simplicity-daemon` binary, and the daemon-only dependencies (chrono,
hyper, hyper-util, http-body-util, tokio).

Assisted-by: Claude Code (Claude Opus 5.5)
@apoelstra

Copy link
Copy Markdown
Contributor

Yeah, this seems reasonable enough. The goal was to provide an easy way for other languages to use the tool. But they can shell out to the cli tool for example.

@apoelstra apoelstra left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 39562f1; successfully ran local tests

@apoelstra

Copy link
Copy Markdown
Contributor

39562f1 needs rebase

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