Closed
Description
Today we can use the Universe tree and the gRPC/REST API as a source for issuance and transfer proofs. The main loop walks backwards from the transaction is received on chain, using the prev outpoints to look up the next leaf in the Universe trees:
taproot-assets/proof/courier.go
Lines 1045 to 1095 in a990fdf
Each time we use the gRPC client to query for the proof. Instead, we should add a step right before that, that attempts to look in the local proof acrhive. This'll allow us to short circuit, as all assets with the same asset ID eventually have a common ancestor. Once we know about this ancestor, then we have the rest of the proof so we can exit early.
Steps To Completion
- Pass in the proof archive into the
UniverseRpcCourier
. Use that local archive to query before making a network query to the universe.
Metadata
Metadata
Assignees
Type
Projects
Status
✅ Done