-
Notifications
You must be signed in to change notification settings - Fork 20.8k
eth/catalyst: add catalyst API prototype #22641
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
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
d9916d1
eth2: introduce RPC apis, catalyst command line option and extra inst…
gballet fad2587
Enable catalyst with option --catalyst
gballet 9a35a22
Fix rebase and merge errors
gballet ccfb737
remove the code that isn't needed in rayonism
gballet 26ee92a
Fix unit tests
gballet dfdff92
integrate review feedback
gballet dae9d1a
Change difficulty calculations to accept 1 for each block
gballet de593d0
Bring API up to spec
gballet ce8fff9
Fix unit tests
gballet 0602ca7
Add a `success` field to the response in GinalizeBlock and SetHead
gballet 8e3adf9
quell linter warning
gballet 78e41ff
fix console test breakage because of the namespace change
gballet 05f75c5
eth, eth/ethconfig: remove Catalyst config flag
fjl 1fdba04
eth/catalyst: move catalyst implementation to its own package
fjl d267c14
cmd/geth: register catalyst service when --catalyst given
fjl 5c627ef
cmd/utils: disable p2p networking in catalyst mode
fjl 24909f0
core: revert change to tx pool config
fjl da28171
eth/catalyst: add copyright header
fjl 3f3e879
cmd/utils: improve description of catalyst flag
fjl ef204fe
eth/catalyst: add test helper for starting eth
fjl 8871cb7
eth/catalyst: use helper in disabled SetHead test
fjl 40cb7cb
eth/catalyst: improve service registration
fjl 962079c
cmd/geth: remove consensus API in console test
fjl 71165f4
Change signature of InsertChainWithoutSealVerification to only accept…
gballet 16be944
Reuse the block number from ExecutableData in NewBlock
gballet 33c465b
Review feedback: a more descriptive name for the execution environment
gballet 09e3867
remove commented code, it won't work out of the box
gballet 2c22b5c
eth/catalyst: remove zeroNonce
fjl 7adf70b
eth/catalyst: unexport API types
fjl 01d16e5
eth/catalyst: fix encoding of API objects
fjl 0eda836
eth/catalyst: fix name of parenthash parameter
fjl 0a5bf45
eth/catalyst: make all params required
fjl 43b88ae
Finalize and SetHead stubs return success upon call
gballet 558649e
Remove outdated comment
gballet 7b0a22d
eth/catalyst: move Register to api.go
fjl 77e5444
eth/catalyst: improve error for misconfigured catalystBlock
fjl b75abfe
eth/catalyst: remove debug print
fjl be735b8
eth/catalyst: fix tx signer creation
fjl b311fc8
eth/catalyst: avoid keeping block env
fjl dc8295a
eth/catalyst: check error of sender derivation
fjl d00d4da
eth/catalyst: don't derive optional receipt fields
fjl 5521b0a
eth/catalyst: skip the sender error check again, and explain why
fjl 7eea1cf
eth/catalyst: remove more weird comments
fjl 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
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.
activate
--nodiscover
when set