emschwartz / ilp-protocol-paystream

Duplex payment streams over ILP (and PSK)
https://github.com/interledger/rfcs/issues/388
2 stars 2 forks source link

Determine if limits are compatible before sending #11

Open emschwartz opened 6 years ago

emschwartz commented 6 years ago

It is possible for the two sides to set their limits such that at least one of them is going to end up unhappy. It might be better to try to determine if this is going to be the case before sending any money, to error out before money is wasted.

emschwartz commented 6 years ago

@justmoon suggested that this should not be an error unless the other side communicates "not gonna happen".

To implement that suggestion, we would need: