Skip to content

Export Utreexo accumulator state to share with other devices #30

@jvsena42

Description

@jvsena42

Summary

Counterpart to #29. Once a Mandacaru node has completed IBD (Initial Block Download), it should be able to export its Utreexo accumulator state so other devices can import it and skip IBD entirely.

This enables a flow where a user syncs Floresta on their phone, then transfers the validation state to another device (e.g., a second phone or a desktop node) without that device needing to sync from scratch.

Requirements

  • Text export: Copy the accumulator data as text to the clipboard or share via Android share sheet
  • QR code generation: Generate a QR code containing the accumulator state that another device can scan

Context

https://x.com/Erik17192799/status/1965900310733316382

One cool thing about Utreexo is that you can "transfer validation" between devices. This QR code has everything you need to start a new node. Imagine if you can sync a node on your computer, then load a QR code on your phone, and you just skip IBD completely on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    external-blockerDepends on updates from external dependenciesfeatureFeature request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions