I am wondering. Is it even possible to get truly any transaction from the bitcoin core daemon? Or am I missing something?
It's possible, but last time i tried to that, it's a bit annoying. You need to get to get raw transaction first (if you know hash of the transaction), then decode the the raw transaction to get the transaction info.
Well the command
getrawtransaction <transaction hash>
has another parameter for verbosity, which can output the transaction in JSON format.
Honestly sounds like your blocks are corrupted. This could be caused either by failures of the storage device, the motherboard, the CPU or the RAM.
What are the specs of the hardware you are using? I note you checked the storage device, but have you tried using Memtest86+ (
https://www.memtest.org/) to test your RAM?
My specs are:
- CPU: Intel Core i9-7940X
- RAM: 128GB RAM DDR4
- MB: Asus rog rampage VI extreme
- GPU: 4x Nvidia GTX 1080 Ti
I did not try Memtest, since I am using this computer remotely.
If you have extra hard disk try to transfer the blockchain to another disk and then reconfigure it again.
I just got this solution from some post from github here
https://github.com/bitcoin/bitcoin/issues/5668#issuecomment-113848906Other users solved their problem by removing the whole blockchain and then redownload. Just do this if you don't have an extra hard disk to test the solution above but if this doesn't work you need to extra hard disk to test.
Right now I can't move the data folder to another disk. I will be able to do this, when I will have physical access to this computer, which I don't know when I will have. Right now, the data is on the same disk with my OS, but on a different partition.
It also seems, that the command
only works on transactions that are fairly new. The older the transaction is, the smaller probability for the command to work.