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: add opt-in config to execute all redeem and replace requests #449

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gregdhill
Copy link
Member

Signed-off-by: Gregory Hill gregorydhill@outlook.com

I have only modified the startup routine that collects all requests since any change to the listener service would be far more involved, this is fine because the Vault restarts every three hours anyway.

Closes #439

runtime/src/rpc.rs Outdated Show resolved Hide resolved
runtime/src/rpc.rs Outdated Show resolved Hide resolved
vault/src/execution.rs Outdated Show resolved Hide resolved
vault/src/system.rs Outdated Show resolved Hide resolved
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
@gregdhill gregdhill changed the title feat: add opt-out config to execute all redeem and replace requests feat: add opt-in config to execute all redeem and replace requests Jun 28, 2023
Copy link
Member

@sander2 sander2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

execute_open_requests also makes bitcoin transfers if they haven't been made already. So unless there is a check hidden somewhere, this will make vaults pay for other vault's redeems. While I wouldn't mind people doing that, I don't think it's the intention here haha

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.

Relay all redeem requests
2 participants