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

All slices run headerchain and processing state only on specified SLICES from network.env #1048

Merged

Conversation

gameofpointers
Copy link
Contributor

@gameofpointers gameofpointers commented Aug 21, 2023

@dominant-strategies/core-dev

Using the network.env SLICES variable, we can decide which slices the given node should run and Disabled all the txpool processing, state processing, worker execution, API guarding, peer rpc guarding on transaction apis, diabling the tx fetcher

core/core.go Outdated Show resolved Hide resolved
core/core.go Show resolved Hide resolved
core/core.go Outdated Show resolved Hide resolved
quaistats/quaistats.go Outdated Show resolved Hide resolved
jdowning100
jdowning100 previously approved these changes Aug 23, 2023
Copy link
Contributor

@jdowning100 jdowning100 left a comment

Choose a reason for hiding this comment

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

I would like the codepath for nodes that don't have state (region, prime, and zones that don't process state) to be the same for readability and bug fixing purposes. Otherwise, looks good to me.
Edit: #1053

gameofpointers and others added 4 commits August 23, 2023 13:54
… for the

slices that are specified on the startup.

Consensus is achieved only using the POEM check. In case of discordence in the
doms, signal is passed from the zone to resolve the Dom decision.
…on doesn't get the broadcast

Added another data path if dom doesnt receive a broadcast, sub will inform them
@wizeguyy wizeguyy self-requested a review August 23, 2023 19:45
@gameofpointers gameofpointers merged commit 1faf905 into dominant-strategies:main Aug 23, 2023
1 check passed
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.

5 participants