Skip to content
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
wants to merge 58 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
3f266bf
implement the framework of fast node
Dec 2, 2021
885aeb9
implement trust protocol and verify node
keefel Jan 11, 2022
66dd9ea
testcases for getting root by diff hash
keefel Jan 20, 2022
6306002
generate diff layer by replaying block
keefel Jan 21, 2022
0b296e8
fix misc bugs of verify node
keefel Jan 25, 2022
6fffa8e
testcases for trust protocol (#742)
keefel Jan 27, 2022
359906c
implement the framework of fast node
Dec 2, 2021
c6e8652
implement trust protocol and verify node
keefel Jan 11, 2022
4905aab
testcases for getting root by diff hash
keefel Jan 20, 2022
0405b68
generate diff layer by replaying block
keefel Jan 21, 2022
529e66e
fix misc bugs of verify node
keefel Jan 25, 2022
fed2f35
testcases for trust protocol (#742)
keefel Jan 27, 2022
0ca4bc1
Merge branch 'develop' into separate-node
keefel Feb 14, 2022
1e46537
Merge pull request #763 from KeefeL/dev
unclezoro Feb 14, 2022
f7ef016
fast node verification and fix conflicts
kyrie-yl Feb 24, 2022
2ed75ab
add metrics
kyrie-yl Mar 1, 2022
7b070c0
resolve comments
kyrie-yl Mar 2, 2022
1aaab76
verify task get difflayer cache synchronously
kyrie-yl Apr 6, 2022
b978ed3
put difflayer into verifyManage cache when node restart
j75689 Apr 13, 2022
161c467
Merge branch 'develop' into fast-node-fix
j75689 Apr 13, 2022
34e8ce0
remove testing code
j75689 Apr 13, 2022
5675916
fixup! put difflayer into verifyManage cache when node restart
j75689 Apr 13, 2022
f8c6a4a
change type of diffLayerChanCache to sync.Map
j75689 Apr 19, 2022
b3a701d
refactor block remote validation code
j75689 Apr 19, 2022
be53153
rewind to last non verified block when restart fast node
j75689 Apr 19, 2022
8c6d5a8
fixup! rewind to last non verified block when restart fast node
j75689 Apr 19, 2022
1e44aa6
fixup! rewind to last non verified block when restart fast node
j75689 Apr 19, 2022
7ad4d02
Revert "change type of diffLayerChanCache to sync.Map"
j75689 Apr 20, 2022
c57fdd7
fix comments
j75689 Apr 20, 2022
e0cf707
remove unused code
j75689 Apr 20, 2022
2e6c33b
don't need to send verify task when node start
j75689 Apr 20, 2022
23913cf
remove unused code
j75689 Apr 20, 2022
a73aad6
fix validateBody
j75689 Apr 20, 2022
734d17f
fix gracefull shutdown issue
j75689 Apr 22, 2022
c840e7f
fix diffhash mismatch issue
j75689 Apr 22, 2022
3150755
fix log format
j75689 Apr 23, 2022
dfff219
fix close of closed channel issue
j75689 Apr 25, 2022
b56c19c
fix diffhash issue
j75689 Apr 26, 2022
5a254c4
add interval when getting ErrSnapshotStale
j75689 Apr 27, 2022
5f22105
add unit-test for fastnode
j75689 Apr 27, 2022
4771d86
Merge remote-tracking branch 'origin/develop' into separate-node
dean65 Apr 28, 2022
ef3ec13
fix lint error
dean65 Apr 28, 2022
7490499
setup default validator for blockchain
dean65 Apr 28, 2022
8929510
fix tests
dean65 Apr 28, 2022
e9be0d4
close verifyTask when length of verifyPeers is 0
dean65 Apr 29, 2022
0132f13
add UT tests
kyrie-yl Apr 29, 2022
2dbc8c5
Merge pull request #14 from node-real/separate-node-test
realuncle May 4, 2022
ae3bdea
fix to resolve comments
cryyl May 5, 2022
f027818
fix to resolve comments
cryyl May 5, 2022
e93cced
use NewTimer instead of time.After
dean65 May 5, 2022
4001f37
fix sorting difflayer.storage
dean65 May 5, 2022
e440880
fix TestFastNode
dean65 May 5, 2022
cc1940c
change the flag description
unclezoro May 6, 2022
84bb85c
refine the description
unclezoro May 6, 2022
73e6147
Merge remote-tracking branch 'bnb-chain/develop' into separate-node
cryyl May 6, 2022
fc08067
Merge remote-tracking branch 'bnb/develop' into separate-node
dean65 Jun 30, 2022
363bb96
fix comments
dean65 Jun 30, 2022
149718f
fix comments
dean65 Jul 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'bnb-chain/develop' into separate-node
  • Loading branch information
cryyl committed May 6, 2022

Unverified

This user has not yet uploaded their public signing key.
commit 73e6147a4f0a89fdfd1dbc5560f221f3015c8d50

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.