You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
Subscribe to app:network:event event and check for postBlock, increment for every blockId [blockId] +=1, in { 'id1': count, 'id2': count, ... }
Response:
{// last 300 blocks should be taken into accountblocks: {<blockid>: count},averageReceivedBlock: totalCount/numOfBlockIds,// moving averageconnectedPeers: channel.invoke(app:getConnectedPeers).count}
Motivation
The monitor plugin requires this endpoint to expose how many times block is received on each node.
Acceptance Criteria
Add unit test to check if the above values are exposed
Check if the above values are responded by registering to the framework
Description
Block propagation
(api/stats/blocks)
Subscribe to
app:network:event
event and check forpostBlock
, increment for everyblockId [blockId] +=1
, in{ 'id1': count, 'id2': count, ... }
Response:
Motivation
The monitor plugin requires this endpoint to expose how many times block is received on each node.
Acceptance Criteria
Additional Information
Related issues: #5216
The text was updated successfully, but these errors were encountered: