Skip to content

UTXO query by address will soon be deprecated? #185

Answered by KtorZ
cffls asked this question in Q & A
Discussion options

You must be logged in to vote

Hey @cffls, it is deprecated because I was informed that the ledger team is also deprecating this query now that the ledger is moving to on-disk storage.

The UTxO is indexed by output references, not by addresses. This means that, searching by address requires a linear scan of the UTxO which is getting big. This is why on 1.33.0 that query has got a major performance hit (traversing millions of entries in the RAM is okay-ish, doing it from the disk is worse)... If it is eventually removed from the ledger, then sadly, I'll have to follow and remove it from Ogmios as I'd have no (sane) way to support this.

However, I have been aware of this issue for a while now and... bear with me for a fe…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@cffls
Comment options

@KtorZ
Comment options

@cffls
Comment options

@KtorZ
Comment options

KtorZ Mar 3, 2022
Maintainer

@cffls
Comment options

Answer selected by cffls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q & A
Labels
None yet
2 participants