Hey hivemind, I need your opinion on something:
If someone sends you a payment on npubcash v2 the server will hold the respective mint quote in its database for you to retrieve it at any time. There is no concept of "spent", the server will always return these quotes again at any time.
This simplifies server-side state management massively, because the server does not need to keep track of a quotes issuance-state. At the same time quotes can never be lost that way (even if clients loose them).
To avoid redundant traffic clients can specify a "since" param, essentially letting the server know "hey, the last claim you gave me is timestamp X, I am only interested in stuff that happened since then".
I wonder if I should add a "spent" endpoint for a client to let the server know "I have redeemed this quote, you can now safely mark it as spent". This would be only a convenience feature for clients to reduce the amount of redundant data.