Bitcoin Forum
May 12, 2024, 03:14:29 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Future RPC calls to be deprecated?  (Read 142 times)
BusyAssistant (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 4


View Profile
December 09, 2018, 11: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.
1715483669
Hero Member
*
Offline Offline

Posts: 1715483669

View Profile Personal Message (Offline)

Ignore
1715483669
Reply with quote  #2

1715483669
Report to moderator
1715483669
Hero Member
*
Offline Offline

Posts: 1715483669

View Profile Personal Message (Offline)

Ignore
1715483669
Reply with quote  #2

1715483669
Report to moderator
1715483669
Hero Member
*
Offline Offline

Posts: 1715483669

View Profile Personal Message (Offline)

Ignore
1715483669
Reply with quote  #2

1715483669
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715483669
Hero Member
*
Offline Offline

Posts: 1715483669

View Profile Personal Message (Offline)

Ignore
1715483669
Reply with quote  #2

1715483669
Report to moderator
1715483669
Hero Member
*
Offline Offline

Posts: 1715483669

View Profile Personal Message (Offline)

Ignore
1715483669
Reply with quote  #2

1715483669
Report to moderator
Pmalek
Legendary
*
Offline Offline

Activity: 2758
Merit: 7137



View Profile
December 10, 2018, 09: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://bitcointalk.org/index.php?topic=2053559.0

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!