raiden-network / spec

Spec of the Raiden Network protocol
8 stars 19 forks source link

Describe coop settlement messages #345

Closed karlb closed 2 years ago

karlb commented 2 years ago

The cooperative settlement as recently implemented changes the withdraw messages a bit. Describe these changes and what a complete set of messages for a coop settle looks like.

Also check if there are any other outdated parts related to coop settle.

ezdac commented 2 years ago

This is already (partially) addressed in #346.

However the only thing that really changed is an additional boolean field coop_settle in the WithdrawRequest message.

ezdac commented 2 years ago

Does it makes sense to define a concrete Coop-Settle protocol (e.g. as a flowchart)? We would describe how exactly the Withdraw messages are leveraged in order for the initiating node to receive the signed WithdrawConfirmation and WithdrawRequest from the partner (as described in https://github.com/raiden-network/spec/issues/342#issue-938986434)

karlb commented 2 years ago

Does it makes sense to define a concrete Coop-Settle protocol (e.g. as a flowchart)?

Yes, IMO flow charts are great to explain this.

ezdac commented 2 years ago

I added 2 flowcharts and a simplified description of the off-chain protocol to #346