pkahly / bitcoin-monitor

Monitors a full Bitcoin node and sends status emails and alerts
MIT License
0 stars 0 forks source link

Build Custom Index of Transaction Data? #109

Closed pkahly closed 5 years ago

pkahly commented 5 years ago

The experimental/transaction_age.py script calculates the average age of the UTXO that are spent by a block. (Time since they were created by another transaction).

It would also be interesting to have scripts for tracing a transaction's outputs forward to a UTXO list, and be able to identify the oldest UTXO, index transactions by address, etc.

The UTXO set could be accessed via levelDB directly, or another library/client, but some of the other statistics would have to be collected by doing a full scan of the blockchain.

IF that is done, it would ideally only be done once.

pkahly commented 5 years ago

120 adds access to the utxo set, after using another program to dump the output to a file.

Closing this, as it is obsolete unless we really want to parse the entire blockchain.