sipa changed the topic of #bitcoin-wizards to: This channel is for discussing theoretical ideas with regard to cryptocurrencies, not about short-term Bitcoin development | http://bitcoin.ninja/ | This channel is logged. | For logs and more information, visit http://bitcoin.ninja
Kaizen_ has joined #bitcoin-wizards
Kaizen_ has quit [Ping timeout: 252 seconds]
jrayhawk has joined #bitcoin-wizards
<grubles> how early were interactive atomic swaps described?
<gmaxwell> grubles: prior to nov 2011. e.g. the ZKCP page is just describing one, https://en.bitcoin.it/w/index.php?title=Zero_Knowledge_Contingent_Payment&oldid=20089 but I believe the construct without the extra steps was probably described even before then.
<grubles> ok excellent
<grubles> yes i'm looking for email list posts etc from around that time period
<gmaxwell> also https://bitcointalk.org/index.php?topic=91843.msg1011956#msg1011956 (and now I curse my past self for not being more rigorous in citing)
Kaizen_ has joined #bitcoin-wizards
<grubles> ah no worries. thanks!
<gmaxwell> Sep 2011, https://en.bitcoin.it/w/index.php?title=Contract&oldid=16111#Example_5:_Trading_across_chains he later edited it to credit tier nolan, but I dunno where tier's post is because he wiki currently links a later 2013 explination.
<grubles> yeah just saw that
Kaizen_ has quit [Ping timeout: 252 seconds]
<gmaxwell> most of the stuff mike posted on that page came from posts or emails with Satoshi.
jcorgan has quit [Changing host]
jcorgan has joined #bitcoin-wizards
IGHOR has quit [Quit: http://quassel-irc.org ? ??????????? ?????????. ????-??.]
Kaizen_ has joined #bitcoin-wizards
<grubles> @gmaxwell, do you know of any instances where an atomic swap order book was described during that time period (early 2010s)
IGHOR has joined #bitcoin-wizards
<gmaxwell> Almost certantly on IRC. you might want to ask maaku, who might have a better memory for that sort of thing.
Kaizen_ has quit [Ping timeout: 240 seconds]
tin_ has quit [Ping timeout: 272 seconds]
<gmaxwell> From my perspective, it was well known and obvious that you could do these things from at least mid 2011 on... the primary hurdles to doing them were (1) no one really wanted to, centeralized systems work fine; (2) building multiparty protocols is @#$@ complex; (3) prior to CLTV the only way to prevent holdup was to use refund transactions, which were insecure due to malleability.
<gmaxwell> Satoshi mentions secure swaps here, https://bitcointalk.org/index.php?topic=1790.msg28917#msg28917 but doesn't describe them in detail.
Kaizen_ has joined #bitcoin-wizards
<grubles> oo ok that will surely be helpful
Kaizen_ has quit [Ping timeout: 252 seconds]
<grubles> just to clarify, "mike" on the bitcoin wiki is hearn?
Kaizen_ has joined #bitcoin-wizards
Kaizen_ has quit [Ping timeout: 252 seconds]
Kaizen_ has joined #bitcoin-wizards
Kaizen_ has quit [Ping timeout: 252 seconds]
dougsland has quit [Ping timeout: 250 seconds]
grubles has quit [Ping timeout: 256 seconds]
Kaizen_ has joined #bitcoin-wizards
Kaizen_ has quit [Ping timeout: 252 seconds]
Belkaar has quit [Ping timeout: 246 seconds]
Belkaar has joined #bitcoin-wizards
Belkaar has joined #bitcoin-wizards
Belkaar has quit [Changing host]
Kaizen_ has joined #bitcoin-wizards
Kaizen_ has quit [Ping timeout: 252 seconds]
Kaizen_ has joined #bitcoin-wizards
Chris_Stewart_5 has joined #bitcoin-wizards
Kaizen_ has quit [Ping timeout: 240 seconds]
Kaizen_ has joined #bitcoin-wizards
Kaizen_ has quit [Ping timeout: 252 seconds]
Kaizen_ has joined #bitcoin-wizards
grubles has joined #bitcoin-wizards
Kaizen_ has quit [Remote host closed the connection]
Kaizen_ has joined #bitcoin-wizards
Kaizen_ has quit [Remote host closed the connection]
Kaizen_ has joined #bitcoin-wizards
Kaizen_ has quit [Ping timeout: 252 seconds]
Kaizen_ has joined #bitcoin-wizards
Kaizen_ has quit [Ping timeout: 240 seconds]
Krellan has quit [Ping timeout: 252 seconds]
Kaizen_ has joined #bitcoin-wizards
Chris_Stewart_5 has quit [Ping timeout: 244 seconds]
Kaizen_ has quit [Remote host closed the connection]
Kaizen_ has joined #bitcoin-wizards
Kaizen_ has quit [Ping timeout: 252 seconds]
Chris_Stewart_5 has joined #bitcoin-wizards
son0p has quit [Quit: Lost terminal]
valwal has quit [Ping timeout: 252 seconds]
Chris_Stewart_5 has quit [Ping timeout: 244 seconds]
_whitelogger has joined #bitcoin-wizards
AaronvanW has joined #bitcoin-wizards
_whitelogger has joined #bitcoin-wizards
AaronvanW has quit []
antanst_ has joined #bitcoin-wizards
tombusby has quit [Remote host closed the connection]
tombusby has joined #bitcoin-wizards
tombusby has quit [Remote host closed the connection]
tombusby has joined #bitcoin-wizards
Krellan has joined #bitcoin-wizards
Krellan has quit [Remote host closed the connection]
Krellan has joined #bitcoin-wizards
RubenSomsen has joined #bitcoin-wizards
Zenton has quit [Ping timeout: 240 seconds]
_whitelogger has joined #bitcoin-wizards
_whitelogger has joined #bitcoin-wizards
<da2ce7> Hello. I want to have a hash-puzzle something like: OP_SIZE <32> OP_EQUAL OP_VERIFY OP<HASH> <32 byte puzzle> OP_EQUAL . Where I want to constrain any valid solution to being exactly 32 bytes long.
<da2ce7> Is this the right approach to doing it?
<da2ce7> My concern is that I don't want any attacks where the spending script is very large.
<da2ce7> *OP_HASH256
<da2ce7> OP_SIZE <32> OP_EQUAL OP_VERIFY OP_HASH256 <32 byte puzzle> OP_EQUAL
tromp has quit [Remote host closed the connection]
tromp has joined #bitcoin-wizards
tromp has quit [Ping timeout: 272 seconds]
tromp has joined #bitcoin-wizards
Kaizen_ has joined #bitcoin-wizards
Kaizen_ has quit [Ping timeout: 240 seconds]
<da2ce7> The second question is how do I do this? I need to be able validate an output matches the template: "OP_SIZE <32> OP_EQUAL OP_VERIFY OP<HASH> <32 byte puzzle> OP_EQUAL" (or whatever it should best be) by looking at the blockchain deterministically. (no out-of-chain validation data). - Is there any way to do this without breaking IS_STANDARD?
<da2ce7> As a P2SH script, this would not work as only in spending the P2SH output is the script shown in the blockchain.
<da2ce7> I'm not sure if it is possible to do this witnesses.
<da2ce7> Otherwise I think that I must settle for a non-standard transaction.
<da2ce7> The core reason why I don't want to use a P2SH as the Puzzle Function is that the redeeming Solution is unconstrained in length (well to the point of the blocksize limit).
<waxwing> grubles, i'm curious why you specified 'interactive' atomic swap? am i forgetting something, but what kind of atomic swap doesn't involve interaction?
<waxwing> the question's interesting to me because i've spent some time trying to come up with (even crazy) schemes which really minimize the interaction, but also don't expose the swap somehow on-chain (i.e. don't lose privacy)
<waxwing> a bare-bones atomic swap with hash preimages in the script minimizes interactivity (in particular no 'cross-block' interactivity) but gives no privacy boost
Jmabsd has joined #bitcoin-wizards
<Jmabsd> Can I add witness data to a transaction input that is not necessarily segwit and where the witness data i'd add is unrelated to the output the input spends? (repeat from #bitcoin however disconnected.)
thrmo has joined #bitcoin-wizards
SopaXorzTaker has joined #bitcoin-wizards
<waxwing> Jmabsd, answered in #bitcoin
meshcollider_ has joined #bitcoin-wizards
Zenton has joined #bitcoin-wizards
Guyver2 has joined #bitcoin-wizards
harrigan has quit [Ping timeout: 245 seconds]
Chris_Stewart_5 has joined #bitcoin-wizards
rmwb_ has quit [Ping timeout: 252 seconds]
Chris_Stewart_5 has quit [Ping timeout: 246 seconds]
Chris_Stewart_5 has joined #bitcoin-wizards
Krellan has quit [Read error: Connection reset by peer]
Chris_Stewart_5 has quit [Ping timeout: 240 seconds]
Krellan has joined #bitcoin-wizards
son0p has joined #bitcoin-wizards
Kaizen_ has joined #bitcoin-wizards
Kaizen_ has quit [Ping timeout: 252 seconds]
samm_ has quit [Ping timeout: 240 seconds]
ruby32 has joined #bitcoin-wizards
<ruby32> Hi all, wondering about the proposed change to Bitcoin Cash with OP_CHECKDATASIG. https://github.com/bitcoincashorg/bitcoincash.org/pull/93/files
<ruby32> Just to make sure I'm understanding this correctly: this is a minor improvement over using a symmetric key with OP_HASH<n> and OP_EQUAL, correct?
<ruby32> My understanding is: anything that OP_CHECKDATASIG can do could with asymmetric keys could also be done with hashing a symmetric key
samm_ has joined #bitcoin-wizards
JackH has quit [Quit: Leaving]
ruby32 has quit [Ping timeout: 252 seconds]
laurentmt has joined #bitcoin-wizards
meshcollider_ has quit [Quit: Connection closed for inactivity]
son0p has quit [Quit: leaving]
laurentmt has quit [Quit: laurentmt]
ruby32 has joined #bitcoin-wizards
Krellan has quit [Read error: Connection reset by peer]
Krellan has joined #bitcoin-wizards
ruby32 has quit [Ping timeout: 250 seconds]
<grubles> waxwing, oh no reason other than to just be specific i guess
Jmabsd has quit [Ping timeout: 246 seconds]
Dizzle has joined #bitcoin-wizards
AaronvanW has joined #bitcoin-wizards
AaronvanW has quit [Client Quit]
m8tion has joined #bitcoin-wizards
shesek has quit [Ping timeout: 246 seconds]
Kaizen_ has joined #bitcoin-wizards
jb55 has quit [Quit: WeeChat 2.1]
antanst_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dizzle has quit [Remote host closed the connection]
son0p has joined #bitcoin-wizards
Kaizen_ has quit [Remote host closed the connection]
timerskull has quit [Ping timeout: 252 seconds]
antanst_ has joined #bitcoin-wizards
antanst_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kaizen_ has joined #bitcoin-wizards
ruby32 has joined #bitcoin-wizards
Krellan has quit [Ping timeout: 250 seconds]
Krellan has joined #bitcoin-wizards
Kaizen_ has quit [Remote host closed the connection]
_whitelogger has joined #bitcoin-wizards
samm_ has quit [Read error: Connection reset by peer]
samm_ has joined #bitcoin-wizards
adiabat has quit [Quit: WeeChat 1.9.1]
Guyver2 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Kaizen_ has joined #bitcoin-wizards
Kaizen_ has quit [Remote host closed the connection]
Jmabsd has joined #bitcoin-wizards
SopaXorzTaker has quit [Quit: Leaving]
Kaizen_ has joined #bitcoin-wizards
Dizzle has joined #bitcoin-wizards
Kaizen_ has quit [Remote host closed the connection]
CheckDavid has joined #bitcoin-wizards
nickler has quit [Ping timeout: 260 seconds]
nickler has joined #bitcoin-wizards
valwal has joined #bitcoin-wizards
son0p has quit [Remote host closed the connection]
dvknv has joined #bitcoin-wizards
Dizzle has quit [Remote host closed the connection]
Dizzle has joined #bitcoin-wizards
Krellan has quit [Read error: Connection reset by peer]
Krellan has joined #bitcoin-wizards
CheckDavid has quit [Quit: Connection closed for inactivity]
Dizzle has quit [Remote host closed the connection]
Dizzle has joined #bitcoin-wizards
_whitelogger has joined #bitcoin-wizards
wizkid057 has quit [Read error: Connection reset by peer]