Skip to content

Updating the UTXO set at each block #108

@nelsontodd

Description

@nelsontodd

I work at Unchained Capital and I'm trying to recreate a copy of our UTXO Age Distribution.

I need to iterate over the UTXO set at each block and group the UTXOs by their age. I see the outputsUnspent method of the Blockchain class but this only allows iteration over the current UTXO set, and not historical snapshots of it.

I see in your paper (Fig. 13) that you calculate a timeseries of the percentage BTC unspent in the previous month -- how did you use BlockSci to extract this data? If you could share sample code that would be great.

I understand why caching the UTXO set at each block is not a default behavior of BlockSci (lots of space!). I would like to be able to turn on this behavior if possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions