I am trying to use dolos to build up a local database of information relevant to a typical wallet user:
- current UTxOs
- current account balance
- tx history
Dolos currently supports three sync options:
- Mithril Snapshot
- Dolos Snapshot
- Relay Chain-Sync
But the only way to get the full tx history into my local database is with the Relay Chain-Sync because it is the only option to get Dolos to stream the txs from genesis. AFAIU the Mithril Snapshot has the full history and it has already been validated. So theoretically, I should be able to replay the history from genesis using a Mithril Snapshot but Dolos currently does not support this.
I know Dolos prunes its own database on regular intervals and this is fine. All I'm asking is that I can stream the history from a mithril snapshot and skip validation since I'm trusting the mithril signatures. This would allow a wallet to bootstrap the user's full information using dolos and just a mithril snapshot. By skipping the network fetch and validation steps, the replay using a mithril snapshot should be orders of magnitude faster than the Chain-Sync approach.
If this is already supported, can you point me in the right direction? I can't seem to get it to work.
I am trying to use dolos to build up a local database of information relevant to a typical wallet user:
Dolos currently supports three sync options:
But the only way to get the full tx history into my local database is with the Relay Chain-Sync because it is the only option to get Dolos to stream the txs from genesis. AFAIU the Mithril Snapshot has the full history and it has already been validated. So theoretically, I should be able to replay the history from genesis using a Mithril Snapshot but Dolos currently does not support this.
I know Dolos prunes its own database on regular intervals and this is fine. All I'm asking is that I can stream the history from a mithril snapshot and skip validation since I'm trusting the mithril signatures. This would allow a wallet to bootstrap the user's full information using dolos and just a mithril snapshot. By skipping the network fetch and validation steps, the replay using a mithril snapshot should be orders of magnitude faster than the Chain-Sync approach.
If this is already supported, can you point me in the right direction? I can't seem to get it to work.