Your wallet uses less efficient method of querying electrs
electrs | [2025-05-28T19:17:55.986Z INFO electrs::electrum] your wallet uses less efficient method of querying electrs, consider contacting the developer of your wallet. Reason: blockchain.scripthash.get_history called for unsubscribed scripthash
Do you know how to solve this?
Yes, please contact the developer of your wallet as the message suggests.
@Kixunil, What do you mean i dont have any wallet I am using this btc-explorer combined with Electrs to retrieve multiple wallet balances. I don't have any specific one imported. I want users uses UI to navigate on multiple balances
Then btx-explorer is your "wallet". Though, given how it works there's probably nothing to do about it and you can ignore it.
@Kixunil This is my Electrs setup using environment variables in Docker Compose. Is there anything I can do to improve performance, such as increasing the number of threads or adding new configurations to optimize it? Or is performance enhancement not possible?
environment:
- ELECTRS_NETWORK=bitcoin
- ELECTRS_DAEMON_RPC_ADDR=192.168.1.219:8332
- ELECTRS_DAEMON_P2P_ADDR=192.168.1.219:8333
- ELECTRS_ELECTRUM_RPC_ADDR=192.168.1.223:50001
- ELECTRS_LOG_FILTERS=INFO
- ELECTRS_DB_DIR=/home/electrs/db
- ELECTRS_VERBOSE_RPC_LOGS=false # Disable verbose logs to reduce overhead
- ELECTRS_IGNORE_MEMPOOL=true # Skip mempool to boost sync speed
- ELECTRS_TIMESTAMP_CACHE_CAPACITY=2000000 # Increased cache for better lookup performance
- ELECTRS_INDEX_LOOKUP_LIMIT=20000 # Raised lookup limit for addresses with many transactions
- ELECTRS_COOKIE_FILE=/home/btc-user/.bitcoin/btc.cookie
- ELECTRS_THREADS=8 # Set an optimal thread count based on typical CPU usage
- ELECTRS_DB_CACHE_SIZE=2048 # Adjusted DB cache size for efficient storage handling
- ELECTRS_JSONRPC_CONCURRENCY=16 # Allow more concurrent requests for faster API calls