Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
When does receiver revoke? #567
Consider a channel between Alice and Bob. Alice sends
When will he revoke? Is Alice supposed to send a
If it is so, where exactly is it specified? If not, what should happen instead?
It doesn't make sense to say that Bob replies to
It makes sense to revoke right after receiving
BOLT-02 does contain "MUST respond with a revoke_and_ack message.".
Thanks for the explanation. There's one thing I'm not sure:
Why the before? If I were Bob, I'd be very happy if Alice irrevocably commited to a ctx that contains an htlc that potentially pays me; that's an improvement compared to the previous state, where the htlc coins simply belonged to Alice. (Of course I'd also like to have the ability to unilaterally redeem that htlc in case I learn its preimage, so I'll be even happier when I receive Alice's