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

[triggers] add command to wait for a chain fee rate #537

Open
alexbosworth opened this issue May 27, 2023 · 0 comments
Open

[triggers] add command to wait for a chain fee rate #537

alexbosworth opened this issue May 27, 2023 · 0 comments
Labels
difficulty-easy not hard to do impact-medium could be reasonably useful

Comments

@alexbosworth
Copy link
Owner

alexbosworth commented May 27, 2023

this command will wait for blocks or mempool, analyze the fee rate against a criteria, then either continue with success if the fee rate is lower or continue waiting if the fee rate is higher

add this in a new non-interactive mode

bos triggers wait --condition "chain_fee_rate(6) < 50"

this will wait for the chain fee rate for 6 block confirmation to be below 50 sat/vbyte, then terminate

this would be used for things where you could chain two commands together, like wait for chain fees to go below x and then initiate a channel open

@alexbosworth alexbosworth added difficulty-easy not hard to do impact-medium could be reasonably useful labels May 27, 2023
@alexbosworth alexbosworth changed the title [new feature] add command to wait for a chain fee rate [triggers] add command to wait for a chain fee rate May 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty-easy not hard to do impact-medium could be reasonably useful
Projects
None yet
Development

No branches or pull requests

1 participant