Skip to content

1 Server: 2 protocols Allow users to pick which protocol to start #4797

@jasuwienas

Description

@jasuwienas

Problem

Currently we have 2 separate commands posible for starting each process.

npm run start
npm start:ws

Both geth and besu allow users to start them both at once (--http, --ws flags).

We can also start ws server only, without http interface. Which is not possible in our app.

Solution

Allow to select which server to start separately.

npm run start:http:ws - both
npm run start:ws - only ws
npm run start:http - only http
npm run start- only http (default config - only http?)

We need to have only 1 process running, either with only http or ws, or both running

Open Question

  • Shall we remove the 2 existing packages and unify?

Alternatives

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions