Skip to content

[R4R]fix: verify node is not treated as verify node#1024

Merged
unclezoro merged 1 commit intobnb-chain:developfrom
unclezoro:fix/miss_verify_node
Jul 28, 2022
Merged

[R4R]fix: verify node is not treated as verify node#1024
unclezoro merged 1 commit intobnb-chain:developfrom
unclezoro:fix/miss_verify_node

Conversation

@unclezoro
Copy link
Copy Markdown
Contributor

Description

For the fast node, verify node is a special setting that can do remove state root verification.

The development branch does have bugs in mark verify nodes. This PR aims to fix the bug.

Rationale

image
Both dialDest and n here is pointers, we shall just compare whether the ID equals.

Example

After the patch, fast node can work smoothly in full and insecure mode.

Changes

No

Copy link
Copy Markdown
Contributor

@keefel keefel left a comment

Choose a reason for hiding this comment

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

LGTM

@unclezoro unclezoro merged commit 6c46c59 into bnb-chain:develop Jul 28, 2022
This was referenced Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants