Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[NC-2283] Set remote peer chain head to parent of block received in NEW_BLOCK_MESSAGE #819

Merged
merged 2 commits into from Feb 11, 2019

Conversation

ajsutton
Copy link
Contributor

@ajsutton ajsutton commented Feb 9, 2019

PR description

As new block messages are sent prior to importing the block to the local chain, when receiving one, the remote peer's chain head should be set to the parent of the received block. Previously Pantheon treated the block as if it had already been imported.

… be the parent block, not the received block.
@ajsutton ajsutton merged commit 91244f3 into PegaSysEng:master Feb 11, 2019
@ajsutton ajsutton deleted the new-block-parent branch February 11, 2019 20:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants