pactus-project / pactus

Pactus blockchain
https://pactus.org
MIT License
216 stars 141 forks source link

gRPC Service to Control the Node #1598

Open Ja7ad opened 6 days ago

Ja7ad commented 6 days ago

Description

We need to add gRPC methods to control the node. By default, this service should be disabled.

Service Name: Control

b00f commented 6 days ago

gRPC method to get the node's uptime duration

I think we have this information at the moment .

b00f commented 6 days ago

gRPC method to purge the transaction pool

There is a simple workaround for this feature: Restarting the node.

Ja7ad commented 6 days ago

gRPC method to purge the transaction pool

There is a simple workaround for this feature: Restarting the node.

For my logic I can't restart node every time.