-
Notifications
You must be signed in to change notification settings - Fork 33
[Consensus] State sync server to advertise blocks #431
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
Merged
gokutheengineer
merged 179 commits into
main
from
issue/409-state-sync-server-to-advertise-blocks
Feb 9, 2023
Merged
Changes from 165 commits
Commits
Show all changes
179 commits
Select commit
Hold shift + click to select a range
a880635
state_sync server init
gokutheengineer affc3a1
feat: state_sync and consensus interaction init
gokutheengineer ee550a5
state sync server initial placeholder for HandleStateSyncMetadataRequest
gokutheengineer 5472099
state_sync (consensus): update how to send placeholder function
gokutheengineer 4347ee1
refactor: clean extra lines
gokutheengineer 7ef1579
refactor: proper proto definition for enum
gokutheengineer de5c9d6
refactor: remove IsServerModEnabled function from consensus module
gokutheengineer 94d1c82
init sendToPeer and handleStateSyncMetaDataRequest functions
gokutheengineer a2f1bec
initial get block implementation
gokutheengineer 35e9f6b
consensus WIP: update test utils for state sync tests
gokutheengineer 1397f88
consensus WIP: testing
gokutheengineer 606fdb5
consensus (refactor): new shared interface of consensus for pacemaker
gokutheengineer 91b8b32
refactor (consensus): WIP, seperate interfaces, remove consensusMod f…
gokutheengineer 7ffd4fe
refactor (consensus): create pacemaker submodule
gokutheengineer a82f0a9
refactor (consensus): clean some comments
gokutheengineer 467c81e
consensus (refactor): WIP cleanup
gokutheengineer 8339d95
refactor (consensus): WIP more cleanup
gokutheengineer e68b9ac
consensus (refactor): address remaining comments on PR
gokutheengineer 8411b85
rafactor: remove unused function
gokutheengineer 5c9e28c
refactor: address PR comments
gokutheengineer 4ab88d2
Update shared/modules/consensus_module.go
gokutheengineer db8350d
Update shared/modules/consensus_module.go
gokutheengineer b803a38
Update consensus/pacemaker_consensus.go
gokutheengineer f6e81d9
Update shared/modules/consensus_module.go
gokutheengineer d3d479c
refactor (consensus): return error in GetPrepareQC
gokutheengineer e1a454c
Update shared/modules/consensus_module.go
gokutheengineer 5795d08
initial rebased version, WIP
gokutheengineer 1a4a682
refactor (consensus): clean and add some comments
gokutheengineer b05a7b5
WIP: clean some comments, start updating CHANGELOG
gokutheengineer c57197e
clean few comments, update CHANGELOGS, remove incomplete byzantine te…
gokutheengineer 193786c
Update consensus/pacemaker/pacemaker.go
gokutheengineer 3e518f0
Update consensus/doc/CHANGELOG.md
gokutheengineer cc8705f
clean, address comments
gokutheengineer ad80249
move pacemaker
gokutheengineer 01f2efd
refactor: bring back pacemaker impl
gokutheengineer 1949251
merge with issue/395
gokutheengineer 1e0f143
rename state_sync module.go
gokutheengineer bd603a1
fix comments
gokutheengineer 59e1ac7
remove pacemaker
gokutheengineer 760ce07
add updated pacemaker
gokutheengineer bfed5c1
Bring back old pacemaker
Olshansk fc1bcfb
Move file
Olshansk aacef7e
Apply changes
Olshansk e49daf3
WIP: structre test for state sync
gokutheengineer 907f5df
refactor: remove shouldHandleHotstuffMessage
gokutheengineer 1887c02
Update consensus/module.go
gokutheengineer 3351d9b
refactor: update prepareQC
gokutheengineer 38798ee
refactor: address comments
gokutheengineer cfece55
Update consensus/pacemaker/pacemaker.go
gokutheengineer 8e0b9a9
fix comment
gokutheengineer dbf3775
merge
gokutheengineer cd9c74e
update changelog in consensus
gokutheengineer 81fa9e2
fix
gokutheengineer d5f8c87
fix round assertion
gokutheengineer 3386f18
WIP able to receive req in server node
gokutheengineer 509ce2e
fix leader id issue
gokutheengineer d038950
fix localnet issue
gokutheengineer 398ba44
refactor: add comments, fix
gokutheengineer 9b5c396
Merge branch 'main' into issue/395-decouple-consensus-and-pacemaker
gokutheengineer 6c9ba7e
Revert "Merge branch 'main' into issue/395-decouple-consensus-and-pac…
gokutheengineer 92e9a8d
update changelogs
gokutheengineer bfe8adc
update changelog of persistance
gokutheengineer 536a588
feat: server test passes
gokutheengineer cd03619
testing: add max height test statement
gokutheengineer 988aad1
merge: recent main
gokutheengineer 205fd45
fix changelog date
gokutheengineer 5c8f1c5
checkout makefile from master branch
gokutheengineer 244cd66
add block.proto
gokutheengineer 82ef4d8
add consensus state_sync.proto
gokutheengineer 405b231
rm persistance block_persistance.proto
gokutheengineer fbfb238
update block type
gokutheengineer ef38cbe
update CHANGELOGs
gokutheengineer 4d5d8d7
fix hotstuff_leader
gokutheengineer 5bb8f14
fix hotstuff_replica
gokutheengineer 6b95583
fix messages
gokutheengineer 06a4cf5
fix state_sync module
gokutheengineer 5061efe
remove extra comment line added by viscose
gokutheengineer 1e727b2
fix changes of vscode
gokutheengineer ef7bf90
fix pacemaker test
gokutheengineer 89b226e
fix persistance state test
gokutheengineer b1bcad0
add persistance files
gokutheengineer f8a12a3
merge main
gokutheengineer 18632fb
add learning doc
gokutheengineer e96561d
udpate outdated file
gokutheengineer e49b2e2
udpate changelog date
gokutheengineer 75f24b6
remove extra space
gokutheengineer 78b57db
Merge branch 'issue/395-decouple-consensus-and-pacemaker' into issue/…
gokutheengineer bb1cdd0
merge with pacemaker changes
gokutheengineer 5bd473e
WIP refactor, update tests, failing
gokutheengineer 3bae0e6
udpate mocks
gokutheengineer cf03187
test: update tests, getblock is not passing yet
gokutheengineer 1747674
clean debug comments
gokutheengineer 21ee701
add TODOs
gokutheengineer fd74b98
add mock folder
gokutheengineer 5ce1e6a
fix
gokutheengineer d39c4eb
Mock KV store to avoid nil blocks
Olshansk 1d3fe8e
merge with main
gokutheengineer 8d1512c
clean kvstore, mocks in persistence
gokutheengineer 98fa477
clean Makefile
gokutheengineer 06043a7
update getblockresponse, state sync tests are barely passting
gokutheengineer cf9d8b8
Revert "clean Makefile"
gokutheengineer 7a51e96
Revert "clean kvstore, mocks in persistence"
gokutheengineer 80e251c
consensus: refactor comments, tests
gokutheengineer 5d8268a
update tests
gokutheengineer b366b77
refactor: clean code
gokutheengineer e6d52a7
refactor: clean some nits
gokutheengineer 35b7e4b
clean state_sync test
gokutheengineer b4be181
refactor: more cleaning
gokutheengineer 7ef66d4
small nits
gokutheengineer d26035f
Merge branch 'main' into issue/409-state-sync-server-to-advertise-blocks
gokutheengineer 1ebf348
update changelogs
gokutheengineer 3871218
fix some nits
gokutheengineer 84d9dbd
fix nits
gokutheengineer 3bd5e82
merge main
gokutheengineer acaf06c
update changeleg, fix nits, add comments
gokutheengineer f8b1305
update state sync initial status
gokutheengineer 9100626
Update consensus/doc/CHANGELOG.md
gokutheengineer 4c1d708
Update consensus/doc/CHANGELOG.md
gokutheengineer 9635c25
Update persistence/docs/CHANGELOG.md
gokutheengineer 2dc5306
Update consensus/module.go
gokutheengineer 51ebc6b
Update consensus/doc/CHANGELOG.md
gokutheengineer 1d62977
Update consensus/types/errors.go
gokutheengineer cc853ac
Update consensus/module.go
gokutheengineer 1e2aaef
Update shared/modules/consensus_module.go
gokutheengineer 0e96a8c
Update consensus/state_sync/helpers.go
gokutheengineer cd4ee45
Update consensus/module.go
gokutheengineer 9cdb7e1
Update consensus/state_sync_handler.go
gokutheengineer 1c61593
Update consensus/state_sync/server.go
gokutheengineer 1d1887c
Update consensus/state_sync/server.go
gokutheengineer d20c8db
Update consensus/state_sync_handler.go
gokutheengineer 610c016
Update consensus/state_sync_handler.go
gokutheengineer 12923e2
Merge branch 'main' into issue/409-state-sync-server-to-advertise-blocks
gokutheengineer 0adacea
unify height functions, fix comments
gokutheengineer 3216b20
address comments
gokutheengineer c4dcacf
update state sync error message
gokutheengineer 8d4fdb2
fix comments remove persistence/mocks.go
gokutheengineer 1f8c156
remove msgtype from state sync message
gokutheengineer 445a3bc
udpate app to handle getblock and get metadata functions
gokutheengineer cc5a6aa
update consensus
gokutheengineer c67b21d
update shared module
gokutheengineer 098897a
update persistence module
gokutheengineer ab13bc4
fix test
gokutheengineer 3299c43
updates to make debug client work
gokutheengineer 0a008f2
Update consensus/debugging.go
gokutheengineer 2a8c242
Update shared/converters/util.go
gokutheengineer c114bb8
Update consensus/e2e_tests/state_sync_test.go
gokutheengineer b33d858
update makefile
gokutheengineer 19c1367
update configs
gokutheengineer 3bde322
update config test and reading
gokutheengineer cae5bf0
address comments
gokutheengineer 360ac54
merge with main
gokutheengineer ab00896
update changelogs, nit on ,akefile
gokutheengineer 4bea633
refactor
gokutheengineer 94aea17
update logging
gokutheengineer 417965f
update changelogs
gokutheengineer a0cd270
add persistence mock generation
gokutheengineer 94581fd
fix makefile
gokutheengineer 1c6ad13
fix nit
gokutheengineer 911ef8e
Merge branch 'main' into issue/409-state-sync-server-to-advertise-blocks
gokutheengineer 4fb8763
merge with main
gokutheengineer 4ba153b
put mocks placholder file for dynamically generated mocks
gokutheengineer 05fb40c
fix some nits
gokutheengineer d9c41b7
Merge branch 'main' into issue/409-state-sync-server-to-advertise-blocks
gokutheengineer c87e263
address golint errors
gokutheengineer a8eb52d
update makefile
gokutheengineer 064942e
merge with main
gokutheengineer feac475
update changelog dates
gokutheengineer d773aef
Update consensus/types/proto/state_sync.proto
gokutheengineer b6ecff5
Update consensus/state_sync/module.go
gokutheengineer 3a797e4
Update shared/messaging/proto/debug_message.proto
gokutheengineer e984ae1
Update app/client/doc/CHANGELOG.md
gokutheengineer 51f1833
Update build/docs/CHANGELOG.md
gokutheengineer 3511a46
Update shared/modules/consensus_module.go
gokutheengineer a304534
Update consensus/state_sync/module.go
gokutheengineer ad0acc5
address pr comments
gokutheengineer 86efb2e
merge with remote changes
gokutheengineer e4fe037
update changelog dates
gokutheengineer 92e9c44
Update consensus/pacemaker/module.go
gokutheengineer fb2e70d
Update consensus/types/proto/state_sync.proto
gokutheengineer 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.