feat: extend u5c ledger definition to allow historical utxos queries#723
feat: extend u5c ledger definition to allow historical utxos queries#723nicolasLuduena wants to merge 2 commits intotxpipe:mainfrom
Conversation
📝 WalkthroughWalkthroughAdds Changes
Sequence Diagram(s)sequenceDiagram
participant BlockMapper
participant Mapper
participant LedgerContext
BlockMapper->>Mapper: map_tx(tx)
Mapper->>LedgerContext: get_utxos(all_refs)
LedgerContext-->>Mapper: current_utxos
Mapper->>Mapper: compute missing_refs
alt missing_refs not empty
Mapper->>LedgerContext: get_historical_utxos(missing_refs)
LedgerContext-->>Mapper: historical_utxos (or None)
Mapper->>Mapper: merge historical_utxos into utxos
end
Mapper-->>BlockMapper: mapped tx
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
✏️ Tip: You can disable this entire section by setting Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
New Features
Improvements
Tests
✏️ Tip: You can customize this high-level summary in your review settings.