Exchange cannot be measured or emptied #9
Labels
No labels
kind
bug
kind
enhancement
kind
refactor
workflow
needs-info
workflow
needs-triage
workflow
ready-for-agent
workflow
ready-for-human
workflow
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
rosa/lucre#9
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Exchangeoffers no way to ask how many quotes it holds, whether it holds any,or to withdraw one.
MoneyBaghasis_emptyandlen(src/bag.rs:166,src/bag.rs:187);Exchangehas neither, so the only way to count isquotes().count().There is also no
removeand noclear. A table that fills from a live feed canonly grow — a quote that goes stale, or a currency pair that stops trading, stays
in the table for the lifetime of the value.
Add at minimum
lenandis_empty; considerremoveandclearalongsidethem.