<p>Two new command-line or bitcoin.conf file commands have been added in the 0.8 release that allow for historical transactions to be accessible by recreating the old index:</p>

<blockquote>
  <p>txindex : maintains an extra index of old, spent transaction ids so they will be found
  by the getrawtransaction JSON-RPC method.</p>
  
  <p>reindex : rebuild block and transaction indices from the downloaded block data.</p>
</blockquote>

<p>[...]</p>

<blockquote>
  <p>you must run once
  with -txindex=1 -reindex=1 to rebuild block-chain indices</p>
</blockquote>

CC BY-SA 3.0
2013-11-28T15:40:00.073Z
How do I make sure the Bitcoin client maintains this transaction index always even when it frequently synchronises and download new blocks?
Nitish Upreti
CC BY-SA 3.0
2013-11-28T21:07:30.927Z
@Myth17 I think it keeps the index after you set the index flag.
ThePiachu
CC BY-SA 3.0
2013-11-28T21:16:20.153Z
I am facing issues with raw transactions even after with flags set: http://bitcoin.stackexchange.com/questions/17451/getrawtransaction-in-bitcoin-qt-0-8-5
Nitish Upreti
CC BY-SA 3.0
2013-06-28T18:38:04.463Z
2013-06-28T18:38:04.463Z
ThePiachu
<p>Since the <a href="http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.0/" rel="nofollow noreferrer">Standard Client version 0.8</a> removed the full index of all historical transactions, some Bitcoin applications that relied on that functionality have stopped working. For example, one is no longer able to <a href="https://bitcoin.stackexchange.com/a/5982/323">find out the sender of a given transaction</a> by pure RPC calls. How can one access that transaction detail in the newer versions of the Bitcoin client?</p>

CC BY-SA 3.0
2013-06-29T13:38:18.277Z
You cannot find the sender of a transaction in any case. You can find the addresses the input coins were previously sent to, but that is not necessarily the sender of the transaction, and not useful in general.
Pieter Wuille
<transactions><client><bitcoin-core><json-rpc><raw-data>
How to access any transaction detail in Bitcoin version 0.8 and above?
ThePiachu
# How to access any transaction detail in Bitcoin version 0.8 and above?

(Asked by: username_0 on 2013-06-28)

Since the [Standard Client version 0.8](http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.0/) removed the full index of all historical transactions, some Bitcoin applications that relied on that functionality have stopped working. For example, one is no longer able to [find out the sender of a given transaction](https://bitcoin.stackexchange.com/a/5982/323) by pure RPC calls. How can one access that transaction detail in the newer versions of the Bitcoin client?

**Tags:** transactions, client, bitcoin-core, json-rpc, raw-data

> **Comments:**
> **username_1**: You cannot find the sender of a transaction in any case. You can find the addresses the input coins were previously sent to, but that is not necessarily the sender of the transaction, and not useful in general.  

---

## 1 answers

### Answer by username_0 on 2013-06-28. Score: 5

Two new command-line or bitcoin.conf file commands have been added in the 0.8 release that allow for historical transactions to be accessible by recreating the old index:

> txindex : maintains an extra index of old, spent transaction ids so they will be found
> by the getrawtransaction JSON-RPC method.
>
> reindex : rebuild block and transaction indices from the downloaded block data.

[...]

> you must run once
> with -txindex=1 -reindex=1 to rebuild block-chain indices

> **Comments:**
> **username_2**: How do I make sure the Bitcoin client maintains this transaction index always even when it frequently synchronises and download new blocks?  
> **username_0**: @Myth17 I think it keeps the index after you set the index flag.  
> **username_2**: I am facing issues with raw transactions even after with flags set: http://bitcoin.stackexchange.com/questions/17451/getrawtransaction-in-bitcoin-qt-0-8-5  

---

