-
Notifications
You must be signed in to change notification settings - Fork 37
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
Getblocktemplate broken in v 0.1.10 #123
Comments
What Os version are you on? I'd like to:
|
still experiencing this issue? Got it building on Ubuntu 22.04 ( |
Not able to build most if the versions from source. |
It would be great to provide:
|
All other versions then 0.1.8 |
I look into this issue. Just give me some time. |
I'll check with those versions and give you feedback soon. |
They all have a ton of errors. |
Hi @janus , @naftalimurgor , @van-orton I am able to reproduce this bug. I finally discovered build errors as well - 0.1.10 tag is broken and the build was fixed at later commit in release-0.1.10 branch. Master branch getblocktemplate works fine, both gcc and clang:
whereas 0.1.10 release build returns the following error:
I went through a quite entertaining debugging session with GDB and was able to find the root cause and the commit that introduced the change. VersionBitsDeploymentInfo contains null value for the taproot.
I already have a fix that works for me locally, I will submit a PR asap. |
PR with the fix opened #128 |
Great job! |
Hi! I see my five pull requests have stalled for the last weeks. I still have some resources to help solve any issue that you think would be helpful to push the project forward. Is there anything to work on or would you like me to rework anything @janus @naftalimurgor @van-orton @wu-emma ? |
@gitcoindev thank you for the participation! Personally I think we can check BIPs that are not implemented in BTC and check if we can add ideas to BGL that we find interesting. |
@wu-emma I will merge the PRs. I will also cherry-pick Bitcoin repo to July 31st. I would be discussing with @van-orton. |
Your last RP is great. It opened by eyes to the issue however the root of the issue is index out of range. I noticed that there was some left over codes that caused that. I have updated https://github.com/BitgesellOfficial/bitgesell/tree/release-0.1.10. I commented in one of your PRs, however, you have yet to respond. I will go through the rest of the PRs. @laakie Please use this source, https://github.com/BitgesellOfficial/bitgesell/tree/release-0.1.10. And let me know the outcome. |
@gitcoindev Who have not responded to review comments. |
hi @janus I must have missed that one but cannot find it, is it possible for you to paste the link to that review comment? |
Same problem occurs in v0.1.11 ./BGL-cli getblocktemplate '{"rules": ["segwit"]}' |
I will get back to you. |
@laakie
|
@janus @laakie @naftalimurgor |
I've compiled from the new master and can confirm the changes are working as expected. |
This is indeed great. I'll update my affected repos as well. |
./BGL-cli getblocktemplate '{"rules": ["segwit"]}'
error code: -1
error message:
basic_string::_M_construct null not valid
Compiled from source ( After fixing some configure errors.... )
The text was updated successfully, but these errors were encountered: