Skip to content

Recents Bitcoin's Change (> v0.17) #2776

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

Merged
merged 3 commits into from
Jul 27, 2019
Merged

Recents Bitcoin's Change (> v0.17) #2776

merged 3 commits into from
Jul 27, 2019

Conversation

lubuzzo
Copy link
Contributor

@lubuzzo lubuzzo commented Mar 6, 2019

As requested on #2761 and maybe on #2764, this PR add compatibility to the recents Bitcoin's changes.

On BTC 0.17 accounts was deprecated, instead we have labels - even as deprecated, we still could use using the “deprecatedrpc=accounts”, on the latest Bitcoin version (0.18) the support for accounts was entire removed.

And following @TheSerapher desire, I tried keep the backward compatibility with the "outdated" versions of Bitcoin.

Also, this PR we include the coin_c11.class - for Chaincoin's based coins.

And I fixed a typo, but this is trivial.

@HashUnlimited
Copy link

HashUnlimited commented Mar 6, 2019

tAck on Bitcoin 0.16-0.18rc1 codebase RPC protocol. Backwards compatibility untested. Looks like @lubuzzo has established this in a more simple way than anticipated in the original issue, please review.
The added c11.class is actually correcting an untracked issue of difficulty bits conversion.

@r4sas
Copy link
Contributor

r4sas commented Mar 6, 2019

With which RPC versions it already tested?

@lubuzzo
Copy link
Contributor Author

lubuzzo commented Mar 6, 2019 via email

@r4sas
Copy link
Contributor

r4sas commented Mar 6, 2019

On backend level all seems correct with back-comp. Tested with 0.8.X based coin.

@TheSerapher
Copy link
Contributor

Please keep testing extensively. I will merge once I got the approval of a few people. Other than that, this LGTM - nice work and thanks!

This will be merged and a new version will be released too.

@TheSerapher
Copy link
Contributor

Sorry for being AWOL but how does this look? Should I just merge it for easy availability in master?

@HashUnlimited
Copy link

no issues here since March with 0.18 and 0.13 codebases

@TheSerapher TheSerapher merged commit f391409 into MPOS:development Jul 27, 2019
@JCAK1967
Copy link

no issues here since March with 0.18 and 0.13 codebases

Works but I have the following message error on Apache Log

[Sat Apr 10 14:06:42.949576 2021] [php7:notice] [pid 13254] [client 192.168.1.66:11942] PHP Notice: Undefined index: errors in /var/www/MPOS/templates/compile/bootstrap/c39d708de58f784acc1130ae3db2429442f76503.file.status.tpl.php on line 61, referer: http://192.168.1.115/index.php?page=account&action=earnings

Could someone let me know the fix for this error or the implications in another process ?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants