I am seeking to create an index on addresses in my bitcoin full node in an effort to fetch the balances of an inventory of addresses from the blockchain for an educational mission with out utilizing the general public explorers. For that I put in the Bitcoin Core consumer (model 22) and configured it as follows:
# [core]
# Keep a full transaction index, utilized by the getrawtransaction rpc name.
txindex=1
addrindex=1
# Keep coinstats index utilized by the gettxoutsetinfo RPC.
coinstatsindex=1
# Run within the background as a daemon and settle for instructions.
daemon=1
# [rpc]
# Settle for command line and JSON-RPC instructions.
server=1
# Settle for public REST requests.
relaxation=1
# rpc auth settings
rpcauth=*******
dbcache=1000
And after that, I put in the bitcoin-rpc-explorer to create a non-public explorer which is pointed to my bitcoin node accurately (under in my env file for this explorer with the remainder of the parameters set to default):
BTCEXP_COIN=BTC
BTCEXP_BITCOIND_HOST=127.0.0.1
BTCEXP_BITCOIND_PORT=8332
BTCEXP_BITCOIND_USER=*******
BTCEXP_BITCOIND_PASS=*******
BTCEXP_BITCOIND_COOKIE=/path/to/bitcoind/.cookie
BTCEXP_BITCOIND_RPC_TIMEOUT=5000
Nevertheless, once I insert an handle within the search bar, I get this message
No handle API is configured.
See the instance configuration file for assist organising an handle API.
which factors me to the pattern config file of the bitcoin node github repo (https://github.com/janoside/btc-rpc-explorer/blob/grasp/.env-sample)
so I checked my node’s indexes with the getindexinfo command and I bought this:
{
"txindex": {
"synced": true,
"best_block_height": 764153
},
"coinstatsindex": {
"synced": true,
"best_block_height": 764153
}
}
So it might appear that addrindex is just not working for some cause. I did some analysis and a remark talked about that assist for this index has been faraway from current variations of Bitcoin Core and that I ought to use an Electrum server and Electrum Pockets for this and one other hyperlink talked about an addrindex patch to put in.
So does anybody know what precisely to do on this state of affairs and what the optimum answer is?
And is there any really useful addrindex patch for Bitcoin Core if any?
