StratisFullNode icon indicating copy to clipboard operation
StratisFullNode copied to clipboard

Caching BlockStore's UTXOs

Open trevor-crypto opened this issue 2 years ago • 0 comments

https://github.com/stratisproject/StratisFullNode/blob/0838451b9831ec1c651a1169f70ae713931d1beb/src/Stratis.Bitcoin.Features.BlockStore/UtxoIndexing/UtxoIndexer.cs#L42

Is there currently a way to actually cache the UTXOs so that whenever you call ​/api​/BlockStore​/getutxoset the node does not have to do UTXO re-indexing, which takes quite some time.

This is currently the only way (as far as I know) to get UTXOs for a particular descriptor/scriptPubKey (since you can only query using address).

trevor-crypto avatar Mar 21 '22 13:03 trevor-crypto