ledgerloops / snap-checker

Network Ledger, based on ledgerloops-0.8 messages over Hubbie.
https://ledgerloops.com
4 stars 0 forks source link

COND gets resent after FULFILL was sent #52

Closed michielbdejong closed 5 years ago

michielbdejong commented 5 years ago

this is in the ledger-loops-split branch

michielbdejong commented 5 years ago

should add a unit test to check that COND/ADD can be repeated indefinitely, and will just lead to a resend of that msgId's ACK/FULFILL/REJECT response.

michielbdejong commented 5 years ago

should probably store the preimage and possible other data in the ledger, so that the reply can just repeated from there, and a repeated COND/ADD is just effectively a way to ask what the other party has in their ledger for that transaction.