Skip to content

CLI - Node running-status for pool operators #801

@erikd

Description

@erikd

Pool operators on the ITN use something that connects to the Jormungandr node and pulls out the following data:

  • lastBlockHeight
  • lastBlockHash
  • lastPoolID (leader for the last block)
  • lastParent (parent block for the last block)
  • lastSlot
  • lastEpoch
  • version (jormungander full version info)

and submits it to https://pooltool.io/

The new Haskell node should make this at least as easy. It should also add the block arrival time (with as good resolution as pssoible) to the above list.

One possibility would be a CLI command like:

cardano-cli shelley node running-status

that connects to the node and dumps the required output as JSON to stdout. Users would then be able to pipe that to a program to submit it to https://pooltool.io/ .

Another possibility to to just use a web socket in the node to serve this JSON.

Most importantly, this feature should be implemented as push from the node rather than require polling the node.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cli revisionis used to group all the Node CLI ticketspriority mediumissues/PRs that SHOULD be addressed. This should be done for the release, but acceptable if it doesn

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions