-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Check core version before attempting inscription. #1048
Conversation
Nice! Don't worry about rebasing, I always just squash-merge in the end, and can ping you if there are conflicts that I can't resolve. This could use an integration test. There is a mock Bitcoin Core API server, in Check out To make things less annoying, I pushed a PR adding a builder to the test-bitcoincore-rpc crate to this PR. So to add the test you can:
Additionally, the version numbers that core returns are pretty unintelligible, so we should fix them before reporting them to the user. Something like:
|
great feedback, thanks! |
5704119
to
227367e
Compare
Whoops, I think I jumped the gun on reviewing this. I pushed a diff formatting everything. I think your editor must have auto-formatted without consulting rustfmt.toml. |
I think you accidentally nuked the via force-push the commit I added with the builder, so I resurrected it. |
Wanted to get this in, since I think it's a common error! |
been out of town for a bit and hadn't touched this. thanks for the commits! |
Example of the error that it throws:
the current release
24.0.1
reports as 240001.closes #1045