-
I was curious, how did this project manage to implement a search by address function in the explorer navbar? I am running a bitcoin core node and have the bitcoin-cli functioning. However, there is no command to give the cli an address and return a balance. Well, there is, but you have to set the address as "watched". I am trying to return address balances on the fly (as with the search function in this application). I see many files with "address" in the file names at the following location, Any information or help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
The address search is set in |
Beta Was this translation helpful? Give feedback.
-
One can run their local instance of a minimalistic https://github.com/bwt-dev/bwt, but then the search bar will not be able to search for any address, just those monitored by |
Beta Was this translation helpful? Give feedback.
-
No matter what, even without any Indexing all the addresses and what transactions they were used in is quite expensive/data-hungry (see Blockstream's electrs indexing requirements](https://github.com/Blockstream/electrs#installing--indexing). The original electrs seems to have much smaller requirements. |
Beta Was this translation helpful? Give feedback.
No matter what, even without any
BTC_ADDRESS_API
, the search for a Transaction ID, the first-class-citizen of Bitcoin, should succeed. Then what the Bitcoin Core's wallet is doing is to parse all the newcoming blocks and see if any of the transactions refers the address we have the matching private key of.Indexing all the addresses and what transactions they were used in is quite expensive/data-hungry (see Blockstream's electrs indexing requirements](https://github.com/Blockstream/electrs#installing--indexing). The original electrs seems to have much smaller requirements.