Author

Topic: bitcoin-cli transaction confirmation (Read 1122 times)

newbie
Activity: 41
Merit: 0
October 17, 2015, 08:57:23 PM
#3
 Cheesy It wasn't there last time , guess it's not finish indexing

Thanks.

staff
Activity: 3458
Merit: 6793
Just writing some code
October 17, 2015, 08:28:53 PM
#2
getrawtransaction should give you the confirmation. According to the reference here: https://bitcoin.org/en/developer-reference#getrawtransaction, it must return the number of confirmations. Check again.
newbie
Activity: 41
Merit: 0
October 17, 2015, 08:18:30 PM
#1
Hi does bitcoin-cli can shown transaction confirmation count ?

According to this http://bitcoin.stackexchange.com/questions/11759/get-non-wallet-transactions-using-bitcoin-rpc-gettransaction
I can use gettransaction and it will shown the confirmation count and it's not required to be my own transaction.
But this article is 2 years ago.

I just install bitcoind-0.11.0 in ubuntu 14.04 by manual compile with wallet enable
Then start bitcoind with -txindex=1 -upnp=0

It already download all the block, but I cannot call bitcoin-cli gettransaction it said that "error: {"code":-32601,"message":"Method not found (disabled)"}"
so  I check using getrawtransaction 1 but there is no confirmation parameter or block height their.

Could you please guide me ?
Jump to: