Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It only takes a minute to sign up.
Sign up to join this communityAnybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top
Is that the process will go through all the blocks and find the block which contains the txid or there's an index table for all transactions?
This is not prescribed in the Bitcoin network protocols, of course. So each software developer is free to make their own choices.
Personally I think only the most inexperienced and naive developer would choose to read and re-read half a terabyte of data every time they need to retrieve a few bytes of data for a transaction. An index of any type is the obvious approach. There are numerous libraries and tools for this purpose.
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments