Skip to content

[wip] lianad: add store_transactions() command#1586

Open
pythcoiner wants to merge 2 commits intowizardsardine:masterfrom
pythcoiner:store_transactions
Open

[wip] lianad: add store_transactions() command#1586
pythcoiner wants to merge 2 commits intowizardsardine:masterfrom
pythcoiner:store_transactions

Conversation

@pythcoiner
Copy link
Collaborator

this feature have been dropped from the backup/restore feature, putting it in a separate PR in case we want to import transactions in case of offline liana feature

@jp1ac4
Copy link
Collaborator

jp1ac4 commented Apr 4, 2025

If we wish to import coins from a backup in future, I think this will need to be done as part of a fresh DB creation. This is because we'll need to populate the DB chain tip (height & hash) and coins before the poller starts running, in order to then handle updates to those imported coins in the usual way.

As populating the coins during DB creation will also require the transactions to be populated, it may be better to import transactions during this DB creation rather than to an already-running lianad.

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.

2 participants