forked from bnb-chain/bsc
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feats: Separate Processing and State Verification on BSC #13
Open
dean65
wants to merge
58
commits into
develop
Choose a base branch
from
separate-node
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 47 commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
3f266bf
implement the framework of fast node
885aeb9
implement trust protocol and verify node
keefel 66dd9ea
testcases for getting root by diff hash
keefel 6306002
generate diff layer by replaying block
keefel 0b296e8
fix misc bugs of verify node
keefel 6fffa8e
testcases for trust protocol (#742)
keefel 359906c
implement the framework of fast node
c6e8652
implement trust protocol and verify node
keefel 4905aab
testcases for getting root by diff hash
keefel 0405b68
generate diff layer by replaying block
keefel 529e66e
fix misc bugs of verify node
keefel fed2f35
testcases for trust protocol (#742)
keefel 0ca4bc1
Merge branch 'develop' into separate-node
keefel 1e46537
Merge pull request #763 from KeefeL/dev
unclezoro f7ef016
fast node verification and fix conflicts
kyrie-yl 2ed75ab
add metrics
kyrie-yl 7b070c0
resolve comments
kyrie-yl 1aaab76
verify task get difflayer cache synchronously
kyrie-yl b978ed3
put difflayer into verifyManage cache when node restart
j75689 161c467
Merge branch 'develop' into fast-node-fix
j75689 34e8ce0
remove testing code
j75689 5675916
fixup! put difflayer into verifyManage cache when node restart
j75689 f8c6a4a
change type of diffLayerChanCache to sync.Map
j75689 b3a701d
refactor block remote validation code
j75689 be53153
rewind to last non verified block when restart fast node
j75689 8c6d5a8
fixup! rewind to last non verified block when restart fast node
j75689 1e44aa6
fixup! rewind to last non verified block when restart fast node
j75689 7ad4d02
Revert "change type of diffLayerChanCache to sync.Map"
j75689 c57fdd7
fix comments
j75689 e0cf707
remove unused code
j75689 2e6c33b
don't need to send verify task when node start
j75689 23913cf
remove unused code
j75689 a73aad6
fix validateBody
j75689 734d17f
fix gracefull shutdown issue
j75689 c840e7f
fix diffhash mismatch issue
j75689 3150755
fix log format
j75689 dfff219
fix close of closed channel issue
j75689 b56c19c
fix diffhash issue
j75689 5a254c4
add interval when getting ErrSnapshotStale
j75689 5f22105
add unit-test for fastnode
j75689 4771d86
Merge remote-tracking branch 'origin/develop' into separate-node
dean65 ef3ec13
fix lint error
dean65 7490499
setup default validator for blockchain
dean65 8929510
fix tests
dean65 e9be0d4
close verifyTask when length of verifyPeers is 0
dean65 0132f13
add UT tests
kyrie-yl 2dbc8c5
Merge pull request #14 from node-real/separate-node-test
realuncle ae3bdea
fix to resolve comments
cryyl f027818
fix to resolve comments
cryyl e93cced
use NewTimer instead of time.After
dean65 4001f37
fix sorting difflayer.storage
dean65 e440880
fix TestFastNode
dean65 cc1940c
change the flag description
unclezoro 84bb85c
refine the description
unclezoro 73e6147
Merge remote-tracking branch 'bnb-chain/develop' into separate-node
cryyl fc08067
Merge remote-tracking branch 'bnb/develop' into separate-node
dean65 363bb96
fix comments
dean65 149718f
fix comments
dean65 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better description is needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
full: state verification by verify node, full secure mode
what doesfull secure mode
mean?insecure: state verification by verify node but insecure mode
, what doesinsecure mode
mean?