A user should be able to recover their entire local chain from backup. This is required when logging into a second phone and should be triggered automatically on login with an empty local chain.
Acceptance Criteria:
Check if there is a backup available
Pull all blocks from backup and insert them ahead of any locally created blocks. Ideally in order or somewhat order. The most important block to pay attention to is the last one.
Note: depending on the ordering implementation, the local chain validation method may need updating.
A user should be able to recover their entire local chain from backup. This is required when logging into a second phone and should be triggered automatically on login with an empty local chain.
Acceptance Criteria:
Note: depending on the ordering implementation, the local chain validation method may need updating.