-
Notifications
You must be signed in to change notification settings - Fork 906
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
Updating signet chainparams for the latest PoW fix #4068
Conversation
utACK, but not sure you need the comment-line with the genesis hash. Travis build is failing. I can't determine what the issue is, personally. |
I put the comment line for the purpose to check the current genesis agains the new one if there will be any upgrades in the future. Re Travis, I was digging into it and failed to understand. The scope of changes is very small to make the build process changed for some platforms, so have no idea why it fails... |
Yeah, the genesis hash is not supposed to change again (knock on wood), so it's probably unnecessary, but no strong opinion otherwise. |
Ok, I can remove the comment line if needed, will wait for the repo maintainers decision |
@dr-orlovsky I tried to rebase in #4073 but found the tests do not pass even locally so I closed it. There seems to be some collision with using |
Signet is already in bitcoin/bitcoin@7737603 (current In https://github.com/bitcoin/bitcoin/blob/master/src/chainparams.cpp#L332 there is the |
@jsarenik I am using this patch in production with Bitcoin Core and electrs; everything seems to be working well. Docker images & compose files: |
No. Sorry for misinformation. Signet is not yet in UPDATE: Or at least I wished that it was not like this. But it is. And is using |
Signet got merged into master yesterday: bitcoin/bitcoin#18267 I've tested it with docker one day before the merge, from the signet branch, not master - but the code in the master exactly the same. And it works well with c-lightning after a patch from this PR was applied. So I see no reason why not to apply this PR to c-lightning, b/c without it it fails to work. Not sure I do understand what concerns you, @jsarenik |
@dr-orlovsky I totally agree it should be merged. The thing is that |
I wonder how they can distinguish in Bitcoin Core whether a |
Regarding Bitcoin Core, it was decided to replace I think what is needed is to stop guessing bitcoin network from just a single prefix, which is by definition can be used by multiple networks (testnet, different regtests, now signet, including private signets). |
Just a note for remembering the AHA moment (from
|
Even lightningd with this patch is working, just that tests do not pass and stop on bolt11. I have a setup ready to test. |
C-Lightning works with @dr-orlovsky 's patch. I have tested it now on signet with latest Practically everything works. Feel free to connect to my node on signet. |
This PR:
Master:
|
@kallewoof The errors seem unrelated. Please try jsarenik@bbcc633 (which is rebased to current master and a little fix in comment) and make sure you clean your tree before rebuilding.
|
Can't force push, so opening a different PR using this commit (#4078) |
@jsarenik No change. |
Merged into #4078 |
Bitcoin Core PR started using Bech32 HRP
tb
instead ofsb
, which made c-lightning implementation incompatible. It was also updated with the new genesis block (adjusting PoW nonce). This PR fixes both issues