Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: pukelandwalker on June 16, 2023, 12:18:47 AM



Title: running into issues using getrawtransaction
Post by: pukelandwalker on June 16, 2023, 12:18:47 AM
I'm trying to use getrawtransaction, and get the following error:

"No such mempool transaction. Blockchain transactions are still in the process of being indexed. Use gettransaction for wallet transactions."


When i check getblockchain info , initialblockdownload = FALSE. Doesnt that mean the indexing is complete?


Title: Re: running into issues using getrawtransaction
Post by: nc50lc on June 16, 2023, 06:20:42 AM
When i check getblockchain info , initialblockdownload = FALSE. Doesnt that mean the indexing is complete?
Not exactly, the command that you need to use is getindexinfo txindex and see if the result is "synced": true

If you just enabled txindex=1, it may take hours or even days for it to complete depending on your machine's specs.


Title: Re: running into issues using getrawtransaction
Post by: pukelandwalker on June 16, 2023, 08:09:06 AM
Thank you!