RFCs
RFCs copied to clipboard
Add timelocks and fee strategy in reveal protocol messages
Instead of adding a new round of communication as proposed in #48 we can add in the reveal message:
- cancel timelock
- punish timelock; and
- fee strategy
these parameters are derived form the local public offer, thus if a mismatch is found we can early quit the swap process.
It is worth noting that if a mismatch is present, and incompatible (mismatch can be compatible with the fee strategy e.g.), it will be catch anyway downstream by the validations, thus this may force going on-chain to cancel the swap.