Skip to content

provide get_info endpoint #69

Description

@thepiwo
  • add endpoint to get the clients info, e.g:
{
    "current_block_version" : 1,
    "current_block_height" : 2,
    "current_block_hash" : xyz,
    "genesis_block_hash" : abc,
    "peer_count" : 8,
    "difficulty_target" : 21,
    "public_key": pubkey
}
  • replace ping/pong with get_info, only add peer if genesis block has is correct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions