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

mining: always returns .coinbasevalue in getblocktemplate #97

Merged
merged 1 commit into from
Sep 26, 2022

Conversation

roylee17
Copy link
Collaborator

Fix #96

Although the BIPs specify that coinbasetxn and coinbasevalue are mutually exclusive, both the latest bitcoind (22.0.0) and lbrycrd (0.17.3) returns .coinbasevalue regardless if 'coinbasetxn' is specified in the capabilities.

We'll make lbcd behave the same for compatibility.

Although the BIPs specify that coinbasetxn and coinbasevalue are
mutually exclusive, both the latest bitcoind (22.0.0) and lbrycrd
(0.17.3) return .coinbasevalue regardeless if 'coinbasetxn' is
specified in the capabilities.

We'll make lbcd behave the same for compatibility.
@roylee17 roylee17 force-pushed the roylee/mining-always-return-coinbasevalue branch from 9f98274 to caad5df Compare September 26, 2022 01:48
@coveralls
Copy link

coveralls commented Sep 26, 2022

Pull Request Test Coverage Report for Build 3124530091

  • 0 of 2 (0.0%) changed or added relevant lines in 1 file are covered.
  • 4 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.001%) to 51.163%

Changes Missing Coverage Covered Lines Changed/Added Lines %
rpcserver.go 0 2 0.0%
Files with Coverage Reduction New Missed Lines %
rpcserver.go 1 0.26%
btcec/signature.go 3 92.82%
Totals Coverage Status
Change from base Build 3116809343: 0.001%
Covered Lines: 22476
Relevant Lines: 43930

💛 - Coveralls

@roylee17 roylee17 merged commit 6bc9a2b into master Sep 26, 2022
@roylee17 roylee17 deleted the roylee/mining-always-return-coinbasevalue branch September 26, 2022 01:48
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.

getblocktemplate: (block rewards are missing)
2 participants