Bitcoin Forum
November 20, 2018, 03:00:11 PM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / strange bitcoind reindex and txindex on: September 08, 2018, 12:22:06 PM
hey guys.i am doing some statistic on Tx infomation of the whole blockchain.so in order to eable a local rpc server,i set
Code:
server=1
txindex=1
and of course the user and passwd.
after doing this,i reindex  chainstate and start bitcoind with the option -txindex.but when i query transactions usually i get
Code:
example:bitcoin-cli getrawtransaction 2157b554dcfda405233906e461ee593875ae4b1b97615872db6a25130ecc1dd6 1
error code: -5
error message:
No such mempool transaction. Use -txindex to enable blockchain transaction queries. Use gettransaction for wallet transactions.

and what odd is that when i
Code:
bitcoin-cli getrawtransaction 8d0baa2c4d30e841e9b826ff8a99800032b112ca8368001e0e07fdeaa1fb4a2c 1
it returns txid vin vout,you konw, the right message.BTW,i didnt create any wallet.
i am curious about what happened here,and what can i do to get the Tx message i want.
Pages: [1]
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!