Author

Topic: Way to calculate unspent UTXO by age? (Read 527 times)

legendary
Activity: 3808
Merit: 1723
November 05, 2017, 01:32:04 PM
#6
How did you calculate that figure?

You can quite easily program this kind of query on UTXO.db in the node I use.



Thanks I will check it out.
legendary
Activity: 2053
Merit: 1356
aka tonikt
November 05, 2017, 01:17:38 PM
#5
How did you calculate that figure?

You can quite easily program this kind of query on UTXO.db in the node I use.

legendary
Activity: 3808
Merit: 1723
November 05, 2017, 12:31:48 PM
#4
Was wondering is there anyway to calculate amount of UTXO by years. For example, what percentage or value of Bitcoins older than 4 years are still unspent.

As for bitcoin UTXO at block #493215.

The unspent records coming from blocks <#268000 (2013-11-05), they carry 3782649.88646469 BTC.
1774294.52259831 BTC of it is from coinbase transactions.

Wow. Is it really that high. Seems like almost 25% of all bitcoins are either lost or people are holding them forever.

How did you calculate that figure?
legendary
Activity: 2053
Merit: 1356
aka tonikt
November 05, 2017, 12:03:21 PM
#3
Was wondering is there anyway to calculate amount of UTXO by years. For example, what percentage or value of Bitcoins older than 4 years are still unspent.

As for bitcoin UTXO at block #493215.

The unspent records coming from blocks <#268000 (2013-11-05), they carry 3782649.88646469 BTC.
1774294.52259831 BTC of it is from coinbase transactions.
member
Activity: 98
Merit: 26
November 04, 2017, 06:38:28 PM
#2
is there anyway to calculate amount of UTXO by years.

You can use a blockchain parser to extract the UTXOs manually. As you read the blocks in, just track the amount of UTXOs against current block-height, making sure the total balance is correct and cancelling old UTXOs as they are spent. When you've read in the entire blockchain, you should have a list of UTXOs for each block-height and now it's just a matter of summing over time, that is, total UTXOs < 1 yr old, <2yrs, <3yrs and so on until you've counted up all UTXOs since the Genesis block. Now you have your data.
legendary
Activity: 3808
Merit: 1723
November 04, 2017, 05:22:09 PM
#1
According to this article,
https://blog.chainalysis.com/bitcoin-cash/

It appears that only 3.6% of Bitcoin Cash was spent with UTXO over 4 years ago, so its about 600,000 coins.

Looking at
https://utxo-stats.com/

It seems that going further than 4 years, that there are millions of bitcoins which seem unspent.


Was wondering is there anyway to calculate amount of UTXO by years. For example, what percentage or value of Bitcoins older than 4 years are still unspent.

I know there was an article that did something similiar but it dates back to 2014 and its inaccurate.
Jump to: