Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Ping nodes while show state #391

Merged
merged 4 commits into from Jun 17, 2019
Merged

Conversation

shargon
Copy link
Member

@shargon shargon commented Jun 16, 2019

Related to neo-project/neo#832
Close #287

@shargon shargon requested a review from erikzhang June 16, 2019 17:40
while (!stop)
{
system.LocalNode.Tell(Message.Create(MessageCommand.Ping, PingPayload.Create(Blockchain.Singleton.Height)));
await Task.Delay(Blockchain.TimePerBlock);

This comment was marked as resolved.

@shargon shargon requested a review from erikzhang June 17, 2019 10:49
vncoelho
vncoelho previously approved these changes Jun 17, 2019
Copy link
Member

@vncoelho vncoelho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, @shargon, this will be a good info while showing state.

We can calibrate it better when the client 3.0 reach preview.

@erikzhang erikzhang merged commit bd472a3 into neo-project:master Jun 17, 2019
@shargon shargon deleted the ping-nodes branch June 17, 2019 17:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

show state : height of remote node never change
3 participants