-
Notifications
You must be signed in to change notification settings - Fork 667
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
Feat/stackerdb #3534
Closed
Closed
Feat/stackerdb #3534
Conversation
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
… the reward cycle
… the start of the reward cycle
…eeding to be filled in
…equests, and chunk requests
…ansion to handle test-defined stacker DB instances
… communication logic into a trait with trait methods so we can use it for stacker DBs as well as neighbor walks
Codecov Report
@@ Coverage Diff @@
## develop #3534 +/- ##
===========================================
- Coverage 30.98% 30.90% -0.08%
===========================================
Files 298 308 +10
Lines 272236 276225 +3989
===========================================
+ Hits 84340 85362 +1022
- Misses 187896 190863 +2967
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
This was referenced Feb 4, 2023
Closing in favor of the other stacker DB PRs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closing in favor of:
This PR creates a Stacker DB subsystem in the peer network. A stacker DB is an ephemeral database that can be created for any existing smart contract that confirms to a simple trait interface. Nodes opt-in to hosting replicas of the DB, and users of the smart contract get to leverage the Stacks p2p network to store app-specific state for up to one reward cycle at a time.
This PR is just a draft because the system is not complete. This PR still needs the following:
/v2/neighbors
to include the list of stacker DBs that the neighbor claims to replicateI'm creating this draft to (1) start running CI on it and (2) start working with @donpdonp and @xoloki to get the RPC interface and contract interface nailed down.