tx info it's not avaliable in console #2912

issue collapsedev opened this issue on August 19, 2013
  1. collapsedev commented at 8:09 PM on August 19, 2013: none

    getblockhash 50000 000000001aeae195809d120b5d66a39c83eb48792e068f8ea1fea19d84a4278a

    getblock 000000001aeae195809d120b5d66a39c83eb48792e068f8ea1fea19d84a4278a { "hash" : "000000001aeae195809d120b5d66a39c83eb48792e068f8ea1fea19d84a4278a",


    "tx" : [ "27f1d66f8a1ee5280f4e92508dcb647e954d53004905d08a75574daee4988360" ]*** }

    getrawtransaction 27f1d66f8a1ee5280f4e92508dcb647e954d53004905d08a75574daee4988360 No information available about transaction (code -5)

  2. sipa commented at 8:11 PM on August 19, 2013: member

    You need a transaction index if you want to use getrawtransaction on spent transactions. Enable it using -txindex (command line) or txindex=1 in bitcoin.conf.

  3. sipa closed this on Aug 19, 2013

  4. Bushstar referenced this in commit 6edbc9cebd on Apr 8, 2020
  5. MarcoFalke locked this on Sep 8, 2021
Contributors

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: 2026-04-29 03:16 UTC

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