RSS3-Network / Node

In the vast RSS3 Network, the RSS3 Node delivers Open Information with efficiency, it is a steadfast cruiser in the byte-filled sea.
MIT License
22 stars 3 forks source link

Add the indexing progress of each worker in the worker status #354

Closed brucexc closed 4 months ago

brucexc commented 4 months ago

What feature is it?

Add the latest_remote_block and latest_indexed_block fields for each worker to reflect the indexing progress.

{
  "data": [
    {
      "network": "ethereum",
      "worker": "1inch",
      "tags": [
        "exchange"
      ],
      "platform": "1inch",
      "status": "Indexing",
      "latest_remote_block": 1000,
      "latest_indexed_block": 990,
    }
  ]
}

What problem does this feature solve?

When the current worker status is 'indexing', it is not possible to know the exact progress.

Additional description

No response

This is not a duplicated feature request or new worker proposal