--- Log opened Sat Jan 09 00:00:10 2021 00:00 -!- da39a3ee5e6b4b0d [~da39a3ee5@2403:6200:8876:12e2:1db3:d5d3:fa35:5ac1] has joined #bitcoin-core-dev 00:01 -!- bitcoin-git [~bitcoin-g@x0f.org] has joined #bitcoin-core-dev 00:01 < bitcoin-git> [bitcoin] laanwj pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/9158d6f34153...5574e489631b 00:01 < bitcoin-git> bitcoin/master 7117d75 Prayank: Update 'Secure string handling' 00:01 < bitcoin-git> bitcoin/master 5574e48 Wladimir J. van der Laan: Merge #20741: doc: Update 'Secure string handling' 00:01 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 00:01 -!- bitcoin-git [~bitcoin-g@x0f.org] has left #bitcoin-core-dev [] 00:01 -!- bitcoin-git [~bitcoin-g@x0f.org] has joined #bitcoin-core-dev 00:01 < bitcoin-git> [bitcoin] laanwj merged pull request #20741: doc: Update 'Secure string handling' (master...walletname-security) https://github.com/bitcoin/bitcoin/pull/20741 00:01 -!- bitcoin-git [~bitcoin-g@x0f.org] has left #bitcoin-core-dev [] 00:02 -!- visage_ [~visage_@unaffiliated/visage/x-6658724] has quit [Quit: Textual IRC Client: www.textualapp.com] 00:17 -!- shesek [~shesek@unaffiliated/shesek] has quit [Remote host closed the connection] 00:45 -!- Talkless [~Talkless@mail.dargis.net] has joined #bitcoin-core-dev 00:46 -!- Talkless [~Talkless@mail.dargis.net] has quit [Client Quit] 01:03 -!- rex4539 [~rex4539@gateway/tor-sasl/rex4539] has joined #bitcoin-core-dev 01:07 -!- rex4539 [~rex4539@gateway/tor-sasl/rex4539] has quit [Client Quit] 01:07 -!- rex4539 [~rex4539@gateway/tor-sasl/rex4539] has joined #bitcoin-core-dev 01:12 -!- sdaftuar [~sdaftuar@gateway/tor-sasl/sdaftuar] has quit [Remote host closed the connection] 01:13 -!- sdaftuar [~sdaftuar@gateway/tor-sasl/sdaftuar] has joined #bitcoin-core-dev 01:15 -!- Jackielove4u [uid43977@gateway/web/irccloud.com/x-iyqrqknecgbdbdcr] has joined #bitcoin-core-dev 02:04 -!- kexkey [~kexkey@static-198-54-132-109.cust.tzulo.com] has quit [Ping timeout: 256 seconds] 02:19 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 02:54 -!- jeremyrubin [~jr@2601:645:c200:14:91a5:d8cb:fe32:d136] has quit [Ping timeout: 264 seconds] 03:07 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Remote host closed the connection] 03:07 -!- sr_gi [~sr_gi@80.174.218.168.dyn.user.ono.com] has quit [Read error: Connection reset by peer] 03:07 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #bitcoin-core-dev 03:08 -!- sr_gi [~sr_gi@80.174.218.168.dyn.user.ono.com] has joined #bitcoin-core-dev 03:18 -!- Keely50Russel [~Keely50Ru@static.57.1.216.95.clients.your-server.de] has joined #bitcoin-core-dev 03:18 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 260 seconds] 03:28 -!- Talkless [~Talkless@mail.dargis.net] has joined #bitcoin-core-dev 03:29 -!- Keely50Russel [~Keely50Ru@static.57.1.216.95.clients.your-server.de] has quit [Ping timeout: 246 seconds] 03:31 < kallewoof> sipa: hum.. i vaguely recall this being on a wiki section of github but i can't figure out where. 03:35 -!- da39a3ee5e6b4b0d [~da39a3ee5@2403:6200:8876:12e2:1db3:d5d3:fa35:5ac1] has quit [Read error: Connection reset by peer] 03:35 -!- da39a3ee5e6b4b0d [~da39a3ee5@2403:6200:8876:255c:18d1:c1a9:13be:6f9e] has joined #bitcoin-core-dev 03:38 < jonatack> kallewoof: https://github.com/bitcoin-core/bitcoin-devwiki/wiki/0.21.0-Release-Notes-Draft 03:38 < jonatack> (if i understand the question ;) 03:38 < kallewoof> jonatack: ah, thank you. was looking at the wrong repo 03:39 < kallewoof> yes! 03:39 < jonatack> cool 03:40 -!- spinza_ [~spin@102.132.245.16] has quit [Ping timeout: 260 seconds] 03:47 < kallewoof> sipa: changes LGTM 04:20 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 04:40 -!- Guyver2 [Guyver@guyver2.xs4all.nl] has joined #bitcoin-core-dev 05:21 -!- promag_ [~promag@188.250.84.129] has joined #bitcoin-core-dev 05:22 -!- promag [~promag@188.250.84.129] has quit [Ping timeout: 240 seconds] 05:29 -!- da39a3ee5e6b4b0d [~da39a3ee5@2403:6200:8876:255c:18d1:c1a9:13be:6f9e] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 05:43 -!- rex4539_ [~rex4539@gateway/tor-sasl/rex4539] has joined #bitcoin-core-dev 05:43 -!- rex4539 [~rex4539@gateway/tor-sasl/rex4539] has quit [Remote host closed the connection] 05:44 < aj> sipa: seem fine to me too 05:45 -!- sdaftuar [~sdaftuar@gateway/tor-sasl/sdaftuar] has quit [Ping timeout: 240 seconds] 05:47 -!- sdaftuar [~sdaftuar@gateway/tor-sasl/sdaftuar] has joined #bitcoin-core-dev 05:50 -!- da39a3ee5e6b4b0d [~da39a3ee5@2403:6200:8876:255c:18d1:c1a9:13be:6f9e] has joined #bitcoin-core-dev 05:50 -!- hggdh1 [~hggdh@185.163.110.125] has joined #bitcoin-core-dev 05:52 -!- mol [~mol@unaffiliated/molly] has quit [Ping timeout: 246 seconds] 05:56 -!- owowo [~ovovo@unaffiliated/ovovo] has joined #bitcoin-core-dev 06:01 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has joined #bitcoin-core-dev 06:04 -!- mol [~mol@unaffiliated/molly] has joined #bitcoin-core-dev 06:05 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 06:12 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has joined #bitcoin-core-dev 07:11 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 07:12 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has joined #bitcoin-core-dev 07:14 -!- Livestradamus [~quassel@unaffiliated/livestradamus] has quit [Quit: I'm out.] 07:15 -!- Livestradamus [~quassel@unaffiliated/livestradamus] has joined #bitcoin-core-dev 07:24 -!- da39a3ee5e6b4b0d [~da39a3ee5@2403:6200:8876:255c:18d1:c1a9:13be:6f9e] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 07:31 -!- da39a3ee5e6b4b0d [~da39a3ee5@2403:6200:8876:255c:18d1:c1a9:13be:6f9e] has joined #bitcoin-core-dev 07:35 -!- gribble [~gribble@unaffiliated/nanotube/bot/gribble] has quit [Read error: Connection reset by peer] 07:38 -!- sipa [~pw@gateway/tor-sasl/sipa1024] has quit [Remote host closed the connection] 07:45 -!- DeadWeen [~dean@gateway/tor-sasl/deanguss] has joined #bitcoin-core-dev 07:46 -!- gribble [~gribble@unaffiliated/nanotube/bot/gribble] has joined #bitcoin-core-dev 07:48 -!- sipa [~pw@gateway/tor-sasl/sipa1024] has joined #bitcoin-core-dev 07:49 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 08:04 -!- sdaftuar [~sdaftuar@gateway/tor-sasl/sdaftuar] has quit [Remote host closed the connection] 08:06 -!- sdaftuar [~sdaftuar@gateway/tor-sasl/sdaftuar] has joined #bitcoin-core-dev 08:28 -!- spinza [~spin@102.132.245.16] has joined #bitcoin-core-dev 08:44 -!- mol_ [~mol@unaffiliated/molly] has joined #bitcoin-core-dev 08:47 -!- mol [~mol@unaffiliated/molly] has quit [Ping timeout: 264 seconds] 08:52 -!- da39a3ee5e6b4b0d [~da39a3ee5@2403:6200:8876:255c:18d1:c1a9:13be:6f9e] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 08:55 -!- vasild_ [~vd@gateway/tor-sasl/vasild] has joined #bitcoin-core-dev 08:55 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Disconnected by services] 08:55 -!- vasild_ is now known as vasild 09:05 -!- jeremyrubin [~jr@2601:645:c200:14:91a5:d8cb:fe32:d136] has joined #bitcoin-core-dev 09:07 -!- reardencode [~reardenco@shrugged.reardencode.com] has quit [Ping timeout: 264 seconds] 09:08 -!- reardencode [~reardenco@shrugged.reardencode.com] has joined #bitcoin-core-dev 09:19 -!- Asbestos_Vapor [~Mercury_V@174-082-158-108.res.spectrum.com] has quit [Read error: Connection reset by peer] 09:22 -!- Mercury_Vapor [~Mercury_V@174-082-158-108.res.spectrum.com] has joined #bitcoin-core-dev 09:37 -!- belcher_ [~belcher@unaffiliated/belcher] has joined #bitcoin-core-dev 09:39 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 260 seconds] 09:43 < wumpus> i'm disappointed that my PR to pass in an existing fd to libevent http is still open https://github.com/libevent/libevent/pull/479, this is just not going to work, at this rate we'll never have UNIX sockets support for RPC 09:45 -!- dgenr8 [~dgenr8@unaffiliated/dgenr8] has quit [Ping timeout: 264 seconds] 09:48 < sipa> wumpus: that's so strange... how do other libevent users deal with local sockets 09:55 -!- mol_ [~mol@unaffiliated/molly] has quit [Ping timeout: 265 seconds] 09:55 < wumpus> sipa: they don't use libevent's http, would be my guess 09:56 < wumpus> at least not for a *client*, the server support needs no change IIRC 09:57 -!- dgenr8 [~dgenr8@unaffiliated/dgenr8] has joined #bitcoin-core-dev 09:57 < jb55> /home/jb55/var/img/ss/Jan09-093134.png 09:58 -!- jessepos_ [~jp@2601:645:200:162f:804:e5aa:286:5356] has joined #bitcoin-core-dev 09:58 < jb55> sorry my kid just did that lol 10:00 -!- virtu [~virtu@gateway/tor-sasl/virtu] has quit [Remote host closed the connection] 10:00 -!- virtu [~virtu@gateway/tor-sasl/virtu] has joined #bitcoin-core-dev 10:01 -!- jesseposner [~jp@2601:645:200:162f:1cee:44a9:5cd7:a938] has quit [Ping timeout: 268 seconds] 10:01 < sipa> wumpus: ah, right 10:01 < fjahr> wumpus: has anyone ever evaluated alternatives to libevent? I have been following it because of that one crashing issue and there is really not much movement 10:02 < fjahr> Maybe not just alternatives but also viability of swapping it 10:06 < wumpus> fjahr: no, not really, it doesn't seem worth swapping the entire thing just for this 10:07 < fjahr> indeed, but it's a shame :-/ 10:08 < wumpus> libevent itself works very well and robustly, it's the built-in http that is a bit too limited and an ongoing frustration to me, another thing that's not really possible is HTTP streaming (see #7759) due to the thread model 10:08 < gribble> https://github.com/bitcoin/bitcoin/issues/7759 | [WIP] rest: Stream entire utxo set by laanwj · Pull Request #7759 · bitcoin/bitcoin · GitHub 10:09 < fjahr> right, I remember seeing this before 10:09 < wumpus> there's also libevhtp which is supposed to be a better replacement for the http functionality in libevent (but using libevent's core): https://github.com/criticalstack/libevhtp never investigated it closely though if it would solve my problems 10:09 < sipa> wumpus: we're not going to have to make our own fork, right? 10:10 < wumpus> sipa: I think the http functionality is one c/h file, copying it into our repository would be easier 10:11 < wumpus> that said I really don't want to maintain a http library :-) 10:12 < sipa> do we even need much from it? 10:13 < wumpus> pretty much all of it, we use both the client and server part after all 10:14 < sipa> and just the client side, isn't that just printf'ing a few header lines? 10:15 < wumpus> it's really simple *if* you can assume the server is always bitcoind 10:16 < wumpus> there's a lot of complexity in handling http portably, but if you know exactly what your server does a lot of that falls away 10:16 < wumpus> but 'stealing' the client parts from libevent http is an interesting idea 10:16 < sipa> right 10:16 -!- mol [~mol@unaffiliated/molly] has joined #bitcoin-core-dev 10:17 < wumpus> not sure how much of the total code that is 10:17 -!- DeadWeen [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 10:17 < wumpus> I think I considered it at the time but for some reason decided not to, don't know why anymore it's so long ago 10:17 < wumpus> I didn't expect it to be such a long issue for them to merge my (trivial) patch 10:19 < sipa> wumpus: it's not like we really need libevent on the client side... it's a single-threaded single-connection synchronous application 10:19 < sipa> being able to reuse the same code as the server side is nice.of course 10:20 < wumpus> right 10:20 < sipa> yeah 10:21 -!- az0re [~az0re@gateway/tor-sasl/az0re] has joined #bitcoin-core-dev 10:21 < sipa> maybe ping the issue? 10:22 < jb55> perhaps it was overlooked, looks pretty trivial indeed 10:23 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has joined #bitcoin-core-dev 10:24 < sipa> looks like CI is failing on it 10:29 -!- belcher_ is now known as belcher 10:41 -!- az0re [~az0re@gateway/tor-sasl/az0re] has quit [Remote host closed the connection] 10:42 < wumpus> some unrelated timeout IIRC 10:45 < wumpus> I can try rebasing it and re-pushing 10:47 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Remote host closed the connection] 10:49 -!- larryruane_ [uid473749@gateway/web/irccloud.com/x-umalafzpqpnjwfty] has quit [Quit: Connection closed for inactivity] 11:01 -!- az0re [~az0re@gateway/tor-sasl/az0re] has joined #bitcoin-core-dev 11:02 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 11:02 -!- az0re [~az0re@gateway/tor-sasl/az0re] has quit [Client Quit] 11:03 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 11:05 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #bitcoin-core-dev 11:10 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has joined #bitcoin-core-dev 11:14 -!- az0re [~az0re@gateway/tor-sasl/az0re] has joined #bitcoin-core-dev 11:19 < jamesob> hm, do we not generate an RPC cookie file by default on macOS? (no RPC creds specified) 11:22 < sipa> jamesob: where do you get that error? 11:24 < jamesob> sipa: I'm trying to connect via RPC using the python-bitcoinlib stuff (which tries to autodetect a cookie, lacking RPC info in the config file), and it barfs trying to find a cookie file, and I see there isn't one generated 11:26 < sipa> is it perhaps looking in the wrong place? 11:27 < jamesob> I don't think so - I'm `ls`ing the datadir and seeing debug.log/bitcoin.conf I expect, but no cookie file 11:28 < sipa> but maybe python-bitcoinlib is looking in another place? 11:28 -!- sr_gi [~sr_gi@80.174.218.168.dyn.user.ono.com] has quit [Read error: Connection reset by peer] 11:28 < jamesob> nope, it's printing the path in its stacktrace; same location I'm lsing 11:28 < sipa> and you're sure the rpc server is running? 11:28 -!- sr_gi [~sr_gi@80.174.218.168.dyn.user.ono.com] has joined #bitcoin-core-dev 11:29 < sipa> (hate to ask that...) 11:29 < sipa> don't have -server=0 or running bitcoin-qt? 11:30 < jamesob> running bitcoin-qt, can access RPC via the console view, but oh, can't see *8332 in lsof 11:30 < jamesob> bitcoin-qt doesn't start the RPC server by default? I didn't see anything in the GUI configuration for it, so I assume it did it by default 11:30 < sipa> you need -server if you're running Qt 11:30 < jamesob> oooh :) 11:30 < sipa> RPC server isn't enabled by default 11:31 < jamesob> (veering off topic) what's the easiest way for non-technical end users to enable that; just editing bitcoin.conf? 11:32 < sipa> that works 11:32 < sipa> or run -server=1 11:32 < sipa> it's a bit of a contradiction for non-technical users to need RPC... 11:32 < jamesob> yeah... it's for some lightweight wallet software I'm writing that's intended to give non-tech users a gentle introduction to the commandline 11:37 < jamesob> anyway thanks for the help - I'm a GUI newbie :) 11:38 < wumpus> it would be nice to be able to turn on/off the RPC server in the GUI options 11:38 < jamesob> agreed 11:38 < jamesob> or at least give some indication of whether it's running or not, ports, whitelits, etc. 11:39 < hebasto> re "it would be nice to be able to turn on/off the RPC server in the GUI options" -- noted 11:39 < wumpus> that's probably overkill, most people would want to run it cookie-only on the default port on localhost 11:39 < wumpus> a checkbox would already be great :) 11:42 < sipa> or a status icon in the bottom 11:43 < wumpus> and that 12:11 -!- virtu [~virtu@gateway/tor-sasl/virtu] has quit [Ping timeout: 240 seconds] 12:12 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Ping timeout: 240 seconds] 12:13 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 12:13 -!- virtu [~virtu@gateway/tor-sasl/virtu] has joined #bitcoin-core-dev 12:13 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #bitcoin-core-dev 12:14 -!- sdaftuar_ [~sdaftuar@gateway/tor-sasl/sdaftuar] has joined #bitcoin-core-dev 12:14 -!- yanmaani [~yanmaani@gateway/tor-sasl/yanmaani] has quit [Ping timeout: 240 seconds] 12:15 -!- sdaftuar [~sdaftuar@gateway/tor-sasl/sdaftuar] has quit [Ping timeout: 240 seconds] 12:16 -!- sanket1729 [~sanket172@ec2-100-24-255-95.compute-1.amazonaws.com] has joined #bitcoin-core-dev 12:16 -!- sipa [~pw@gateway/tor-sasl/sipa1024] has quit [Ping timeout: 240 seconds] 12:17 -!- rex4539 [~rex4539@gateway/tor-sasl/rex4539] has joined #bitcoin-core-dev 12:21 -!- rex4539_ [~rex4539@gateway/tor-sasl/rex4539] has quit [Quit: No Ping reply in 210 seconds.] 12:22 -!- yanmaani [~yanmaani@gateway/tor-sasl/yanmaani] has joined #bitcoin-core-dev 12:38 -!- sdaftuar_ [~sdaftuar@gateway/tor-sasl/sdaftuar] has quit [Remote host closed the connection] 12:39 -!- sdaftuar_ [~sdaftuar@gateway/tor-sasl/sdaftuar] has joined #bitcoin-core-dev 12:56 -!- sipa [~pw@gateway/tor-sasl/sipa1024] has joined #bitcoin-core-dev 12:57 -!- virtu [~virtu@gateway/tor-sasl/virtu] has quit [Remote host closed the connection] 12:58 -!- virtu [~virtu@gateway/tor-sasl/virtu] has joined #bitcoin-core-dev 13:04 -!- Dev0n [~Dev0n@unaffiliated/dev0n] has joined #bitcoin-core-dev 13:11 -!- Cory [~Cory@unaffiliated/cory] has quit [Ping timeout: 268 seconds] 13:17 -!- Cory [~Cory@unaffiliated/cory] has joined #bitcoin-core-dev 13:20 -!- nullptr| [~nullptr|@ip-94-112-13-119.net.upcbroadband.cz] has quit [Quit: ZNC - http://znc.in] 13:22 -!- nullptr| [~nullptr|@ip-94-112-13-119.net.upcbroadband.cz] has joined #bitcoin-core-dev 13:27 -!- owowo [~ovovo@unaffiliated/ovovo] has quit [Ping timeout: 256 seconds] 13:28 -!- bitcoin-git [~bitcoin-g@x0f.org] has joined #bitcoin-core-dev 13:28 < bitcoin-git> [gui] jonatack opened pull request #179: gui: add direction and type columns to peers window (master...add-peers-dir-and-type-columns) https://github.com/bitcoin-core/gui/pull/179 13:28 -!- bitcoin-git [~bitcoin-g@x0f.org] has left #bitcoin-core-dev [] 13:30 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 13:46 -!- owowo [~ovovo@unaffiliated/ovovo] has joined #bitcoin-core-dev 13:46 -!- jeremyrubin [~jr@2601:645:c200:14:91a5:d8cb:fe32:d136] has quit [Ping timeout: 264 seconds] 14:02 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 256 seconds] 14:08 -!- sipsorcery [~sipsorcer@37.228.228.227] has joined #bitcoin-core-dev 14:14 -!- hggdh1 [~hggdh@185.163.110.125] has quit [Remote host closed the connection] 14:20 -!- Guyver2 [Guyver@guyver2.xs4all.nl] has quit [Remote host closed the connection] 14:31 -!- SummerNinja [~SummerNin@84.39.117.57] has joined #bitcoin-core-dev 14:33 -!- promag_ [~promag@188.250.84.129] has quit [Remote host closed the connection] 14:35 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Ping timeout: 240 seconds] 14:37 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #bitcoin-core-dev 14:53 -!- vasild [~vd@gateway/tor-sasl/vasild] has joined #bitcoin-core-dev 15:00 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 15:00 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #bitcoin-core-dev 15:02 -!- virtu [~virtu@gateway/tor-sasl/virtu] has quit [Ping timeout: 240 seconds] 15:05 -!- virtu [~virtu@gateway/tor-sasl/virtu] has joined #bitcoin-core-dev 15:05 -!- Talkless [~Talkless@mail.dargis.net] has quit [Quit: Konversation terminated!] 15:36 -!- roconnor [~roconnor@host-184-164-7-193.dyn.295.ca] has quit [Quit: Konversation terminated!] 15:46 -!- virtu [~virtu@gateway/tor-sasl/virtu] has quit [Remote host closed the connection] 15:46 -!- virtu [~virtu@gateway/tor-sasl/virtu] has joined #bitcoin-core-dev 15:53 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Remote host closed the connection] 15:53 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #bitcoin-core-dev 15:57 -!- bitcoin-git [~bitcoin-g@x0f.org] has joined #bitcoin-core-dev 15:57 < bitcoin-git> [bitcoin] glozow opened pull request #20895: p2p: mildly discourage peers that violate feefilter (master...p2p-feefilter-violations) https://github.com/bitcoin/bitcoin/pull/20895 15:57 -!- bitcoin-git [~bitcoin-g@x0f.org] has left #bitcoin-core-dev [] 15:59 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 16:00 -!- sdaftuar_ [~sdaftuar@gateway/tor-sasl/sdaftuar] has quit [Ping timeout: 240 seconds] 16:01 -!- sdaftuar_ [~sdaftuar@gateway/tor-sasl/sdaftuar] has joined #bitcoin-core-dev 16:04 -!- landakram [~mark@2601:643:8002:3f20:f54d:be25:43e1:efe8] has joined #bitcoin-core-dev 16:05 -!- jeremyrubin [~jr@2601:645:c200:14:91a5:d8cb:fe32:d136] has joined #bitcoin-core-dev 16:09 -!- da39a3ee5e6b4b0d [~da39a3ee5@2403:6200:8876:255c:18d1:c1a9:13be:6f9e] has joined #bitcoin-core-dev 16:18 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Remote host closed the connection] 16:19 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #bitcoin-core-dev 16:25 -!- bitcoin-git [~bitcoin-g@x0f.org] has joined #bitcoin-core-dev 16:25 < bitcoin-git> [bitcoin] glozow closed pull request #20895: p2p: mildly discourage peers that violate feefilter (master...p2p-feefilter-violations) https://github.com/bitcoin/bitcoin/pull/20895 16:25 -!- bitcoin-git [~bitcoin-g@x0f.org] has left #bitcoin-core-dev [] 16:29 -!- glozow [uid453516@gateway/web/irccloud.com/x-rgflzyyxbpgstdls] has joined #bitcoin-core-dev 16:32 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 264 seconds] 16:39 -!- landakram [~mark@2601:643:8002:3f20:f54d:be25:43e1:efe8] has quit [Ping timeout: 264 seconds] 16:47 < sipa> sdaftuar_: also added a mention of BIP339 in the release notes 16:49 -!- Eagle[TM] [~EagleTM@unaffiliated/eagletm] has quit [Ping timeout: 246 seconds] 16:56 < luke-jr> bips.md? 16:57 < luke-jr> oh already there too ☺ 17:00 -!- DeadWeen [~dean@gateway/tor-sasl/deanguss] has joined #bitcoin-core-dev 17:06 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 17:32 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 272 seconds] 17:34 -!- HelloShitty [~psysc0rpi@bl20-171-222.dsl.telepac.pt] has joined #bitcoin-core-dev 17:34 < HelloShitty> Hello 17:35 < HelloShitty> I was suggested to come here to ask for help with an error I am getting while trying to broadcast a raw transaction to the network 17:35 < HelloShitty> I have 2 nodes. One is online and the other one is offline (only to create addresses and sign transactions) 17:36 < sipa> HelloShitty: ok 17:37 < sipa> so far so good 17:37 < HelloShitty> So, I create a raw transaction in my online node 17:37 < HelloShitty> copy the hex string to the offline node 17:37 < HelloShitty> Then sign it with 'signrawtransactionwithkey' 17:37 < HelloShitty> copy back the transaction hex to the online node 17:38 < HelloShitty> and I try to broacast it to the network, but I get this error: 17:38 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #bitcoin-core-dev 17:38 < HelloShitty> non-mandatory-script-verify-flag (Signature must be zero for failed CHECK(MULTI)SIG operation) 17:38 < sipa> this means your signature is invalid, most likely 17:39 < sipa> is it a segwit transaction? (spending segwit outputs)? 17:39 < HelloShitty> ok, and how can the signature fail? 17:39 < HelloShitty> yes, all bc1 addresses 17:39 -!- rex4539 [~rex4539@gateway/tor-sasl/rex4539] has quit [] 17:39 < sipa> is it possible you didn't tell signrawtransactionwithkey what the input amounts were? 17:40 < sipa> that goes into the signature, so if it doesn't have that information, the signature will likely be invalid 17:40 < sipa> i suggest you use the PSBT RPCs instead; they pass all that information along 17:41 < HelloShitty> hum 17:41 < HelloShitty> Let me check 17:41 < sipa> see doc/psbt.md for more information 17:41 < HelloShitty> The amount in the 3rd argument needs to be the input amount? 17:41 < HelloShitty> I guess I might have failed there 17:41 < HelloShitty> I think I used the amount I wanted to send to the destination address 17:41 < sipa> it's an array of the UTXOs being spent 17:42 < sipa> the amounts are the amounts of those UTXOs 17:42 < HelloShitty> So, if I have 2 outputs, destiniy address and change address, I have to give those two outputs to the signrawtransactionwithkey command? 17:42 < sipa> no 17:42 < sipa> you have to provide information about the outputs being *spent* 17:43 < sipa> not the ones being created; those are already in the raw transaction 17:43 < sipa> really, use the PSBT commands 17:43 < HelloShitty> meaning that it's actually the utxo from the origin address 17:43 < sipa> they do all of this automatically 17:43 < sipa> raw transactions are a pain 17:44 < HelloShitty> I like to try to do them because they "force" us to know a bit better how things go under the hood 17:44 < HelloShitty> I'll try once more, if I fail again, I'll try what you suggested 17:44 < sipa> well, for PSBT there is a decodepsbt command that'll tell you exactly what's being passed around 17:44 < sipa> but that's a fair point 17:46 < sipa> the 3rd argument to signrawtransactionwithkey is ~the output from listunspent on the online machine 17:46 < sipa> for the UTXOs being spent 17:48 < HelloShitty> yes 17:48 < HelloShitty> The sendrawtransaction in now complaining from another thing 17:48 < HelloShitty> so the signature is now correct, apparently 17:48 < sipa> what error do you get now? 17:49 < HelloShitty> min relay fee not met, 0 < 141 17:49 < HelloShitty> I set a fee of 28 sats per byte 17:49 < HelloShitty> the transaction is 141 bytes 17:49 < HelloShitty> vBytes I should say 17:50 < sipa> seems you didn't 17:50 < HelloShitty> that would be 3948 sats 17:50 < HelloShitty> but I used 4000 17:50 < HelloShitty> I can show you the decoded transaction 17:50 < HelloShitty> woul you take a look at it? 17:50 < sipa> maybe the transaction was 141 before you signed it, but now it's larger? 17:51 < phantomcircuit> 0 < 141 implies that the fee is actually 0 17:51 < HelloShitty> ok, so let me try to clear this once more 17:51 < HelloShitty> about the sign command 17:52 < HelloShitty> I have this address with lets say 0.05 BTC. I want to send to a new address 0.01 and the change back to the same original address 17:52 < HelloShitty> the value I must use in "amount" field of signrawtransactionwithkey is 0.05? 17:52 < sipa> addresses are irrelevant 17:52 < sipa> what matters is the value of the UTXOs you're spending 17:53 < sipa> use PSBT :) 17:53 < HelloShitty> ok, but in my case, the original address has only 1 utxo 17:53 < HelloShitty> this utxo has 0.05 BTC 17:53 < sipa> ok, yes 17:54 < HelloShitty> So, this is the value (0.05) I must use in that "amount" field, right? 17:54 < sipa> this is getting a bit too long for this channel; i suggest posting on bitcoin.stackexchange.com for help if it still doesn't work 17:54 < sipa> yes 17:54 < HelloShitty> ok, thank you and I'm sorry 18:07 -!- DeadWeen [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 18:09 -!- DeadWeen [~dean@gateway/tor-sasl/deanguss] has joined #bitcoin-core-dev 18:25 -!- EagleTM [~EagleTM@unaffiliated/eagletm] has joined #bitcoin-core-dev 18:29 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 18:35 -!- madatun [~madatun_3@103.135.251.204] has joined #bitcoin-core-dev 18:46 < HelloShitty> sipa: 18:46 < HelloShitty> I'm happy, I made it (not with psbt though) 18:46 < HelloShitty> but can't tell you what was wrong because I can't tell it myself 19:01 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 264 seconds] 19:02 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 246 seconds] 19:02 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #bitcoin-core-dev 19:15 -!- madatun [~madatun_3@103.135.251.204] has left #bitcoin-core-dev [] 20:03 -!- sdaftuar_ [~sdaftuar@gateway/tor-sasl/sdaftuar] has quit [Remote host closed the connection] 20:09 -!- madatun_1 [~madatun_3@103.135.251.204] has joined #bitcoin-core-dev 20:13 -!- TheGWJW [~AGWJW@pool-96-255-230-217.washdc.fios.verizon.net] has joined #bitcoin-core-dev 20:58 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 20:59 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 21:07 -!- madatun_1 [~madatun_3@103.135.251.204] has quit [Remote host closed the connection] 21:08 -!- madatun_1 [~madatun_3@240e:3b3:30b1:5c50:846:ae39:949c:397f] has joined #bitcoin-core-dev 21:16 -!- justan0theruser [~justanoth@unaffiliated/justanotheruser] has joined #bitcoin-core-dev 21:18 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 272 seconds] 21:22 -!- SummerNinja [~SummerNin@84.39.117.57] has quit [Remote host closed the connection] 21:33 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 264 seconds] 21:39 -!- funkyb [~funkyb@139.28.218.148] has joined #bitcoin-core-dev 22:05 -!- Bitcoinr [~Bitcoinr@202.184.22.44] has joined #bitcoin-core-dev 22:06 -!- bitcoin-git [~bitcoin-g@x0f.org] has joined #bitcoin-core-dev 22:06 < bitcoin-git> [bitcoin] GyanPrakash2483 opened pull request #20897: Update coincontrol.cpp (master...patch-1) https://github.com/bitcoin/bitcoin/pull/20897 22:06 -!- bitcoin-git [~bitcoin-g@x0f.org] has left #bitcoin-core-dev [] 22:06 -!- bitcoin-git [~bitcoin-g@x0f.org] has joined #bitcoin-core-dev 22:06 < bitcoin-git> [bitcoin] GyanPrakash2483 closed pull request #20897: Update coincontrol.cpp (master...patch-1) https://github.com/bitcoin/bitcoin/pull/20897 22:06 -!- bitcoin-git [~bitcoin-g@x0f.org] has left #bitcoin-core-dev [] 22:07 -!- bitcoin-git [~bitcoin-g@x0f.org] has joined #bitcoin-core-dev 22:07 < bitcoin-git> [bitcoin] GyanPrakash2483 reopened pull request #20897: Update coincontrol.cpp (master...patch-1) https://github.com/bitcoin/bitcoin/pull/20897 22:07 -!- bitcoin-git [~bitcoin-g@x0f.org] has left #bitcoin-core-dev [] 22:07 -!- bitcoin-git [~bitcoin-g@x0f.org] has joined #bitcoin-core-dev 22:07 < bitcoin-git> [bitcoin] GyanPrakash2483 closed pull request #20897: Update coincontrol.cpp (master...patch-1) https://github.com/bitcoin/bitcoin/pull/20897 22:07 -!- bitcoin-git [~bitcoin-g@x0f.org] has left #bitcoin-core-dev [] 22:10 -!- Bitcoinr [~Bitcoinr@202.184.22.44] has quit [Read error: Connection reset by peer] 22:11 < aj> oh yay, `--enable-suppress-external-warnings` stops clang complaining about qt headers leacking override so i can drop my "stoopid qt" patch. would it make sense to have that on by default with `--enable-werror`? 22:15 -!- landakram [~mark@2601:643:8002:3f20:5de0:3a72:c98:39c8] has joined #bitcoin-core-dev 22:19 -!- Bitcoinr [~Bitcoinr@202.184.22.44] has joined #bitcoin-core-dev 22:22 -!- bitcoin-git [~bitcoin-g@x0f.org] has joined #bitcoin-core-dev 22:22 < bitcoin-git> [bitcoin] fanquake closed pull request #20875: [*.cc,*.cpp] Reduce push_back (master...push-back) https://github.com/bitcoin/bitcoin/pull/20875 22:22 -!- bitcoin-git [~bitcoin-g@x0f.org] has left #bitcoin-core-dev [] 22:24 -!- Bitcoinr [~Bitcoinr@202.184.22.44] has quit [Read error: Connection reset by peer] 22:25 -!- Bitcoinr [~Bitcoinr@202.184.22.44] has joined #bitcoin-core-dev 22:26 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Ping timeout: 240 seconds] 22:32 -!- jeremyrubin [~jr@2601:645:c200:14:91a5:d8cb:fe32:d136] has quit [Ping timeout: 264 seconds] 22:36 -!- Bitcoinr [~Bitcoinr@202.184.22.44] has quit [Read error: Connection reset by peer] 22:38 -!- Bitcoinr [~Bitcoinr@202.184.22.44] has joined #bitcoin-core-dev 22:40 -!- Core8722 [~Bitcoinr@2001:d08:1203:53e9:1:0:87c6:a435] has joined #bitcoin-core-dev 22:42 -!- Bitcoinr [~Bitcoinr@202.184.22.44] has quit [Ping timeout: 264 seconds] 22:46 -!- madatun_1 [~madatun_3@240e:3b3:30b1:5c50:846:ae39:949c:397f] has left #bitcoin-core-dev [] 22:49 -!- Core8722 [~Bitcoinr@2001:d08:1203:53e9:1:0:87c6:a435] has quit [Read error: Connection reset by peer] 22:50 -!- mol_ [~mol@unaffiliated/molly] has joined #bitcoin-core-dev 22:54 -!- mol [~mol@unaffiliated/molly] has quit [Ping timeout: 256 seconds] 22:57 -!- Bitcoinr [~Bitcoinr@2001:d08:1203:53e9:1:0:87c6:a435] has joined #bitcoin-core-dev 22:58 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #bitcoin-core-dev 23:01 -!- Bitcoinr [~Bitcoinr@2001:d08:1203:53e9:1:0:87c6:a435] has quit [Read error: Connection reset by peer] 23:01 -!- justan0theruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 260 seconds] 23:03 -!- Bitcoinr [~Bitcoinr@2001:d08:1203:53e9:1:0:87c6:a435] has joined #bitcoin-core-dev 23:03 -!- Bitcoinr [~Bitcoinr@2001:d08:1203:53e9:1:0:87c6:a435] has quit [Client Quit] 23:04 -!- bitcoin-git [~bitcoin-g@x0f.org] has joined #bitcoin-core-dev 23:04 < bitcoin-git> [bitcoin] fanquake pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/5574e489631b...708ef4424a65 23:04 < bitcoin-git> bitcoin/master 3e61b8c Hennadii Stepanov: doc: Add explicit macdeployqtplus dependencies install step 23:04 < bitcoin-git> bitcoin/master 708ef44 fanquake: Merge #20890: doc: Add explicit macdeployqtplus dependencies install step 23:04 -!- bitcoin-git [~bitcoin-g@x0f.org] has left #bitcoin-core-dev [] 23:04 -!- bitcoin-git [~bitcoin-g@x0f.org] has joined #bitcoin-core-dev 23:04 < bitcoin-git> [bitcoin] fanquake merged pull request #20890: doc: Add explicit macdeployqtplus dependencies install step (master...210108-deploy) https://github.com/bitcoin/bitcoin/pull/20890 23:04 -!- bitcoin-git [~bitcoin-g@x0f.org] has left #bitcoin-core-dev [] 23:29 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 23:36 -!- yanmaani [~yanmaani@gateway/tor-sasl/yanmaani] has quit [Ping timeout: 240 seconds] 23:52 -!- DeadWeen [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 23:59 -!- landakram [~mark@2601:643:8002:3f20:5de0:3a72:c98:39c8] has quit [Ping timeout: 264 seconds] --- Log closed Sun Jan 10 00:00:11 2021