-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
I5-enhancementAn additional feature request.An additional feature request.
Description
Is there an existing issue?
- I have searched the existing issues
Experiencing problems? Have you tried our Stack Exchange first?
- This is not a support question.
Motivation
We use Substrate as a library, meaning we don't use CLI interface, have custom logger setup, etc.
One of the things that we don't always need is RPC server (for example in a desktop app where we can retrieve all necessary information programmatically instead of via RPC), but right now it is started unconditionally.
Request
Allow to configure service with RPC server not enabled at all. It is already possible with custom spawn_tasks implementation, but requires copy-pasting a bunch of code and nicer API would be appreciated.
Solution
With #5364 configuration now has rpc: RpcConfiguration field, maybe as simply as changing it to rpc: Option<RpcConfiguration>.
cc @niklasad1
Are you willing to help with this request?
Maybe (please elaborate above)
niklasad1
Metadata
Metadata
Assignees
Labels
I5-enhancementAn additional feature request.An additional feature request.