12020-10-05T07:33:08  *** jonatack has quit IRC
 22020-10-05T07:54:44  *** ghost43 has quit IRC
 32020-10-05T07:55:39  *** ghost43 has joined ##taproot-bip-review
 42020-10-05T08:35:52  *** belcher_ has joined ##taproot-bip-review
 52020-10-05T08:38:52  *** belcher has quit IRC
 62020-10-05T08:42:14  *** jonatack has joined ##taproot-bip-review
 72020-10-05T08:54:30  *** belcher_ is now known as belcher
 82020-10-05T09:56:28  *** elichai2 has joined ##taproot-bip-review
 92020-10-05T10:18:37  <michaelfolkson> I'm looking at creating a P2TR address which just needs a key path spend, not a script path spend.
102020-10-05T10:18:42  <michaelfolkson> https://bitcoin.stackexchange.com/questions/99325/i-want-to-create-a-p2tr-pay-to-taproot-address-but-i-just-need-a-key-path-spen
112020-10-05T10:19:19  <michaelfolkson> The BIP says you can calculate the tweaked public key using Q = P + int(H(bytes(P)))G
122020-10-05T10:20:22  <michaelfolkson> Is that literally the hash of the number of bytes of the public key? int(H(bytes))
132020-10-05T10:21:24  <belcher> id guess that means the bytes of P, fed into a hash function, then interpreted as an integer
142020-10-05T10:22:07  <belcher> as the hash of the number of bytes would always be the same, it would be H(32)
152020-10-05T10:23:45  *** jonatack has quit IRC
162020-10-05T10:24:45  <michaelfolkson> P + H(32)*G
172020-10-05T10:25:24  <michaelfolkson> Ok thanks
182020-10-05T10:26:46  <michaelfolkson> If this is wrong (anybody else) please let me know and I'll update the SE post
192020-10-05T10:26:55  <michaelfolkson> But thanks belcher
202020-10-05T11:16:55  *** jonatack has joined ##taproot-bip-review
212020-10-05T11:22:12  *** jonatack has quit IRC
222020-10-05T11:28:22  <nickler> michaelfolkson: you've misunderstood belcher, he said it can't be H(32)
232020-10-05T11:29:12  <michaelfolkson> Oh right gotcha :) I thought that seemed wrong
242020-10-05T11:29:16  <nickler> bip-341 reuses some definitions of bip-340 including bytes(): P is an EC point, bytes(P) is the serialization of P
252020-10-05T11:29:33  <nickler> with H(32) I think the attack described in footnote 22 would still work
262020-10-05T11:30:33  <michaelfolkson> Sorry belcher, read it wrong
272020-10-05T12:54:48  *** jonatack has joined ##taproot-bip-review
282020-10-05T12:55:17  <nickler> SE answer looks correct now
292020-10-05T13:44:16  *** belcher has quit IRC
302020-10-05T15:40:09  *** gambpang has quit IRC
312020-10-05T15:41:14  *** gambpang has joined ##taproot-bip-review
322020-10-05T15:41:55  *** gambpang has quit IRC
332020-10-05T15:42:42  *** gambpang has joined ##taproot-bip-review
342020-10-05T20:19:51  *** Lexyon___ has joined ##taproot-bip-review
352020-10-05T20:21:13  *** real_or_- has joined ##taproot-bip-review
362020-10-05T20:25:52  *** real_or_random has quit IRC
372020-10-05T20:25:52  *** moneyball has quit IRC
382020-10-05T20:25:52  *** Lexyon__ has quit IRC
392020-10-05T20:25:54  *** midnight has quit IRC
402020-10-05T20:25:56  *** Lexyon___ is now known as Lexyon__
412020-10-05T20:27:28  *** moneyball__ has joined ##taproot-bip-review
422020-10-05T20:27:28  *** moneyball__ has quit IRC
432020-10-05T20:27:29  *** moneyball__ has joined ##taproot-bip-review
442020-10-05T20:28:06  *** midnight has joined ##taproot-bip-review