searchrawtransactions in bitcoin-cli returning "Method not found" error

3

1

some days ago I installed bitcoin core patched with the addrindex option ( btcdrak version ), after indexing the entire blockchain for 5 days, I tried to use the searchrawtransactions parameter on bitcoin-cli in order to query some addresses, but it is returning the following error:

error code: -32601
error message:
Method not found

In github I saw the following statement:

First run will require a full reindex of the blockchain. After that, the searchrawtransactions will be available.

But it's not working for me. Anyone has experience with this or with any other bitcoin core patched version?

Nucklear

Posted 2016-12-28T09:15:28.377

Reputation: 131

1To me it sounds like you're not actually running the addrindex patched branch. – Pieter Wuille – 2017-02-26T17:14:21.980

Answers

2

There is no cli API as searchrawtransaction in the core bitcoin client. I guess what you are talking about is getrawtransaction. This would be place where you would find all the API's aggregated in one page and you can search for the API you are concerned with.

Shabahat M. Ayubi

Posted 2016-12-28T09:15:28.377

Reputation: 1 439

1

No, I'm talking about searchrawtransactions available in this BTC core version: https://github.com/btcdrak/bitcoin/tree/addrindex-0.12

– Nucklear – 2016-12-28T11:02:42.387

@Nucklear Oh, I am sorry. Did you check the issues? https://github.com/btcdrak/bitcoin/issues/12

– Shabahat M. Ayubi – 2016-12-28T11:07:02.500

Yes I already checked but I did not get anything usefull – Nucklear – 2016-12-28T13:42:59.313