An exchange entry accepts a pair it then overrules #54
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#54
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?
What to build
A document whose exchange entry names a pair inside the value is refused, rather
than read and then overruled by the entry's key.
An exchange writes the pair as the key and leaves it out of the value, so an
entry states prices alone. The reader that fills those prices is shared with the
one that reads a standalone quotation, which does take a base and a quote, so an
entry accepts both fields and discards them. This reads back as a USD/EUR
quotation with no complaint:
The entry already declares only the price fields to the deserializer, so refusing
a base or a quote agrees with what the format says it is.
Acceptance criteria
Blocked by
None — can start immediately.