Suppose we specify:The question then is, which transaction is encoded at that position of the file?
- a .dat file
- the offset in bytes within that file
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
But OK, nevermind that repo, it can be done easily with the LevelDB API of any language: bitcoin.stackexchange.com/questions/121888/what-is-the-data-format-layout-for-txindex-leveldb-values. Just the data seems wrong and we don't know why.
- bitcoin.stackexchange.com/questions/77984/find-all-transactions-for-a-bitcoin-address bad close
- Blockchair
- stackoverflow.com/questions/28205667/list-transactions-from-given-address-in-bitcoind/78009760#78009760
- stackoverflow.com/questions/28205667/list-transactions-from-given-address-in-bitcoind/29244421#29244421 mentions --addrindex but that is dead now:
- bitcoin.stackexchange.com/questions/71019/filter-transactions-by-time-on-a-given-address/121720#121720
- bitcoin.stackexchange.com/questions/121718/fnd-the-most-valuable-transactions-made-to-a-given-address/121719#121719
- stackoverflow.com/questions/28205667/list-transactions-from-given-address-in-bitcoind/78009760#78009760
Articles by others on the same topic
There are currently no matching articles.