--- Log opened Thu Feb 01 00:00:46 2024 00:05 -!- AaronvanW [~AaronvanW@user/AaronvanW] has quit [Ping timeout: 260 seconds] 00:06 -!- salvatoshi [~salvatosh@genymobile-2-6-86.fib.nerim.net] has joined #bitcoin-wizards 00:08 -!- tromp [~textual@92.110.219.57] has quit [Quit: My iMac has gone to sleep. ZZZzzz…] 00:09 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has quit [Quit: Leaving] 00:10 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has joined #bitcoin-wizards 00:14 -!- AaronvanW [~AaronvanW@user/AaronvanW] has joined #bitcoin-wizards 00:58 -!- tromp [~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl] has joined #bitcoin-wizards 01:14 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has quit [Ping timeout: 255 seconds] 01:15 -!- Guyver2 [~Guyver@77-174-98-73.fixed.kpn.net] has joined #bitcoin-wizards 01:15 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has joined #bitcoin-wizards 01:48 -!- tromp [~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl] has quit [Quit: My iMac has gone to sleep. ZZZzzz…] 01:52 -!- AaronvanW [~AaronvanW@user/AaronvanW] has quit [Remote host closed the connection] 02:23 -!- AaronvanW [~AaronvanW@user/AaronvanW] has joined #bitcoin-wizards 02:28 -!- AaronvanW [~AaronvanW@user/AaronvanW] has quit [Ping timeout: 256 seconds] 02:54 -!- the_mariner [~Thunderbi@191-247-16-126.3g.claro.net.br] has joined #bitcoin-wizards 02:58 -!- tromp [~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl] has joined #bitcoin-wizards 02:58 -!- the_mariner1 [~Thunderbi@2804:389:7104:9173:9528:62de:bc67:e70] has joined #bitcoin-wizards 02:59 -!- the_mariner [~Thunderbi@191-247-16-126.3g.claro.net.br] has quit [Ping timeout: 260 seconds] 02:59 -!- the_mariner1 is now known as the_mariner 03:08 -!- the_mariner [~Thunderbi@2804:389:7104:9173:9528:62de:bc67:e70] has quit [Ping timeout: 260 seconds] 03:16 -!- AaronvanW [~AaronvanW@user/AaronvanW] has joined #bitcoin-wizards 03:20 -!- AaronvanW [~AaronvanW@user/AaronvanW] has quit [Ping timeout: 276 seconds] 03:29 -!- Guyver2_ [Guyver@77-174-98-73.fixed.kpn.net] has joined #bitcoin-wizards 03:29 -!- Guyver2__ [~Guyver@77-174-98-73.fixed.kpn.net] has joined #bitcoin-wizards 03:32 -!- Guyver2 [~Guyver@77-174-98-73.fixed.kpn.net] has quit [Ping timeout: 264 seconds] 03:32 -!- Guyver2__ is now known as Guyver2 03:33 -!- Guyver2_ [Guyver@77-174-98-73.fixed.kpn.net] has quit [Ping timeout: 256 seconds] 03:34 -!- vysn [~vysn@user/vysn] has quit [Ping timeout: 260 seconds] 03:35 -!- AaronvanW [~AaronvanW@user/AaronvanW] has joined #bitcoin-wizards 03:36 -!- vysn [~vysn@user/vysn] has joined #bitcoin-wizards 03:44 -!- lbia [~lbia@user/lbia] has joined #bitcoin-wizards 03:53 -!- lbia [~lbia@user/lbia] has quit [Remote host closed the connection] 03:54 -!- lbia [~lbia@user/lbia] has joined #bitcoin-wizards 04:04 -!- the_mariner [~Thunderbi@2804:7f7:e18e:3341:4970:cb13:f104:53dd] has joined #bitcoin-wizards 04:07 -!- AaronvanW [~AaronvanW@user/AaronvanW] has quit [Ping timeout: 264 seconds] 04:40 -!- Guyver2 [~Guyver@77-174-98-73.fixed.kpn.net] has left #bitcoin-wizards [] 04:51 -!- AaronvanW [~AaronvanW@user/AaronvanW] has joined #bitcoin-wizards 05:28 -!- AaronvanW [~AaronvanW@user/AaronvanW] has quit [Quit: Leaving...] 05:33 -!- jonatack [~jonatack@user/jonatack] has joined #bitcoin-wizards 05:33 -!- zato [~zato@user/zato] has joined #bitcoin-wizards 05:38 -!- tromp [~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl] has quit [Quit: Textual IRC Client: www.textualapp.com] 05:48 -!- AaronvanW [~AaronvanW@user/AaronvanW] has joined #bitcoin-wizards 05:52 -!- Chris_Stewart_5 [~Chris_Ste@68.235.43.42] has quit [Ping timeout: 276 seconds] 05:53 -!- Chris_Stewart_5 [~Chris_Ste@68.235.43.60] has joined #bitcoin-wizards 06:10 -!- tromp [~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl] has joined #bitcoin-wizards 06:37 -!- deusexbeer [~deusexbee@2a03:d000:183:fe48:46f3:d6e9:eaad:cb3c] has joined #bitcoin-wizards 06:44 -!- Ademan [~ademan@47.185.95.178] has quit [Ping timeout: 268 seconds] 06:44 -!- tromp [~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl] has quit [Ping timeout: 252 seconds] 06:45 -!- Ademan [~ademan@47.185.95.178] has joined #bitcoin-wizards 06:45 -!- Guyver2 [~Guyver@77-174-98-73.fixed.kpn.net] has joined #bitcoin-wizards 06:53 -!- tromp [~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl] has joined #bitcoin-wizards 06:57 -!- AaronvanW [~AaronvanW@user/AaronvanW] has quit [Remote host closed the connection] 06:58 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 246 seconds] 07:27 -!- AaronvanW [~AaronvanW@user/AaronvanW] has joined #bitcoin-wizards 07:43 -!- Guyver2 [~Guyver@77-174-98-73.fixed.kpn.net] has left #bitcoin-wizards [Closing Window] 08:07 -!- tromp [~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl] has quit [Quit: My iMac has gone to sleep. ZZZzzz…] 08:41 -!- tromp [~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl] has joined #bitcoin-wizards 09:01 -!- salvatoshi [~salvatosh@genymobile-2-6-86.fib.nerim.net] has quit [Ping timeout: 246 seconds] 09:11 -!- pablomartin [~pablomart@193.203.14.54] has joined #bitcoin-wizards 09:21 -!- jonatack [~jonatack@user/jonatack] has joined #bitcoin-wizards 09:50 -!- tromp [~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl] has quit [Quit: My iMac has gone to sleep. ZZZzzz…] 10:01 -!- Ademan_ [~Ademan@47.185.95.178] has quit [Ping timeout: 252 seconds] 10:03 -!- Ademan_ [~Ademan@47.185.95.178] has joined #bitcoin-wizards 10:34 -!- tromp [~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl] has joined #bitcoin-wizards 11:03 -!- pablomartin [~pablomart@193.203.14.54] has quit [Ping timeout: 268 seconds] 11:08 -!- cold [~cold@user/cold] has quit [Ping timeout: 268 seconds] 11:24 < Ademan> reardencode: I've seen a few references to "template key" but I haven't been able to track it down, just learned it's your creation, can you point me to a description? 11:37 -!- cold [~cold@user/cold] has joined #bitcoin-wizards 11:56 -!- the_mariner [~Thunderbi@2804:7f7:e18e:3341:4970:cb13:f104:53dd] has quit [Ping timeout: 255 seconds] 12:01 -!- tromp [~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl] has quit [Quit: My iMac has gone to sleep. ZZZzzz…] 12:11 -!- the_mariner [~Thunderbi@2804:7f7:e18e:3341:4970:cb13:f104:53dd] has joined #bitcoin-wizards 12:15 -!- the_mariner [~Thunderbi@2804:7f7:e18e:3341:4970:cb13:f104:53dd] has quit [Ping timeout: 264 seconds] 12:28 -!- the_mariner [~Thunderbi@2804:7f7:e18e:3341:4970:cb13:f104:53dd] has joined #bitcoin-wizards 12:37 -!- tromp [~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl] has joined #bitcoin-wizards 12:41 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 260 seconds] 12:56 < Chris_Stewart_5> hi, i'm looking to implement OP_IN_OUT_AMOUNT as described in https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-September/019420.html 12:57 < Chris_Stewart_5> Is there any "base" logic that introduces the bitcoin transaction into the interpreter (EvalScript() specifically) that can be re-used? I can write it myself, but figured I would see if anyone has implemented the tx logic part that can just be reused 12:58 < Chris_Stewart_5> ideally easy to just cherry-pick 13:05 < Ademan> nvm polyD pointed me to it https://github.com/reardencode/bips/blob/bip-template-key/bip-template-key.mediawiki 13:08 -!- cguida [~cguida@2806:2f0:55e1:f7b9:9a30:242d:c028:f77c] has quit [Ping timeout: 246 seconds] 13:10 -!- cguida [~cguida@2806:2f0:55e1:f7b9:52e5:783:d4f:ea6f] has joined #bitcoin-wizards 13:12 < instagibbs> Chris_Stewart_5 I presume elements did something reasonable to look at 13:23 < Chris_Stewart_5> instagibbs: Argh, I can't just keep copying the smart people over at the elements project! How will my reputation ever recover :P. Its a good idea i'll take a peek 13:31 < andytoshi> iirc the data we needed was already available because it's used by CHECKSIG 13:31 -!- the_mariner [~Thunderbi@2804:7f7:e18e:3341:4970:cb13:f104:53dd] has quit [Ping timeout: 255 seconds] 13:31 < andytoshi> in elements actually one of the hardest things we did was putting the genesis blockhash into the taproot sighash (something that's useful for sidechains) 13:31 < andytoshi> since that data wasn't otherwise present anyhwere in the interpreter 13:44 < Chris_Stewart_5> andytoshi: I think you are right, it may just be a matter of making things less private: https://github.com/bitcoin/bitcoin/blob/5b8c5970bdfc817cac9b59f699925c4426c59b61/src/script/interpreter.h#L290 13:45 < Chris_Stewart_5> I thinking I was getting a little ahead of myself (I want to make modular components that build up to OP_TLUV), but strictly for IN_OUT_AMOUNT i don't believe we would require the whole tx 13:47 < andytoshi> Chris_Stewart_5: i'd look at the PrecomputedTransactionData constructor https://github.com/bitcoin/bitcoin/blob/5b8c5970bdfc817cac9b59f699925c4426c59b61/src/script/interpreter.h#L153 13:47 < andytoshi> rather than exposing stuff from the signaturechecker, just add fields to the PrecomputedTransactionData object 13:48 < andytoshi> in the PTD constructor you have access to the original transaction so you can copy whatever fields/sums you want out of there and just store them 13:48 < Chris_Stewart_5> thanks for the tip! 13:50 < andytoshi> in EvalScript you are given a `checker` argument ... checker.txdata is the PrecomputedTransactionData 13:50 < andytoshi> (#bitcoin-core-dev may be a better place to ask this kinda stuff. but this is the approach i'd take) 13:54 -!- brunoerg [~brunoerg@187.183.43.117] has joined #bitcoin-wizards 13:58 -!- tromp [~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl] has quit [Quit: My iMac has gone to sleep. ZZZzzz…] 14:08 -!- tusko [~xoxoxo@user/tusko] has quit [Remote host closed the connection] 14:08 -!- tusko [~xoxoxo@user/tusko] has joined #bitcoin-wizards 14:10 -!- pablomartin [~pablomart@193.203.14.59] has joined #bitcoin-wizards 14:10 -!- the_mariner [~Thunderbi@2804:7f7:e18e:3341:4970:cb13:f104:53dd] has joined #bitcoin-wizards 14:15 -!- the_mariner [~Thunderbi@2804:7f7:e18e:3341:4970:cb13:f104:53dd] has quit [Ping timeout: 260 seconds] 14:44 -!- the_mariner [~Thunderbi@2804:7f7:e18e:3341:4970:cb13:f104:53dd] has joined #bitcoin-wizards 14:48 -!- the_mariner [~Thunderbi@2804:7f7:e18e:3341:4970:cb13:f104:53dd] has quit [Ping timeout: 246 seconds] 15:10 -!- salvatoshi [~salvatosh@92.170.29.187] has joined #bitcoin-wizards 15:11 -!- the_mariner [~Thunderbi@2804:7f7:e18e:3341:4970:cb13:f104:53dd] has joined #bitcoin-wizards 15:15 -!- the_mariner [~Thunderbi@2804:7f7:e18e:3341:4970:cb13:f104:53dd] has quit [Ping timeout: 255 seconds] 15:46 -!- the_mariner [~Thunderbi@2804:7f7:e18e:3341:4970:cb13:f104:53dd] has joined #bitcoin-wizards 15:53 -!- the_mariner [~Thunderbi@2804:7f7:e18e:3341:4970:cb13:f104:53dd] has quit [Ping timeout: 264 seconds] 15:54 -!- jonatack [~jonatack@user/jonatack] has joined #bitcoin-wizards 16:04 -!- salvatoshi [~salvatosh@92.170.29.187] has quit [Ping timeout: 268 seconds] 16:13 -!- the_mariner [~Thunderbi@2804:7f7:e18e:3341:4970:cb13:f104:53dd] has joined #bitcoin-wizards 16:18 -!- the_mariner [~Thunderbi@2804:7f7:e18e:3341:4970:cb13:f104:53dd] has quit [Ping timeout: 260 seconds] 16:49 -!- the_mariner [~Thunderbi@2804:7f7:e18e:3341:4970:cb13:f104:53dd] has joined #bitcoin-wizards 16:54 -!- the_mariner [~Thunderbi@2804:7f7:e18e:3341:4970:cb13:f104:53dd] has quit [Ping timeout: 255 seconds] 16:57 -!- the_mariner [~Thunderbi@2804:7f7:e18e:3341:4970:cb13:f104:53dd] has joined #bitcoin-wizards 17:01 -!- the_mariner [~Thunderbi@2804:7f7:e18e:3341:4970:cb13:f104:53dd] has quit [Ping timeout: 256 seconds] 17:18 -!- AaronvanW [~AaronvanW@user/AaronvanW] has quit [Remote host closed the connection] 17:51 -!- AaronvanW [~AaronvanW@user/AaronvanW] has joined #bitcoin-wizards 17:57 -!- AaronvanW [~AaronvanW@user/AaronvanW] has quit [Ping timeout: 252 seconds] 18:59 -!- zato [~zato@user/zato] has quit [Quit: Om mani padme hum] 19:30 -!- lbia [~lbia@user/lbia] has quit [Quit: lbia] 20:19 -!- AaronvanW [~AaronvanW@user/AaronvanW] has joined #bitcoin-wizards 20:48 -!- AaronvanW [~AaronvanW@user/AaronvanW] has quit [Ping timeout: 256 seconds] 21:30 -!- pablomartin [~pablomart@193.203.14.59] has quit [Ping timeout: 260 seconds] 22:11 -!- AaronvanW [~AaronvanW@user/AaronvanW] has joined #bitcoin-wizards 23:35 -!- tromp [~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl] has joined #bitcoin-wizards --- Log closed Fri Feb 02 00:00:47 2024