-
Hi! This is very much a code-API question and just maybe a feature request :) When writing a chain indexer that needs a full ledger state anyhow, I'd like to use the utxo set from within ledger state to resolve transaction inputs to their values. Thus far I've kept an (essentially duplicate) utxo set around. But the right thing to do would just use the one from ledger state. The issue I'm facing is that Is it theoretically possible to access ledger state in between applying specific transactions, and also how ready is the current code base to achieve that (i.e maybe I just haven't found the right module yet, but it's already available somewhere)? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Drive-by comment: maybe you are looking for |
Beta Was this translation helpful? Give feedback.
-
Thanks, I think that is the thing I was looking for! :) |
Beta Was this translation helpful? Give feedback.
-
Thank you for your question Markus. I'll take the liberty to convert this issue into a discussion, so that we can improve our knowledge base. Let me know if you have any objections 🙏 |
Beta Was this translation helpful? Give feedback.
Drive-by comment: maybe you are looking for
applyTx
?