Get Bitcoin transaction id from position in dat file
ID: get-bitcoin-transaction-id-from-position-in-dat-file
Get Bitcoin transaction id from position in dat file by
Ciro Santilli 36 Updated 2025-04-24 +Created 1970-01-01
This would allow us to index inscriptions in the .dat files directly with fast C tools, and then retrive the transaction ID to get cleaner data and metadata.
It should be possible if we managed to take the information from bitcoindev.network/understanding-the-data/ and dump into an indexed SQLite database.
I tried to start things off with LevelDBDumper:but that consumed all 64 GB of RAM on P51... github.com/mdawsonuk/LevelDBDumper/issues/15
LevelDBDumper -d ~/snap/bitcoin-core/common/.bitcoin/indexes/txindex -f btc.csv -q -o . -t csv
New to topics? Read the docs here!