r_preimage
and the public r_hash
for the atomic swapSwapRequest
message to the maker, which includes r_hash
SwapAccepted
messager_hash
r_preimage
. This allows both the taker and the maker payments to finalize.SwapRequest
messageSwapAccepted
messageSwapError
messageSwapError
messager_preimage
after receiving the second-leg HTLCSwapRequest
message is sent by the taker to the maker to start the swap negotiation.SwapAccepted
message is sent by the maker to the taker to accept the swap request.SwapFailed
message can be sent by either side of the swap protocol, at any time, to announce the swap termination.failure_reason
is an optional parameter for specifying the failure reason:0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x09
0x0a
0x0b
0x0c