Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

sdk/state, sdk/agent: add memos to payments #347

Closed
leighmcculloch opened this issue Sep 30, 2021 · 0 comments · Fixed by #348 or #351
Closed

sdk/state, sdk/agent: add memos to payments #347

leighmcculloch opened this issue Sep 30, 2021 · 0 comments · Fixed by #348 or #351
Assignees

Comments

@leighmcculloch
Copy link
Contributor

Payments should have memos so they can be identifiable on the terms of the participants. Participants may communicate about a payment ahead of sending a payment and the memo will provide a way to annotate or identify the payment in whatever way they require.

Note that this is similar but different to #339. #339 is concerned with uniquely identifying payments with an identifier that the state machine attaches to close agreements. That would not be useful in the situation described above where an identifier must be assigned prior to the payment being made.

This is useful for things like buffered channels, something I'm experimenting with right now for #340.

Refs:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.