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
Currently, enabling transport options such as gRPC, gRPC-Gateway, JSON-RPC, ZeroMQ, etc., requires manually editing config.toml before running pactus-daemon.
Describe the ideal solution
We can introduce command-line flags for the start command to enable these transports dynamically.
Describe the problem you'd like to have solved
Currently, enabling transport options such as gRPC, gRPC-Gateway, JSON-RPC, ZeroMQ, etc., requires manually editing
config.toml
before runningpactus-daemon
.Describe the ideal solution
We can introduce command-line flags for the
start
command to enable these transports dynamically.For example:
$ pactus-daemon start --grpc localhost:50051 --grpc-wallet --json-rpc localhost:5132 --zmq-tx-info-publisher tcp://*:50238
This is suggested switchs:
--grpc
to enable grpc transport (address:port as string).--grpc-wallet
to enable wallet service in grpc (boolean).--zmq-block-info
to enable zeromq block info publisher (tcp://address:port as string).--zmq-tx-info
to enable zeromq tx info publisher (tcp://address:port as string).--zmq-raw-block
to enable zeromq block raw publisher (tcp://address:port as string).--zmq-raw-tx
to enable zeromq tx raw publisher (tcp://address:port as string).The text was updated successfully, but these errors were encountered: