<p>It seems that my local bitcoin testnet node are corrupted. Could you tell me how to rebuild blocks?</p>

<p>The reason why I think it is corrupted is as following.</p>

<p>For example, when I checked transaction "ed2ccc36c241ad00893d0596fe167a4df162989dbf8c5ff3916d4034e7f510c3" on my local testnet node, it returned the following error. </p>

<pre><code>error code: -5
error message:
No information available about transaction
</code></pre>

<p>However, on testnet block reader it returned transaction info.</p>

<p><a href="https://i.sstatic.net/LxeVt.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/LxeVt.png" alt="enter image description here"></a></p>

CC BY-SA 3.0
2015-11-30T07:26:56.143Z
Is this question different from your previous question? http://bitcoin.stackexchange.com/questions/41573/how-to-reinstall-bitcoin-core-testnet-blocks-from-scratch
Nick ODell
CC BY-SA 3.0
2015-11-30T07:28:55.540Z
Not different. However, I think this question is more simple. Therefore, I expect to delete the past one.
Toshi
CC BY-SA 3.0
2015-11-30T07:33:49.927Z
Dear Nick. 
Thank you for deleting my past question on behalf of me.
Toshi
CC BY-SA 3.0
2015-11-30T09:00:32.580Z
You're using get transaction on a non-wallet transaction, or getrawtransaction without enabling txindex.
Pieter Wuille
CC BY-SA 3.0
2015-11-30T09:41:59.200Z
Dear Pieter 
Does it mean I should add txindex=1 to bitcoin.conf file?
Toshi
<bitcoind><bitcoin-core>
Could you tell me how to rebuild bitcoin-core testnet node?
Toshi
# Could you tell me how to rebuild bitcoin-core testnet node?

(Asked by: username_0 on 2015-11-30)

It seems that my local bitcoin testnet node are corrupted. Could you tell me how to rebuild blocks?
The reason why I think it is corrupted is as following.
For example, when I checked transaction "ed2ccc36c241ad00893d0596fe167a4df162989dbf8c5ff3916d4034e7f510c3" on my local testnet node, it returned the following error. 
error code: -5
error message:
No information available about transaction

However, on testnet block reader it returned transaction info.

**Tags:** bitcoind, bitcoin-core

> **Comments:**
> **username_1**: Is this question different from your previous question? http://bitcoin.stackexchange.com/questions/41573/how-to-reinstall-bitcoin-core-testnet-blocks-from-scratch  
> **username_0**: Not different. However, I think this question is more simple. Therefore, I expect to delete the past one.  
> **username_0**: Dear Nick.  Thank you for deleting my past question on behalf of me.  
> **username_2**: You're using get transaction on a non-wallet transaction, or getrawtransaction without enabling txindex.  
> **username_0**: Dear Pieter  Does it mean I should add txindex=1 to bitcoin.conf file?  

---

## 0 answers

