Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Make session initialization implicit #364

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DanGould
Copy link
Contributor

Close #363

A session is now initialized by generating keys and sharing them out
of band.

A POST request pushes data to a subdirectory, conventially defined by the a public key.

I'm still running into one issue regarding Payjoin v1 backwards compatibility, that the peek() function does not work when both the Original PSBT and the Payjoin PSBT share the same subdirectory. This is because the peek function returns the data in that directory if it is not empty, which it won't be because it just saved an Original PSBT. I can fix this by skipping that check and only awaiting a new internal pub-sub message indicating that the value was updated.

A session is now initialized by generating keys and sharing them out
of band. The semantics of the protocol are otherwise unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make Session Initialization implicit from the Directory's Perspective
1 participant