> We just need to persist queued notes between app restarts.

Use a relay for persistence by sending an encrypted message to self?

Reply to this note

Please Login to reply.

Discussion

if you’re offline you can’t send to a relay. We have a mailbox concept in damus (called the PostBox) that retries notes until it succeeds. We just need to persist postbox contents so it can resume trying after app restarts

In this case the NWC payment request is queued in the postbox when using one tap zaps, when it receives a NWC result it is removed.

Makes sense 🙏