Is the blocks and chainstate folder store the same blocks data ?
How can we read those data using code and display that on the web frontend like the blockchain explorer websites
Bitcoin Stack Exchange is a question and answer site for Bitcoin users, developers, and enthusiasts. It only takes a minute to sign up.
Sign up to join this communityIs the blocks and chainstate folder store the same blocks data ?
No, the blocks directory contains the actual blocks. The chainstate directory contains the state as of the latest block (in simplified terms, it stores every spendable coin, who owns it, and how much it's worth).
How can we read those data using code and display that on the web frontend like the blockchain explorer websites
No, you need transaction and address indexes for that. Bitcoin Core is not designed to provide those.
How can we read those data using code and display that on the web frontend like the blockchain explorer websites
I am searching for any other library in python that allow the same functionality
See if the STATUS, mentioned in the Analysis of the Bitcoin UTXO set 2018, would help?
"We have created STATUS (STatistical Analysis Tool for Utxo Set), an open source code tool that provides an easy way to access, decode, and analyze data from the Bitcoin’s UTXO set. STATUS is coded in Python 2"