Post
Topic
Board Development & Technical Discussion
Re: [ANNOUNCE] Micro-payment channels implementation now in bitcoinj
by
Mike Hearn
on 11/07/2013, 13:35:35 UTC
Ok, so you mean the rejection of such a replay happens in step 6 of the wiki description, after the server has seen T1 completely (not only it's hash) and when the server doesn't find his freshly generated key in there?

Yes. See line 226 here:

https://code.google.com/p/bitcoinj/source/browse/core/src/main/java/com/google/bitcoin/protocols/channels/PaymentChannelServerState.java#226