Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Blockchain by (12.7k points)

I’m running my Waves node but I can’t figure out if I’m on fork or not. How to know exactly if the node is on a fork or not? is there a pywaves utility or API command that show it?

1 Answer

0 votes
by (29.5k points)
edited by

One way to go about this is by checking the blockchain height or the last 100 signatures of blocks to understand if your node is on a fork or not (compare block generators and signatures)
You can use the rest
api with swagger on different nodes to compare block # on both. looking for different generators in the same block height.

Know how Blockchain works in depth by enrolling in Blockchain Course.

Related questions

0 votes
1 answer
asked Jul 23, 2019 in Blockchain by Abhishek_31 (12.7k points)
0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...