Skip to content

Conversation

@luisschwab
Copy link
Contributor

This PR adds the height and hash to the Stump, so we can just de/serialize it to transfer validation across devices.

Maybe closes #80

@luisschwab
Copy link
Contributor Author

Thoughts on this one @Davidson-Souza? This would require always passing height+hash when updating the accumulator. I don't think this would be a hassle on Floresta, but may be for other users.

@Davidson-Souza
Copy link
Collaborator

Hmm, not sure. Rustreexo is meant to be "bitcoin agnostic", only accumulator stuff. In theory you can use it with any database, not only the UTXO set. This would break this fundamental design principle

@luisschwab
Copy link
Contributor Author

Perhaps adding a wrapper type on floresta with the Stump and these extra fields?

@Davidson-Souza
Copy link
Collaborator

Perhaps adding a wrapper type on floresta with the Stump and these extra fields?

We will change accumulator implementation soon for caching. But I think we can have something like this used for export/import only inside floresta.

@luisschwab luisschwab closed this Jan 19, 2026
@luisschwab luisschwab deleted the feat/heigh-hash-on-stump branch January 19, 2026 21:12
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.

Come up with a de/serialization standard for the Accumulator State

2 participants