Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

net_plugin better error for unknown block #8033

Merged
merged 1 commit into from
Oct 4, 2019

Conversation

heifner
Copy link
Contributor

@heifner heifner commented Oct 4, 2019

Change Description

  • Since the snapshot feature was added net_plugin has been reporting "chain is forked" error for requested blocks not in local block log.
  • Send benign_other now for unknown blocks so 1.8.x peers do not report "chain is forked" but instead will report "some other non-fatal condition".
  • 2.0+ will report "some other non-fatal condition, possibly unknown block" and will attempt to reconnect in connection-cleanup-period seconds.

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

…r message. Also allow reconnect for benign_other go_away which is what we now send for unknown block
@heifner heifner merged commit e627a4e into develop Oct 4, 2019
@heifner heifner deleted the better-error-blk-not-found branch October 4, 2019 19:40
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.

2 participants