Skip to content

What changes would call for a protocol version update? #3493

Answered by patricklodder
david2278 asked this question in Q&A
Discussion options

You must be logged in to vote

imho, yes. If you do this you can uniquely identify p2p clients that have a specific behavior (will not accept blocks of [version] after [height]) and this will help you, post-fork, to:

  1. If the fork is successful, reduce the amount of blocks you get from clients that are not following the fork, by disconnecting all peers with a lower version (these can never be on your chaintip), or
  2. If the fork is unsuccessful, identify and temporarily filter out those with the version number used. For this case, it may be cleaner to set a specific higher bit in the protocol version, because that protects from not being able to increase the version number, wanting to increase the sequence.

Basically, doi…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@david2278
Comment options

@patricklodder
Comment options

@chromatic
Comment options

@patricklodder
Comment options

Answer selected by david2278
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants