Author

Topic: Future RPC calls to be deprecated? (Read 162 times)

legendary
Activity: 2730
Merit: 7065
December 10, 2018, 04:42:48 AM
#2
There was some talk about this in the past, here is a thread from last year.

I'm pretty sure it was never meant to work without txindex in the first place; this only works now because of how unspent outputs are managed, which may change in the future. You must use txindex for getrawtransaction to work in all cases.

You can also have a look at this thread from last year also,
https://bitcointalksearch.org/topic/is-there-a-way-i-can-get-getrawtransaction-without-querying-bitcoindbitcoin-cli-2053559
newbie
Activity: 9
Merit: 4
December 09, 2018, 06:43:58 PM
#1
Is there a list which shows RPC calls which are going to be deprecated? getrawtransaction has this message in the help text from bitcoin-cli:

Code:
DEPRECATED: for now, it also works for transactions with unspent outputs.

Tbh I'm not really sure what that means. Does it mean that in the next version, getrawtransaction won't be able to fetch data for txs with unspent outputs? Usually the deprecation messages are a bit more clear than this. Anyway, I don't want to develop code using this call if it won't work soon. Thanks.
Jump to: