You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
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 torpc: Option<RpcConfiguration>
.cc @niklasad1
Are you willing to help with this request?
Maybe (please elaborate above)
The text was updated successfully, but these errors were encountered: