--- Log opened Sat Mar 25 00:00:20 2023 00:37 -!- zeropoint [~alex@45-28-139-114.lightspeed.sntcca.sbcglobal.net] has joined #bitcoin-core-dev 00:39 -!- zeropoint [~alex@45-28-139-114.lightspeed.sntcca.sbcglobal.net] has quit [Client Quit] 01:17 -!- salvatoshi [~salvatosh@lfbn-idf3-1-1331-187.w92-170.abo.wanadoo.fr] has joined #bitcoin-core-dev 01:21 -!- jarthur [~jarthur@user/jarthur] has quit [Quit: jarthur] 02:44 -!- PaperSword [~Thunderbi@securemail.qrsnap.io] has joined #bitcoin-core-dev 03:03 -!- chip_x [~chip@bl20-128-149.dsl.telepac.pt] has quit [Ping timeout: 268 seconds] 03:15 -!- dviola [~diego@user/dviola] has joined #bitcoin-core-dev 03:27 -!- chipxxx [~chip@2001:8a0:f620:6500:8f6d:c640:c292:171c] has joined #bitcoin-core-dev 03:40 -!- flexid [~flexid@ptr-1exbzfd7h4p5bgbcbvt.18120a2.ip6.access.telenet.be] has joined #bitcoin-core-dev 03:41 -!- flexid [~flexid@ptr-1exbzfd7h4p5bgbcbvt.18120a2.ip6.access.telenet.be] has quit [Client Quit] 04:05 -!- Victorsueca [~Victorsue@user/victorsueca] has joined #bitcoin-core-dev 05:09 -!- chipxxx [~chip@2001:8a0:f620:6500:8f6d:c640:c292:171c] has quit [Ping timeout: 248 seconds] 05:15 -!- chipxxx [~chip@2001:8a0:f620:6500:8f6d:c640:c292:171c] has joined #bitcoin-core-dev 05:15 -!- chipxxx [~chip@2001:8a0:f620:6500:8f6d:c640:c292:171c] has quit [Remote host closed the connection] 05:16 -!- chipxxx [~chip@2001:8a0:f620:6500:8f6d:c640:c292:171c] has joined #bitcoin-core-dev 06:16 -!- yanis_fourel [~yanis_fou@103.6.150.146] has joined #bitcoin-core-dev 06:31 -!- yanis_fourel [~yanis_fou@103.6.150.146] has quit [Quit: Client closed] 06:50 -!- Guyver2 [~Guyver@77-174-98-73.fixed.kpn.net] has joined #bitcoin-core-dev 07:15 -!- Guyver2 [~Guyver@77-174-98-73.fixed.kpn.net] has left #bitcoin-core-dev [Closing Window] 07:22 -!- Talkless [~Talkless@mail.dargis.net] has joined #bitcoin-core-dev 07:23 -!- jonatack2 [~jonatack@user/jonatack] has joined #bitcoin-core-dev 07:25 -!- jonatack1 [~jonatack@user/jonatack] has quit [Ping timeout: 246 seconds] 07:38 -!- vasild [~vd@user/vasild] has quit [Remote host closed the connection] 07:43 -!- vasild [~vd@user/vasild] has joined #bitcoin-core-dev 07:49 < bitcoin-git> [bitcoin] martinus opened pull request #27331: refactor: extract CCheckQueue's data handling into a separate container "Bag" (master...2023-03-bag) https://github.com/bitcoin/bitcoin/pull/27331 08:10 -!- AaronvanW [~AaronvanW@user/AaronvanW] has joined #bitcoin-core-dev 08:13 -!- salvatoshi [~salvatosh@lfbn-idf3-1-1331-187.w92-170.abo.wanadoo.fr] has quit [Ping timeout: 276 seconds] 08:18 -!- bugs_ [~bugs@user/bugs/x-5128603] has joined #bitcoin-core-dev 08:38 -!- Evel-Knievel [~Evel-Knie@user/evel-knievel] has quit [Ping timeout: 250 seconds] 08:39 -!- Evel-Knievel [~Evel-Knie@user/evel-knievel] has joined #bitcoin-core-dev 09:19 -!- bugs_ [~bugs@user/bugs/x-5128603] has quit [Quit: Leaving] 09:31 -!- bugs_ [~bugs@user/bugs/x-5128603] has joined #bitcoin-core-dev 09:32 -!- chipxxx [~chip@2001:8a0:f620:6500:8f6d:c640:c292:171c] has quit [Remote host closed the connection] 09:34 -!- chipxxx [~chip@2001:8a0:f620:6500:8f6d:c640:c292:171c] has joined #bitcoin-core-dev 09:35 -!- chip_x [~chip@2001:8a0:f620:6500:8f6d:c640:c292:171c] has joined #bitcoin-core-dev 09:35 -!- chipxxx [~chip@2001:8a0:f620:6500:8f6d:c640:c292:171c] has quit [Read error: Connection reset by peer] 10:40 -!- nanotube [~nanotube@user/nanotube] has quit [Quit: *poof*] 10:41 -!- AaronvanW [~AaronvanW@user/AaronvanW] has quit [Quit: Leaving...] 12:28 -!- yanmaani1 [~yanmaani@gateway/tor-sasl/yanmaani] has quit [Ping timeout: 255 seconds] 12:29 -!- ezero [~e0@c-73-38-6-131.hsd1.ma.comcast.net] has quit [Quit: Connection closed] 12:40 -!- yanmaani1 [~yanmaani@gateway/tor-sasl/yanmaani] has joined #bitcoin-core-dev 13:56 -!- yanmaani1 [~yanmaani@gateway/tor-sasl/yanmaani] has quit [Ping timeout: 255 seconds] 14:10 -!- yanmaani1 [~yanmaani@gateway/tor-sasl/yanmaani] has joined #bitcoin-core-dev 14:22 -!- jarthur [~jarthur@user/jarthur] has joined #bitcoin-core-dev 14:27 -!- brunoerg [~brunoerg@187.183.43.117] has quit [Remote host closed the connection] 14:28 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:a9dd:38c9:3d6d:bc11] has joined #bitcoin-core-dev 14:40 -!- Guest9 [~Guest9@2a02:9b0:4019:38c8:bc24:aa1b:a4c7:b7e5] has joined #bitcoin-core-dev 14:41 -!- Guest9 [~Guest9@2a02:9b0:4019:38c8:bc24:aa1b:a4c7:b7e5] has quit [Client Quit] 14:45 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:a9dd:38c9:3d6d:bc11] has quit [Remote host closed the connection] 14:46 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:a9dd:38c9:3d6d:bc11] has joined #bitcoin-core-dev 14:54 -!- bugs_ [~bugs@user/bugs/x-5128603] has quit [Quit: Leaving] 15:05 < andytoshi> does bitcoin core do the "Master key generation" described in BIP 32 anywhere? 15:07 < andytoshi> oh, i found it 15:07 < andytoshi> i was searching for 'Bitcoin seed' but the code uses {'B','i','t','c','o','i','n',' ','s','e','e','d'} 15:15 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:a9dd:38c9:3d6d:bc11] has quit [Remote host closed the connection] 15:16 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:a9dd:38c9:3d6d:bc11] has joined #bitcoin-core-dev 15:46 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:a9dd:38c9:3d6d:bc11] has quit [Remote host closed the connection] 15:46 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:a9dd:38c9:3d6d:bc11] has joined #bitcoin-core-dev 15:48 < sipa> I think because once upon a time, I didn't want to use a C string that'd use another byte of memory to store the zero terminator... 15:49 < andytoshi> i suspect it's a bit more subtle ... if you do `unsigned char s[8s = "bitcoin";` it'll include the terminator. if you do `unsigned char s[7] = "bitcoin"` it'll silently chop it off .. if you do `unsigned char s[] = "bitcoin"` it'll include it, same as [8] 15:50 < andytoshi> and i think, if you want to avoid the terminating 0, it's much clearer to do what you did 15:50 < andytoshi> than to rely on this insane "lol your string is not actually null-terminated" behavior that you need to count characters manually to verify 15:51 < andytoshi> and if you just included it, then sizeof(s) will be 1 off from what you want. so it's an extra bug opportunity, not just a wasted byte 15:58 < _aj_> andytoshi: char s[7] = "bitcoin"; errors with "initializer-string for char array is too long" in c++ apparently 15:59 < andytoshi> oh, phew :) then it's only C that's ridiculous 16:00 < _aj_> constexpr std::string_view might be the modern way to do it? 16:02 -!- salvatoshi [~salvatosh@lfbn-idf3-1-1331-187.w92-170.abo.wanadoo.fr] has joined #bitcoin-core-dev 16:02 -!- anhi [~anhi@94.26.22.151] has joined #bitcoin-core-dev 16:16 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:a9dd:38c9:3d6d:bc11] has quit [Remote host closed the connection] 16:16 -!- brunoerg [~brunoerg@187.183.43.117] has joined #bitcoin-core-dev 16:20 -!- Talkless [~Talkless@mail.dargis.net] has quit [Quit: Konversation terminated!] 16:25 < andytoshi> achow101: is it true that with descriptor wallets, there is no way to provide your own bip32 seed? 16:26 < achow101> andytoshi: currently, yes 16:26 < andytoshi> ok. do you have an idea of what it would look like if this ability were provided? 16:26 < andytoshi> i can maybe work on it 16:27 < achow101> it would have to be some addition to descriptors that allows keys to be specified as seeds 16:27 < achow101> e.g. wpkh(seed(blah)) ? 16:28 < andytoshi> or just make all keys specifiable as /1/2/3 16:28 < andytoshi> extkeys* 16:28 < sipa> it'd need to be converted to an xpub, i think? 16:28 < andytoshi> right, the software would do the xpub conversion when parsing 16:29 < andytoshi> there's a deterministic way to go from a seed to an xpub 16:29 < andytoshi> this maybe should be in ##miniscript now? 16:29 < sipa> perhaps 16:30 < andytoshi> i see, i think i'd misunderstood bip32 ... we always specify paths as /1/2/3 or m/1/2/3 where the m is literally 'm' and the seed is off to the side somewhere 16:41 -!- salvatoshi [~salvatosh@lfbn-idf3-1-1331-187.w92-170.abo.wanadoo.fr] has quit [Ping timeout: 265 seconds] 16:47 < andytoshi> achow101: so, after talking to sipa in the ##miniscript channel, i think my plan of action here is to provide a codex32(...) thing which you can put into descriptors, which will be parsed into an xpriv. here the ... is a codex32 (bip 93) encoded seed, or a list of codex32 shares (from which a seed will be recovered) 16:47 < andytoshi> i have a branch that can do all the codex32 stuff, i just need to write a bit of parser glue around it 17:12 < bitcoin-git> [bitcoin] aureleoules closed pull request #26858: wallet: Use defined purposes instead of inlining (master...2023-01-purpose-refactor) https://github.com/bitcoin/bitcoin/pull/26858 17:55 -!- jarthur [~jarthur@user/jarthur] has quit [Quit: jarthur] 18:31 -!- zeropoint [~alex@45-28-139-114.lightspeed.sntcca.sbcglobal.net] has joined #bitcoin-core-dev 18:51 -!- jarthur [~jarthur@user/jarthur] has joined #bitcoin-core-dev 19:34 -!- zeropoint [~alex@45-28-139-114.lightspeed.sntcca.sbcglobal.net] has quit [Quit: leaving] 19:42 -!- mudsip [~mudsip@user/mudsip] has joined #bitcoin-core-dev 19:47 -!- yanmaani1 [~yanmaani@gateway/tor-sasl/yanmaani] has quit [Ping timeout: 255 seconds] 19:55 -!- mudsip [~mudsip@user/mudsip] has quit [] 20:34 -!- zeropoint [~alex@45-28-139-114.lightspeed.sntcca.sbcglobal.net] has joined #bitcoin-core-dev 20:48 -!- zeropoint [~alex@45-28-139-114.lightspeed.sntcca.sbcglobal.net] has quit [Quit: leaving] 21:01 -!- cmirror [~cmirror@4.53.92.114] has quit [Remote host closed the connection] 21:01 -!- cmirror [~cmirror@4.53.92.114] has joined #bitcoin-core-dev 21:34 -!- zeropoint [~alex@45-28-139-114.lightspeed.sntcca.sbcglobal.net] has joined #bitcoin-core-dev 23:21 -!- zeropoint [~alex@45-28-139-114.lightspeed.sntcca.sbcglobal.net] has quit [Quit: leaving] --- Log closed Sun Mar 26 00:00:21 2023