Bitcoin Forum
December 29, 2025, 12:47:20 PM *
News: Latest Bitcoin Core release: 30.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: running into issues using getrawtransaction  (Read 112 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: 3010
Merit: 8175


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.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
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!