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
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
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
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.