Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

One-sided money connections #20

Open
emschwartz opened this issue May 8, 2018 · 1 comment
Open

One-sided money connections #20

emschwartz opened this issue May 8, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@emschwartz
Copy link
Member

STREAM should work even if only one side is capable of sending money. Right now the connection will error out, however, if it is unable to send the first test packet. We should make it work under these conditions by going into some kind of "receive-only" mode.

@emschwartz emschwartz added the enhancement New feature or request label May 8, 2018
@emschwartz
Copy link
Member Author

We could do this by adding a config option like receiveOnly: true to both the client and the server. If that is set, it would not try to establish the exchange rate (though the client would need to send a test packet to communicate its address), and it would throw an error if the user tries to send money.

kincaidoneil added a commit that referenced this issue Sep 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant