Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: delayed payout tx backup/recovery. #6589

Closed
wants to merge 1 commit into from
Closed

Feat: delayed payout tx backup/recovery. #6589

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Feb 16, 2023

Implementation of: bisq-network/proposals#381 (comment)

Since the proposal was approved and I'd spent time working on this, thought I'd publish the completed work. But due to some doubt about its usefulness, will keep it marked "Draft" while waiting for comments.


The idea is that a user is able to recover a DPT backup in the case of catastrophic disk failure. Upon restoring their Bisq wallet from seedphrase, the software run by the user is able to decrypt their DPT backup from a P2P network resource file.

There have been a few (5 maybe?) support cases where this feature would have been useful.

However I'm not sure if the marginal benefit makes this feature worthwhile. The main risk in backing up each DPT to a network file, is the file will grow over time. Even though successful trades remove the backups, there can be cases where they do not get cleaned out, such as abandoned trades where probably you want to keep the backup anyway. Or other failures such as bugs. There is no possibility for pruning except individually by each user/creator. For 1000 records (500 non-closed trades) using the latest DPT, the file size is around 1.8Mb. All those records consume RAM as is the case for the entire Bisq db.


Screenshots:

Screenshot from 2023-02-16 09-32-21

Screenshot from 2023-02-16 09-31-05


DPT backup file would be amongst the largest DB files:

image

image

@ghost ghost marked this pull request as draft February 16, 2023 16:50
@ghost ghost closed this Feb 26, 2023
@pazza83 pazza83 mentioned this pull request Jul 20, 2024
This pull request was closed.
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.

0 participants