omnilaboratory / obd

OmniBOLT daemon, a golang implementation of OmniBOLT spec, the smart assets lightning network.
MIT License
213 stars 21 forks source link

When a transaction encounters exceptional situation #38

Open obdCoder opened 3 years ago

obdCoder commented 3 years ago

1、rsmc,Alice add a tx,but Bob offline suddenly,then,how dose obd deal with this rsmc tx? Discard it or try it later? 2、

neocarmack commented 3 years ago
  1. if the counterparty shuts down, my node should detect this event by ping-pong, and remove the tx.
neocarmack commented 3 years ago

or another option is to enable user manually delete a failed message. OBD should tell its owner that the counterparty stops responding and the messages fails.