Ninjastic
Home
Search
Users
Boards
Addresses
Ctrl + K
Toggle theme
Open menu
Post
Edited versions
Quotes to this post
Post
2706107
Topic
244656
Board
Development & Technical Discussion
Re: [ANNOUNCE] Micro-payment channels implementation now in bitcoinj
by
Mike Hearn
on
11/07/2013, 13:35:35 UTC
Quote from: thanke on July 11, 2013, 12:45:46 PM
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