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

Regtest feerate setting #4405

Merged

Conversation

rustyrussell
Copy link
Contributor

We have a dev knob to disable it for testing, but this is what everyone actually wants when using regtest, AFAICT.

During a recent demo I had one regtest peer send out an update_fee with a 0 rate. To my consternation, I have been unable to reproduce this. Is bitcoind giving wild fee estimates in some regtest setups?

@rustyrussell rustyrussell added this to the v0.9.4 milestone Mar 1, 2021
@rustyrussell rustyrussell requested a review from cdecker as a code owner March 1, 2021 04:21
Copy link
Member

@cdecker cdecker left a comment

Choose a reason for hiding this comment

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

Just a typo :-)

ACK 54d2795

plugins/bcli.c Outdated
@@ -994,6 +1015,10 @@ int main(int argc, char *argv[])
" closed more often due to fee fluctuations,"
" large values may result in large fees.",
u32_option, &bitcoind->max_fee_multiplier),
plugin_option("dev-no-fake-fees",
"bool",
"Supress fee faking for regtst",
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"Supress fee faking for regtst",
"Supress fee faking for regtest",

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There's also two pp in suppress :(

Saves a great deal of confusion for regtest users.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Changed: JSON-RPC: If bitcoind won't give a fee estimate in regtest, use minimum.
We probably want to notify everyone immediately, rather than
waiting for the first change.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
…hment.

They need to specify fees to get a channel before this, but it's possible.
The test revealed no surprises (other than the last change).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
@rustyrussell rustyrussell force-pushed the regtest-feerate-floor branch from 54d2795 to 6ebbacf Compare March 2, 2021 01:26
@rustyrussell
Copy link
Contributor Author

Ack 6ebbacf

Spelling only

@rustyrussell rustyrussell merged commit 804c2c2 into ElementsProject:master Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants