Bitcoin Forum
July 04, 2024, 10:49:34 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: running into issues using getrawtransaction  (Read 78 times)
pukelandwalker (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
June 16, 2023, 12:18:47 AM
 #1

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?
nc50lc
Legendary
*
Offline Offline

Activity: 2464
Merit: 5765


Self-proclaimed Genius


View Profile
June 16, 2023, 06:20:42 AM
Merited by ABCbits (1), RickDeckard (1)
 #2

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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
pukelandwalker (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
June 16, 2023, 08:09:06 AM
 #3

Thank you!
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!