getrawtransaction is error #9040

issue truongthaison openend this issue on October 29, 2016
  1. truongthaison commented at 11:20 am on October 29, 2016: none

    I use VPS centos 7, and i install bitcoind follow: https://www.ringingliberty.com/bitcoin/

    this is file bitcoin.conf:

    0rpcuser=bitcoinrpc
    1rpcpassword=My_password
    2daemon=1
    3rpctimeout=30
    4rpcport=8332
    5gen=0
    6txindex=1
    7keypool=100
    

    Then i ran: bitcoind -reindex -deamonthen ran: bitcoin-cli getrawtransaction string_txid

    i get error:

    0error code: -5
    1error message:
    2No information available about transaction
    

    I use: Bitcoin Core Daemon version v0.13.0.0-ga402396

    I don’t know wrong?

  2. MarcoFalke commented at 2:56 pm on October 29, 2016: member
    Unrelated thought: We should include in the error message if txindex is set.
  3. fanquake added the label RPC/REST/ZMQ on Oct 30, 2016
  4. MarcoFalke commented at 4:33 pm on October 30, 2016: member
    @Vagabondtq What is the length of the string_txid? Did you accidentally remove or add chars to the string?
  5. knoxcard commented at 7:14 pm on October 30, 2016: contributor

    Did you run the command exactly as “bitcoin-cli getrawtransaction string_txid”

    string_txid must be a hexadecimal string

  6. MarcoFalke commented at 9:43 pm on November 2, 2016: member
    @Vagabondtq Can you try with current master again or provide further information to my previous question, please?
  7. fanquake closed this on Aug 13, 2017

  8. dougstrong77 commented at 12:56 pm on August 14, 2017: none
    Can some one help me i dont under stand any thing i must be stupid how do i know that a transaction ia mine im looking at when i log into the block chain
  9. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-22 03:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me