Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P2P: Add last_vote_received to connection status #504

Merged
merged 2 commits into from
Aug 8, 2024

Conversation

heifner
Copy link
Member

@heifner heifner commented Aug 8, 2024

Add last_vote_received timestamp to connection status

  {
    "peer": "p2p.spring-beta4.jungletestnet.io:9898",
    "remote_ip": "136.243.79.230",
    "remote_port": "9898",
    "connecting": false,
    "syncing": false,
    "is_bp_peer": false,
    "is_socket_open": true,
    "is_blocks_only": false,
    "is_transactions_only": false,
    "last_vote_received": "2024-08-08T16:58:08.714",
    "last_handshake": {
      "network_version": 1214,
      "chain_id": "3eade55e76244083238a944a905517e8827c0da033304f6461108d69c1045e90",
      "node_id": "5c2c510673f56fdc44d3ed0bbbe4baaa8ce8e91ab86e91e57f0b128f0993beb1",
      "key": "EOS1111111111111111111111111111111114T1Anm",
      "time": "1723136044079711000",
      "token": "0000000000000000000000000000000000000000000000000000000000000000",
      "sig": "SIG_K1_111111111111111111111111111111111111111111111111111111111111111116uk5ne",
      "p2p_address": "p2p.spring-beta4.jungletestnet.io:9898 - 5c2c510",
      "last_irreversible_block_num": 1485709,
      "last_irreversible_block_id": "0016ab8c5598f0d3b4bd02941e09dc581db3018704b500630fce8bb62f46821f",
      "fork_head_num": 1485712,
      "fork_head_id": "0016ab8e83791607d413fe9b3b56eaddef411cfcd2db545c9a696354c1c30b83",
      "os": "linux",
      "agent": "api01_b2",
      "generation": 1
    }
  }

Resolves #489

@heifner heifner requested review from greg7mdp and linh2931 August 8, 2024 17:01
@heifner heifner added the OCI Work exclusive to OCI team label Aug 8, 2024
@heifner heifner merged commit 6837655 into main Aug 8, 2024
36 checks passed
@heifner heifner deleted the GH-489-net-status-votes branch August 8, 2024 20:22
@ericpassmore
Copy link
Contributor

Note:start
group: CLEANCODE
category: INTERNALS
summary: Add last_vote_received to connection status.
Note:end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

P2P: include if votes included in connection for net status
4 participants