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
getrawtransaction RPC call broken in 0.18.8: confirmations, time and blocktime parameters missing in response #303
Comments
Hi @c0deright. I contribute to the Bitcoin Core project (https://github.com/bitcoin/bitcoin), which is the reference implementation of the Bitcoin protocol. Despite the confusing naming, this project (Bitcoin-ABC) and protocol (Bitcoin Cash) have nothing to do with Bitcoin. The code in the commit that you reference is indeed taken from a contribution of mine, to Bitcoin Core, here: https://github.com/bitcoin/bitcoin/pull/8824/files. However, the backport was misapplied. Despite the comment being include ( The Bitcoin Cash maintainers are of course permitted to use my code (fully or partially), since it is licensed under the MIT license. That license states Feel free to contribute a PR to Bitcoin-ABC fix this bug. Or not. I don't really care. But please don't summon me to this project again. Thanks! |
Hi @jnewbery. Sorry, my mistake. I just looked at the commit history of that file. My bad. |
@c0deright Thanks for reporting. Indeed the backport was misapplied. I'm working on a fix: https://reviews.bitcoinabc.org/D2546 |
It's been landed on master, so this fix will be available in the next release (0.19) |
@c0deright thanks for reporting, we ran into the same bug. |
Summary: Fixes a regression from D2499 where `confirmations`, `time`, and `blocktime` are no longer present in getrawtransaction. Also add sanity checks to rpc_rawtransaction.py to ensure these verbose-only values are included in the future. This fixes this issue reported on Github: #303 Test Plan: ``` ninja check test_runner.py ``` Reviewers: deadalnix, Fabien, #bitcoin_abc Reviewed By: deadalnix, #bitcoin_abc Subscribers: teamcity, schancel Differential Revision: https://reviews.bitcoinabc.org/D2546
RPC call
getrawtransaction
is broken in 0.18.8Can you reliably reproduce the issue?
yes
If so, please list the steps to reproduce below:
bitcoin-cli getrawtransaction [someTXID from your wallet] true
Expected behaviour
JSON-Output should contain (in my case) the following data after
vin
andvout
:Actual behaviour
JSON-Output is missing
confirmations
,time
andblocktime
:What version of bitcoin-abc are you using?
Bitcoin ABC Daemon version v0.18.7.0-g1da1ddd10, selfcompiled under Ubuntu 16.04 LTS
Any extra information that might be useful in the debugging process.
txindex=1
, of course)The text was updated successfully, but these errors were encountered: