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

Enable fast-update of witness data for existing notes (Spend-before-Sync) #730

Closed
str4d opened this issue Dec 9, 2022 · 2 comments
Closed
Labels
C-target Category: This is a high-level target that forms the root of a sub-graph in the DAG.

Comments

@str4d
Copy link
Contributor

str4d commented Dec 9, 2022

This is an intermediate step on the way to a full DAGSync architecture. This issue can be closed when we have wallet datastores and APIs that can enable existing notes to be made spendable without calling scan_cached_blocks. The workflow will be something like:

  • Record new-style tree data for new notes.
  • Roll this tree data forward via range updates of historic tree data.
  • Scan the last 100 blocks (or last 2^16 tree or whatever) to fill in the remainder.
@nuttycom nuttycom changed the title Enable fast-update of witness data for existing notes Enable fast-update of witness data for existing notes (Pre-DAG-Sync) Jan 26, 2023
@nuttycom nuttycom added this to the Pre-DAG-Sync milestone Jan 26, 2023
@nuttycom nuttycom modified the milestones: Pre-DAG-Sync, Release 5.5.0, Release 5.6.0 Mar 9, 2023
@nuttycom nuttycom modified the milestones: Release 5.6.0, Pre-DAG-Sync Mar 23, 2023
@nuttycom
Copy link
Contributor

nuttycom commented Mar 27, 2023

I've added #404 as a blocker for this ticket because even if we don't complete orchard integration as part of this ticket, we need to do all of the conceptual work for how to support Orchard in the data access API at the same time or else we're going to end up doing a lot of needless extra work. We don't have to actually implement Orchard, but we need the API updates to make it so that we don't have to rewrite the data access API again when we do implement Orchard.

@str4d str4d changed the title Enable fast-update of witness data for existing notes (Pre-DAG-Sync) Enable fast-update of witness data for existing notes (Spend-before-Sync) Aug 16, 2023
@nuttycom
Copy link
Contributor

nuttycom commented Sep 6, 2023

Closing as complete.

@nuttycom nuttycom closed this as completed Sep 6, 2023
@str4d str4d added the C-target Category: This is a high-level target that forms the root of a sub-graph in the DAG. label Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-target Category: This is a high-level target that forms the root of a sub-graph in the DAG.
Projects
None yet
Development

No branches or pull requests

2 participants